<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Bogdan<br><br>please ignore :<br><pre class="programlisting">and i get message :<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:tm:t_newtran:<br> transaction on entrance=0xffffffff<br>Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:handle_command: received command "5459_4 D 5772c9303b3d7bb3@192.168.1.9 2adb6fd4a0d3fcb2 517a7cba18e3441a"<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=ffffffffffffffff<br>Dec 23 16:35:37 localhost rtpproxy[5126]: INFO:handle_command: delete request failed: session 5772c9303b3d7bb3@192.168.1.9, tags 2adb6fd4a0d3fcb2/517a7cba18e3441a not found<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=78<br>Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:doreply: sending reply "5459_4 E8 " <br></pre>because i change :<br>if (loose_route())
{<br> if (is_method("BYE")) {<br> unforce_rtp_proxy();<br><br>and i still need help on media + the flag<br><br>Thank you<br>Ha<br><br>--- On <b>Tue, 12/22/09, ha do <i><haloha201@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ha do <haloha201@yahoo.com><br>Subject: Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips<br>To: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Date: Tuesday, December 22, 2009, 8:38 PM<br><br><div id="yiv1643415671"><table border="0" cellpadding="0"
cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><div>Hi Bogdan</div>
<div> </div>
<div>i just make a test to see what happen with opensips + rtpproxy</div>
<div>ip phone 1(192.168.1.9), ip phone 2(192.168.1.5), opensips + rtpproxy(192.168.1.248)</div>
<div> </div>
<div>i use the default opensips.cfg and edit some lines:</div>
<div>loadmodule "<a rel="nofollow" target="_blank" href="http://nathelper.so"><span class="yshortcuts" id="lw_1261538397_0">nathelper.so</span></a>"</div>
<div> </div><pre class="programlisting">modparam("nathelper", "rtpproxy_sock", "udp:localhost:22222")</pre><pre class="programlisting">route {</pre><pre class="programlisting">.....<br> if(has_totag()){<br> if (is_method("BYE")){......<br> }else if (is_method("INVITE")){<br> force_rtp_proxy();<br> record_route();<br> }<br> }<br>.....<br>}<br><br>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<br>Media is not go through the rtpproxy<br><br>what should i do to force media go through the rtpproxy(just test)<br><br>1 more question on the flag:<br>from the alg.cfg<br>force_rtp_proxy("FAII"), force_rtp_proxy("FAIE"), <br>force_rtp_proxy("FAEI"), force_rtp_proxy("FAEE"), <br>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 <br><br>i
run<br> rtpproxy :<br> rtpproxy -l 192.168.1.248 -s udp:192.168.1.248:22222 -d DBUG:LOG_LOCAL7 -F<br><br><br>[root@localhost run]# ll<br>total 108<br>drwxr-xr-x 2 root root 4096 May 25 2008 console<br>drwxr-xr-x 2 root root 4096 Dec 22 17:35 dbus<br>-rw-r--r-- 1 root root 5 Dec 22 17:35 haldaemon.pid<br>-rw------- 1 root root 5 Dec 22 17:35 klogd.pid<br>-rw-r--r-- 1 root root 5 Dec 22 17:35 messagebus.pid<br>drwxr-xr-x 2 mysql mysql 4096 Dec 22 20:55 mysqld<br>drwxrwxr-x 2 root root 4096 Jun 15 2008 netreport<br>drwxr-xr-x 2 root root 4096 May 28 2008 pm<br>-rw-r--r-- 1 root root 5 Dec 23 17:30 rtpproxy.pid<br>drwxr-xr-x 2 root root 4096 Dec 18 16:35 setrans<br>-rw-r--r-- 1 root root 5 Dec 22 17:35 sshd.pid<br>-rw------- 1 root root 5 Dec 22 17:35 syslogd.pid<br>-rw-rw-r-- 1 root utmp 4992 Dec 23 15:56 utmp<br><br>and i get message :<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]:
DBG:tm:t_newtran:<br> transaction on entrance=0xffffffff<br>Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:handle_command: received command "5459_4 D 5772c9303b3d7bb3@192.168.1.9 2adb6fd4a0d3fcb2 517a7cba18e3441a"<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=ffffffffffffffff<br>Dec 23 16:35:37 localhost rtpproxy[5126]: INFO:handle_command: delete request failed: session 5772c9303b3d7bb3@192.168.1.9, tags 2adb6fd4a0d3fcb2/517a7cba18e3441a not found<br>Dec 23 16:35:37 localhost /usr/local/sbin/opensips[5459]: DBG:core:parse_headers: flags=78<br>Dec 23 16:35:37 localhost rtpproxy[5126]: DBUG:doreply: sending reply "5459_4 E8 " <br><br></pre>Thank you<br>Ha<br><br>--- On <b>Tue, 12/22/09, Bogdan-Andrei Iancu <i><bogdan@voice-system.ro></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bogdan-Andrei Iancu
<bogdan@voice-system.ro><br>Subject: Re:
[OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips<br>To: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Date: Tuesday, December 22, 2009, 3:50 AM<br><br><div class="plainMail">Hi Ha,<br><br>well, depends - do you want your opensips to talk to the outside world? <br>if no, you do not need a WAN address.<br><br>Regards,<br>Bogdan<br><br>ha do wrote:<br>> Hi all<br>><br>> i install rtpproxy in same Opensips machine<br>> Do i really need at least 1 Wan IP address for Opensips + rtpproxy work<br>><br>> Thank you<br>> Ha`<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a rel="nofollow">Users@lists.opensips.org</a><br>> <a rel="nofollow" target="_blank"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>> <br><br><br>-- <br>Bogdan-Andrei Iancu<br>www.voice-system.ro<br><br><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow">Users@lists.opensips.org</a><br><a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></td></tr></tbody></table><br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></td></tr></table><br>