No, no to manipulation...

Regards,

David Villasmil
email: [email protected]
phone: +34669448337


On Thu, Oct 29, 2020 at 9:45 PM Alex Balashov <[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:5060>
> >
> > The Destination is actually 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]>
> > phone: +34669448337
> >
> > _______________________________________________
> > 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

Reply via email to