From the dump that I have attached It looks like the first attempt
at register does not work then followd by a second register which
then works.
This is happening on all the SIP phone attach to asterisk. The version
of asterisk here is 1.2.0b2.
Here is sip.conf for ext 204
[204]
username=204
type=friend
secret=xxxx
md5secret=356381525bb1969a32743b58db400342
auth=md5
record_out=Adhoc
record_in=Adhoc
port=5060
[EMAIL PROTECTED]
host=dynamic
context=from-sip
canreinvite=no
callerid=Library <204>
Is there somethng that I am missing to have phone only reigster once and
not get the 401 unauthorized on the first attempt which
then get follow by the same register but get 200 Ok.
No. Time Source Destination Protocol Info
3 0.494325 192.168.3.70 192.168.3.28 SIP
Request: REGISTER sip:192.168.3.28
Frame 3 (675 bytes on wire, 675 bytes captured)
Ethernet II, Src: 192.168.3.70 (00:0e:08:ca:5f:2d), Dst: 192.168.3.28
(00:a0:c9:e7:9c:6e)
Internet Protocol, Src: 192.168.3.70 (192.168.3.70), Dst: 192.168.3.28
(192.168.3.28)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REGISTER sip:192.168.3.28 SIP/2.0
Message Header
Via: SIP/2.0/UDP 192.168.3.70:5060;branch=z9hG4bK-8c701711
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 79 REGISTER
Max-Forwards: 70
Authorization: Digest
username="204",realm="asterisk",nonce="6948ea10",uri="sip:192.168.3.28",algorithm=MD5,response="3c05b1dab053a739d7c8ad941ac98cee"
Contact: Great Room <sip:[EMAIL PROTECTED]:5060>;expires=60
Contact Binding: Great Room <sip:[EMAIL PROTECTED]:5060>;expires=60
User-Agent: Sipura/SPA3000-3.1.7(GWg)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura
No. Time Source Destination Protocol Info
4 0.495379 192.168.3.28 192.168.3.70 SIP
Status: 100 Trying (1 bindings)
Frame 4 (473 bytes on wire, 473 bytes captured)
Ethernet II, Src: 192.168.3.28 (00:a0:c9:e7:9c:6e), Dst: 192.168.3.70
(00:0e:08:ca:5f:2d)
Internet Protocol, Src: 192.168.3.28 (192.168.3.28), Dst: 192.168.3.70
(192.168.3.70)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 100 Trying
Message Header
Via: SIP/2.0/UDP
192.168.3.70:5060;branch=z9hG4bK-8c701711;received=192.168.3.70
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 79 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Contact Binding: <sip:[EMAIL PROTECTED]>
Content-Length: 0
No. Time Source Destination Protocol Info
5 0.495662 192.168.3.28 192.168.3.70 SIP
Status: 401 Unauthorized (1 bindings)
Frame 5 (555 bytes on wire, 555 bytes captured)
Ethernet II, Src: 192.168.3.28 (00:a0:c9:e7:9c:6e), Dst: 192.168.3.70
(00:0e:08:ca:5f:2d)
Internet Protocol, Src: 192.168.3.28 (192.168.3.28), Dst: 192.168.3.70
(192.168.3.70)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 401 Unauthorized
Message Header
Via: SIP/2.0/UDP
192.168.3.70:5060;branch=z9hG4bK-8c701711;received=192.168.3.70
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>;tag=as6a7c3473
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
SIP tag: as6a7c3473
Call-ID: [EMAIL PROTECTED]
CSeq: 79 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Contact Binding: <sip:[EMAIL PROTECTED]>
WWW-Authenticate: Digest realm="asterisk", nonce="3dbc57fe"
Content-Length: 0
No. Time Source Destination Protocol Info
6 0.513600 192.168.3.70 192.168.3.28 SIP
Request: REGISTER sip:192.168.3.28
Frame 6 (675 bytes on wire, 675 bytes captured)
Ethernet II, Src: 192.168.3.70 (00:0e:08:ca:5f:2d), Dst: 192.168.3.28
(00:a0:c9:e7:9c:6e)
Internet Protocol, Src: 192.168.3.70 (192.168.3.70), Dst: 192.168.3.28
(192.168.3.28)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REGISTER sip:192.168.3.28 SIP/2.0
Message Header
Via: SIP/2.0/UDP 192.168.3.70:5060;branch=z9hG4bK-88323b12
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 80 REGISTER
Max-Forwards: 70
Authorization: Digest
username="204",realm="asterisk",nonce="3dbc57fe",uri="sip:192.168.3.28",algorithm=MD5,response="ece2a714f3f68a47b9b57edbde353dc6"
Contact: Great Room <sip:[EMAIL PROTECTED]:5060>;expires=60
Contact Binding: Great Room <sip:[EMAIL PROTECTED]:5060>;expires=60
User-Agent: Sipura/SPA3000-3.1.7(GWg)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura
No. Time Source Destination Protocol Info
7 0.514302 192.168.3.28 192.168.3.70 SIP
Status: 100 Trying (1 bindings)
Frame 7 (473 bytes on wire, 473 bytes captured)
Ethernet II, Src: 192.168.3.28 (00:a0:c9:e7:9c:6e), Dst: 192.168.3.70
(00:0e:08:ca:5f:2d)
Internet Protocol, Src: 192.168.3.28 (192.168.3.28), Dst: 192.168.3.70
(192.168.3.70)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 100 Trying
Message Header
Via: SIP/2.0/UDP
192.168.3.70:5060;branch=z9hG4bK-88323b12;received=192.168.3.70
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 80 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Contact Binding: <sip:[EMAIL PROTECTED]>
Content-Length: 0
No. Time Source Destination Protocol Info
8 0.530594 192.168.3.28 192.168.3.70 SIP
Status: 200 OK (1 bindings)
Frame 8 (550 bytes on wire, 550 bytes captured)
Ethernet II, Src: 192.168.3.28 (00:a0:c9:e7:9c:6e), Dst: 192.168.3.70
(00:0e:08:ca:5f:2d)
Internet Protocol, Src: 192.168.3.28 (192.168.3.28), Dst: 192.168.3.70
(192.168.3.70)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK
Message Header
Via: SIP/2.0/UDP
192.168.3.70:5060;branch=z9hG4bK-88323b12;received=192.168.3.70
From: Great Room <sip:[EMAIL PROTECTED]>;tag=51baed127acfd9a6o0
SIP Display info: Great Room
SIP from address: sip:[EMAIL PROTECTED]
SIP tag: 51baed127acfd9a6o0
To: Great Room <sip:[EMAIL PROTECTED]>;tag=as6a7c3473
SIP Display info: Great Room
SIP to address: sip:[EMAIL PROTECTED]
SIP tag: as6a7c3473
Call-ID: [EMAIL PROTECTED]
CSeq: 80 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Expires: 60
Contact: <sip:[EMAIL PROTECTED]:5060>;expires=60
Contact Binding: <sip:[EMAIL PROTECTED]:5060>;expires=60
Date: Sun, 13 Nov 2005 00:29:50 GMT
Content-Length: 0
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users