<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Dear Vivienne,</DIV>
<DIV>I wrote the rtpproxy section, so I'll respond for Paul.</DIV>
<DIV>See inline.</DIV>
<DIV>g-)</DIV>
<DIV>---- Original Message ----<BR>From: Vivienne Curran<BR>To: Java Rockx ; 
serusers@lists.iptel.org<BR>Sent: Friday, April 01, 2005 12:25 PM<BR>Subject: Re: 
[Serusers] Nathelper/RTPProxy not working for agents<BR>behind NAT <BR><BR>&gt; 
Hello Paul,<BR>&gt; <BR>&gt; Thank you for responding. I have now read the 
getting started<BR>&gt; document. I am confused as to why my config should have 
supported two<BR>&gt; private clients on the same subnet communicating via 
rtpproxy [even<BR>&gt; though again i acknowledge its not the most efficient way 
to process<BR>&gt; the call] but anyhow I have decided to try to modify my 
script<BR>&gt; according to the sample rtpproxy/nathelper enabled scripted in 
the<BR>&gt; onsip document version 3. I will work from this as it will provide 
me<BR>&gt; with a solid basis.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR></DIV>
<DIV>Please note that the example in the document is based on the setup (figure) 
found at the beginning of the document.&nbsp; The tests done to detect NAT will 
match for your two private clients as they will have private addresses.&nbsp; 
Thus, calls between the two will be proxied even though it is not necessary (as 
I believe you want). The nat_uac_test() function can be modifed to do other 
tests if you have some knowledge (due to registration or other processing) about 
whether the caller/callee is NATed or not.</DIV>
<DIV>&nbsp;</DIV>
<DIV>As to the Grandstream config, there is no need to have them listen on 
different ports as they will have different IP addresses. Do you register to SER 
with the server's public IP address or the private? If you use the public, SIP 
messaging will go through your NAT and if you have a SIP ALG (application layer 
gateway), it will attempt to change the addresses to public for the phone using 
port 5060 and (maybe) not for the one using 5061.&nbsp; The simplest is to use 
the private address in the Grandstream phones as SIP server address.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt; I have a few simple questions though. I am getting an error with 
the<BR>&gt; parameter "has_totag()". The /var/log/messages says I am missing 
the<BR>&gt; loadmodule. What loadmodule supports the above parameter? Also I 
was<BR>&gt; unable to load the module uri_db.so. Is this module usually 
included<BR>&gt; with 0.8.14?&nbsp;&nbsp;&nbsp;&nbsp;<BR></DIV>
<DIV>The Getting Started document is built on 0.9.0, which&nbsp;will shortly be 
released as stable (according to the core team).&nbsp;&nbsp;The has_totag() can 
be found in the uri module. Please verify that have the latest rtpproxy.cfg file 
as there were a couple&nbsp;of issues with an early version.</DIV>
<DIV>I recommend that you download the 0.9.0 Getting Started source&nbsp;package 
on <A href="http://onsip.org/">http://onsip.org/</A> and forget about 0.8.14 
unless you have some very special reasons for not doing so.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Greger</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt; Java Rockx &lt;javarockx@gmail.com&gt; wrote:<BR>&gt; Perhaps our 
"getting started" document at http://www.onsip.org/ will<BR>&gt; help you. It's 
based on ser-0.9.x, but it does cover both mediaproxy<BR>&gt; and 
rtpproxy.<BR>&gt; <BR>&gt; Regards,<BR>&gt; Paul<BR>&gt; <BR>&gt; <BR>&gt; On 
Thu, 31 Mar 2005 19:22:23 +0100 (BST), Vivienne Curran<BR>&gt; 
wrote:<BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; Hi,<BR>&gt;&gt; <BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt;&gt; I am having problems troubleshooting a problem I am 
experiencing<BR>&gt;&gt; with my SER configuration. I have ser 0.8.14 running 
with rtpproxy<BR>&gt;&gt; and nathelper enabled. I have two phones on the same 
subnet behind<BR>&gt;&gt; nat and I would like to make a call between the two. I 
want to<BR>&gt;&gt; invoke rtpproxy for this as they both have private address 
[I know<BR>&gt;&gt; this isn't the most efficient way as they're both on the 
same subnet<BR>&gt;&gt; but I can worry about that later]. <BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; When I ring from the phone 1 ( 2092) to 
phone 2 (2093), 2092 can<BR>&gt;&gt; hear voice but 2093 can't. When 2093 ring 
2092, there's no audio.<BR>&gt;&gt; These phones are Grandstream BT100's. They 
have been configured to<BR>&gt;&gt; listen on different SIP and RTP 
ports.<BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; 2092: SIP Port: 
5060<BR>&gt;&gt; <BR>&gt;&gt; 2092: RTP Port: 5004<BR>&gt;&gt; <BR>&gt;&gt; 
2093: SIP Port: 5061<BR>&gt;&gt; <BR>&gt;&gt; 2093: RTP Port: 5005<BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; I have tried to include my ser.cfg and 
SER message dumps but<BR>&gt;&gt; serbouncers said the attachment was too big. I 
can try adding them<BR>&gt;&gt; again if requiredI can confirm that my rtpproxy 
is working<BR>&gt;&gt; (originally I thought it wasn't) by using "strace –d -f 
–F". I can<BR>&gt;&gt; see a signal being returned. <BR>&gt;&gt; <BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt;&gt; Any help would be appreciated or advise as to how I 
can proceed<BR>&gt;&gt; troubleshooting.<BR>&gt;&gt; <BR>&gt;&gt; Kindest 
Regards,<BR>&gt;&gt; <BR>&gt;&gt; Vivienne.<BR>&gt;&gt; <BR>&gt;&gt; Send 
instant messages to your on line friends<BR>&gt;&gt; 
http://uk.messenger.yahoo.com<BR>&gt;&gt; 
_______________________________________________ <BR>&gt;&gt; Serusers mailing 
list<BR>&gt;&gt; serusers@lists.iptel.org<BR>&gt;&gt; 
http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt;&gt; <BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt; <BR>&gt; Send instant messages to your online 
friends<BR>&gt; http://uk.messenger.yahoo.com <BR>&gt; <BR>&gt; <BR>&gt; 
<BR>&gt; _______________________________________________<BR>&gt; Serusers 
mailing list<BR>&gt; serusers@lists.iptel.org<BR>&gt; 
http://lists.iptel.org/mailman/listinfo/serusers</DIV></BODY></HTML>