[SR-Users] In-dialog BYE request, how to return back to original sender ?

Daniel Tryba d.tryba at pocos.nl
Wed Apr 4 18:13:23 CEST 2018


On Wed, Apr 04, 2018 at 05:06:13PM +0200, Loic Chabert wrote:
> As far i read on Kamailio reposity, WITHINDLG use loose_route() function.
> But on BYE request, no Route headers (corresponding to asterisk 1) are
> available => BYE request can not be loose routed. Route headers has been
> remove by loadbalancer to avoid routing injections on my network (by an
> hacker for example).

You could mangle the contact in the INVITE on the edges, force
set_contact_alias() for all INVITEs from these asterisk machines and
handle_ruri_alias() within dialog.





More information about the sr-users mailing list