Hello everybody, I installed and configured opensips with a residential configuration setting NAT Traversal and Multidomain options with the opensips configuration tool. When I try to make a call with two users, the ACK method of the caller party never reaches the called party.<br>
<br>This are the messages received in the called party:<br><br><br>INVITE sip:ralvarez@domain;transport=udp SIP/2.0<br>Via: SIP/2.0/UDP 10.151.199.52:45084;branch=z9hG4bK-d8754z-06f2fafe119979f6-1---d8754z-;rport<br>Max-Forwards: 70<br>
Contact: &lt;sip:2427001@201.255.1.30:45084;transport=udp&gt;<br>To: &lt;sip:ralvarez@domain&gt;<br>From: &lt;sip:2427001@domain&gt;;tag=2627e587<br>Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>CSeq: 2 INVITE<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO<br>Content-Type: application/sdp<br>Proxy-Authorization: Digest username=&quot;2427001&quot;,realm=:&quot;domain&quot;,nonce=&quot;4ffbbd42000000478de4c68512245fee27f7dadd4549c048&quot;,uri=&quot;sip:ralvarez@domain;transport=udp&quot;,response=&quot;8fe20af4d2a381cc6a4ebd3ac1162f69&quot;,algorithm=MD5<br>
Supported: replaces<br>User-Agent: X-Lite 4 release 4.1 stamp 63214<br>Content-Length: 410<br><br>v=0<br>o=- 12986371568156250 1 IN IP4 10.151.199.52<br>s=CounterPath X-Lite 4.1<br>c=IN IP4 10.151.166.52<br>t=0 0<br>a=ice-ufrag:6079ef<br>
a=ice-pwd:8febe129544f5ec86474270bef1a9214<br>m=audio 53146 RTP/AVP 107 0 8 101<br>a=rtpmap:107 BV32/16000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=sendrecv<br>a=candidate:1 1 UDP 659136 10.151.199.52 53146 typ host<br>
a=candidate:1 2 UDP 659134 10.151.199.52 53147 typ host<br><br>SIP/2.0 100 Giving a try<br>Via: SIP/2.0/UDP 10.151.199.52:45084;received=201.255.1.30;branch=z9hG4bK-d8754z-06f2fafe119979f6-1---d8754z-;rport=45084<br>To: &lt;sip:ralvarez@domain&gt;<br>
From: &lt;sip:2427001@domain&gt;;tag=2627e587<br>Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>CSeq: 2 INVITE<br>Server: OpenSIPS (1.8.0-notls (i386/linux))<br>Content-Length: 0<br><br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP 10.151.199.52:45084;received=201.255.1.30;branch=z9hG4bK-d8754z-06f2fafe119979f6-1---d8754z-;rport=45084<br>
Record-Route: &lt;sip:192.100.1.220;lr;did=af5.ad45d1c6;nat=yes&gt;<br><b>Contact: &lt;sip:ralvarez@192.100.1.1:30612;rinstance=e0b11e2eb514ba1c&gt;</b><br>To: &lt;sip:ralvarez@domain&gt;;tag=e637fa0f<br>From: &lt;sip:2427001@domain&gt;;tag=2627e587<br>
Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>CSeq: 2 INVITE<br>User-Agent: X-Lite release 1002tx stamp 29712<br>Content-Length: 0<br><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 10.151.199.52:45084;received=201.255.1.30;branch=z9hG4bK-d8754z-06f2fafe119979f6-1---d8754z-;rport=45084<br>
Record-Route: &lt;sip:192.100.1.220;lr;did=af5.ad45d1c6;nat=yes&gt;<br><b>Contact: &lt;sip:ralvarez@192.100.1.1:30612;rinstance=e0b11e2eb514ba1c&gt;</b><br>To: &lt;sip:ralvarez@domain&gt;;tag=e637fa0f<br>From: &lt;sip:2427001@domain&gt;;tag=2627e587<br>
Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>CSeq: 2 INVITE<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO<br>Content-Type: application/sdp<br><br>.... More OK responses ( retries )<br>
<br>BYE sip:2427001@201.255.1.30:45084;transport=udp SIP/2.0<br>Via: SIP/2.0/UDP 192.100.1.220;branch=z9hG4bKe265.bd09554.0<br>Via: SIP/2.0/UDP 192.100.1.200:30612;received=192.168.1.200;branch=z9hG4bK-d87543-4677b2285a79346c-1--d87543-;rport=30612<br>
Max-Forwards: 69<br>Contact: &lt;sip:ralvarez@192.100.1.200:30612;rinstance=e0b11e2eb514ba1c&gt;<br>To: &lt;sip:2427001@domain&gt;;tag=2627e587<br>From: &lt;sip:ralvarez@domain&gt;;tag=e637fa0f<br>Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>
CSeq: 2 BYE<br>User-Agent: X-Lite release 1002tx stamp 29712<br>Reason: SIP;description=&quot;ACK not received&quot;<br>Content-Length: 0<br><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 192.100.1.220;branch=z9hG4bKe265.bd09554.0;received=24.94.9.135<br>
Via: SIP/2.0/UDP 192.100.1.200:30612;received=192.100.1.200;branch=z9hG4bK-d87543-4677b2285a79346c-1--d87543-;rport=30612<br>Contact: &lt;sip:2427001@201.255.1.30:45084;transport=udp&gt;<br>To: &lt;sip:2427001@domain&gt;;tag=2627e587<br>
From: &lt;sip:ralvarez@domain&gt;;tag=e637fa0f<br>Call-ID: ZTg3YjI0ZGNiYjVjZjZlMDRlNjU1Mzg1ZGJkMWQ0NmQ.<br>CSeq: 2 BYE<br>User-Agent: X-Lite 4 release 4.1 stamp 63214<br>Content-Length: 0<br><br>-----------------------------------------------<br>
I need to fix the contact header value because the IP address is behind the NAT and is not reachable from the caller party location. I don&#39;t know how to do this, reading some answers in the users mail list i found that setting the global parameter &quot;advertised_address&quot; in the configuration file it will solved it but I&#39;m not sure, can anybody tell me if this is correct?<br>
<br>Thanks for all.<br><br><br>