How to increase number of SIP-AVP in reply

Aqs Younas aqsyounas at gmail.com
Tue Feb 23 19:08:08 CET 2016


Thanks for your Reply. I am using mod_python for setting SIP-AVP

This is how I set them, So where do i need to add "+="

radiusReply = (('SIP-AVP','callrecording:'No ),) + radiusReply
radiusReply = (('SIP-AVP','rtp_proxy:'No),) + radiusReply
radiusReply = (('SIP-AVP','accountCode:'6034604325  ),) + radiusReply
radiusReply = (('SIP-AVP','isCname:'No) ),) + radiusReply
radiusReply = (('SIP-AVP','allowedCallTime:86400),) + radiusReply

Thanks in Advance.

On 23 February 2016 at 22:34, Alan DeKok <aland at deployingradius.com> wrote:

> On Feb 23, 2016, at 12:06 PM, Aqs Younas <aqsyounas at gmail.com> wrote:
> > I am setting these SIP-AVP's in freeradius reply to opensips. But see
> > freeradius sending only one(first)AVP back to open sips.
>
>   Read "man unlang".
>
>   You have to use the "+=" operator to add multiple attributes of the same
> name.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list