I don't know what to think... knowing kamailio it's probably me somehow... Regards,
David Villasmil email: [email protected] phone: +34669448337 On Thu, Oct 29, 2020 at 10:22 PM Alex Balashov <[email protected]> wrote: > So it is your belief that Kamailio is modifying the To header via an > unknown mechanism? > > On 10/29/20 6:19 PM, David Villasmil wrote: > > No, no to manipulation... > > > > Regards, > > > > David Villasmil > > email: [email protected] > > <mailto:[email protected]> > > phone: +34669448337 > > > > > > On Thu, Oct 29, 2020 at 9:45 PM Alex Balashov <[email protected] > > <mailto:[email protected]>> wrote: > > > > Kamailio shouldn't be touching the To header at all, unless you're > > modifying it using uac_replace_to()? > > > > -- Alex > > > > On 10/29/20 5:35 PM, David Villasmil wrote: > > > 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:[email protected]:5080 > > <http://sip:[email protected]:5080>:5060> > > > > > > The Destination is actually 172.16.6.1:5080 > > <http://172.16.6.1:5080> <http://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: [email protected] > > <mailto:[email protected]> > > > <mailto:[email protected] > > <mailto:[email protected]>> > > > phone: +34669448337 > > > > > > _______________________________________________ > > > Kamailio (SER) - Users Mailing List > > > [email protected] <mailto:[email protected]> > > > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > > > > > -- > > Alex Balashov | Principal | Evariste Systems LLC > > > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > > > _______________________________________________ > > Kamailio (SER) - Users Mailing List > > [email protected] <mailto:[email protected]> > > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > > > > _______________________________________________ > > Kamailio (SER) - Users Mailing List > > [email protected] > > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
