<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> </DIV>
<DIV>BR</DIV>
<DIV>Viv<BR><BR><B><I>Vivienne Curran <vivcurran@yahoo.co.uk></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> </DIV>
<DIV>I made that change and my on_reply_route now looks like this:</DIV>
<DIV> </DIV>
<DIV> onreply_route[1] {</DIV>
<DIV> </DIV>
<DIV> if (isflagset(6) && status=~"(180)|(183)|2[0-9][0-9]") {</DIV>
<DIV> fix_nated_contact();</DIV>
<DIV> if (!search("^Content-Length:\ 0")) {</DIV>
<DIV> force_rtp_proxy();</DIV>
<DIV> };</DIV>
<DIV> } else if (nat_uac_test("1")) {</DIV>
<DIV> fix_nated_contact();</DIV>
<DIV>};</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>Unfortunately when I restarted rtpproxy, SER and reregistered my phones, I still had the same message dump. </DIV>
<DIV> </DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>U 84.203.148.146:5060 -> 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"> </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"> </SPAN>17ddd1b59ead49..From: "2092" <sip:2092@84.203.148.146>;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"> </SPAN>..To: <sip:2093@84.203.148.146>;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"> </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"> </SPAN>5.18..Contact: <sip:2093@172.16.3.31>..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"> </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"> </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"> </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"> </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> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"></FONT> </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> </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" <greger@teigre.com></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 -> 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"> </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"> </SPAN>17ddd1b59ead49..From: "2092" <sip:2092@84.203.148.146>;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"> </SPAN>..To: <sip:2093@84.203.148.146>;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"> </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"> </SPAN>5.18..Contact: <sip:2093@172.16.3.31>..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"> </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"> </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"> </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"> </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> </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 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) && 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. </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Could you please confirm that this works? 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"> </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>> Just as an extra : I have a sniff of the message for when a public<BR>> client (2092)rings a private client (2093)included at the bottom of<BR>> this email. I cant see anything wrong with them but maybe it will<BR>> shed more light on the matter. <BR>> <BR>> Vivienne Curran <vivcurran@yahoo.co.uk> wrote:<BR>> I changed the line modparam("nathelper", "rtpproxy_sock",<BR>> "/var/run/rtpproxy.sock") to modparam("nathelper", "rtpproxy_sock",<BR>> "udp:localhost:22222") and started the rtpproxy as ./rtpproxy -s udp<BR>> from the relevant directory and this resulted in a series of<BR>> "rtpp_command: no response from rtpproxy" and rtpproxy temporarily<BR>> disabled" errors. If I return to the original mod param
and start it<BR>> as ./rtpproxy then it works but like I said when the private client<BR>> rings the public client, I get "ERROR: send_rtpp_command: cant read<BR>> reply from a RTP Proxy". <BR>> <BR>> Any further ideas? Has anyone on the mailing list experienced this? I<BR>> am using the script given in the onsip getting started doc for 0.9.0.<BR>> but am using ser 0.8.14. <BR>> <BR>> BR,<BR>> 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