[SR-Users] Double port in TO header
David Villasmil
david.villasmil.work at gmail.com
Thu Oct 29 23:54:21 CET 2020
Like i said: It was me.
sorry for the noise
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
On Thu, Oct 29, 2020 at 10:35 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:
> I don't know what to think... knowing kamailio it's probably me somehow...
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
>
> On Thu, Oct 29, 2020 at 10:22 PM Alex Balashov <abalashov at 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.work at gmail.com
>> > <mailto:david.villasmil.work at gmail.com>
>> > phone: +34669448337
>> >
>> >
>> > On Thu, Oct 29, 2020 at 9:45 PM Alex Balashov <
>> abalashov at evaristesys.com
>> > <mailto:abalashov at 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 at 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.work at gmail.com
>> > <mailto:david.villasmil.work at gmail.com>
>> > > <mailto:david.villasmil.work at gmail.com
>> > <mailto:david.villasmil.work at gmail.com>>
>> > > phone: +34669448337
>> > >
>> > > _______________________________________________
>> > > Kamailio (SER) - Users Mailing List
>> > > sr-users at lists.kamailio.org <mailto:sr-users at 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 at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>> >
>> >
>> > _______________________________________________
>> > Kamailio (SER) - Users Mailing List
>> > sr-users at 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 at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201029/34622e73/attachment.htm>
More information about the sr-users
mailing list