[SR-Users] Double port in TO header
David Villasmil
david.villasmil.work at gmail.com
Thu Oct 29 22:35:03 CET 2020
Hello guys,
This happened to me a long time ago but i totally forgot the reason.
I using a simple dispatcher, and when relaying out to the destination,
kamailio is adding an additional :5060 port to the To header:
To: <sip:910609738 at 172.31.6.1:5080:5060>
The Destination is actually 172.16.6.1:5080, i don't know why Kamailio is
adding that :5060
The dispatcher is
if (!ds_select_dst($var(dispatcher_outbound), "4")) {
xlog("[DISPATCH]: ds_select_dst FAILED!\n");
send_reply("404", "No destination");
exit;
} else {
xlog("[DISPATCH]: ds_select_dst was succesful\n");
}
xlog("L_DBG", "[DISPATCH]: going to <$ru> via <$du>\n");
t_on_failure("RTF_DISPATCH");
route(RELAY);
Any ideas? I totally forgot... and it's late, i guess...
Thanks!
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201029/06fba5f1/attachment.htm>
More information about the sr-users
mailing list