[Asterisk-Users] SIP Challenge response bug?

Matt Schulte mschulte at netlogic.net
Tue Feb 1 06:55:50 MST 2005


Ok, here's an odd one. I would have opened a bug on this but last time I
tried that I got flamed.. :)

Problem: When proxy requests digest challenge (SIP) Asterisk responds
normally with the exception that for some reason it changes the FROM:
(Also changes Contact: )to what's in the original TO: line. Why on earth
is it doing this?! It must be a bug, I've gone over my extensions.conf
several times to no avail. It seems older vers of ast don't do this.

near end is error:

Sip read:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 206.80.66.138:5060;branch=z9hG4bK243afb2c
From: "Matt S" <sip:+13142664000 at 206.80.66.138>;tag=as5f22d23c
To:
<sip:3142498555 at sipfarm.netlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e
58.2b61
Call-ID: 6b3bf846529168f37cd8465357608dee at 206.80.66.138
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="sipfarm.netlogic.net", nonce="blah
blah", qop="auth"
Server: Sip EXpress router (0.8.14 (i386/linux))
Content-Length: 0
Warning: 392 206.80.70.46:5060 "Noisy feedback tells:  pid=27326
req_src_ip=206.80.66.138 req_src_port=5060
in_uri=sip:3142498555 at sipfarm.netlogic.net
out_uri=sip:3142498555 at sipfarm.netlogic.net via_cnt==1"


10 headers, 0 lines
Transmitting:
ACK sip:3142498555 at sipfarm.netlogic.net SIP/2.0
Via: SIP/2.0/UDP 206.80.66.138:5060;branch=z9hG4bK243afb2c
From: "Matt S" <sip:+13142664000 at 206.80.66.138>;tag=as5f22d23c
To:
<sip:3142498555 at sipfarm.netlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e
58.2b61
Contact: <sip:+13142664000 at 206.80.66.138>
Call-ID: 6b3bf846529168f37cd8465357608dee at 206.80.66.138
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0

 (no NAT) to 206.80.70.46:5060
We're at 206.80.66.138 port 60922
Answering with capability 0x100 (g729)
Answering with non-codec capability 0x1 (telephone-event)
Reliably Transmitting:
INVITE sip:3142498555 at sipfarm.netlogic.net SIP/2.0
Via: SIP/2.0/UDP 206.80.66.138:5060;branch=z9hG4bK670cb15b
From: "Matt S" <sip:3142498555 at 206.80.66.138>;tag=as5f22d23c
To: <sip:3142498555 at sipfarm.netlogic.net>
Contact: <sip:3142498555 at 206.80.66.138>

--snip--



More information about the asterisk-users mailing list