[OpenSIPS-Users] NAT and ACK (private IP/domain)

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Apr 23 18:50:06 CEST 2009


HI Julian,

The ACK will be routed based on Route + RURI info. Route hdr made the 
ACK to get to .201 and the RURI will continue to .71. The RURI from ACK 
is taken from the Contact hdr of the 200 OK reply.

AMybe posting the whole stuff (INVITE+200 OK + ACK) will make things easier.

Regards,
Bogdan

Julien Chavanton wrote:
>
> I have a signaling problem, after connection "200 OK" the "ACK" is not 
> sent correctly and the rest of the signaling as well.
>
> Opensips is using the IP in the ACK line instead of the "To:", I am 
> wandering how I should handle this  ?
>
> I-phone (Siphone) : julien at osip.dev.com <mailto:julien at osip.dev.com>
> X-lite : 778 at osip.dev.com <mailto:778 at osip.dev.com>
>
> Logging of ACK reception, where the problem start
> Apr 23 13:51:09 osip /sbin/opensips[5446]: 
> *****************signaling*****************
> Apr 23 13:51:09 osip /sbin/opensips[5446]: 5 route[ACK][0] 
> sip:julien at osip.dev.com -> 
> sip:778 at 10.0.1.71:33802;rinstance=8572c408a8cc28e3 START PROCESSING 
> MESSAGE
> Apr 23 13:51:09 osip /sbin/opensips[5446]: *** RECORD ROUTE ***
> Apr 23 13:51:09 osip /sbin/opensips[5446]: *** HOST NOT LOCAL ***  
> is_uri_host_local() !
>
> I think this is my problem where the IP apear in the ACK line ?
>
> "ACK sip:778 at 10.0.1.71:33802;rinstance=8572c408a8cc28e3 SIP/2.0."
>
> #
> U 74.56.45.88:5060 -> 10.0.4.201:5060
> ACK sip:778 at 10.0.1.71:33802;rinstance=8572c408a8cc28e3 SIP/2.0.
> Via: SIP/2.0/UDP 
> 192.168.1.125:5060;rport;branch=z9hG4bKPjTSq-5uCDumvhdYNtigsDJwPrKvhqMM-C.
> Max-Forwards: 70.
> From: sip:julien at osip.dev.com;tag=3FDO5jkip5p8pkCLNr.3TSz2gNrWxCy..
> To: sip:778 at osip.dev.com;tag=207ac245.
> Call-ID: lywQ33yIAPEOG77lN93EbyXiHxji.FK-.
> CSeq: 31501 ACK.
> Route: <sip:10.0.4.201;lr;nat=yes>.
> Content-Length:  0.
> .
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list