<!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.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>I work with 7905G and mediaproxy. I had problem 
with first "if" that before it was in other location into ser.cfg.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>route[2] {</FONT></DIV>
<DIV><FONT face=Arial size=2># 
-----------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2># REGISTER Message Handler</FONT></DIV>
<DIV><FONT face=Arial size=2># 
-----------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>sl_send_reply("100", "Trying");</FONT></DIV>
<DIV><FONT face=Arial size=2>if (!search("^Contact:[ ]*\*") &amp;&amp; 
client_nat_test("7")) {</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; setflag(6);</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
fix_nated_register();</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; force_rport();</FONT></DIV>
<DIV><FONT face=Arial size=2>};</FONT></DIV>
<DIV><FONT face=Arial size=2>if (!www_authorize("","subscriber")) {</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
www_challenge("","0");</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; break;</FONT></DIV>
<DIV><FONT face=Arial size=2>};</FONT></DIV>
<DIV><FONT face=Arial size=2>if (!check_to()) {</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; sl_send_reply("401", 
"Unauthorized");</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; break;</FONT></DIV>
<DIV><FONT face=Arial size=2>};</FONT></DIV>
<DIV><FONT face=Arial size=2>consume_credentials();</FONT></DIV>
<DIV><FONT face=Arial size=2>if (!save("location")) {</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; sl_reply_error();</FONT></DIV>
<DIV><FONT face=Arial size=2>};</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Joao Pereira" &lt;</FONT><A 
href="mailto:joao.pereira@fccn.pt"><FONT face=Arial 
size=2>joao.pereira@fccn.pt</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</FONT><A 
href="mailto:serusers@lists.iptel.org"><FONT face=Arial 
size=2>serusers@lists.iptel.org</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Tuesday, October 04, 2005 12:10 
PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: [Serusers] RTP proxy and Cisco IP 
phones</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>&gt; Hello to all,<BR>&gt; Im having huge problems connecting Cisco IP 
phones (7940 and 7960) to my <BR>&gt; SER.<BR>&gt; I m using the 7.5 SIP 
firmware.<BR>&gt; Before that, all phones (softphones, hardphones,...) worked, 
but the <BR>&gt; Ciscos seem to have problems to register and to make calls. The 
bigger <BR>&gt; problems are in the RTPproxy part of my ser.cfg.... the Cisco IP 
phones <BR>&gt; cant get out of this:<BR>&gt; <BR>&gt;&nbsp; if 
(method=="REGISTER" &amp;&amp; nat_uac_test("3")) {<BR>&gt;&nbsp;&nbsp;&nbsp; 
fix_nated_contact();<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, "LOG: ciscos 
doesnt work with NAThelper \n");<BR>&gt;&nbsp;&nbsp;&nbsp; 
force_rport();<BR>&gt;&nbsp;&nbsp;&nbsp; setflag(2);<BR>&gt;&nbsp;&nbsp;&nbsp; 
};<BR>&gt; <BR>&gt; <BR>&gt; The phones dont register with SER when I have 
"force_rport".<BR>&gt; The phones cant make calls between them if I have 
"fix_nated_contact" <BR>&gt; and "force_rport"<BR>&gt; <BR>&gt; If someone could 
manage to put Cisco IP phones to work with RTPproxy and <BR>&gt; NAT helper, 
please give me a hand.<BR>&gt; Thanks<BR>&gt; Joao Pereira<BR>&gt; </FONT><A 
href="http://www.fccn.pt"><FONT face=Arial 
size=2>www.fccn.pt</FONT></A><BR><FONT face=Arial size=2>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; Serusers mailing 
list<BR>&gt; </FONT><A href="mailto:serusers@lists.iptel.org"><FONT face=Arial 
size=2>serusers@lists.iptel.org</FONT></A><BR><FONT face=Arial size=2>&gt; </FONT><A 
href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial 
size=2>http://lists.iptel.org/mailman/listinfo/serusers</FONT></A></BODY></HTML>