grandstream частично теряют регистрацию
Добавлено: 02 фев 2016, 23:41
добрый день
имеются gxp1610/1620
периодически складывается ситуация, что не могу дозвониться на телефон, сразу короткие гудки.
в консоль валится
Feb 2 04:18:07] WARNING[2033][C-000000a8]: app_dial.c:2411 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
в sip show peers через некоторое время пропадает адрес хоста и т.д.
но если пытаться дозвониться с данного аппарата - звонки проходят корректно.
выкладываю debug попытки дозвониться на "подвисший" аппарат, после обнаружения проблемы.
попытка дозвониться с 204 (192.168.0.38) на 205 (0.39).
помогает перезагрузка аппарата/отключение lan.
имеются gxp1610/1620
периодически складывается ситуация, что не могу дозвониться на телефон, сразу короткие гудки.
в консоль валится
Feb 2 04:18:07] WARNING[2033][C-000000a8]: app_dial.c:2411 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
в sip show peers через некоторое время пропадает адрес хоста и т.д.
но если пытаться дозвониться с данного аппарата - звонки проходят корректно.
выкладываю debug попытки дозвониться на "подвисший" аппарат, после обнаружения проблемы.
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
asterisk-test*CLI> sip set debug on
SIP Debugging enabled
<--- SIP read from UDP:192.168.0.38:5060 --->
INVITE sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 INVITE
Contact: <sip:204@192.168.0.38:5060>
Max-Forwards: 70
User-Agent: Grandstream GXP1620 1.0.1.12
Privacy: none
P-Preferred-Identity: <sip:204@192.168.0.100>
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 332
v=0
o=204 8000 8000 IN IP4 192.168.0.38
s=SIP Call
c=IN IP4 192.168.0.38
t=0 0
m=audio 5004 RTP/AVP 0 8 18 9 2 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
--- (16 headers 16 lines) ---
Sending to 192.168.0.38:5060 (no NAT)
Sending to 192.168.0.38:5060 (no NAT)
Using INVITE request as basis request - 1212764365-5060-112@BJC.BGI.A.DI
Found peer '204' for '204' from 192.168.0.38:5060
<--- Reliably Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as7139546e
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="62023aa5"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '1212764365-5060-112@BJC.BGI.A.DI' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.38:5060 --->
ACK sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as7139546e
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.38:5060 --->
INVITE sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Contact: <sip:204@192.168.0.38:5060>
Authorization: Digest username="204", realm="asterisk", nonce="62023aa5", uri="sip:205@192.168.0.100", response="a21e5c431a1c00ae1f37f117cf4460bc", algorithm=MD5
Max-Forwards: 70
User-Agent: Grandstream GXP1620 1.0.1.12
Privacy: none
P-Preferred-Identity: <sip:204@192.168.0.100>
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 332
v=0
o=204 8000 8000 IN IP4 192.168.0.38
s=SIP Call
c=IN IP4 192.168.0.38
t=0 0
m=audio 5004 RTP/AVP 0 8 18 9 2 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
--- (17 headers 16 lines) ---
Sending to 192.168.0.38:5060 (no NAT)
Using INVITE request as basis request - 1212764365-5060-112@BJC.BGI.A.DI
Found peer '204' for '204' from 192.168.0.38:5060
== Using SIP RTP CoS mark 5
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 9
Found RTP audio format 2
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format G729 for ID 18
Found audio description format G722 for ID 9
Found audio description format G726-32 for ID 2
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw|gsm|h263), peer - audio=(ulaw|g726|alaw|g722|g729)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.0.38:5004
Looking for 205 in phones (domain 192.168.0.100)
sip_route_dump: route/path hop: <sip:204@192.168.0.38:5060>
<--- Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:205@192.168.0.100:5060>
Content-Length: 0
<------------>
-- Executing [205@phones:1] NoOp("SIP/204-00000113", "") in new stack
-- Executing [205@phones:2] Verbose("SIP/204-00000113", "1|Extension 205") in new stack
1|Extension 205
-- Executing [205@phones:3] Dial("SIP/204-00000113", "SIP/205,15") in new stack
Really destroying SIP dialog '42a7290c40186ae11a46220d224aecc9@127.0.1.1:5060' Method: INVITE
[Feb 2 04:18:07] WARNING[2033][C-000000a8]: app_dial.c:2411 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [205@phones:4] Hangup("SIP/204-00000113", "") in new stack
== Spawn extension (phones, 205, 4) exited non-zero on 'SIP/204-00000113'
Scheduling destruction of SIP dialog '1212764365-5060-112@BJC.BGI.A.DI' in 6400 ms (Method: INVITE)
<--- Reliably Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 480 Temporarily unavailable
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as38b39390
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Content-Length: 0
<------------>
<--- SIP read from UDP:192.168.0.38:5060 --->
ACK sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as38b39390
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
asterisk-test*CLI> sip set debug off
SIP Debugging Disabled
SIP Debugging enabled
<--- SIP read from UDP:192.168.0.38:5060 --->
INVITE sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 INVITE
Contact: <sip:204@192.168.0.38:5060>
Max-Forwards: 70
User-Agent: Grandstream GXP1620 1.0.1.12
Privacy: none
P-Preferred-Identity: <sip:204@192.168.0.100>
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 332
v=0
o=204 8000 8000 IN IP4 192.168.0.38
s=SIP Call
c=IN IP4 192.168.0.38
t=0 0
m=audio 5004 RTP/AVP 0 8 18 9 2 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
--- (16 headers 16 lines) ---
Sending to 192.168.0.38:5060 (no NAT)
Sending to 192.168.0.38:5060 (no NAT)
Using INVITE request as basis request - 1212764365-5060-112@BJC.BGI.A.DI
Found peer '204' for '204' from 192.168.0.38:5060
<--- Reliably Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as7139546e
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="62023aa5"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '1212764365-5060-112@BJC.BGI.A.DI' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.38:5060 --->
ACK sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK728384395;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as7139546e
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1100 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.38:5060 --->
INVITE sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Contact: <sip:204@192.168.0.38:5060>
Authorization: Digest username="204", realm="asterisk", nonce="62023aa5", uri="sip:205@192.168.0.100", response="a21e5c431a1c00ae1f37f117cf4460bc", algorithm=MD5
Max-Forwards: 70
User-Agent: Grandstream GXP1620 1.0.1.12
Privacy: none
P-Preferred-Identity: <sip:204@192.168.0.100>
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 332
v=0
o=204 8000 8000 IN IP4 192.168.0.38
s=SIP Call
c=IN IP4 192.168.0.38
t=0 0
m=audio 5004 RTP/AVP 0 8 18 9 2 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
--- (17 headers 16 lines) ---
Sending to 192.168.0.38:5060 (no NAT)
Using INVITE request as basis request - 1212764365-5060-112@BJC.BGI.A.DI
Found peer '204' for '204' from 192.168.0.38:5060
== Using SIP RTP CoS mark 5
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 9
Found RTP audio format 2
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format G729 for ID 18
Found audio description format G722 for ID 9
Found audio description format G726-32 for ID 2
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw|gsm|h263), peer - audio=(ulaw|g726|alaw|g722|g729)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.0.38:5004
Looking for 205 in phones (domain 192.168.0.100)
sip_route_dump: route/path hop: <sip:204@192.168.0.38:5060>
<--- Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:205@192.168.0.100:5060>
Content-Length: 0
<------------>
-- Executing [205@phones:1] NoOp("SIP/204-00000113", "") in new stack
-- Executing [205@phones:2] Verbose("SIP/204-00000113", "1|Extension 205") in new stack
1|Extension 205
-- Executing [205@phones:3] Dial("SIP/204-00000113", "SIP/205,15") in new stack
Really destroying SIP dialog '42a7290c40186ae11a46220d224aecc9@127.0.1.1:5060' Method: INVITE
[Feb 2 04:18:07] WARNING[2033][C-000000a8]: app_dial.c:2411 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [205@phones:4] Hangup("SIP/204-00000113", "") in new stack
== Spawn extension (phones, 205, 4) exited non-zero on 'SIP/204-00000113'
Scheduling destruction of SIP dialog '1212764365-5060-112@BJC.BGI.A.DI' in 6400 ms (Method: INVITE)
<--- Reliably Transmitting (no NAT) to 192.168.0.38:5060 --->
SIP/2.0 480 Temporarily unavailable
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;received=192.168.0.38;rport=5060
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as38b39390
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Content-Length: 0
<------------>
<--- SIP read from UDP:192.168.0.38:5060 --->
ACK sip:205@192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.38:5060;branch=z9hG4bK1027763786;rport
From: <sip:204@192.168.0.100>;tag=1784235522
To: <sip:205@192.168.0.100>;tag=as38b39390
Call-ID: 1212764365-5060-112@BJC.BGI.A.DI
CSeq: 1101 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
asterisk-test*CLI> sip set debug off
SIP Debugging Disabled
помогает перезагрузка аппарата/отключение lan.