<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Daniel,<div><br></div><div>I do have the second param set to the public ip of the ec2 instance. &nbsp;Thanks for that. :)</div><div><br></div><div>I also tried the debugger but that didn't show me anything specific but there were some errors in the output. &nbsp;</div><div><br></div><div>I'm a little green on this subject so it might be out of my reach to put this together. &nbsp;</div><div><br></div><div>I did see some notes about the zrtp hash so at least I know that the endpionts are trying to negotiate. &nbsp;And I know that it is a one way audio thing so it is probably nat related.</div><div><br></div><div>Am going to do some more reading over the next few days to see if I missed something in the config. &nbsp;I used this document to configure the nat traversal:</div><div><a href="http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server">http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server</a>&nbsp;</div><div><br></div><div>Is it still relevant with version 3.3?</div><div><br></div><div>thanks for your help!!</div><div><br></div><div>ttyl,</div><div>Dave<br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 11 Sep 2012 08:24:33 +0200<br>From: miconda@gmail.com<br>To: jdavidthomson@hotmail.com<br>CC: sr-users@lists.sip-router.org<br>Subject: Re: [SR-Users] using kamailio with clients in a nat environment<br><br>
  
    
  
  
    Hello,<br>
    <br>
    the sdp does not show that rtpproxy was engaged. Check your config,
    you can use debugger module with cfgtrace on to see what actions are
    executed.<br>
    <br>
    Also, probably you have to advertise the public ip address of your
    ec2 instance -- see second parameter for rtpproxy module functions.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="ecxmoz-cite-prefix">On 9/11/12 3:52 AM, David Thomson
      wrote:<br>
    </div>
    <blockquote cite="mid:SNT140-W44822D84E9B9A3FE1CF0DFB7930@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
      <div dir="ltr">
        Hi,
        <div><br>
        </div>
        <div>I'm using rtpproxy and per the documentation:</div>
        <div>
          <div>rtpproxy -l public_ip -s udp:localhost:22222 -F</div>
          <div><br>
          </div>
          <div>Attached is the following:</div>
          <div>Dave registering</div>
          <div>Daniel registering</div>
          <div>Dave calling Daniel, where Dave has a public IP and
            Daniel is behind a nat. &nbsp;</div>
          <div><br>
          </div>
          <div>Please let me know what you think is up. &nbsp;</div>
          <div><br>
          </div>
          <div>ttyl,</div>
          <div>Dave</div>
          <div><br>
          </div>
          [...]
          <div><br>
          </div>
          <div>#</div>
          <div>U 207.219.69.217:40821 -&gt; 10.248.96.110:5060</div>
          <div>INVITE <a class="ecxmoz-txt-link-freetext" target="_blank">sip:daniel@54.245.31.65</a> SIP/2.0.</div>
          <div>Via: SIP/2.0/UDP
10.207.158.89:51362;rport;branch=z9hG4bKPj7ohi7tDsVbjxTKXgNQsTviH-zPxv0rBF.</div>
          <div>Max-Forwards: 70.</div>
          <div>From:
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:dave@54.245.31.65&gt;</a>;tag=BDvpvvb0IsNu9oFPCeO2XI-M-Qwl7V4S.</div>
          <div>To: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:daniel@54.245.31.65&gt;</a>.</div>
          <div>Contact: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:dave@207.219.69.217:40821;ob&gt;</a>.</div>
          <div>Call-ID: cG7lF7dXytDwgmhVa19g0aGEOa6s1Rxl.</div>
          <div>CSeq: 17407 INVITE.</div>
          <div>Route: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:54.245.31.65;transport=udp;lr&gt;</a>.</div>
          <div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE,
            SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
          <div>Supported: replaces, 100rel, timer, norefersub.</div>
          <div>Session-Expires: 1800.</div>
          <div>Min-SE: 90.</div>
          <div>User-Agent: CSipSimple_SGH-T989D-15/r1841.</div>
          <div>Content-Type: application/sdp.</div>
          <div>Content-Length: &nbsp; 425.</div>
          <div>.</div>
          <div>v=0.</div>
          <div>o=- 3556317015 3556317015 IN IP4 10.207.158.89.</div>
          <div>s=pjmedia.</div>
          <div>t=0 0.</div>
          <div>m=audio 4008 RTP/AVP 96 3 0 8 101.</div>
          <div>c=IN IP4 10.207.158.89.</div>
          <div>a=rtcp:4009 IN IP4 10.207.158.89.</div>
          <div>a=sendrecv.</div>
          <div>a=rtpmap:96 SILK/8000.</div>
          <div>a=fmtp:96 useinbandfec=0.</div>
          <div>a=rtpmap:3 GSM/8000.</div>
          <div>a=rtpmap:0 PCMU/8000.</div>
          <div>a=rtpmap:8 PCMA/8000.</div>
          <div>a=rtpmap:101 telephone-event/8000.</div>
          <div>a=fmtp:101 0-15.</div>
          <div>a=zrtp-hash:1.10
            0a851ee8921d1f71658c8253dd6097893c48e40886759ec0e21e79a61c1f1289.</div>
          <div><br>
          </div>
          <div>#</div>
          <div>U 10.248.96.110:5060 -&gt; 207.219.69.217:40821</div>
          <div>SIP/2.0 100 trying -- your call is important to us.</div>
          <div>Via: SIP/2.0/UDP
