<!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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </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:[ ]*\*") &&
client_nat_test("7")) {</FONT></DIV>
<DIV><FONT face=Arial size=2> setflag(6);</FONT></DIV>
<DIV><FONT face=Arial size=2>
fix_nated_register();</FONT></DIV>
<DIV><FONT face=Arial size=2> 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>
www_challenge("","0");</FONT></DIV>
<DIV><FONT face=Arial size=2> 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> sl_send_reply("401",
"Unauthorized");</FONT></DIV>
<DIV><FONT face=Arial size=2> 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> 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> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Joao Pereira" <</FONT><A
href="mailto:joao.pereira@fccn.pt"><FONT face=Arial
size=2>joao.pereira@fccn.pt</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:serusers@lists.iptel.org"><FONT face=Arial
size=2>serusers@lists.iptel.org</FONT></A><FONT face=Arial size=2>></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>> Hello to all,<BR>> Im having huge problems connecting Cisco IP
phones (7940 and 7960) to my <BR>> SER.<BR>> I m using the 7.5 SIP
firmware.<BR>> Before that, all phones (softphones, hardphones,...) worked,
but the <BR>> Ciscos seem to have problems to register and to make calls. The
bigger <BR>> problems are in the RTPproxy part of my ser.cfg.... the Cisco IP
phones <BR>> cant get out of this:<BR>> <BR>> if
(method=="REGISTER" && nat_uac_test("3")) {<BR>>
fix_nated_contact();<BR>> log(1, "LOG: ciscos
doesnt work with NAThelper \n");<BR>>
force_rport();<BR>> setflag(2);<BR>>
};<BR>> <BR>> <BR>> The phones dont register with SER when I have
"force_rport".<BR>> The phones cant make calls between them if I have
"fix_nated_contact" <BR>> and "force_rport"<BR>> <BR>> If someone could
manage to put Cisco IP phones to work with RTPproxy and <BR>> NAT helper,
please give me a hand.<BR>> Thanks<BR>> Joao Pereira<BR>> </FONT><A
href="http://www.fccn.pt"><FONT face=Arial
size=2>www.fccn.pt</FONT></A><BR><FONT face=Arial size=2>> <BR>>
_______________________________________________<BR>> Serusers mailing
list<BR>> </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>> </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>