[Asterisk-Dev] Server not responding to REGISTER
Chintan Thakker
cthakker at ipnetfusion.com
Tue Jun 24 13:47:05 MST 2003
Hi,
I send a REGISTER and get back a 404. When I send back the REGISTER
with the Proxy-Authorization, I do not get any response from the server.
Am I missing something ?
Thanks,
Platform: linux 2.4.18-14 (i686)
Server: asterisk-0.4.0
-- start entries in sip.conf --
[9727610001]
type=friend
username=9727610001
;fromuser=9727610001
secret=9727610001
host=dynamic
defaultip=192.1.2.223
[9727619271]
type=friend
username=9727619271
;fromuser=9727619271
secret=9727619271
host=dynamic
defaultip=192.1.2.88
-- end entries in sip.conf --
-- start asterix trace --
*CLI> Sip read:
REGISTER sip:192.1.2.17 SIP/2.0
Via: SIP/2.0/UDP 192.1.2.223:5060
Max-Forwards: 2
From: <sip:9727610001 at 192.1.2.17>;tag=7610001
To: <sip:9727610001 at 192.1.2.17>
Call-ID: 10031112 at 192.1.2.223
CSeq: 7610001 REGISTER
Contact: <sip:9727610001 at 192.1.2.223;transport=udp>
Content-Length: 0
User-Agent: ST Simulation
10 headers, 0 lines
Interface is eth0
IP Address is 192.1.2.17
Using latest request as basis request
Sending to 192.1.2.223 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.1.2.223:5060
From: <sip:9727610001 at 192.1.2.17>;tag=7610001
To: <sip:9727610001 at 192.1.2.17>;tag=as796afc50
Call-ID: 10031112 at 192.1.2.223
CSeq: 7610001 REGISTER
User-Agent: Asterisk PBX
Contact: <sip:9727610001 at 192.1.2.17>
Content-Length: 0
to 192.1.2.223:5060
Transmitting (no NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.1.2.223:5060
From: <sip:9727610001 at 192.1.2.17>;tag=7610001
To: <sip:9727610001 at 192.1.2.17>;tag=as796afc50
Call-ID: 10031112 at 192.1.2.223
CSeq: 7610001 REGISTER
User-Agent: Asterisk PBX
Contact: <sip:9727610001 at 192.1.2.17>
Proxy-Authenticate: Digest realm="asterisk", nonce="7f1a1862"
Content-Length: 0
to 192.1.2.223:5060
Sip read:
REGISTER sip:192.1.2.17 SIP/2.0
Via: SIP/2.0/UDP 192.1.2.223:5060
Max-Forwards: 2
From: <sip:9727610001 at 192.1.2.17>;tag=7610001
To: <sip:9727610001 at 192.1.2.17>
Call-ID: 10031112 at 192.1.2.223
CSeq: 27610001 REGISTER
Contact: <sip:9727610001 at 192.1.2.223;transport=udp>
Content-Length: 0
Proxy-Authorization: Digest
username="9727610001",realm="asterisk",nonce="7f1a1862",uri="sip:192.1.2.17",response="1280fe11aff1e8836d4875be7d00682b",algorithm=MD5
User-Agent: ST Simulation
11 headers, 0 lines
Sip read:
REGISTER sip:192.1.2.17 SIP/2.0
Via: SIP/2.0/UDP 192.1.2.223:5060
Max-Forwards: 2
From: <sip:9727610001 at 192.1.2.17>;tag=7610001
To: <sip:9727610001 at 192.1.2.17>
Call-ID: 10031112 at 192.1.2.223
CSeq: 27610001 REGISTER
Contact: <sip:9727610001 at 192.1.2.223;transport=udp>
Content-Length: 0
Proxy-Authorization: Digest
username="9727610001",realm="asterisk",nonce="7f1a1862",uri="sip:192.1.2.17",response="1280fe11aff1e8836d4875be7d00682b",algorithm=MD5
User-Agent: ST Simulation
11 headers, 0 lines
-- end asterix trace --
More information about the asterisk-dev
mailing list