[SR-Users] Issue with avp
Daniel-Constantin Mierla
miconda at gmail.com
Thu Feb 10 07:54:22 CET 2011
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
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the sr-users
mailing list