[Kamailio-Users] Question about AVP in route()
Ricardo Martinez
rmartinez at redvoiss.net
Wed Dec 16 21:11:06 CET 2009
Hello.
I have the next situation.
In my config file I have something like this..
route {
...
If INVITE route(3);
}
...
route[1] {
Route(39);
t_relay()
}
route[3] {
... different check for the INVITE
radius_load_caller_avps("$fU@$fd")
(I load the next AVPS from the radius server :
Attributes:
SIP-AVP = "tra:sip:0217001234567 at 10.0.0.211:5060"
SIP-AVP = "channels:1")
is_avp_set("$avp(s:channels)/n") <-- this AVP seem to be load
and is set OK.
route(10);
}
route[10] {
rewritehost("myproxy.mydomain.com");
route(1);
}
route[39] {
is_avp_set("$avp(s:channels)/n")
}
The last check in the route(39) is not working!. Why?
Ricardo Martinez
Ingeniero de Desarrollo
VOISSNET S.A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091216/135aeddf/attachment.htm>
More information about the sr-users
mailing list