[SR-Users] Issue with avp

Amit Nepal amit.n at phoenixinternet.net
Thu Feb 10 19:46:32 CET 2011


Yes it is after successful www/proxy_authenticate()

Thank You
Amit Nepal
Systems Administrator
Phoenix Internet
Phone: 602-385-0731
        602-234-0917#112
http://www.phoenixinternet.net


On 2/9/2011 11:54 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
>
> On 2/9/11 10:35 PM, Amit Nepal wrote:
>> Hi,
>> I have been trying to load rpid while loading credentials.
>>
>> modparam("auth_db", "load_credentials", "$avp(i:123)=rpid")
>>
>> Now, I am trying to do a check in my routing logic.
>>
>> xlog("L_NOTICE","The avp is :$avp(i:123)");  (I dont get the value 
>> here either, i can't see the value when i do avp_print()
>> if($avp(i:123)<5)
>>     {
>>     sl_send_reply("408","Message Here");
>>     }
>>
>> I dont get the value of avp at that place. Any guidance please.
> Is this piece of config after a successful www/proxy_authenticate()?
>
> Cheers,
> Daniel
>



More information about the sr-users mailing list