<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, I am very glad that you can answer me for that.<div class=""><br class=""></div><div class="">I’ve already set modparam("rtpengine", "force_send_interface", “10.109.247.80”) in my kamailio.cfg from the very beginning.</div><div class=""><br class=""></div><div class="">The port 7723 on 10.109.247.90 which rtpengine daemon runs is not blocked by firewall.</div><div class=""><br class=""></div><div class="">There is nothing prompt out on command “<span style="background-color: rgb(255, 255, 255);" class="">kamctl fifo nh_show_rtpp all</span>”</div><div class=""><br class=""></div><div class="">There is nothing captured on "ngerp -W byline -d em1 port 5095” on Kamilio machine.</div><div class=""><br class=""></div><div class="">There is an prompt “404 rtpproxy not found” on command “<span style="background-color: rgb(254, 254, 238);" class="">kamctl fifo nh_enable_rtpp ump:10.109.247.90:7723 1</span>”</div><div class=""><br class=""></div><div class="">What other reasons can there be for my case?</div><div class=""><br class=""></div><div class="">Furthermore, 10.109.247.80(Kamailio) and 10.109.247.90(rtpengine daemon) are both private IP address, not public address. Dose this affect?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">This is the kamailio.cfg portion:</div><div class=""><img apple-inline="yes" id="DDAEFFB0-AF55-4540-A1FF-238D5DB7F7A8" height="61" width="554" apple-width="yes" apple-height="yes" src="cid:C36CA3CC-7B22-4A64-B999-DDFE57CBC026@bupt.edu.cn" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">This is the rtpengine daemon startup config:</div><div class=""><img apple-inline="yes" id="147154E0-1054-43DF-8C31-AF5218DFCAEB" height="34" width="894" apple-width="yes" apple-height="yes" src="cid:F12A67C4-E02F-4706-8862-7CD041066CD3@bupt.edu.cn" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">在 2015年12月21日,23:53,smititelu <<a href="mailto:stefan.mititelu@1and1.ro" class="">stefan.mititelu@1and1.ro</a>> 写道:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    Hi Zodiac,<br class="">
    <br class="">
    1. Can you see your configured rtp node on: "kamctl fifo
    nh_show_rtpp all" ?<br class="">
    2. Can you ngrep the commands being sent by kamailio to
    rtpengine?(on both kamailio and rtpengine machine)<br class="">
    3. Do you have some firewalling rules that may block that 7723 port?<br class="">
    <br class="">
    Stefan<br class="">
    <br class="">
    <div class="moz-cite-prefix">On 21.12.2015 17:45, Zodiac wrote:<br class="">
    </div>
    <blockquote cite="mid:311D767A-6EC2-4D9D-B5C4-D72CC081136E@bupt.edu.cn" type="cite" class="">
      <meta http-equiv="Context-Type" content="text/html;
        charset=gb2312" class="">
      Dear friends,<br class="">
      <span class="Apple-tab-span"> </span>I am working on a program on
      Kamailio and rtpengine proxy. I am wondering whether can I set
      Kamailio and rtpengine daemon on different physical machines. For
      example, I set Kamailio on a machine with IP
      address:10.109.247.80, and launch rtpengine daemon on another
      machine with interface parameter as 10.109.247.90 and ng port
      7723. I set parameter in Kamailio.cfg with modparam(“rtpengine”,
      “rtpengine_sock”, “udp:10.109.247.90:7723”).<br class="">
      <br class="">
      <span class="Apple-tab-span"> </span>Unfortunately I got debug
      message like this:<br class="">
      <br class="">
      <span class="Apple-tab-span"> </span>ERROR: rtpengine
      [rtpengine.c:1710]: send_rtpp_command(): can't send command to a
      RTP proxy<br class="">
      <br class="">
      <span class="Apple-tab-span"> </span>ERROR: rtpengine
      [rtpengine.c:1746]: send_rtpp_command(): proxy
      <udp:10.109.247.90:7723> does not respond, disable it<br class="">
      <br class="">
      <span class="Apple-tab-span"> </span>ERROR: rtpengine
      [rtpengine.c:1616]: rtpp_test(): proxy did not respond to ping<br class="">
      <br class="">
      <span class="Apple-tab-span"> </span>And, I also tried to set
      Kamailio and rtpengine daemon in a same machine,and use
      modparam(“rtpengine”, “rtpengine_sock”, “udp:localhost:7723”). And
      Kamailio can work functionally under this situation. rtpengine
      daemon can receive ping message from Kamailio and rtpengine daemon
      can work as suspected. So for the later case, is it supposed that
      Kamailio be in the same machine with same localhost address?
      Otherwise, what’s the reason for my ERROR?
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
        <div class="">
          <div class="">
            <div class="">
              <div class="">------------------------------------
                <div class="">北京邮电大学<span class="">网络技术研究院</span></div>
                <div class="">网络与交换技术国家重点实验室</div>
                <div class="">田军</div>
                <div class="">+86 18810315790</div>
                <div class=""><a moz-do-not-send="true" href="mailto:mozillafire@bupt.edu.cn" class="">mozillafire@bupt.edu.cn</a></div>
                <div class="">------------------------------------</div>
              </div>
            </div>
          </div>
        </div>
        <br class="">
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class="">_______________________________________________
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 class="">
  </div>

_______________________________________________<br class="">SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br class=""><a href="mailto:sr-users@lists.sip-router.org" class="">sr-users@lists.sip-router.org</a><br class="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">------------------------------------<div class="">北京邮电大学<span style="text-align: -webkit-auto;" class="">网络技术研究院</span></div><div class="">网络与交换技术国家重点实验室</div><div class="">田军</div><div class="">+86 18810315790</div><div class=""><a href="mailto:mozillafire@bupt.edu.cn" class="">mozillafire@bupt.edu.cn</a></div><div class="">------------------------------------</div></div></div></div>
</div>
<br class=""></div></body></html>