Like i said: It was me. sorry for the noise Regards,
David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Oct 29, 2020 at 10:35 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I don't know what to think... knowing kamailio it's probably me somehow... > > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +34669448337 > > > On Thu, Oct 29, 2020 at 10:22 PM Alex Balashov <abalas...@evaristesys.com> > 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: david.villasmil.w...@gmail.com >> > <mailto:david.villasmil.w...@gmail.com> >> > phone: +34669448337 >> > >> > >> > On Thu, Oct 29, 2020 at 9:45 PM Alex Balashov < >> abalas...@evaristesys.com >> > <mailto:abalas...@evaristesys.com>> 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:910609738@172.31.6.1:5080 >> > <http://sip:910609738@172.31.6.1: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: david.villasmil.w...@gmail.com >> > <mailto:david.villasmil.w...@gmail.com> >> > > <mailto:david.villasmil.w...@gmail.com >> > <mailto:david.villasmil.w...@gmail.com>> >> > > phone: +34669448337 >> > > >> > > _______________________________________________ >> > > Kamailio (SER) - Users Mailing List >> > > sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> >> > > 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 >> > sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> >> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > >> > >> > _______________________________________________ >> > Kamailio (SER) - Users Mailing List >> > sr-users@lists.kamailio.org >> > 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 >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users