[SR-Users] AVPs missing in onreply_route

Sebastian Damm damm at sipgate.de
Thu Jul 14 19:01:12 CEST 2011


Hi,

I'm still fighting problems in our Kamailio 1.5 to 3.1 migration. Right now
I'm stuck with a strange behavior of AVPs in my dialplan.

I set a lot of AVPs for accounting in the route directive, and I just
inserted an avp_print() statement right before t_relay() is called, all
values are set. Then I call avp_print() as the first statement of
onreply_route(), and it doesn't print out anything. I call it again at the
end of onreply_route, and the only AVP printed out is the one I set directly
there.

In 1.5 there was an option in the tm module to control AVP behavior in
replies, but that doesn't exist anymore, I even found a mailing list post
from Daniel where he explained that all AVPs I set in route are also
available in onreply_route.

Am I doing something wrong? Is there still a secret option that I
accidentally turned on? What else could make kamailio forget all AVPs after
t_relay? I tried both version 3.1.3 and 3.1.4.

Any help appreciated.

Best regards,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110714/a0948025/attachment.htm>


More information about the sr-users mailing list