<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 10/10/11 6:43 AM, Austin Einter wrote:
    <blockquote
cite="mid:CANXt1k-T18v7qvf5myJtmJaKV435hN_V2P9Zvwka46Vyygv1JA@mail.gmail.com"
      type="cite">
      <div>If the SIP UA is not behind the NAT, and Kamailio insersts
        a=nortpproxy:yes in SDP body, can it cause one sided audio.</div>
    </blockquote>
    The a= line should be added only when force_rtp_proxy() is used,
    which should happen when is a call that involves NAT, unless you
    call that function for all calls.<br>
    <br>
    Use ngrep on kamailio server to watch traffic on port 5060 and check
    if the sdp for INVITE and 200 OK have the proper IP addresses --
    they should be rtpproxy ip address when invoking force_rtp_proxy().<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
cite="mid:CANXt1k-T18v7qvf5myJtmJaKV435hN_V2P9Zvwka46Vyygv1JA@mail.gmail.com"
      type="cite">
      <div>&nbsp;</div>
      <div>I am using PJSIP as my UA, kamailio 3.1.5 , rtp proxy 1.2.1
        as intermediate proxy for signalling and media. In kamailio
        config, I have enabled WITH_NAT.</div>
      <div>On call setup, only one way audio is there. When I looked at
        SIP messages, the only additional stuff I can see a=nortpproxy
        and nat=yes in recpord route.</div>
      <div>&nbsp;</div>
      <div>Without kamailio as intermediate proxy, audio is good both
        way. </div>
      <div>&nbsp;</div>
      <div>So I feel, when I bring up kamailio as intermediate proxy I
        am doing some mistake configuration wise either at PJSIP UA or
        in Kamailio.</div>
      <div>&nbsp;</div>
      <div>Has anybody faced this issue previously.</div>
      <div>If so please share how can we fix this issue.</div>
      <div>&nbsp;</div>
      <div>Thanks in advance</div>
      <div>Austin</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>