<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">OOps, I've forgotten to do a change in
      the config file, due to tests I've done yesterday... : <br>
      <br>
      <small>route[uac_nat]<br>
        {<br>
        &nbsp;&nbsp;&nbsp; if (is_method("INVITE") &amp;&amp;
        has_body("application/sdp"))<br>
        &nbsp;&nbsp;&nbsp; {<br>
        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; force_rport();<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(<b>rtpproxy_offer</b>("feir"))<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_reply("uac_nat");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
        &nbsp;&nbsp;&nbsp; }<br>
        }<br>
        <br>
        onreply_route[uac_nat]<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("onreply_route, call initiator seems to be
        behind nat");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpproxy_answer("fier");<br>
        }<br>
        <big><big><br>
            I now have both way audio, but </big></big></small>I still
      have errors like this : <br>
      <small><br>
        Apr&nbsp; 5 09:10:41 opensips-preprod /sbin/opensips[14688]:
        route[1], INVITE, destination gw is NOT behind nat<br>
        Apr&nbsp; 5 09:10:41 opensips-preprod /sbin/opensips[14682]:
        onreply_route, call initiator seems to be behind nat<br>
        Apr&nbsp; 5 09:10:41 opensips-preprod /sbin/opensips[14682]:
        ERROR:rtpproxy:force_rtp_proxy: Unable to parse body<br>
        Apr&nbsp; 5 09:10:46 opensips-preprod /sbin/opensips[14683]:
        onreply_route, call initiator seems to be behind nat<br>
        Apr&nbsp; 5 09:10:46 opensips-preprod /sbin/opensips[14683]:
        ERROR:rtpproxy:force_rtp_proxy: Unable to parse body<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14685]:
        onreply_route, call initiator seems to be behind nat<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]: has
        totag, loose_route or match_dialog<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]: route[1]
        START, To URI Domain td=10.7.59.2, from domain fd=10.7.59.1<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]:
        ERROR:drouting:build_ruri: stripping 0 makes username &lt;&gt;
        null<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]:
        ERROR:drouting:push_gw_for_usage: failed to build new ruri<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]:
        ERROR:drouting:do_routing: failed to use gw &lt;1&gt;, skipping<br>
        Apr&nbsp; 5 09:10:49 opensips-preprod /sbin/opensips[14689]:
        INFO:drouting:do_routing: All the gateways are disabled</small><br>
      <br>
      <big>Trace of the call :</big><br>
      <br>
      <small><small>#<br>
          U 2013/04/05 09:10:41.114683 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          INVITE <a class="moz-txt-link-freetext" href="sip:0604596002@10.7.59.2">sip:0604596002@10.7.59.2</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To: <a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a><br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 INVITE<br>
          User-Agent: Oceanet-test<br>
          Date: Fri, 05 Apr 2013 07:04:51 GMT<br>
          Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
          NOTIFY, INFO, PUBLISH<br>
          Supported: replaces<br>
          Content-Type: application/sdp<br>
          Content-Length: 280<br>
          <br>
          v=0<br>
          o=root 923976741 923976741 IN IP4 10.10.1.1<br>
          s=Asterisk PBX 1.8.20.1<br>
          c=IN IP4 10.7.59.1<br>
          t=0 0<br>
          m=audio 17142 RTP/AVP 9 0 101<br>
          a=rtpmap:9 G722/8000<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-16<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          a=sendrecv<br>
          <br>
          #<br>
          U 2013/04/05 09:10:41.115842 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 100 Giving a try<br>
          Via: SIP/2.0/UDP
          10.7.59.1:1029;received=10.7.59.1;branch=z9hG4bK3dcf6938;rport=1028<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To: <a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 INVITE<br>
          Server: OpenSIPS (1.8.2-notls (x86_64/linux))<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:41.115887 10.0.95.10:5060 -&gt;
          10.0.95.1:5060<br>
          INVITE <a class="moz-txt-link-freetext" href="sip:0604596002@10.0.95.1">sip:0604596002@10.0.95.1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Max-Forwards: 69<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To: <a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a><br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.10;did=169.11a014c1">&lt;sip:10.0.95.10;did=169.11a014c1&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 INVITE<br>
          User-Agent: Oceanet-test<br>
          Date: Fri, 05 Apr 2013 07:04:51 GMT<br>
          Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
          NOTIFY, INFO, PUBLISH<br>
          Supported: replaces<br>
          Content-Type: application/sdp<br>
          Content-Length: 281<br>
          <br>
          v=0<br>
          o=root 923976741 923976741 IN IP4 10.10.1.1<br>
          s=Asterisk PBX 1.8.20.1<br>
          c=IN IP4 10.0.95.10<br>
          t=0 0<br>
          m=audio 18238 RTP/AVP 9 0 101<br>
          a=rtpmap:9 G722/8000<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-16<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          a=sendrecv<br>
          <br>
          #<br>
          U 2013/04/05 09:10:41.117390 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 100 Giving a try<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To: <a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 INVITE<br>
          Server: OpenSIPS (1.8.2-notls (x86_64/linux))<br>
          Content-Length: 0<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:46.550721 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          OPTIONS <a class="moz-txt-link-freetext" href="sip:10.7.59.1:1028">sip:10.7.59.1:1028</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.2:5060;branch=0<br>
          From: <a class="moz-txt-link-freetext" href="sip:oceanet@10.7.59.2;tag=3212e36">sip:oceanet@10.7.59.2;tag=3212e36</a><br>
          To: <a class="moz-txt-link-freetext" href="sip:10.7.59.1:1028">sip:10.7.59.1:1028</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:9e3e3e41-69984ec3-85@10.7.59.2">9e3e3e41-69984ec3-85@10.7.59.2</a><br>
          CSeq: 1 OPTIONS<br>
          Max-Forwards: 70<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:46.553332 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          SIP/2.0 404 Not Found<br>
          Via: SIP/2.0/UDP
          10.7.59.2:5060;branch=0;received=10.7.59.2;rport=5060<br>
          From: <a class="moz-txt-link-freetext" href="sip:oceanet@10.7.59.2;tag=3212e36">sip:oceanet@10.7.59.2;tag=3212e36</a><br>
          To: <a class="moz-txt-link-freetext" href="sip:10.7.59.1:1028;tag=as71126e52">sip:10.7.59.1:1028;tag=as71126e52</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:9e3e3e41-69984ec3-85@10.7.59.2">9e3e3e41-69984ec3-85@10.7.59.2</a><br>
          CSeq: 1 OPTIONS<br>
          Server: Oceanet-test<br>
          Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
          NOTIFY, INFO, PUBLISH<br>
          Supported: replaces<br>
          Accept: application/sdp<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:46.887719 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 180 Ringing<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=169.704e762">&lt;sip:10.0.95.1;did=169.704e762&gt;</a><br>
          CSeq: 102 INVITE<br>
          Allow: OPTIONS, CANCEL, UPDATE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:46.887933 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 180 Ringing<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=169.11a014c1">&lt;sip:10.7.59.2;did=169.11a014c1&gt;</a><br>
          CSeq: 102 INVITE<br>
          Allow: OPTIONS, CANCEL, UPDATE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.265645 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=169.704e762">&lt;sip:10.0.95.1;did=169.704e762&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.0.95.3<br>
          t=0 0<br>
          m=audio 13142 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.266439 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=169.11a014c1">&lt;sip:10.7.59.2;did=169.11a014c1&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.7.59.2<br>
          t=0 0<br>
          m=audio 15798 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.270433 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          ACK <a class="moz-txt-link-freetext" href="sip:10.7.59.2;did=169.11a014c1">sip:10.7.59.2;did=169.11a014c1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK21ce5cee;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 ACK<br>
          User-Agent: Oceanet-test<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.766838 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=169.704e762">&lt;sip:10.0.95.1;did=169.704e762&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.0.95.3<br>
          t=0 0<br>
          m=audio 13142 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.767531 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=169.11a014c1">&lt;sip:10.7.59.2;did=169.11a014c1&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.7.59.2<br>
          t=0 0<br>
          m=audio 15798 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:49.771166 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          ACK <a class="moz-txt-link-freetext" href="sip:10.7.59.2;did=169.11a014c1">sip:10.7.59.2;did=169.11a014c1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK70f139ef;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 ACK<br>
          User-Agent: Oceanet-test<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:50.769260 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=169.704e762">&lt;sip:10.0.95.1;did=169.704e762&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.0.95.3<br>
          t=0 0<br>
          m=audio 13142 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:50.769963 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=169.11a014c1">&lt;sip:10.7.59.2;did=169.11a014c1&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.7.59.2<br>
          t=0 0<br>
          m=audio 15798 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:50.773757 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          ACK <a class="moz-txt-link-freetext" href="sip:10.7.59.2;did=169.11a014c1">sip:10.7.59.2;did=169.11a014c1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK49c36f0f;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 ACK<br>
          User-Agent: Oceanet-test<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:52.768833 10.0.95.1:5060 -&gt;
          10.0.95.10:5060<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bK0384.c92db7b7.0<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=169.704e762">&lt;sip:10.0.95.1;did=169.704e762&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.0.95.3<br>
          t=0 0<br>
          m=audio 13142 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:52.769463 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK3dcf6938;rport<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=169.11a014c1">&lt;sip:10.7.59.2;did=169.11a014c1&gt;</a><br>
          CSeq: 102 INVITE<br>
          Server: Dialogic-SIP/10.5.3.360 ACKBAR 0<br>
          Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE,
          NOTIFY, INFO, REFER, UPDATE<br>
          Supported: path, replaces, timer, tdialog<br>
          Accept: application/sdp, application/dtmf-relay, text/plain<br>
          Content-Type: application/sdp<br>
          Content-Length: 238<br>
          <br>
          v=0<br>
          o=Dialogic_SDP 2537310 0 IN IP4 91.213.145.116<br>
          s=Dialogic-SIP<br>
          c=IN IP4 10.7.59.2<br>
          t=0 0<br>
          m=audio 15798 RTP/AVP 0 101<br>
          a=rtpmap:0 PCMU/8000<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-15<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          <br>
          #<br>
          U 2013/04/05 09:10:52.773327 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          ACK <a class="moz-txt-link-freetext" href="sip:10.7.59.2;did=169.11a014c1">sip:10.7.59.2;did=169.11a014c1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK59701db4;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Contact: <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a><br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 102 ACK<br>
          User-Agent: Oceanet-test<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:54.877202 10.7.59.1:1028 -&gt;
          10.7.59.2:5060<br>
          BYE <a class="moz-txt-link-freetext" href="sip:10.7.59.2;did=169.11a014c1">sip:10.7.59.2;did=169.11a014c1</a> SIP/2.0<br>
          Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK0b62a6fc;rport<br>
          Max-Forwards: 70<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 103 BYE<br>
          User-Agent: Oceanet-test<br>
          X-Asterisk-HangupCause: Normal Clearing<br>
          X-Asterisk-HangupCauseCode: 16<br>
          Content-Length: 0<br>
          <br>
          <br>
          #<br>
          U 2013/04/05 09:10:54.877346 10.7.59.2:5060 -&gt;
          10.7.59.1:1028<br>
          SIP/2.0 503 No Rules matching the URI<br>
          Via: SIP/2.0/UDP
          10.7.59.1:1029;received=10.7.59.1;branch=z9hG4bK0b62a6fc;rport=1028<br>
          From: "100"
          <a class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as0b04baec<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c841e4e55f1<br>
          Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060">3ac90b8e328ac82f2db547ee10b267d8@10.10.1.1:5060</a><br>
          CSeq: 103 BYE<br>
          Server: OpenSIPS (1.8.2-notls (x86_64/linux))<br>
          Content-Length: 0</small></small><br>
      <br>
      Le 05/04/2013 09:05, OCEANET - C&eacute;dric BASSAGET a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:515E77BA.8080001@oceanet.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi Ovidiu,<br>
        <br>
        It does not change anything, I've already tried.<br>
        <br>
        Here's the routing scenario the call goes through (simplified) :<br>
        <br>
        <small>route[uac_nat]<br>
          {<br>
          &nbsp;&nbsp;&nbsp; if (is_method("INVITE") &amp;&amp;
          has_body("application/sdp"))<br>
          &nbsp;&nbsp;&nbsp; {<br>
          &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; force_rport();<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(engage_rtp_proxy("feir"))<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_reply("uac_nat");<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
          &nbsp;&nbsp;&nbsp; }<br>
          }<br>
          <br>
          onreply_route[uac_nat]<br>
          {<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("onreply_route, call initiator seems to
          be behind nat");<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpproxy_answer("fier");<br>
          }</small><br>
        <br>
        usrloc looks good : <br>
        <small>Contact::
          <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="sip:1000@10.7.59.1:1029">&lt;sip:1000@10.7.59.1:1029&gt;</a>;q=;expires=150;flags=0x0;cflags=0x300;socket=&lt;udp:10.7.59.2:5060&gt;;methods=0xFFFFFFFF;<b>received=&lt;<a
              moz-do-not-send="true" class="moz-txt-link-freetext"
              href="sip:10.7.59.1:1028">sip:10.7.59.1:1028</a></b>&gt;;user_agent=&lt;Oceanet-test&gt;</small><br>
        <br>
        C&eacute;dric<br>
        Le 04/04/2013 18:32, Ovidiu Sas a &eacute;crit&nbsp;:<br>
      </div>
      <blockquote
cite="mid:CAND0Lkuzb6nSPPFvAKsBin4WRThWfPsxqvBdKJY6rssZjKktYg@mail.gmail.com"
        type="cite">
        <pre wrap="">You need to use "ie" on offer and "ei" on answer on one call direction.
For the opposite call direction, use "ei" on offer an "ie" on answer.

Regards,
Ovidiu Sas

On Thu, Apr 4, 2013 at 12:24 PM, OCEANET - C&eacute;dric BASSAGET
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:cedric@oceanet.com">&lt;cedric@oceanet.com&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello,

For my first post on this mailing list, I'm trying to make opensips working
in this scheme (that's a lab test, so don't take care of my "public" ip
addresses) :

UAC (asterisk) &lt;---------------------&gt; routeur(nat) &lt;------------------&gt;
opensips (mhomed) &lt;----------&gt; sip privoder
10.10.1.1                               10.10.1.254 / 10.7.59.1
10.7.59.2 / 10.0.95.10                  10.0.95.1

mhomed is set to 1
I have a rtpproxy set in bridge mode on my opensips, like this :
/usr/local/bin/rtpproxy -p /var/run/rtpproxy.pid -u rtpproxy -d DBUG
LOG_LOCAL5 -m 10000 -M 20000 -l 10.0.95.10 10.7.59.2 -s udp:127.0.0.1 9999

I'm trying to establish a call from my asterisk to a public phone number,
but I have a problem with SDP reply (200 OK) , from my opensips to my UAC.
SDP c= value is still 10.0.95.10, instead of 10.7.59.2. That's the only
thing that is not correct in the SIP session. I can't find why c= value is
not correct in the 200 OK.

I use engage_rtp_proxy("fr"), but I tried with many combinations
(rtpproxy_offer / answer, params=fier, params=feir).

If somebody has already been in this situation, I would appreciate his help.
Thanks for your replies, please tell me if you need more captures or
anything else

Here's a short description of SIP requests, seen from OpenSIPS :


##### INVITE FROM MY UAC TO OPENSIPS ###############
U 2013/04/04 18:18:09.621724 10.7.59.1:1028 -&gt; 10.7.59.2:5060
INVITE <a moz-do-not-send="true" class="moz-txt-link-freetext" href="sip:0604596002@10.7.59.2">sip:0604596002@10.7.59.2</a> SIP/2.0
Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK13253a27;rport
Max-Forwards: 70
From: "100" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as747d5e5b
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>
Contact: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>
Call-ID: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060">211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060</a>
CSeq: 102 INVITE
User-Agent: Oceanet-test
Date: Thu, 04 Apr 2013 16:12:34 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces
Content-Type: application/sdp
Content-Length: 282

v=0
o=root 1416933599 1416933599 IN IP4 10.10.1.1
s=Asterisk PBX 1.8.20.1
c=IN IP4 10.7.59.1
t=0 0
m=audio 17282 RTP/AVP 9 0 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#####INVITE FROM OPENSIPS TO PROVIDER ###############
U 2013/04/04 18:18:09.622378 10.0.95.10:5060 -&gt; 10.0.95.1:5060
INVITE <a moz-do-not-send="true" class="moz-txt-link-freetext" href="sip:0604596002@10.0.95.1">sip:0604596002@10.0.95.1</a> SIP/2.0
Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bKbd97.ced0f0b2.0
Max-Forwards: 69
From: "100" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as747d5e5b
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>
Contact: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:10.0.95.10;did=b0b.7e82f333">&lt;sip:10.0.95.10;did=b0b.7e82f333&gt;</a>
Call-ID: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060">211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060</a>
CSeq: 102 INVITE
User-Agent: Oceanet-test
Date: Thu, 04 Apr 2013 16:12:34 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 1416933599 1416933599 IN IP4 10.10.1.1
s=Asterisk PBX 1.8.20.1
c=IN IP4 10.0.95.10
t=0 0
m=audio 19392 RTP/AVP 9 0 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

##### REPLY FROM PROVIDER TO OPENSIPS ###############
U 2013/04/04 18:18:16.327567 10.0.95.1:5060 -&gt; 10.0.95.10:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.95.10;branch=z9hG4bKbd97.ced0f0b2.0
Call-ID: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060">211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060</a>
From: "100" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as747d5e5b
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c84530b7132
Contact: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:10.0.95.1;did=b0b.c3c431b5">&lt;sip:10.0.95.1;did=b0b.c3c431b5&gt;</a>
CSeq: 102 INVITE
Server: Dialogic-SIP/10.5.3.360 ACKBAR 0
Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE
Supported: path, replaces, timer, tdialog
Accept: application/sdp, application/dtmf-relay, text/plain
Content-Type: application/sdp
Content-Length: 238

v=0
o=Dialogic_SDP 2521466 0 IN IP4 91.213.145.116
s=Dialogic-SIP
c=IN IP4 10.0.95.3
t=0 0
m=audio 10018 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=silenceSupp:off - - - -
a=ptime:20

#### REPLY FROM OPENSIPS TO UAC WITH WRONG SDP ################
U 2013/04/04 18:18:16.328296 10.7.59.2:5060 -&gt; 10.7.59.1:1028
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.7.59.1:1029;branch=z9hG4bK13253a27;rport
Call-ID: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060">211f651b7793be045c9c25880e1df4ac@10.10.1.1:5060</a>
From: "100" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0970559990@10.7.59.1:1029">&lt;sip:0970559990@10.7.59.1:1029&gt;</a>;tag=as747d5e5b
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:0604596002@10.7.59.2">&lt;sip:0604596002@10.7.59.2&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c84530b7132
Contact: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="sip:10.7.59.2;did=b0b.7e82f333">&lt;sip:10.7.59.2;did=b0b.7e82f333&gt;</a>
CSeq: 102 INVITE
Server: Dialogic-SIP/10.5.3.360 ACKBAR 0
Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE
Supported: path, replaces, timer, tdialog
Accept: application/sdp, application/dtmf-relay, text/plain
Content-Type: application/sdp
Content-Length: 239

v=0
o=Dialogic_SDP 2521466 0 IN IP4 91.213.145.116
s=Dialogic-SIP
c=IN IP4 10.0.95.10
t=0 0
m=audio 11526 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=silenceSupp:off - - - -
a=ptime:20


C&eacute;dric

_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>

</pre>
        </blockquote>
        <pre wrap="">

</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Fr&ecirc;nes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14

[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.oceanet.com">http://www.oceanet.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.oceanet-telecom.com">http://www.oceanet-telecom.com</a>

</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Fr&ecirc;nes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14

[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00

<a class="moz-txt-link-freetext" href="http://www.oceanet.com">http://www.oceanet.com</a>
<a class="moz-txt-link-freetext" href="http://www.oceanet-telecom.com">http://www.oceanet-telecom.com</a>

</pre>
  </body>
</html>