Hi,
I notice that whenever SER is binding UAs, everyone who register / invite at that time will just get stucked for a few seconds.
SER will not response when it's binding UAs
Is this normal? Anything can be done to improve this situation? Thanks in advance
Regards,
Chia
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Hi Joao!
You have to provide some network dumps (ngrep port 5060). Otherwise we can'T figure out what the problem is.
regards klaus
Joao Pereira wrote:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Theres the ngrep. The phones try to register, but they cant...in the ngrep theres a "Ok", but the phones are not registered. SER is not asking for passwords of login names. If I comment the "fix_nated_contact" and "force_rport" It registers and works, but I want to use SER as a proxy.
# ngrep -d eth0 -t port 5060 interface: eth0 (10.0.0.128/255.255.255.128)
U 2005/10/04 11:28:14.037165 10.0.11.243:50558 -> 10.0.0.135:5060 REGISTER sip:10.0.0.135 SIP/2.0..Via: SIP/2.0/UDP 10.0.11.243:5060;branch=z9hG4bK49c6f6d7..From: sip:miguel.baptista@10.0.0.135;tag=001 4693226d2000462a3a1aa-2f78c071..To: sip:miguel.baptista@10.0.0.135..Call-ID: 00146932-26d20002-23b20474-030bb391@10.0.11.243..Max-Forward s: 70..CSeq: 103 REGISTER..User-Agent: Cisco-CP7940G/7.5..Contact: sip:miguel.baptista@10.0.11.243:5060;+sip.instance="<urn:uuid:000000 00-0000-0000-0000-0014693226d2>"..Content-Length: 0..Expires: 3600.... # U 2005/10/04 11:28:14.037751 10.0.0.135:5060 -> 10.0.11.243:50558 SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.0.11.243:5060;branch=z9hG4bK49c6f6d7;rport=50558..From: sip:miguel.baptista@10.0.0.135;tag=00146932 26d2000462a3a1aa-2f78c071..To: sip:miguel.baptista@10.0.0.135;tag=7e8373503a5a04513f90bc2f614f3b81.1812..Call-ID: 00146932-26d20002-23b20 474-030bb391@10.0.11.243..CSeq: 103 REGISTER..P-NAT-Refresh: 15..Contact: sip:miguel.baptista@10.0.11.243:50558;expires=3600, <sip:migu el.baptista@10.0.11.243:50559>;expires=2792..Server: Sip EXpress router (0.9.0 (i386/linux))..Content-Length: 0.... #
The next ngrep is from a computer with Xlite, It registers and works:
U 2005/10/04 11:34:03.148115 10.0.11.244:5060 -> 10.0.0.135:5060 REGISTER sip:fccn.pt SIP/2.0..Via: SIP/2.0/UDP 10.0.11.244:5060;rport;branch=z9hG4bK8A3365AAD733474F9BD2198CE57DB44C..From: Luis Guido <s ip:lguido@fccn.pt>;tag=2399223210..To: Luis Guido sip:lguido@fccn.pt..Contact: "Luis Guido" sip:lguido@10.0.11.244:5060..Call-ID: A8B 72E15C43B4795A25E61B27030B059@fccn.pt..CSeq: 59442 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-Lite release 1103m..Content-L ength: 0....
# U 2005/10/04 11:34:03.148691 10.0.0.135:5060 -> 10.0.11.244:5060 SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.0.11.244:5060;rport=5060;branch=z9hG4bK8A3365AAD733474F9BD2198CE57DB44C..From: Luis Guido <sip:lguido @fccn.pt>;tag=2399223210..To: Luis Guido sip:lguido@fccn.pt;tag=7e8373503a5a04513f90bc2f614f3b81.922b..Call-ID: A8B72E15C43B4795A25E61B 27030B059@fccn.pt..CSeq: 59442 REGISTER..P-NAT-Refresh: 15..Contact: sip:lguido@10.0.11.244:5060;expires=1800..Server: Sip EXpress rout er (0.9.0 (i386/linux))..Content-Length: 0....
#
Thanks Joao Pereira www.fccn.pt
Klaus Darilion wrote:
Hi Joao!
You have to provide some network dumps (ngrep port 5060). Otherwise we can'T figure out what the problem is.
regards klaus
Joao Pereira wrote:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I work with 7905G and mediaproxy. I had problem with first "if" that before it was in other location into ser.cfg.
route[2] { # ----------------------------------------------------------------- # REGISTER Message Handler # ----------------------------------------------------------------- sl_send_reply("100", "Trying"); if (!search("^Contact:[ ]**") && client_nat_test("7")) { setflag(6); fix_nated_register(); force_rport(); }; if (!www_authorize("","subscriber")) { www_challenge("","0"); break; }; if (!check_to()) { sl_send_reply("401", "Unauthorized"); break; }; consume_credentials(); if (!save("location")) { sl_reply_error(); }; }
----- Original Message ----- From: "Joao Pereira" joao.pereira@fccn.pt To: serusers@lists.iptel.org Sent: Tuesday, October 04, 2005 12:10 PM Subject: [Serusers] RTP proxy and Cisco IP phones
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This is a shoot in the blind.
in settings,sip-settings, and, number 24 and 25 (NAT Enable and NAT Address)
make sure NAT Enable is YES, and NAT ADdress is nothing. This I know work on firmware 6. -> 7.5.
The Cisco 7960 on my desk works fine behind nat so :-)
- Atle
* Joao Pereira joao.pereira@fccn.pt [051004 12:10]:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Uaaaaau!!! You found the problem. I had to put NAT Enable to yes. Thank you very much. Joao Pereira www.fccn.pt
Atle Samuelsen wrote:
This is a shoot in the blind.
in settings,sip-settings, and, number 24 and 25 (NAT Enable and NAT Address)
make sure NAT Enable is YES, and NAT ADdress is nothing. This I know work on firmware 6. -> 7.5.
The Cisco 7960 on my desk works fine behind nat so :-)
- Atle
- Joao Pereira joao.pereira@fccn.pt [051004 12:10]:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Nema Problema, Been there myself :-)
-Atle
* Joao Pereira joao.pereira@fccn.pt [051004 12:46]:
Uaaaaau!!! You found the problem. I had to put NAT Enable to yes. Thank you very much. Joao Pereira www.fccn.pt
Atle Samuelsen wrote:
This is a shoot in the blind.
in settings,sip-settings, and, number 24 and 25 (NAT Enable and NAT Address)
make sure NAT Enable is YES, and NAT ADdress is nothing. This I know work on firmware 6. -> 7.5.
The Cisco 7960 on my desk works fine behind nat so :-)
- Atle
- Joao Pereira joao.pereira@fccn.pt [051004 12:10]:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Joao,
One problem I see is that you're calling fix_nated_contact() when processing REGISTER messages.
This is actually illegal because the RFC says you can't change the contact header.
Therefore you should call fix_nated_register() instead.
Regards, Paul
On 10/4/05, Joao Pereira joao.pereira@fccn.pt wrote:
Hello to all, Im having huge problems connecting Cisco IP phones (7940 and 7960) to my SER. I m using the 7.5 SIP firmware. Before that, all phones (softphones, hardphones,...) worked, but the Ciscos seem to have problems to register and to make calls. The bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco IP phones cant get out of this:
if (method=="REGISTER" && nat_uac_test("3")) { fix_nated_contact(); log(1, "LOG: ciscos doesnt work with NAThelper \n"); force_rport(); setflag(2); };
The phones dont register with SER when I have "force_rport". The phones cant make calls between them if I have "fix_nated_contact" and "force_rport"
If someone could manage to put Cisco IP phones to work with RTPproxy and NAT helper, please give me a hand. Thanks Joao Pereira www.fccn.pt
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers