<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    have you enabled the nat traversal in kamailio's config file? From
    the respective tutorial, the config file should contain:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre>#!KAMAILIO
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_NAT
#!define WITH_TLS</pre>
    plus update to rtpproxy module parameter:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre>modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock")</pre>
    If you did all above, can you use tcp instead of tls for sip and
    send the output of ngrep taken on kamailio server for a call that
    does not work:<br>
    <br>
    ngrep -d any -qt -W byline port 5060<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    On 12/21/11 6:49 AM, Jonathan Martin wrote:
    <blockquote
      cite="mid:8D86A6AE945A40F4BE6D2773A30AD7A1@BLUEHUWIN7PRO"
      type="cite">
      <div dir="ltr">
        <div style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE:
          10pt">
          <div><font face="Times New Roman"><font style="FONT-SIZE:
                12pt">Hi, <br>
                <br>
                I followed this web article to install Kamailio 3.2 and
                RTPProxy on Debian Squeeze x64: <br>
                <br>
              </font></font><font style="FONT-SIZE: 12pt"><a
                moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour"><font
                  face="Times New Roman">http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour</font></a></font><font
              face="Times New Roman"><font style="FONT-SIZE: 12pt"> <br>
                <br>
                The system is running on a public IP address outside of
                our corporate LAN.&nbsp; I have been testing it using pjsua
                v2 alpha 2 from the pjsip.org project. <br>
                <br>
                I am having an issue when I enable srtp in the pjsua
                clients.&nbsp; If both pjsua clients are running on machines
                on our corporate LAN (symmetric NAT), the call succeeds
                and I get audio and video.&nbsp; If one of the clients is
                running outside of the corporate LAN, the call connects
                but I do not get any audio or video.&nbsp; If I turn off srtp
                in both clients and try the call again, audio and video
                starts working.&nbsp; Is there any additional configuration I
                need to make in the kamailio.cfg file when I intend to
                use srtp in the clients? <br>
                <br>
                RTPProxy info: <br>
                Basic version: 20040107 <br>
                Extension 20050322: Support for multiple RTP streams and
                MOH <br>
                Extension 20060704: Support for extra parameter in the V
                command <br>
                Extension 20071116: Support for RTP re-packetization <br>
                Extension 20071218: Support for forking (copying) RTP
                stream <br>
                Extension 20080403: Support for RTP statistics querying
                <br>
                Extension 20081102: Support for setting codecs in the
                update/lookup command <br>
                Extension 20081224: Support for session timeout
                notifications <br>
                <br>
                Kamailio info: <br>
                version: kamailio 3.2.0 (x86_64/linux) <br>
                flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS,
                TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST,
                DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
                DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
                USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
                USE_DST_BLACKLIST, HAVE_RESOLV_RES <br>
                ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
                MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535,
                DEFAULT PKG_SIZE 4MB <br>
                poll method support: poll, epoll_lt, epoll_et, sigio_rt,
                select. <br>
                id: unknown <br>
                compiled on 10:23:25 Nov&nbsp; 2 2011 with gcc 4.4.5 <br>
                <br>
                Regards, <br>
                --Jonathan</font></font></div>
          <div>&nbsp;</div>
        </div>
      </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>
<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>