<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><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>The idea behind the ONsip.org Getting Started document is to&nbsp;create 
one source for a&nbsp;thorough coverage of the aspects that tend to arise for 
most users.&nbsp; It's&nbsp;an introduction to the conceptual underpinnings of 
SER, as well as a reference design and corresponding configuration files that 
can be used to quickly implement the functionality that most users will 
want.</DIV>
<DIV>&nbsp;&nbsp;&nbsp; I wrote section 1 in that document, and I suggest that 
you read it.&nbsp; If you have questions to what is written there or find that 
certain things are not covered well enough, I will be happy to answer your 
questions. As an added bonus, you will make me see where the text is confusing 
or where more coverage is needed and the document will be improved.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I understand that it is easier to ask a quick question on serusers and get 
an answer, but we hope that the Getting Started document will bring everybody 
quickly up to speed in the basic stuff, so that we can concentrate on exploiting 
more advanced aspects of SER and stimulate to further development.</DIV>
<DIV>&nbsp;</DIV>
<DIV>i hope you will find reading the Getting Started document rewarding!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Greger</DIV>
<DIV>&nbsp;</DIV>
<DIV>---- Original Message ----<BR>From: Vivienne Curran<BR>To: Greger V. 
Teigre<BR>Sent: Monday, April 04, 2005 03:06 PM<BR>Subject: Re: [Serusers] 
Nathelper/Rtpproxy not working for two natted<BR>clients <BR><BR>&gt; Hi 
Greger,<BR>&gt; <BR>&gt; Can you can give me an idea of how to handle the 
callers? If I can<BR>&gt; modify my script for this functionality do you think I 
am nearly<BR>&gt; there? My script must handle natted clients on separate 
networks and<BR>&gt; also natted clients on the same subnet. I want all the 
calls proxied<BR>&gt; for the moment.&nbsp;&nbsp;&nbsp; <BR>&gt; <BR>&gt; Thanks 
again,<BR>&gt; Vivienne<BR>&gt; <BR>&gt; "Greger V. Teigre" 
&lt;greger@teigre.com&gt; wrote:<BR>&gt; Vivienne,<BR>&gt; From your 
config:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(nat_uac_test("3")){<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (method == "REGISTER" || !<BR>&gt; search("^Record-Route:")){ 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
log("Log: Someone trying to register from<BR>&gt; private IP,rew <BR>&gt; 
riting\n");<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
fix_nated_contact(); #Rewrite contact with source 
IP<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (method == 
"INVITE"){<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
fix_nated_sdp("1"); #Add<BR>&gt; direction=active to SDP 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
force_rport(); # Add rport parameter to<BR>&gt; topmost Via 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
setflag(6); # Mark as 
Nated<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&gt; <BR>&gt; Here you don't proxy the call, you just add the 
direction=active.&nbsp; If<BR>&gt; you want to rtp proxy the calls, you need to 
have a force_rtp_proxy()<BR>&gt; for the initial INVITE.&nbsp; Read section 1 of 
the Getting Started<BR>&gt; document at ONsip.org to understand what is supposed 
to happen and<BR>&gt; how to read the SDP payload and see the rtpproxy example 
found in the<BR>&gt; document.&nbsp;&nbsp;&nbsp;&nbsp; <BR>&gt; Your config will 
process the OK and proxy the rtp stream from the<BR>&gt; callee, but not the 
caller's. <BR>&gt; g-)<BR>&gt; <BR>&gt; ---- Original Message ----<BR>&gt; From: 
Vivienne Curran<BR>&gt; To: serusers@lists.iptel.org<BR>&gt; Sent: Thursday, March 31, 
2005 05:55 PM<BR>&gt; Subject: [Serusers] Nathelper/Rtpproxy not working for two 
natted<BR>&gt; clients<BR>&gt; <BR>&gt;&gt; Hi,<BR>&gt;&gt; <BR>&gt;&gt; I am 
having problems troubleshooting a problem I am experiencing with<BR>&gt;&gt; my 
SER configuration. I have ser 0.8.14 running with rtpproxy and<BR>&gt;&gt; 
nathelper enabled. I have two phones on the same subnet behind nat<BR>&gt;&gt; 
and I would like to make a call between the two. I want to invoke<BR>&gt;&gt; 
rtpproxy for this as they both have private address [I know this<BR>&gt;&gt; 
isn’t the most efficient way as they’re both on the same subnet but 
I<BR>&gt;&gt; can worry about that later].<BR>&gt;&gt; <BR>&gt;&gt; When I ring 
from the phone 1 (2092) to phone 2 (2093), 2092 can hear<BR>&gt;&gt; voice but 
2093 can’t. When 2093 ring 2092, there’s no audio. These<BR>&gt;&gt; phones are 
Grandstream BT100’s. They have been configured to listen&gt;<BR>&gt;&gt; on 
different SIP and RTP ports. <BR>&gt;&gt; <BR>&gt;&gt; 2092: SIP Port: 
5060<BR>&gt;&gt; 2092: RTP Port: 5004<BR>&gt;&gt; 2093: SIP Port: 
5061<BR>&gt;&gt; 2093: RTP Port: 5005<BR>&gt;&gt; <BR>&gt;&gt; I have included 
my ser.cfg file the messages received on my SER<BR>&gt;&gt; server (using ngrep 
SIP-q)in an attachment. I can confirm that my<BR>&gt;&gt; rtpproxy is working 
(originally I thought it wasn’t) by using “strace<BR>&gt;&gt; –d 
&lt;rtpproxy&nbsp; pid&gt; -f –F”. I can see a signal being 
returned.<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; Kindest 
Regards,<BR>&gt;&gt; Vivienne.<BR>&gt;&gt; Send instant messages to your online 
friends<BR>&gt;&gt; http://uk.messenger.yahoo.com<BR>&gt;&gt; <BR>&gt;&gt; 
<BR>&gt;&gt; <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; Send instant messages to 
your on! line friends<BR>&gt; http://uk.messenger.yahoo.com </DIV></BODY></HTML>