[SR-Users] onsend_route and replies

Asgaroth 00asgaroth00 at gmail.com
Mon Oct 24 22:44:15 CEST 2011


OK, I found the documentation on this routing block, it is only executed
when forwarding requests. (Core Cookbook) :)

On 24/10/2011 21:15, Asgaroth wrote:
> Hi All,
>
> Does the onsend route get executed for all messages? I'm just performing
> some xlog's in the onsend_route, but I'm not seeing it being called for
> replies.
>
> Currently my onsend_route looks like:
>
>
> onsend_route {
>         xlog("onsend_route : $rm : Recieve Details $si:$sp -> $Ri:$Rp");
>         xlog("onsend_route : $rm : Destination Details $snd(af)
> $snd(proto):$snd(ip):$snd(port)");
> }
>
> I can see it being executed for initial messages coming in but I dont
> see it executed for any replies.
>
> Thanks
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>




More information about the sr-users mailing list