---------------------------------------------------------------------------- This capture has been sanitised using search-and-replace with the following replacements: MYNUMBER = sipgate extension number OTHERNUM = second sipgate number aaa.bbb.ccc.ddd = IP address of my Asterisk server asterisk = hostname of my Asterisk server ---------------------------------------------------------------------------- asterisk*CLI> show version Asterisk 1.4.2 built by root @ asterisk.mydomain.com on a i686 running Linux on 2007-03-22 11:39:46 UTC The 'show version' command is deprecated and will be removed in a future release. Please use 'core show version' instead. <-------------> --- (8 headers 0 lines) --- Responding to challenge, registration to domain/host name sipgate.co.uk REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 217.10.79.23:5060: REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK03b89c48;rport From: ;tag=as68e41efa To: Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12974 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="MYNUMBER", realm="sipgate.co.uk", algorithm=MD5, uri="sip:sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", response="4fd4878b6a602f81148dfe910876017c", opaque="" Expires: 120 Contact: Event: registration Content-Length: 0 --- asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK4c7a9f64;rport=5060 From: ;tag=as1fc55bb4 To: ;tag=968ada9c3ffba887db8ff01d701887bd.3d8c Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12971 REGISTER WWW-Authenticate: Digest realm="sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", stale=true Content-Length: 0 <-------------> --- (8 headers 0 lines) --- Responding to challenge, registration to domain/host name sipgate.co.uk REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 217.10.79.23:5060: REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK1065cfd1;rport From: ;tag=as78e8cbd8 To: Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12973 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="OTHERNUM", realm="sipgate.co.uk", algorithm=MD5, uri="sip:sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", response="f2d309e82d4115d57e221fabc0403215", opaque="" Expires: 120 Contact: Event: registration Content-Length: 0 --- asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK1775bb7c;rport=5060 From: ;tag=as2d4f2290 To: ;tag=968ada9c3ffba887db8ff01d701887bd.9f35 Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12972 REGISTER WWW-Authenticate: Digest realm="sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", stale=true Content-Length: 0 <-------------> --- (8 headers 0 lines) --- Responding to challenge, registration to domain/host name sipgate.co.uk REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 217.10.79.23:5060: REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK73048562;rport From: ;tag=as6756290d To: Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12975 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="MYNUMBER", realm="sipgate.co.uk", algorithm=MD5, uri="sip:sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", response="4fd4878b6a602f81148dfe910876017c", opaque="" Expires: 120 Contact: Event: registration Content-Length: 0 --- asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK4c7a9f64;rport=5060 From: ;tag=as1fc55bb4 To: ;tag=968ada9c3ffba887db8ff01d701887bd.3d8c Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12971 REGISTER WWW-Authenticate: Digest realm="sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", stale=true Content-Length: 0 <-------------> --- (8 headers 0 lines) --- Responding to challenge, registration to domain/host name sipgate.co.uk REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 217.10.79.23:5060: REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK6a9389cb;rport From: ;tag=as4d7d4571 To: Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12974 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="OTHERNUM", realm="sipgate.co.uk", algorithm=MD5, uri="sip:sipgate.co.uk", nonce="4612db22dd3bc374d9468a6c0d084ddfc2c3478b", response="f2d309e82d4115d57e221fabc0403215", opaque="" Expires: 120 Contact: Event: registration Content-Length: 0 --- asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK3aaf0e0b;rport=5060 From: ;tag=as65bc7773 To: ;tag=968ada9c3ffba887db8ff01d701887bd.54e7 Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12973 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- Scheduling destruction of SIP dialog '4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd' in 32000 ms (Method: REGISTER) [Apr 3 23:49:26] NOTICE[17882]: chan_sip.c:12100 handle_response_register: Outbound Registration: Expiry for sipgate.co.uk is 120 sec (Scheduling reregistration in 105 s) asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK7fd2b31c;rport=5060 From: ;tag=as6aa9d3e0 To: ;tag=968ada9c3ffba887db8ff01d701887bd.d725 Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12972 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- Scheduling destruction of SIP dialog '3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd' in 32000 ms (Method: REGISTER) [Apr 3 23:49:26] NOTICE[17882]: chan_sip.c:12100 handle_response_register: Outbound Registration: Expiry for sipgate.co.uk is 120 sec (Scheduling reregistration in 105 s) asterisk*CLI> <--- SIP read from 216.127.66.119:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK31d78362;rport=5060 From: ;tag=as224a9975 To: ;tag=48ce9d90351f9cce9563eb189acc14a7.c90d Call-ID: 5f87d11e638557e632a353763870bd6f@aaa.bbb.ccc.ddd CSeq: 12586 REGISTER WWW-Authenticate: Digest realm="voipuser.org", nonce="4612db229cca7bda3b6aec0958b60f4a7ee827c1", stale=true Server: OpenSER (1.2.0-notls/VoIPUser) Content-Length: 0 <-------------> --- (9 headers 0 lines) --- Responding to challenge, registration to domain/host name sip.voipuser.org REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 216.127.66.119:5060: REGISTER sip:sip.voipuser.org SIP/2.0 Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK4a557af8;rport From: ;tag=as3861ff6c To: Call-ID: 5f87d11e638557e632a353763870bd6f@aaa.bbb.ccc.ddd CSeq: 12587 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="jhunter", realm="voipuser.org", algorithm=MD5, uri="sip:sip.voipuser.org", nonce="4612db229cca7bda3b6aec0958b60f4a7ee827c1", response="e6d0ee2846688133a2093c303c287c48", opaque="" Expires: 120 Contact: Event: registration Content-Length: 0 --- asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK03b89c48;rport=5060 From: ;tag=as68e41efa To: ;tag=968ada9c3ffba887db8ff01d701887bd.34c1 Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12974 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- [Apr 3 23:49:26] WARNING[17882]: chan_sip.c:12035 handle_response_register: Got 200 OK on REGISTER that isn't a register asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK1065cfd1;rport=5060 From: ;tag=as78e8cbd8 To: ;tag=968ada9c3ffba887db8ff01d701887bd.8176 Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12973 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- [Apr 3 23:49:26] WARNING[17882]: chan_sip.c:12035 handle_response_register: Got 200 OK on REGISTER that isn't a register asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK73048562;rport=5060 From: ;tag=as6756290d To: ;tag=968ada9c3ffba887db8ff01d701887bd.12a6 Call-ID: 4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd CSeq: 12975 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- [Apr 3 23:49:26] WARNING[17882]: chan_sip.c:12035 handle_response_register: Got 200 OK on REGISTER that isn't a register Really destroying SIP dialog '4f8aefbc458a32d36ec20b152e85f636@aaa.bbb.ccc.ddd' Method: REGISTER asterisk*CLI> <--- SIP read from 217.10.79.23:5060 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;branch=z9hG4bK6a9389cb;rport=5060 From: ;tag=as4d7d4571 To: ;tag=968ada9c3ffba887db8ff01d701887bd.c21e Call-ID: 3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd CSeq: 12974 REGISTER Date: Tue, 03 Apr 2007 22:49:26 GMT Contact: ;expires=120 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- [Apr 3 23:49:26] WARNING[17882]: chan_sip.c:12035 handle_response_register: Got 200 OK on REGISTER that isn't a register Really destroying SIP dialog '3b89a0731986d49244173d5b28ff6b57@aaa.bbb.ccc.ddd' Method: REGISTER asterisk*CLI>