[OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips
ha do
haloha201 at yahoo.com
Wed Dec 23 04:51:24 CET 2009
Hi Bogdan
please ignore :
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 5772c9303b3d7bb3 at 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 5772c9303b3d7bb3 at 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 "
because i change :
if (loose_route()) {
if (is_method("BYE")) {
unforce_rtp_proxy();
and i still need help on media + the flag
Thank you
Ha
--- On Tue, 12/22/09, ha do <haloha201 at yahoo.com> wrote:
From: ha do <haloha201 at yahoo.com>
Subject: Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Date: Tuesday, December 22, 2009, 8:38 PM
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
[root at 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 5772c9303b3d7bb3 at 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 5772c9303b3d7bb3 at 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 <bogdan at voice-system.ro> wrote:
From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
Subject: Re:
[OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips
To: "OpenSIPS users mailling list" <users at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-----Inline Attachment Follows-----
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091222/25d0d871/attachment-0001.htm
More information about the Users
mailing list