[OpenSIPS-Users] Re-Invite routed to private IP

Bogdan-Andrei Iancu bogdan at opensips.org
Tue May 3 14:25:04 CEST 2016


Hi Julian,

The routing of the re-INVITEs is done based on the routing set learned 
during initial INVITE (routing set == far-end contact URI + all the 
Record-Routes).

Check the original INVITE (on the callee side) and the 200 OK for it, to 
see if the routing set contains private (or wrong) IPs.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.05.2016 12:43, Julian Santer wrote:
> Hi John,
>
> I investigated some traces from our old platform and I found a call
> with a private VIA and the Re-Invite is done correctly.
> You can find the trace here: http://siptrace.rolbox.net/ok.html
> The trace with the broken Re-Invite here: 
> http://siptrace.rolbox.net/ko.html
>
> Kind regards,
> Julian Santer
> Raiffeisen OnLine
>
> Am 29.04.2016 um 15:56 schrieb Johan De Clercq:
>> I don;t think so : force_rport just adds the port on which you 
>> receive to the first via header.
>>
>> 2016-04-29 15:36 GMT+02:00 Julian Santer <julian.santer at rolmail.net
>> <mailto:julian.santer at rolmail.net>>:
>>
>>     We are using 2.1.2
>>     So we made a "huge" version update and also changed the kind of 
>> working
>>
>>     Am 29.04.2016 um 14:27 schrieb Johan De Clercq:
>>
>>         What version do you use in your new install ?
>>
>>         2016-04-29 13:12 GMT+02:00 Julian Santer 
>> <julian.santer at rolmail.net <mailto:julian.santer at rolmail.net>
>>         <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>>>:
>>
>>              Hi Johan,
>>
>>              we changed our platform 2 weeks ago from 1 OpenSips 
>> Proxy 1.6.4 to 3 OpenSips instances with topology hiding.
>>              Since we didn't have this problems earlier, I think it 
>> worked with the old platform.
>>              As we call force_rport() in the main_route, the private 
>> IP in the VIA header should be ignored, right?
>>              At the moment we call force_rport() in all our instances.
>>              I think, we should call force_rport() only on the edge 
>> server where we make the nat_handling, right?
>>
>>              Kind regards,
>>              Julian Santer
>>              Raiffeisen OnLIne
>>
>>
>>              Am 29.04.2016 um 10:10 schrieb Johan De Clercq:
>>
>>                  Indeed.
>>
>>
>>                  2016-04-29 9:49 GMT+02:00 Julian Santer 
>> <julian.santer at rolmail.net <mailto:julian.santer at rolmail.net>
>>         <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>>
>>                  <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net> <mailto:julian.santer at rolmail.net
>>         <mailto:julian.santer at rolmail.net>>>>:
>>
>>                       Hi Johan,
>>
>>                       as the asterisk is not administrated by us, I 
>> have to ask the customer.
>>                       As I understand you think the problem should be 
>> the private IP in the VIA header
>>                       and this should be fixed with STUN, right?
>>
>>                       Kind regards,
>>                       Julian Santer
>>                       Raiffeisen OnLine
>>
>>                       Am 29.04.2016 um 09:17 schrieb Johan De Clercq:
>>
>>                           do you use stun on the phones ?
>>
>>                           2016-04-29 9:14 GMT+02:00 Julian Santer 
>> <julian.santer at rolmail.net
>>         <mailto:julian.santer at rolmail.net> 
>> <mailto:julian.santer at rolmail.net
>>         <mailto:julian.santer at rolmail.net>>
>>                  <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net> <mailto:julian.santer at rolmail.net
>>         <mailto:julian.santer at rolmail.net>>>
>>                           <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>
>>         <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>>
>>         <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>
>>                  <mailto:julian.santer at rolmail.net 
>> <mailto:julian.santer at rolmail.net>>>>>:
>>
>>                                Hi guys,
>>
>>                                we are using OpenSips 2.1.2 with 
>> topology_hiding.
>>                                Now we got trouble with Re-Invites, 
>> which are routed to the private IP from the "from".
>>                                The topology_hiding matches, but the 
>> Re-Invite is sent to the private IP from the "from".
>>                                Have we to call lookup again on the 
>> registrar/core, when we got a Re-Invite?
>>                                You can find the trace under 
>> http://siptrace.rolbox.net/siptrace.html
>>
>>                                Kind regards,
>>                                Julian Santer
>>                                Raiffeisen OnLine
>>
>>
>> _______________________________________________
>>                                Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         <mailto:Users at lists.opensips.org 
>> <mailto:Users at lists.opensips.org>>
>>                  <mailto:Users at lists.opensips.org 
>> <mailto:Users-ZwoEplunGu3gxA1m0aaAoQ at public.gmane.orgps.org>
>>         <mailto:Users at lists.opensips.org 
>> <mailto:Users-ZwoEplunGu0fYbrseoN+Dx2eb7JE58TQ at public.gmane.org>>>
>>                           <mailto:Users at lists.opensips.org
>>         <mailto:Users at lists.opensips.org> 
>> <mailto:Users-ZwoEplunGu3gxA1m0aaAoQ at public.gmane.orgps.org
>>         <mailto:Users at lists.opensips.org>>
>>                  <mailto:Users-ZwoEplunGu1UUpeUK0L 
>> <mailto:Users-ZwoEplunGu1UUpeUK0L> <mailto:Users-ZwoEplunGu1UUpeUK0L
>> <mailto:Users-ZwoEplunGu1UUpeUK0L>>/Pw at public.gmane.orgsips.org
>>         <mailto:Pw at public.gmane.orgsips.org>
>>                  <mailto:Pw at public.gmane.orgsips.org 
>> <mailto:Pw-XMD5yJDbdMTcBkidbGgD4Q at public.gmane.orggsips.org>>>>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>>                       Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         <mailto:Users at lists.opensips.org 
>> <mailto:Users at lists.opensips.org>>
>>                  <mailto:Users at lists.opensips.org 
>> <mailto:Users-ZwoEplunGu3gxA1m0aaAoQ at public.gmane.orgps.org>
>>         <mailto:Users-ZwoEplunGu1UUpeUK0L 
>> <mailto:Users-ZwoEplunGu1UUpeUK0L>/Pw at public.gmane.orgsips.org
>>         <mailto:Pw at public.gmane.orgsips.org>>>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>
>>
>>
>>              _______________________________________________
>>              Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         <mailto:Users at lists.opensips.org 
>> <mailto:Users-ZwoEplunGu1UUpeUK0L/Pw at public.gmane.orgsips.org>>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list