10.207.158.89:51362;rport=40821;branch=z9hG4bKPj7ohi7tDsVbjxTKXgNQsTviH-zPxv0rBF;received=207.219.69.217.</div>
          <div>From:
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:dave@54.245.31.65&gt;</a>;tag=BDvpvvb0IsNu9oFPCeO2XI-M-Qwl7V4S.</div>
          <div>To: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:daniel@54.245.31.65&gt;</a>.</div>
          <div>Call-ID: cG7lF7dXytDwgmhVa19g0aGEOa6s1Rxl.</div>
          <div>CSeq: 17407 INVITE.</div>
          <div>Server: kamailio (3.3.0 (x86_64/linux)).</div>
          <div>Content-Length: 0.</div>
          <div>.</div>
          <div><br>
          </div>
          <div>#</div>
          <div>U 10.248.96.110:5060 -&gt; 75.119.228.57:5060</div>
          <div>INVITE
            <a class="ecxmoz-txt-link-freetext" target="_blank">sip:daniel@192.168.1.102:5060;transport=udp;registering_acc=54_245_31_65</a>
            SIP/2.0.</div>
          <div>Record-Route: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:54.245.31.65;lr=on;nat=yes&gt;</a>.</div>
          <div>Via: SIP/2.0/UDP
            54.245.31.65:5060;branch=z9hG4bKd6f6.b6db86e5.0.</div>
          <div>Via: SIP/2.0/UDP
10.207.158.89:51362;received=207.219.69.217;rport=40821;branch=z9hG4bKPj7ohi7tDsVbjxTKXgNQsTviH-zPxv0rBF.</div>
          <div>Max-Forwards: 69.</div>
          <div>From:
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:dave@54.245.31.65&gt;</a>;tag=BDvpvvb0IsNu9oFPCeO2XI-M-Qwl7V4S.</div>
          <div>To: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:daniel@54.245.31.65&gt;</a>.</div>
          <div>Contact: <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:dave@207.219.69.217:40821;ob&gt;</a>.</div>
          <div>Call-ID: cG7lF7dXytDwgmhVa19g0aGEOa6s1Rxl.</div>
          <div>CSeq: 17407 INVITE.</div>
          <div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE,
            SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
          <div>Supported: replaces, 100rel, timer, norefersub.</div>
          <div>Session-Expires: 1800.</div>
          <div>Min-SE: 90.</div>
          <div>User-Agent: CSipSimple_SGH-T989D-15/r1841.</div>
          <div>Content-Type: application/sdp.</div>
          <div>Content-Length: &nbsp; 425.</div>
          <div>.</div>
          <div>v=0.</div>
          <div>o=- 3556317015 3556317015 IN IP4 10.207.158.89.</div>
          <div>s=pjmedia.</div>
          <div>t=0 0.</div>
          <div>m=audio 4008 RTP/AVP 96 3 0 8 101.</div>
          <div>c=IN IP4 10.207.158.89.</div>
          <div>a=rtcp:4009 IN IP4 10.207.158.89.</div>
          <div>a=sendrecv.</div>
          <div>a=rtpmap:96 SILK/8000.</div>
          <div>a=fmtp:96 useinbandfec=0.</div>
          <div>a=rtpmap:3 GSM/8000.</div>
          <div>a=rtpmap:0 PCMU/8000.</div>
          <div>a=rtpmap:8 PCMA/8000.</div>
          <div>a=rtpmap:101 telephone-event/8000.</div>
          <div>a=fmtp:101 0-15.</div>
          <div>a=zrtp-hash:1.10
            0a851ee8921d1f71658c8253dd6097893c48e40886759ec0e21e79a61c1f1289.</div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla - <a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="ecxmoz-txt-link-freetext" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="ecxmoz-txt-link-freetext" href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a></pre></div></div>                                               </div></body>
</html>