[SR-Users] Issue with avp

Amit Nepal amit.n at phoenixinternet.net
Wed Feb 9 22:35:56 CET 2011


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.


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




More information about the sr-users mailing list