[OpenSIPS-Users] Downstream proxy rewriting contact header

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Oct 4 13:30:33 CEST 2010


Hi Nauman,

P1 detects some NAT presence by looking at the INVITE you sent to it. 
So, you must check the INVITE and see if any private IPs are still 
present in it before sending it to P1.

Regards,
Bogdan

Nauman Sulaiman wrote:
> Hi Bogdan
>
> Thanks, yes we have a public ip in our contact header whihc we send to P1, we think P1 is probably incorrectly rewriting the contact header. Just wondering if there is anything we could do to work round this. If not no worries.
>
> Regards 
>
> --- On Mon, 4/10/10, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
>
>   
>> From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
>> Subject: Re: [OpenSIPS-Users] Downstream proxy rewriting contact header
>> To: nauman762-home at yahoo.co.uk, "OpenSIPS users mailling list" <users at lists.opensips.org>
>> Date: Monday, 4 October, 2010, 11:41
>> Hi Nauman,
>>
>> That means that P1 sees the incoming INVITE (from opensips)
>> as coming from behind a nat . So, do you do all nat-related
>> fixes on opensips, like fixing Contact hdr, SDP ?
>>
>> Regards,
>> Bogdan
>>
>> Nauman Sulaiman wrote:
>>     
>>> Hi, using Opensips 1.6.2 we have the following setup.
>>>
>>> UA1----Opensips Proxy ------- P1 ------ P2 ------ UA2
>>>
>>> Proxy P1 is rewriting contact header sent by opensips
>>>       
>> in 180 and 200K response  to INVITE from UA2 to UA1.
>> All proxies are record-routing. P1 seems to assume all
>> requests are from behind NAT and rewrites the contact header
>> with source IP ie that of Opensips proxy. The result is UA2
>> ACK is routed only to Opensips proxy and does not reach UA1.
>> Is there any i can handle this in the Opensips proxy to
>> account for behaviour of P1. 
>>     
>>> Thanks
>>>
>>>
>>>        
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>    
>>>       
>> -- Bogdan-Andrei Iancu
>> OpenSIPS Bootcamp
>> 15 - 19 November 2010, Edison, New Jersey, USA
>> www.voice-system.ro
>>
>>
>>     
>
>
>       
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list