<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    hello;<br>
        you can start rtpproxy like "rtpproxy -l 120.76.118.128 -s
    udp:127.0.0.1:7722 -F -m 10000 -M 20000 -d DBUG:LOG_DAEMON"  and
    check message log.<br>
    <br>
    After authantication ,  test only INVITE packets with
    nat_uac_client(8) , rtpproxy_manage can handle INVITE packet with
    "co" flags ( rtpproxy_manage("co") )  as specified on docs.<br>
    you can check 200 OK packet with t_on_reply packets. the same logic
    can you handle sdp packets.<br>
    <br>
    Cheers<br>
    <br>
    <br>
    <div class="moz-cite-prefix">2016-05-06 13:14 tarihinde 王欣鑫 [via SIP
      Router] yazdı:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:1462529653208-148198.post@n5.nabble.com"
      type="cite"> Hello ycaner!
      <br>
      <br>
      I download rtpproxy-2.0-RC1.tar.gz from <a moz-do-not-send="true"
href="https://github.com/winer632/rtpproxy/releases/tag/V2.0-RC1"
        target="_top" rel="nofollow" link="external">https://github.com/winer632/rtpproxy/releases/tag/V2.0-RC1</a><br>
      and did the following command:
      <br>
      <br>
      tar -xzvf rtpproxy-2.0-RC1.tar.gz
      <br>
      cd rtpproxy-2.0-RC1
      <br>
      ./configure
      <br>
      make all
      <br>
      make install
      <br>
      <br>
      Then I start rtpproxy with this command:
      <br>
      <br>
      rtpproxy -l 120.76.118.128 -s udp:localhost:7722
      <br>
      <br>
      <br>
      Then I edit kamailio.cfg in PCSCF module like this(added this line<b>loadmodule
        "rtpproxy"</b> and <b>modparam("rtpproxy", "rtpproxy_sock",
        "udp:127.0.0.1:7722") </b> )
      <br>
      <br>
      <br>
      #!ifdef WITH_NAT
      <br>
      loadmodule "path"
      <br>
      loadmodule "rtpengine"
      <br>
      <b>loadmodule "rtpproxy"</b><br>
      loadmodule "nathelper"
      <br>
      #!endif
      <br>
      <br>
      #!ifdef WITH_NAT
      <br>
      # ----- rtpproxy-ng params -----
      <br>
      #modparam("rtpengine", "rtpengine_sock", RTPPROXY_ADDRESS)
      <br>
      #modparam("path", "use_received", 1)
      <br>
      <b>modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")</b><br>
      #!endif
      <br>
      <br>
      <br>
      Next, I register a real number(18616278715) in China unicom's IMS
      , this step was success.Then call another real number 18019398639,
      no phone ringing, but failed with "Status-Line: SIP/2.0 407 Proxy
      Authentication Required". Before I add rtpproxy, there is no 407
      error. <br>
      <br>
      <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/file/n148198/5060_unicom_407_error.pcap"
        target="_top" rel="nofollow" link="external">5060_unicom_407_error.pcap</a><br>
      <br>
       Before I add rtpproxy, I can hear the callee phone ringing, and
      the SIP route is like this:
      <br>
      <br>
      <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/file/n148198/5060_unicom.pcap"
        target="_top" rel="nofollow" link="external">5060_unicom.pcap</a><br>
      <br>
      Am I doing wrong with rtpproxy? Maybe the problem is not here?
      <br>
      <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148198.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148198.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from User offline, <a moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title></title>
      <div align="left">
        <div style="width:300px;" align="left">
          <a href="http://www.netgsm.com.tr" target="_blank" rel="nofollow" link="external">
            <img src="http://sip-router.1086192.n5.nabble.com/attachment/148204/0/yasin-imza-2014.jpg"
              alt"netgsm"="" border="0">
          </a>
        </div>
      </div>
    </div>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148204.html">Re: User offline</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>