[OpenSIPS-Users] UDP to TCP issue with Re-INVITE
David Villasmil
david.villasmil.work at gmail.com
Mon Dec 16 07:49:28 EST 2019
Aré you using nathelper?
On Mon, 16 Dec 2019 at 12:06, Mickael Hubert <mickael at winlux.fr> wrote:
> Hi all,
> I advanced in my LAB
> I have this configuration:
> SIP client (tcp:192.168.10.203) -- my NAT router --> (tcp:2.2.2.2:8060)
> opensips (udp:10.1.15.126:5060) --> rest of infra (udp:10.1.15.0/24:5060)
>
> When I received the reinvite from "rest of infra" on private interface
> (10.1.15.126), I could see this log:
>
> Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]:
> ERROR:tm:msg_send: send() to 192.168.10.203:5060 for proto tcp/2 failed
> Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]:
> ERROR:tm:t_forward_nonack: sending request failed
> Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]: retcode
> = -6
>
> I don't know why OpenSIPS tries to send the Re-invite to client private IP
> instead client public port and IP (natted).
>
> Do you have an idea please ?
>
> thanks
>
> Le jeu. 12 déc. 2019 à 11:09, Mickael Hubert <mickael at winlux.fr> a écrit :
>
>> Hi all,
>> I have an issue, opensips doesn't want forward Re-INVITE during UDP to
>> TCP mapping session.
>> Customer (NATTED) -- TCP --> (public interface listen tcp:8060) OpenSIPS
>> (private interface listen udp:5060) --> rest of infrastructure (udp:5060)
>>
>> I can send a call from customer to OpenSIPS (initial INVITE, 200OK, etc
>> ...).
>> But when I received Re-INVITE from UAS (sip session timer), OpenSIPS
>> doesn't forward it to customer.
>>
>> You can see the call flow here:
>> https://photos.app.goo.gl/eUSb5MvBhUfueaoM7
>> You can see SIP messages and opensips's logs in txt file in attachment
>>
>> OpenSIPS handles on it's public interface:
>> - Topology hiding
>> - Nat detection
>>
>> Thanks a lot for you help !
>>
>> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191216/14af116c/attachment-0001.html>
More information about the Users
mailing list