Ok, thanks for the information.<br><br><div class="gmail_quote">2012/7/10 Stefano Pisani <span dir="ltr">&lt;<a href="mailto:stefano.pisani@omniavoip.org" target="_blank">stefano.pisani@omniavoip.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Yes, you need advertised_address. Remember, you cannot have internal
    and external client. All client MUST be external<br>
    <br>
    <div>Il 10/07/2012 21:59, Ignacio Gonzalez
      ha scritto:<br>
    </div><div><div class="h5">
    <blockquote type="cite">So adding this to my configuration file, do I fix the
      problem?<br>
      <br>
      Do I need to set advertised_address or not?<br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">2012/7/10 Ali Pey <span dir="ltr">&lt;<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On the reply
          route try something like this:
          <div><br>
          </div>
          <div>
            <div>onreply_route[1] {</div>
            <div><span style="white-space:pre-wrap"> </span>xlog(&quot;reply
              route 1: sequential requests ($rs $rr)\n&quot;);</div>
            <div><span style="white-space:pre-wrap"> </span>if ( src_ip
              != onebox_asterisk1_ip &amp;&amp; src_ip !=
              onebox_asterisk2_ip ){</div>
            <div><span style="white-space:pre-wrap"> </span>if (
              nat_uac_test( &quot;31&quot;) ) {</div>
            <div><span style="white-space:pre-wrap"> </span>fix_nated_contact();</div>
            <div><span style="white-space:pre-wrap"> </span>force_rport();</div>
            <div><span style="white-space:pre-wrap"> </span>if(
              has_body( &quot;application/sdp&quot; ) ) {</div>
            <div><span style="white-space:pre-wrap"> </span>fix_nated_sdp(
              &quot;3&quot; );</div>
            <div><span style="white-space:pre-wrap"> </span>}</div>
            <div><span style="white-space:pre-wrap"> </span>}</div>
            <div><span style="white-space:pre-wrap"> </span>}</div>
            <div>}</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Regards,</div>
            <div>Ali Pey</div>
            <div><br>
            </div>
            <br>
            <div class="gmail_quote">
              <div>
                <div>On Tue, Jul 10, 2012 at 2:00 PM, Ignacio
                  Gonzalez <span dir="ltr">&lt;<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>&gt;</span>
                  wrote:<br>
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div>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 <a>sip:ralvarez@domain;transport=udp</a> 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:
                    <a>&lt;sip:2427001@201.255.1.30:45084;transport=udp&gt;</a><br>
                    To: <a>&lt;sip:ralvarez@domain&gt;</a><br>
                    From: <a>&lt;sip:2427001@domain&gt;</a>;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=<a>&quot;sip:ralvarez@domain;transport=udp&quot;</a>,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: <a>&lt;sip:ralvarez@domain&gt;</a><br>
                    From: <a>&lt;sip:2427001@domain&gt;</a>;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:
                    <a>&lt;sip:192.100.1.220;lr;did=af5.ad45d1c6;nat=yes&gt;</a><br>
                    <b>Contact:
                      <a>&lt;sip:ralvarez@192.100.1.1:30612;rinstance=e0b11e2eb514ba1c&gt;</a></b><br>
                    To: <a>&lt;sip:ralvarez@domain&gt;</a>;tag=e637fa0f<br>
                    From: <a>&lt;sip:2427001@domain&gt;</a>;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:
                    <a>&lt;sip:192.100.1.220;lr;did=af5.ad45d1c6;nat=yes&gt;</a><br>
                    <b>Contact:
                      <a>&lt;sip:ralvarez@192.100.1.1:30612;rinstance=e0b11e2eb514ba1c&gt;</a></b><br>
                    To: <a>&lt;sip:ralvarez@domain&gt;</a>;tag=e637fa0f<br>
                    From: <a>&lt;sip:2427001@domain&gt;</a>;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 <a>sip:2427001@201.255.1.30:45084;transport=udp</a>
                    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:
                    <a>&lt;sip:ralvarez@192.100.1.200:30612;rinstance=e0b11e2eb514ba1c&gt;</a><br>
                    To: <a>&lt;sip:2427001@domain&gt;</a>;tag=2627e587<br>
                    From: <a>&lt;sip:ralvarez@domain&gt;</a>;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:
                    <a>&lt;sip:2427001@201.255.1.30:45084;transport=udp&gt;</a><br>
                    To: <a>&lt;sip:2427001@domain&gt;</a>;tag=2627e587<br>
                    From: <a>&lt;sip:ralvarez@domain&gt;</a>;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>
                    <br>
                  </div>
                </div>
                _______________________________________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                <br>
              </blockquote>
            </div>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>