Don't call force_rport and fix_nated_register for this UA. Use
if(search("^User-Agent: Cisco-CP7940G"))
g-)
Mahatma Sarasvati wrote:
Hello,
I'm using SER from cvs checked out today:
cvs co -r rel_2_0_0 sip_routerMy Cisco 7940G phone is trying to register and is failing.
I think because SER is replying to a the port (50650) that the REGISTER request came from,
but the phone is not listening on port 50650. The phone never adds Digest Auth stuff into
the REGISTER message, so I think its not getting the 401 Unauthorized message.
The REGISTER message is explicit that the Contact should be at port 5060.
I have a production installation of SER 0.8.14 that is replying to port 5060 on the
phones with the 401 Unauthorized, so I know the phones work in that scenario.
I'm using the default ser.cfg version 1.4 as posted on
iptel.org in the Optomizing
RTP Proxy page.
See below. What to do?
Thanks,
Mahatma
U 10.10.100.103:50650 -> 10.10.10.41:5060
REGISTER
sip:velocity11.com SIP/2.0.
Via: SIP/2.0/UDP 10.10.100.103:5060;branch=z9hG4bK5407bc35.
From: <sip:gnoah@velocity11.com>;tag=0008e31b74c7001e396ea85f-3fa5879c.
To: <sip:gnoah@velocity11.com>.
Call-ID: 0008e31b-74c70006-2eef1c02-22c70ede(a)10.10.100.103.
Max-Forwards: 70.
Date: Thu, 19 Apr 2007 22:44:23 GMT.
CSeq: 116 REGISTER.
User-Agent: Cisco-CP7940G/8.0.
Contact:
<sip:gnoah@10.10.100.103:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0008e31b74c7>";+u.sip!model.ccm.cisco.com="8".
Content-Length: 0.
Expires: 3600.
.
U 10.10.10.41:5060 -> 10.10.100.103:50650
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 10.10.100.103:5060;branch=z9hG4bK5407bc35;rport=50650.
From: <sip:gnoah@velocity11.com>;tag=0008e31b74c7001e396ea85f-3fa5879c.
To: <sip:gnoah@velocity11.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.ad42.
Call-ID: 0008e31b-74c70006-2eef1c02-22c70ede(a)10.10.100.103.
CSeq: 116 REGISTER.
WWW-Authenticate: Digest realm="velocity11.com",
nonce="4627f1f527fd2a950a45686789ff5babccb80014", qop="auth".
Server: Sip EXpress router (2.0.0-rc1 (i386/linux)).
Content-Length: 0.
Warning: 392 10.10.10.41:5060 "Noisy feedback tells: pid=7729
req_src_ip=10.10.100.103 req_src_port=50650
in_uri=sip:velocity11.com
out_uri=sip:velocity11.com via_cnt==1".
.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers