Hi all,
I’m getting some trouble with a sip peer which is registering and unregistering all the time.
There are many devices with the same configuration and they’re not acting this way, and I’d like to know if this rings a bell for somebody.
I checked the packets sent between the peer and my Asterisk server and I saw that every two REGISTERs sent by the device, one is answered with a “500 Server Error” message which makes the devices sip status become “Unregistered”. After about 20 seconds, another REGISTER is sent by the device which is accepted after a “401 Unauthorized” typical answer.
So, I don’t know what is happening here. There should be no problem with the register expires and so on since the devices are programmed to register every 90 seconds and it’s doing so. In my sip.conf file , maxexpiry=1000 minexpiry=60 and defaultexpiry=1000 are set.
Here’s the sip debug:
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK088281fd;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as44d6fe9b
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 3f2cd6416dbca2bc648026856d0448d8@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK088281fd
From: <sip:asterisk@10.0.4.248>;tag=as44d6fe9b
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=111833207647
Call-ID: 3f2cd6416dbca2bc648026856d0448d8@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '3f2cd6416dbca2bc648026856d0448d8@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK3133fe3b;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as12e241fa
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 364cde54310fbe911ca4d3c50ad00933@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK3133fe3b
From: <sip:asterisk@10.0.4.248>;tag=as12e241fa
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=330010333052
Call-ID: 364cde54310fbe911ca4d3c50ad00933@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '364cde54310fbe911ca4d3c50ad00933@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK091da269;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as001ae0ed
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 2b0e0c76599a8ee011a4d7583cf8d53d@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:15 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK091da269
From: <sip:asterisk@10.0.4.248>;tag=as001ae0ed
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=534081104017
Call-ID: 2b0e0c76599a8ee011a4d7583cf8d53d@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '2b0e0c76599a8ee011a4d7583cf8d53d@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK225a0762;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as1dd5f3ef
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 42ccb91719981b772c0cc6e85f5c2b0c@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:20 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK225a0762
From: <sip:asterisk@10.0.4.248>;tag=as1dd5f3ef
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=536374466234
Call-ID: 42ccb91719981b772c0cc6e85f5c2b0c@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '42ccb91719981b772c0cc6e85f5c2b0c@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK56fd1329;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as0afb35da
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 583341f73067a47553eafa3802ed97a6@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK56fd1329
From: <sip:asterisk@10.0.4.248>;tag=as0afb35da
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=533563469993
Call-ID: 583341f73067a47553eafa3802ed97a6@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '583341f73067a47553eafa3802ed97a6@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5cef85ce;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as4897616d
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 3e52e1057e5a201307d1f8935a70a476@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5cef85ce
From: <sip:asterisk@10.0.4.248>;tag=as4897616d
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=243957168162
Call-ID: 3e52e1057e5a201307d1f8935a70a476@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '3e52e1057e5a201307d1f8935a70a476@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1e533c57;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as10ba7f88
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 763dcce532053d376418cc2c5f9868db@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1e533c57
From: <sip:asterisk@10.0.4.248>;tag=as10ba7f88
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=13696568741
Call-ID: 763dcce532053d376418cc2c5f9868db@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '763dcce532053d376418cc2c5f9868db@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK16ee0a04;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as56b3c347
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 79e01c4e5bdb70b468e093003950e39d@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK16ee0a04
From: <sip:asterisk@10.0.4.248>;tag=as56b3c347
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=103495235349
Call-ID: 79e01c4e5bdb70b468e093003950e39d@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '79e01c4e5bdb70b468e093003950e39d@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5a18764b;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as5c9cec05
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 25e9573d515dbc123550c0206ad526d6@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5a18764b
From: <sip:asterisk@10.0.4.248>;tag=as5c9cec05
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=333731132471
Call-ID: 25e9573d515dbc123550c0206ad526d6@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '25e9573d515dbc123550c0206ad526d6@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK60fb598b;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as28894e7f
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 179adab8399a73ff5b4ebfaf4166135e@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:50 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK60fb598b
From: <sip:asterisk@10.0.4.248>;tag=as28894e7f
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=629761375212
Call-ID: 179adab8399a73ff5b4ebfaf4166135e@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '179adab8399a73ff5b4ebfaf4166135e@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK08534c8e;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as4fa5c158
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 14bcfc1c1fbf41f316fc4c3f34c27440@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:44:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK08534c8e
From: <sip:asterisk@10.0.4.248>;tag=as4fa5c158
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=268217264185
Call-ID: 14bcfc1c1fbf41f316fc4c3f34c27440@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '14bcfc1c1fbf41f316fc4c3f34c27440@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK0034db71;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as281078a4
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 7a43cf911f639e2247cfcd7549a7104a@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:00 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK0034db71
From: <sip:asterisk@10.0.4.248>;tag=as281078a4
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=924373696664
Call-ID: 7a43cf911f639e2247cfcd7549a7104a@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '7a43cf911f639e2247cfcd7549a7104a@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK08ea74a1;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as44c87a4d
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 46dfecb70ae91cfc40126b4952eae73b@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK08ea74a1
From: <sip:asterisk@10.0.4.248>;tag=as44c87a4d
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=77079101407
Call-ID: 46dfecb70ae91cfc40126b4952eae73b@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '46dfecb70ae91cfc40126b4952eae73b@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK53cfe515;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as6364065d
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 731e270f24e30f786d3e86a42b2431fd@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK53cfe515
From: <sip:asterisk@10.0.4.248>;tag=as6364065d
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=233313143489
Call-ID: 731e270f24e30f786d3e86a42b2431fd@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '731e270f24e30f786d3e86a42b2431fd@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1d0befd6;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as50b71249
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 15096d3a1cf7f5c8209206ec41e9086e@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:15 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1d0befd6
From: <sip:asterisk@10.0.4.248>;tag=as50b71249
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=205481408665
Call-ID: 15096d3a1cf7f5c8209206ec41e9086e@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '15096d3a1cf7f5c8209206ec41e9086e@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK7bc3c551;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as3a8111a6
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 78cc813a120c4da12986c6d57d4ccf12@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:20 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK7bc3c551
From: <sip:asterisk@10.0.4.248>;tag=as3a8111a6
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=564657436260
Call-ID: 78cc813a120c4da12986c6d57d4ccf12@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '78cc813a120c4da12986c6d57d4ccf12@10.0.4.248:5060' Method: OPTIONS
<--- SIP read from UDP:10.0.12.184:49153 --->
REGISTER sip:10.0.4.248 SIP/2.0
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=491837
Max-forwards: 8
To: <sip:MYDEVICE@10.0.4.248>
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
Call-ID: 110809143601
CSeq: 160 REGISTER
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
Expires: 90
Authorization: Digest username="MYDEVICE",realm="asterisk",nonce="668895d0",uri="sip:MYDEVICE@10.0.4.248",response="3504c284359529010cd429315f234a75",algorithm=MD5
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
<--- Transmitting (NAT) to 10.0.12.184:49153 --->
SIP/2.0 500 Server error
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=491837;received=10.0.12.184;rport=49153
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
To: <sip:MYDEVICE@10.0.4.248>;tag=as39dded79
Call-ID: 110809143601
CSeq: 160 REGISTER
Server: Asterisk PBX 1.8.12.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5e4d716b;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as1b836e20
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 133266a4340b698b1c5b2162681736b5@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK5e4d716b
From: <sip:asterisk@10.0.4.248>;tag=as1b836e20
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=267745374439
Call-ID: 133266a4340b698b1c5b2162681736b5@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '133266a4340b698b1c5b2162681736b5@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1f29e6c8;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as38d60c06
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 5f6257ec6901dac359c8225c409c966a@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK1f29e6c8
From: <sip:asterisk@10.0.4.248>;tag=as38d60c06
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=105475524807
Call-ID: 5f6257ec6901dac359c8225c409c966a@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '5f6257ec6901dac359c8225c409c966a@10.0.4.248:5060' Method: OPTIONS
Really destroying SIP dialog '110809143601' Method: REGISTER
<--- SIP read from UDP:10.0.12.184:49153 --->
REGISTER sip:10.0.4.248 SIP/2.0
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=229877
Max-forwards: 8
To: <sip:MYDEVICE@10.0.4.248>
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
Call-ID: 110809143601
CSeq: 160 REGISTER
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
Expires: 90
Authorization: Digest username="MYDEVICE",realm="asterisk",nonce="668895d0",uri="sip:MYDEVICE@10.0.4.248",response="3504c284359529010cd429315f234a75",algorithm=MD5
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Sending to 10.0.12.184:49153 (NAT)
<--- Transmitting (NAT) to 10.0.12.184:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=229877;received=10.0.12.184;rport=49153
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
To: <sip:MYDEVICE@10.0.4.248>;tag=as1d708b5b
Call-ID: 110809143601
CSeq: 160 REGISTER
Server: Asterisk PBX 1.8.12.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2dfee9ac"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '110809143601' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.12.184:49153 --->
REGISTER sip:10.0.4.248 SIP/2.0
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=135657
Max-forwards: 8
To: <sip:MYDEVICE@10.0.4.248>
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
Call-ID: 110809143601
CSeq: 161 REGISTER
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
Expires: 90
Authorization: Digest username="MYDEVICE",realm="asterisk",nonce="2dfee9ac",uri="sip:MYDEVICE@10.0.4.248",response="a89b3fb72baf3f487fb053e29a17e54f",algorithm=MD5
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Sending to 10.0.12.184:49153 (NAT)
-- Registered SIP 'MYDEVICE' at 10.0.12.184:49153
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK67d02e26;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as554f90e1
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 7cb3551573c0f8b60b1e3f0e6ec936fb@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:45:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- Transmitting (NAT) to 10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.12.184:49153;branch=135657;received=10.0.12.184;rport=49153
From: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=147241265569
To: <sip:MYDEVICE@10.0.4.248>;tag=as1d708b5b
Call-ID: 110809143601
CSeq: 161 REGISTER
Server: Asterisk PBX 1.8.12.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 90
Contact: <sip:MYDEVICE@10.0.12.184:49153>;expires=90
Date: Thu, 03 Dec 2009 05:45:55 GMT
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '110809143601' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK67d02e26
From: <sip:asterisk@10.0.4.248>;tag=as554f90e1
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=601033473673
Call-ID: 7cb3551573c0f8b60b1e3f0e6ec936fb@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '7cb3551573c0f8b60b1e3f0e6ec936fb@10.0.4.248:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.0.12.184:49153:
OPTIONS sip:MYDEVICE@10.0.12.184:49153 SIP/2.0
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK3c517fa1;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.0.4.248>;tag=as65bd260b
To: <sip:MYDEVICE@10.0.12.184:49153>
Contact: <sip:asterisk@10.0.4.248:5060>
Call-ID: 1fd79d4278310f4506cbec813654e0d0@10.0.4.248:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.12.1
Date: Thu, 03 Dec 2009 05:46:00 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.0.12.184:49153 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.4.248:5060;branch=z9hG4bK3c517fa1
From: <sip:asterisk@10.0.4.248>;tag=as65bd260b
To: "MYDEVICE" <sip:MYDEVICE@10.0.4.248>;tag=99487201362
Call-ID: 1fd79d4278310f4506cbec813654e0d0@10.0.4.248:5060
CSeq: 102 OPTIONS
Contact: "MYDEVICE" <sip:MYDEVICE@10.0.12.184:49153>
User-Agent: IPLogika Phone
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '1fd79d4278310f4506cbec813654e0d0@10.0.4.248:5060' Method: OPTIONS
So, if somebody could help me, I would be very grateful!
Thanks in advance,
Ben.