[SR-Users] Determining next hop for any SIP message

George Diamantopoulos georgediam at gmail.com
Fri Apr 13 20:09:10 CEST 2018


Well, the "SIP routing with Kamailio" book by Daniel and Elena states:

"Defining the onsend_route should be done only if really needed, because it
is executed for each request sent out, excluding the retransmissions."

Also, it similarly won't work for responses, only for requests...

On 13 April 2018 at 21:00, Alex Balashov <abalashov at evaristesys.com> wrote:

> "A simpler way to do it, of course, would be to use the onsend_route, but
> that would most likely introduce an unnecessary overhead for all routed
> messages."
>
> What informs that assumption?
>
> I suppose there is a measurable nonzero performance penalty to anything,
> but it should be negligible.
>
> -- Alex
>
> --
> Sent via mobile, please forgive typos and brevity.
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180413/dce6fda2/attachment.html>


More information about the sr-users mailing list