I solved this problem by changing the 127.0.0.1 in rtpengine startup config into 10.109.247.90 which is the eth0 address of the rtpengine machine.
Now Kamailio successfully connect to the rtpengine daemon. > 在 2015年12月22日,17:38,Zodiac <mozillaf...@bupt.edu.cn> 写道: > > Hi, I am very glad that you can answer me for that. > > I’ve already set modparam("rtpengine", "force_send_interface", > “10.109.247.80”) in my kamailio.cfg from the very beginning. > > The port 7723 on 10.109.247.90 which rtpengine daemon runs is not blocked by > firewall. > > There is nothing prompt out on command “kamctl fifo nh_show_rtpp all” > > There is nothing captured on "ngerp -W byline -d em1 port 5095” on Kamilio > machine. > > There is an prompt “404 rtpproxy not found” on command “kamctl fifo > nh_enable_rtpp ump:10.109.247.90:7723 1” > > What other reasons can there be for my case? > > Furthermore, 10.109.247.80(Kamailio) and 10.109.247.90(rtpengine daemon) are > both private IP address, not public address. Dose this affect? > > > This is the kamailio.cfg portion: > <PastedGraphic-1.png> > > > This is the rtpengine daemon startup config: > <PastedGraphic-2.png> > > >> 在 2015年12月21日,23:53,smititelu <stefan.mitit...@1and1.ro >> <mailto:stefan.mitit...@1and1.ro>> 写道: >> >> Hi Zodiac, >> >> 1. Can you see your configured rtp node on: "kamctl fifo nh_show_rtpp all" ? >> 2. Can you ngrep the commands being sent by kamailio to rtpengine?(on both >> kamailio and rtpengine machine) >> 3. Do you have some firewalling rules that may block that 7723 port? >> >> Stefan >> >> On 21.12.2015 17:45, Zodiac wrote: >>> Dear friends, >>> 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”). >>> >>> Unfortunately I got debug message like this: >>> >>> ERROR: rtpengine [rtpengine.c:1710]: send_rtpp_command(): can't send >>> command to a RTP proxy >>> >>> ERROR: rtpengine [rtpengine.c:1746]: send_rtpp_command(): proxy >>> <udp:10.109.247.90:7723> does not respond, disable it >>> >>> ERROR: rtpengine [rtpengine.c:1616]: rtpp_test(): proxy did not respond to >>> ping >>> >>> 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? >>> >>> >>> ------------------------------------ >>> 北京邮电大学网络技术研究院 >>> 网络与交换技术国家重点实验室 >>> 田军 >>> +86 18810315790 >>> mozillaf...@bupt.edu.cn <mailto:mozillaf...@bupt.edu.cn> >>> ------------------------------------ >>> >>> >>> >>> _______________________________________________ >>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > ------------------------------------ > 北京邮电大学网络技术研究院 > 网络与交换技术国家重点实验室 > 田军 > +86 18810315790 > mozillaf...@bupt.edu.cn <mailto:mozillaf...@bupt.edu.cn> > ------------------------------------ > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ------------------------------------ 北京邮电大学网络技术研究院 网络与交换技术国家重点实验室 田军 +86 18810315790 mozillaf...@bupt.edu.cn ------------------------------------
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users