<DIV>Sorry I also should have mentioned that now when the public phone rings the private phone, the public client can hear voice but the private client can still hear nothing.</DIV>
<DIV>&nbsp;</DIV>
<DIV>BR</DIV>
<DIV>Viv<BR><BR><B><I>Vivienne Curran &lt;vivcurran@yahoo.co.uk&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>
<DIV>Hi Greger (Sorry forgot to copy the serusers mailing list the 1st time),</DIV>
<DIV>&nbsp;</DIV>
<DIV>I made that change and my on_reply_route now looks like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;onreply_route[1] {</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; if (isflagset(6) &amp;&amp; status=~"(180)|(183)|2[0-9][0-9]") {</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_nated_contact();</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!search("^Content-Length:\ 0")) {</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; force_rtp_proxy();</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;} else if (nat_uac_test("1")) {</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_nated_contact();</DIV>
<DIV>};</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Unfortunately&nbsp;when I restarted rtpproxy, SER and reregistered my phones, I still had the same message dump. </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>U 84.203.148.146:5060 -&gt; 157.190.74.151:5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>SIP/2.0 200 OK..Via: SIP/2.0/UDP 157.190.74.151;rport=5060;branch=z9hG4bKcd</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>17ddd1b59ead49..From: "2092" &lt;sip:2092@84.203.148.146&gt;;tag=aedc22bd5a3b510c</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>..To: &lt;sip:2093@84.203.148.146&gt;;tag=acd725e00242a605..Call-ID: 8ffc2d18b218</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>70b3@157.190.74.151..CSeq: 64735 INVITE..User-Agent: Grandstream BT100 1.0.</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>5.18..Contact: &lt;sip:2093@172.16.3.31&gt;..Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>REFER,OPTIONS,INFO,SUBSCRIBE..Content-Type: application/sdp..Supported: rep</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>laces..Content-Length: 174....v=0..o=2093 8000 0 IN IP4 172.16.3.31..s=SIP</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Call..c=IN IP4 84.203.148.146..t=0 0..m=audio 35016 RTP/AVP 0..a=sendrecv..</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>a=rtpmap:0 PCMU/8000/3..a=ptime:20..a=nortpproxy:yes..</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Any more thoughts?</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">BR</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Viv</FONT></P></DIV>
<DIV><BR><BR><B><I>"Greger V. Teigre" &lt;greger@teigre.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><XMETA name="GENERATOR" content="MSHTML 6.00.2900.2604">
<STYLE></STYLE>

<DIV>Look at this:</DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>U 84.203.148.146:5060 -&gt; 157.190.74.151:5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>SIP/2.0 200 OK..Via: SIP/2.0/UDP 157.190.74.151;rport=5060;branch=z9hG4bKcd</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>17ddd1b59ead49..From: "2092" &lt;sip:2092@84.203.148.146&gt;;tag=aedc22bd5a3b510c</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>..To: &lt;sip:2093@84.203.148.146&gt;;tag=acd725e00242a605..Call-ID: 8ffc2d18b218</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>70b3@157.190.74.151..CSeq: 64735 INVITE..User-Agent: Grandstream BT100 1.0.</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>5.18..Contact: &lt;sip:2093@172.16.3.31&gt;..Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>REFER,OPTIONS,INFO,SUBSCRIBE..Content-Type: application/sdp..Supported: rep</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>laces..Content-Length: 174....v=0..o=2093 8000 0 IN IP4 172.16.3.31..s=SIP</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Call..c=IN IP4 84.203.148.146..t=0 0..m=audio 35016 RTP/AVP 0..a=sendrecv..</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>a=rtpmap:0 PCMU/8000/3..a=ptime:20..a=nortpproxy:yes..</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">I assume this is where you get an error message. You haven't called fix_nated_contact() for this message, and in fact I believe there may be an error in the ONsip.org example where&nbsp;a line has been lost.</FONT></P><FONT face="Courier New" size=1>
<P align=left>192. onreply_route[1] {</P>
<P align=left>193.</P>
<P align=left>194. if (isflagset(6) &amp;&amp; status=~"(180)|(183)|2[0-9][0-9]") {</P>
<P align=left>195. if (!search("^Content-Length:\ 0")) {</P>
<P align=left>196. force_rtp_proxy();</P>
<P align=left>197. };</P>
<P align=left>198. } else if (nat_uac_test("1")) {</P>
<P align=left>199. fix_nated_contact();</P>
<P align=left>200. };</P>
<P align=left>201. }</P></FONT>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">fix_nated_contact() should go in between line 194 and 195.&nbsp; </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Could you please confirm that this works?&nbsp; I will look at the config file.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">g-(</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">&nbsp;</P></DIV>
<DIV>---- Original Message ----<BR>From: Vivienne Curran<BR>To: serusers@lists.iptel.org ; greger@teigre.com<BR>Sent: Wednesday, April 06, 2005 04:12 PM<BR>Subject: Re: RTPProxy fails only for Private to Public communication<BR><BR>&gt; Just as an extra : I have a sniff of the message for when a public<BR>&gt; client (2092)rings a private client (2093)included at the bottom of<BR>&gt; this email. I cant see anything wrong with them but maybe it will<BR>&gt; shed more light on the matter.&nbsp;&nbsp; <BR>&gt; <BR>&gt; Vivienne Curran &lt;vivcurran@yahoo.co.uk&gt; wrote:<BR>&gt; I changed the line modparam("nathelper", "rtpproxy_sock",<BR>&gt; "/var/run/rtpproxy.sock") to modparam("nathelper", "rtpproxy_sock",<BR>&gt; "udp:localhost:22222") and started the rtpproxy as ./rtpproxy -s udp<BR>&gt; from the relevant directory and this resulted in a series of<BR>&gt; "rtpp_command: no response from rtpproxy" and rtpproxy temporarily<BR>&gt; disabled" errors. If I return to the original mod param
 and start it<BR>&gt; as ./rtpproxy then it works but like I said when the private client<BR>&gt; rings the public client, I get "ERROR: send_rtpp_command: cant read<BR>&gt; reply from a RTP Proxy".&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&gt; <BR>&gt; Any further ideas? Has anyone on the mailing list experienced this? I<BR>&gt; am using the script given in the onsip getting started doc for 0.9.0.<BR>&gt; but am using ser 0.8.14.&nbsp; <BR>&gt; <BR>&gt; BR,<BR>&gt; Vivienne</DIV></BLOCKQUOTE></DIV>
<P>Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________<BR>Serusers mailing list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></P></BLOCKQUOTE><p>Send instant messages to your online friends http://uk.messenger.yahoo.com