Hi Bogdan i just make a test to see what happen with opensips + rtpproxy ip phone 1(192.168.1.9), ip phone 2(192.168.1.5), opensips + rtpproxy(192.168.1.248) i use the default opensips.cfg and edit some lines: loadmodule "nathelper.so" modparam("nathelper", "rtpproxy_sock", "udp:localhost:22222")route {..... if(has_totag()){ if (is_method("BYE")){...... }else if (is_method("INVITE")){ force_rtp_proxy(); record_route(); } } ..... }
when i make call call from IP phone 1 to IP phone 2, and media go directly from ip phone 1 to ip phone 2 Media is not go through the rtpproxy what should i do to force media go through the rtpproxy(just test) 1 more question on the flag: from the alg.cfg force_rtp_proxy("FAII"), force_rtp_proxy("FAIE"), force_rtp_proxy("FAEI"), force_rtp_proxy("FAEE"), i read on the nathelper module : the flag is Lower case - does it still or i have to change to the flag to lower case i run rtpproxy : rtpproxy -l 192.168.1.248 -s udp:192.168.1.248:22222 -d DBUG:LOG_LOCAL7 -F [r...@localhost run]# ll total 108 drwxr-xr-x 2 root root 4096 May 25 2008 console drwxr-xr-x 2 root root 4096 Dec 22 17:35 dbus -rw-r--r-- 1 root root 5 Dec 22 17:35 haldaemon.pid -rw------- 1 root root 5 Dec 22 17:35 klogd.pid -rw-r--r-- 1 root root 5 Dec 22 17:35 messagebus.pid drwxr-xr-x 2 mysql mysql 4096 Dec 22 20:55 mysqld drwxrwxr-x 2 root root 4096 Jun 15 2008 netreport drwxr-xr-x 2 root root 4096 May 28 2008 pm -rw-r--r-- 1 root root 5 Dec 23 17:30 rtpproxy.pid drwxr-xr-x 2 root root 4096 Dec 18 16:35 setrans -rw-r--r-- 1 root root 5 Dec 22 17:35 sshd.pid -rw------- 1 root root 5 Dec 22 17:35 syslogd.pid -rw-rw-r-- 1 root utmp 4992 Dec 23 15:56 utmp and i get message : Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:tm:t_newtran: transaction on entrance=0xffffffff Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:handle_command: received command "5459_4 D 5772c9303b3d7...@192.168.1.9 2adb6fd4a0d3fcb2 517a7cba18e3441a" Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=ffffffffffffffff Dec 23 16:35:37 localhost rtpproxy[5126]: INFO:handle_command: delete request failed: session 5772c9303b3d7...@192.168.1.9, tags 2adb6fd4a0d3fcb2/517a7cba18e3441a not found Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=78 Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:doreply: sending reply "5459_4 E8 " Thank you Ha --- On Tue, 12/22/09, Bogdan-Andrei Iancu <bog...@voice-system.ro> wrote: From: Bogdan-Andrei Iancu <bog...@voice-system.ro> Subject: Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips To: "OpenSIPS users mailling list" <users@lists.opensips.org> Date: Tuesday, December 22, 2009, 3:50 AM Hi Ha, well, depends - do you want your opensips to talk to the outside world? if no, you do not need a WAN address. Regards, Bogdan ha do wrote: > Hi all > > i install rtpproxy in same Opensips machine > Do i really need at least 1 Wan IP address for Opensips + rtpproxy work > > Thank you > Ha` > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users