Here is the full SIP debug from one such instance. Asterisk takes 17 seconds to respond to the REGISTER:
[code] [2013-05-10 14:36:45] VERBOSE[2035] chan_sip.c: — (12 headers 0 lines) —
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c:
<— SIP read from UDP:192.168.99.129:5060 —>
REGISTER sip:192.168.99.250:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.99.129;branch=z9hG4bK6e77d34e8671b42a4
Max-Forwards: 70
From: “Mike Balfour” sip:[email protected]:5060;tag=8b1e8d706b
To: “Mike Balfour” sip:[email protected]:5060
Call-ID: 4adfb6eb7fb364bd
CSeq: 13793 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: aastra-xml, talk, hold, conference, LocalModeStatus
Authorization: Digest username=“226”,realm=“asterisk”,nonce=“3ab7bdce”,uri=“sip:192.168.99.250:5060”,response=“a4bb2d375c028c6fcc749626670ab79f”,algorithm=MD5
Contact: “Mike Balfour” sip:[email protected]:5060;transport=udp
Supported: path
User-Agent: Aastra 9480i/3.2.2.2063
Content-Length: 0
<------------->
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c: — (14 headers 0 lines) —
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c: Sending to 192.168.99.129:5060 (NAT)
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c:
<— Transmitting (no NAT) to 192.168.99.129:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.99.129;branch=z9hG4bK6e77d34e8671b42a4;received=192.168.99.129
From: “Mike Balfour” sip:[email protected]:5060;tag=8b1e8d706b
To: “Mike Balfour” sip:[email protected]:5060;tag=as113fce95
Call-ID: 4adfb6eb7fb364bd
CSeq: 13793 REGISTER
Server: FPBX2.11.0rc1(1.8.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="1d5bb833"
Content-Length: 0
<------------>
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c: Scheduling destruction of SIP dialog ‘4adfb6eb7fb364bd’ in 32000 ms (Method: REGISTER)
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c:
<— SIP read from UDP:192.168.99.129:5060 —>
REGISTER sip:192.168.99.250:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.99.129;branch=z9hG4bK5ab922edbf0f0af23
Max-Forwards: 70
From: “Mike Balfour” sip:[email protected]:5060;tag=8b1e8d706b
To: “Mike Balfour” sip:[email protected]:5060
Call-ID: 4adfb6eb7fb364bd
CSeq: 13794 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: aastra-xml, talk, hold, conference, LocalModeStatus
Authorization: Digest username=“226”,realm=“asterisk”,nonce=“1d5bb833”,uri=“sip:192.168.99.250:5060”,response=“bb1341bfa085e8933f1df7b58a7c97c6”,algorithm=MD5
Contact: “Mike Balfour” sip:[email protected]:5060;transport=udp
Supported: path
User-Agent: Aastra 9480i/3.2.2.2063
Content-Length: 0
<------------->
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c: — (14 headers 0 lines) —
[2013-05-10 14:36:50] VERBOSE[2035] chan_sip.c: Sending to 192.168.99.129:5060 (no NAT)
[2013-05-10 14:37:07] VERBOSE[2035] chan_sip.c: Reliably Transmitting (no NAT) to 192.168.99.129:5060:
OPTIONS sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.99.250:5060;branch=z9hG4bK0eadd59d
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as0c355674
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX2.11.0rc1(1.8.21.0)
Date: Fri, 10 May 2013 20:37:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
[2013-05-10 14:37:07] VERBOSE[2035] chan_sip.c:
<— Transmitting (no NAT) to 192.168.99.129:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.99.129;branch=z9hG4bK5ab922edbf0f0af23;received=192.168.99.129
From: “Mike Balfour” sip:[email protected]:5060;tag=8b1e8d706b
To: “Mike Balfour” sip:[email protected]:5060;tag=as113fce95
Call-ID: 4adfb6eb7fb364bd
CSeq: 13794 REGISTER
Server: FPBX2.11.0rc1(1.8.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 120
Contact: sip:[email protected]:5060;transport=udp;expires=120
Date: Fri, 10 May 2013 20:37:07 GMT
Content-Length: 0 [/code]