Подскажите в чем может быть дело? Все работает замечательно, но только минут 5-10, после внутрисетевые звонки недоступны (занятость на линии), можно поззонить с внешней линии на asterisk и все чудесно работает, однако и эта функция отваливается. В итоге через минут 15 когда звоним на городской телефон один гудок, а потом тишина. Шлюзы и АТС пингуются, веб-морды работают. Сильно не ругайте если что-то где-то не приложу, это мой первый опыт. Делал на dlink 6008 и dlink 2024 Собственно конфиг:
username=100
type=friend
secret=100
qualify=yes
host=dynamic
nat=yes
Что-то может добавить в конфиг, или приложить к вопросу, скажите плз :)
зы вставил часть дебага
<------------->
--- (11 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK56676d30121f11e0;received=10.0.5.111;rport=5060
From: "0173981295" <sip:0173981295@10.0.5.110>;tag=9e6cdf5d-685257
To: "0173981295" <sip:0173981295@10.0.5.110>;tag=as0bca1884
Call-ID: D1B9-1213-46685257D752C1747593-134@SipHost
CSeq: 43 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0f9bf093"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-46685257D752C1747593-134@SipHost' in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog 'D1B9-1213-46685257D752C1747593-134@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK10232cbecd363fb6
From: "0173859067" <sip:0173859067@10.0.5.110>;tag=323669ca-685257
To: "0173859067" <sip:0173859067@10.0.5.110>
Call-ID:D1B9-1213-46685257992017579BFB-129@SipHost
CSeq:44 REGISTER
Contact:<sip:0173859067@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0173859067",realm="asterisk",nonce="793ba5a9",uri="sip:10.0.5.110:5060",response="1466ff970eb3a102b72ad40e24055b3a",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK10232cbecd363fb6;received=10.0.5.111;rport=5060
From: "0173859067" <sip:0173859067@10.0.5.110>;tag=323669ca-685257
To: "0173859067" <sip:0173859067@10.0.5.110>;tag=as3445fad2
Call-ID: D1B9-1213-46685257992017579BFB-129@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-46685257992017579BFB-129@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKb29bd192428f7a80
From: "0173859068" <sip:0173859068@10.0.5.110>;tag=43ce40e5-685257
To: "0173859068" <sip:0173859068@10.0.5.110>
Call-ID:D1B9-1213-4668525774CB975492D6-130@SipHost
CSeq:44 REGISTER
Contact:<sip:0173859068@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0173859068",realm="asterisk",nonce="3b474a74",uri="sip:10.0.5.110:5060",response="23dc80bf0d1a85f74e0231ccc837bb7a",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKb29bd192428f7a80;received=10.0.5.111;rport=5060
From: "0173859068" <sip:0173859068@10.0.5.110>;tag=43ce40e5-685257
To: "0173859068" <sip:0173859068@10.0.5.110>;tag=as66718c85
Call-ID: D1B9-1213-4668525774CB975492D6-130@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-4668525774CB975492D6-130@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKff3b83c67146041a
From: "0173859069" <sip:0173859069@10.0.5.110>;tag=a11376cb-685257
To: "0173859069" <sip:0173859069@10.0.5.110>
Call-ID:D1B9-1213-46685257A4E01DEF9DA4-131@SipHost
CSeq:44 REGISTER
Contact:<sip:0173859069@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0173859069",realm="asterisk",nonce="21938a9d",uri="sip:10.0.5.110:5060",response="2f59c6989f08981a1af55d8844358806",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKff3b83c67146041a;received=10.0.5.111;rport=5060
From: "0173859069" <sip:0173859069@10.0.5.110>;tag=a11376cb-685257
To: "0173859069" <sip:0173859069@10.0.5.110>;tag=as2bb79791
Call-ID: D1B9-1213-46685257A4E01DEF9DA4-131@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-46685257A4E01DEF9DA4-131@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKd60e5f6835e2cafe
From: "0172127352" <sip:0172127352@10.0.5.110>;tag=1cdda95b-685257
To: "0172127352" <sip:0172127352@10.0.5.110>
Call-ID:D1B9-1213-46685257A23076AFFC82-132@SipHost
CSeq:44 REGISTER
Contact:<sip:0172127352@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0172127352",realm="asterisk",nonce="4ab59851",uri="sip:10.0.5.110:5060",response="434f2f1a7a5cb1d58ab527f59c557bd1",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bKd60e5f6835e2cafe;received=10.0.5.111;rport=5060
From: "0172127352" <sip:0172127352@10.0.5.110>;tag=1cdda95b-685257
To: "0172127352" <sip:0172127352@10.0.5.110>;tag=as6b4bce1a
Call-ID: D1B9-1213-46685257A23076AFFC82-132@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-46685257A23076AFFC82-132@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK6dfbd7cf3a5660c7
From: "0173981729" <sip:0173981729@10.0.5.110>;tag=2b19a1f1-685257
To: "0173981729" <sip:0173981729@10.0.5.110>
Call-ID:D1B9-1213-4668525767601ABEA2FA-133@SipHost
CSeq:44 REGISTER
Contact:<sip:0173981729@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0173981729",realm="asterisk",nonce="5a64be92",uri="sip:10.0.5.110:5060",response="f1ddf9170c8309b0f2c2262c4436ac0e",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK6dfbd7cf3a5660c7;received=10.0.5.111;rport=5060
From: "0173981729" <sip:0173981729@10.0.5.110>;tag=2b19a1f1-685257
To: "0173981729" <sip:0173981729@10.0.5.110>;tag=as7b07c5e9
Call-ID: D1B9-1213-4668525767601ABEA2FA-133@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-4668525767601ABEA2FA-133@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.0.5.111:5060 --->
REGISTER sip:10.0.5.110:5060 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK01c01adf8d3d403b
From: "0173981295" <sip:0173981295@10.0.5.110>;tag=9e6cdf5d-685257
To: "0173981295" <sip:0173981295@10.0.5.110>
Call-ID:D1B9-1213-46685257D752C1747593-134@SipHost
CSeq:44 REGISTER
Contact:<sip:0173981295@192.168.1.2:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="0173981295",realm="asterisk",nonce="0f9bf093",uri="sip:10.0.5.110:5060",response="fbcccc67e3959d2ad9283fd386e1c403",algorithm=MD5
User-Agent:dlink 12-37-61928258-0.9.5.1.735
Content-Length:0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.0.5.111:5060 (NAT)
<--- Transmitting (NAT) to 10.0.5.111:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK01c01adf8d3d403b;received=10.0.5.111;rport=5060
From: "0173981295" <sip:0173981295@10.0.5.110>;tag=9e6cdf5d-685257
To: "0173981295" <sip:0173981295@10.0.5.110>;tag=as0bca1884
Call-ID: D1B9-1213-46685257D752C1747593-134@SipHost
CSeq: 44 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1213-46685257D752C1747593-134@SipHost' in 32000 ms (Method: REGISTER)
Really destroying SIP dialog '1B11-1682-00000026F935CA2823C9-001@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026332065DABC4A-002@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026332065DABC4A-003@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026332065DABC4A-004@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026332065DABC4A-005@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-006@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-007@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-008@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-009@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-010@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026AF1DFE54B1F4-011@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-012@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-013@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-014@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-015@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-016@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026489CD941B2DB-017@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026A23553AE1182-018@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026A23553AE1182-019@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026A23553AE1182-020@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026A23553AE1182-021@SipHost' Method: REGISTER
Really destroying SIP dialog '1B11-1682-00000026A23553AE1182-022@SipHost' Method: REGISTER
При входящем звонке происходит след.:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [10000@from-trunk-sip-0173959066:1] Set("SIP/0173959066-000000be", "GROUP()=OUT_1") in new stack
-- Executing [10000@from-trunk-sip-0173959066:2] Goto("SIP/0173959066-000000be", "from-trunk,10000,1") in new stack
-- Goto (from-trunk,10000,1)
-- Executing [10000@from-trunk:1] Set("SIP/0173959066-000000be", "__FROM_DID=10000") in new stack
-- Executing [10000@from-trunk:2] Gosub("SIP/0173959066-000000be", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/0173959066-000000be", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/0173959066-000000be", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/0173959066-000000be", "") in new stack
-- Executing [10000@from-trunk:3] ExecIf("SIP/0173959066-000000be", "1 ?Set(CALLERID(name)=0173959066)") in new stack
-- Executing [10000@from-trunk:4] Set("SIP/0173959066-000000be", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [10000@from-trunk:5] Set("SIP/0173959066-000000be", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [10000@from-trunk:6] Goto("SIP/0173959066-000000be", "from-did-direct,201,1") in new stack
-- Goto (from-did-direct,201,1)
-- Executing [201@from-did-direct:1] Macro("SIP/0173959066-000000be", "exten-vm,novm,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/0173959066-000000be", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/0173959066-000000be", "AMPUSER=0173959066") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/0173959066-000000be", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/0173959066-000000be", "1?Set(REALCALLERIDNUM=0173959066)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/0173959066-000000be", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/0173959066-000000be", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/0173959066-000000be", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/0173959066-000000be", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/0173959066-000000be", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/0173959066-000000be", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/0173959066-000000be", "CALLERID(number)=0173959066") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/0173959066-000000be", "CALLERID(name)=0173959066") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/0173959066-000000be", "Using CallerID "0173959066" <0173959066>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/0173959066-000000be", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/0173959066-000000be", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/0173959066-000000be", "__EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/0173959066-000000be", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/0173959066-000000be", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/0173959066-000000be", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/0173959066-000000be", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/0173959066-000000be", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/0173959066-000000be", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/0173959066-000000be", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/0173959066-000000be", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/0173959066-000000be", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/0173959066-000000be", "dial-one,"",tr,201") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/0173959066-000000be", "DEXTEN=201") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/0173959066-000000be", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/0173959066-000000be", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/0173959066-000000be", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/0173959066-000000be", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/0173959066-000000be", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/0173959066-000000be", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/0173959066-000000be", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/0173959066-000000be", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/0173959066-000000be", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/0173959066-000000be", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/0173959066-000000be", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/0173959066-000000be", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/0173959066-000000be", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/0173959066-000000be", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/0173959066-000000be", "DEVICES=201") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/0173959066-000000be", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/0173959066-000000be", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/0173959066-000000be", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/0173959066-000000be", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/0173959066-000000be", "THISDIAL=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/0173959066-000000be", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/0173959066-000000be", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/0173959066-000000be", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/0173959066-000000be", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/0173959066-000000be", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/0173959066-000000be", "THISPART2=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/0173959066-000000be", "0?Set(THISPART2=DAHDI/201)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/0173959066-000000be", "NEWDIAL=SIP/201&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/0173959066-000000be", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/0173959066-000000be", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/0173959066-000000be", "THISDIAL=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/0173959066-000000be", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/0173959066-000000be", "DSTRING=SIP/201&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/0173959066-000000be", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/0173959066-000000be", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/0173959066-000000be", "DSTRING=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/0173959066-000000be", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/0173959066-000000be", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/0173959066-000000be", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/0173959066-000000be", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/0173959066-000000be", "DB(CALLTRACE/201)=0173959066") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/0173959066-000000be", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/0173959066-000000be", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/0173959066-000000be", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/0173959066-000000be", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/0173959066-000000be", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/0173959066-000000be", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/0173959066-000000be", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/0173959066-000000be", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/0173959066-000000be", "SIP/201,"",tr") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:38] ExecIf("SIP/0173959066-000000be", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("SIP/0173959066-000000be", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-dial-one:40] MacroExit("SIP/0173959066-000000be", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/0173959066-000000be", "0?exit") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/0173959066-000000be", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/0173959066-000000be", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/0173959066-000000be", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/0173959066-000000be", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/0173959066-000000be", "Voicemail is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/0173959066-000000be", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/0173959066-000000be", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/0173959066-000000be", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/0173959066-000000be", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("SIP/0173959066-000000be", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'SIP/0173959066-000000be' in macro 'exten-vm'
== Spawn extension (from-did-direct, 201, 1) exited non-zero on 'SIP/0173959066-000000be'
-- Executing [h@from-did-direct:1] Macro("SIP/0173959066-000000be", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/0173959066-000000be", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/0173959066-000000be", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/0173959066-000000be", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/0173959066-000000be", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/0173959066-000000be", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/0173959066-000000be", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/0173959066-000000be", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/0173959066-000000be", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/0173959066-000000be", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/0173959066-000000be", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/0173959066-000000be", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/0173959066-000000be", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/0173959066-000000be>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/0173959066-000000be", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/0173959066-000000be' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/0173959066-000000be'
После отключения nat CLI выглядит так (теперь идут короткие гудки вместо тишины)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [10000@from-trunk-sip-0173959066:1] Set("SIP/0173959066-000000f1", "GROUP()=OUT_1") in new stack
-- Executing [10000@from-trunk-sip-0173959066:2] Goto("SIP/0173959066-000000f1", "from-trunk,10000,1") in new stack
-- Goto (from-trunk,10000,1)
-- Executing [10000@from-trunk:1] Set("SIP/0173959066-000000f1", "__FROM_DID=10000") in new stack
-- Executing [10000@from-trunk:2] Gosub("SIP/0173959066-000000f1", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/0173959066-000000f1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/0173959066-000000f1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/0173959066-000000f1", "") in new stack
-- Executing [10000@from-trunk:3] ExecIf("SIP/0173959066-000000f1", "1 ?Set(CALLERID(name)=0173959066)") in new stack
-- Executing [10000@from-trunk:4] Set("SIP/0173959066-000000f1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [10000@from-trunk:5] Set("SIP/0173959066-000000f1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [10000@from-trunk:6] Set("SIP/0173959066-000000f1", "FAX_DEST=from-did-direct^300^1") in new stack
-- Executing [10000@from-trunk:7] Answer("SIP/0173959066-000000f1", "") in new stack
-- Executing [10000@from-trunk:8] Wait("SIP/0173959066-000000f1", "2") in new stack
-- Executing [10000@from-trunk:9] Goto("SIP/0173959066-000000f1", "from-did-direct,201,1") in new stack
-- Goto (from-did-direct,201,1)
-- Executing [201@from-did-direct:1] Macro("SIP/0173959066-000000f1", "exten-vm,novm,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/0173959066-000000f1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/0173959066-000000f1", "AMPUSER=0173959066") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/0173959066-000000f1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/0173959066-000000f1", "1?Set(REALCALLERIDNUM=0173959066)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/0173959066-000000f1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/0173959066-000000f1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/0173959066-000000f1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/0173959066-000000f1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/0173959066-000000f1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/0173959066-000000f1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/0173959066-000000f1", "CALLERID(number)=0173959066") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/0173959066-000000f1", "CALLERID(name)=0173959066") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/0173959066-000000f1", "Using CallerID "0173959066" <0173959066>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/0173959066-000000f1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/0173959066-000000f1", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/0173959066-000000f1", "__EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/0173959066-000000f1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/0173959066-000000f1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/0173959066-000000f1", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/0173959066-000000f1", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/0173959066-000000f1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/0173959066-000000f1", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/0173959066-000000f1", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/0173959066-000000f1", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/0173959066-000000f1", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/0173959066-000000f1", "dial-one,"",tr,201") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/0173959066-000000f1", "DEXTEN=201") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/0173959066-000000f1", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/0173959066-000000f1", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/0173959066-000000f1", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/0173959066-000000f1", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/0173959066-000000f1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/0173959066-000000f1", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/0173959066-000000f1", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/0173959066-000000f1", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/0173959066-000000f1", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/0173959066-000000f1", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/0173959066-000000f1", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/0173959066-000000f1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/0173959066-000000f1", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/0173959066-000000f1", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/0173959066-000000f1", "DEVICES=201") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/0173959066-000000f1", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/0173959066-000000f1", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/0173959066-000000f1", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/0173959066-000000f1", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/0173959066-000000f1", "THISDIAL=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/0173959066-000000f1", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/0173959066-000000f1", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/0173959066-000000f1", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/0173959066-000000f1", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/0173959066-000000f1", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/0173959066-000000f1", "THISPART2=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/0173959066-000000f1", "0?Set(THISPART2=DAHDI/201)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/0173959066-000000f1", "NEWDIAL=SIP/201&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/0173959066-000000f1", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/0173959066-000000f1", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/0173959066-000000f1", "THISDIAL=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/0173959066-000000f1", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/0173959066-000000f1", "DSTRING=SIP/201&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/0173959066-000000f1", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/0173959066-000000f1", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/0173959066-000000f1", "DSTRING=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/0173959066-000000f1", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/0173959066-000000f1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/0173959066-000000f1", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/0173959066-000000f1", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/0173959066-000000f1", "DB(CALLTRACE/201)=0173959066") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/0173959066-000000f1", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/0173959066-000000f1", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/0173959066-000000f1", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/0173959066-000000f1", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/0173959066-000000f1", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/0173959066-000000f1", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/0173959066-000000f1", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/0173959066-000000f1", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/0173959066-000000f1", "SIP/201,"",tr") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:38] ExecIf("SIP/0173959066-000000f1", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("SIP/0173959066-000000f1", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-dial-one:40] MacroExit("SIP/0173959066-000000f1", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/0173959066-000000f1", "0?exit") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/0173959066-000000f1", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/0173959066-000000f1", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/0173959066-000000f1", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/0173959066-000000f1", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/0173959066-000000f1", "Voicemail is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/0173959066-000000f1", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/0173959066-000000f1", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/0173959066-000000f1", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/0173959066-000000f1", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("SIP/0173959066-000000f1", "10") in new stack
в
В логе elastix вот что:
2013-09-03 12:39:57 0173959066 201 SIP/0173959066-0000000a ANSWERED 11s
2013-09-03 12:38:36 0173959066 201 SIP/0173959066-00000008 SIP/201-00000009 NO ANSWER 22s
2013-09-03 12:34:07 0173959066 201 SIP/0173959066-00000006 SIP/201-00000007 NO ANSWER 15s
sip show peers дал следующее:
Name/username Host Dyn Forcerpor t ACL Port Status
0173959066/0173959066 192.168.5.111 D N 5060 OK (57 ms)
200/200 (Unspecified) D N A 0 UNKNOWN
201/201 (Unspecified) D N A 0 UNKNOWN
3 sip peers [Monitored: 1 online, 2 offline Unmonitored: 0 online, 0 offline]
Верхний лог с ошибкой (хотя странно, на вызовы я не отвечал, а статус на последнем стоит ANSWERED (как раз на нем шли короткие гудки)
http://asterisk-support.ru/question/38386/kak-poniat-chto-proiskhodit-na-asteriske/
в данном случае сип дебаг нужен
dnslookup=no и настроить локальный dns?
Задан: 2013-09-02 20:46:33 +0400
Просмотрен: 2,041 раз
Обновлен: Sep 04 '13
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
Нужен лог из CLI Астериска неудачного звонка, когда все отвалилось.
switch ( 2013-09-02 21:23:52 +0400 )редактироватьдобавил sip debug и то, что выдает в CLI. ОТмечу вот еще что: при перезагружке FXO результата никакого, однако если перезапустишь FXS(dlink 2024) все начинает работать по старой схеме. Выяснил еще то, что через это время отваливается регистрация на самой шлюзе FXS
nyll ( 2013-09-03 10:18:08 +0400 )редактироватьmins ago, не помогло(
nyll ( 2013-09-03 11:29:45 +0400 )редактироватьОбновил прошивку шлюзу FXS - так же не помогло(
Пробую откинуть сервер от шлюза, активировал "Enable Non-SIP Inbox Call", пока наблюдаю. Может и в шлюзе самом проблема, хотя сильно сомневаюсь.
ps как и думал - все работает замечательно без сервера.
Сейчас попробывал убрать строку nat=yes. Пока работает :) Хотя честно говоря странно. Тк пока жту строку не прописал - не было слышно собеседника. Как только прописал - все норм стало, однако сейчас ее убрал и ситуация не поменялась - слышно все прекрасно. Странный момент :)
убрал nat=yes - ситуцация не изменилась( ТОлько что вместо тишины теперь получаем короткие гудки. CLI добавил в вопрос
nyll ( 2013-09-03 12:01:14 +0400 )редактироватьСейчас пробую все перекинуть на отдельный сервер (до этого висело все на виртуалке, которая находилась в пределах сети предприятия), тк есть мнение, что ложит сервак наша офисная АТС (тоже asterisk, но только на железке yeastar). Позже отпишусь о результатах
Результат: проблема осталась
nyll ( 2013-09-03 13:10:30 +0400 )редактироватьПрикрепил еще лог elastix, может чем поможет :)
Ах да, самое главное не писал же: после передергивания сети опять все начинает работать, но по старой схеме разумеется. Напишу еще настройки сети на astgerisk:
DEVICE=eth0 BOOTPROTO=static DHCPCLASS= HWADDR=00:50:56:B7:15:2A ONBOOT=yes TYPE=Ethernet IPADDR=192.168.5.110 NETMASK=255.255.255.0 BROADCAST=192.168.5.255 NETWORK=192.168.5.0 NOZEROCONF=yes
- отдельно прописал dns 192.168.5.110 и gateway 192.168.5.201
nyll ( 2013-09-03 15:03:17 +0400 )редактироватьсудя по всему глюк прошивки шлюза. обращайтесь к производителю.
meral ( 2013-09-03 19:16:15 +0400 )редактироватьВот не так давно попробывал на новый серв. все перекинуть и подключить все к одному свитчу - результат тот же...
meral, за совет спасибо :) уже тоже подумываю...
Попробывал поставить голую asterisk - результат тот же((
То есть остается проблема именно в шлюзе dlink 2024. Вот только где именно...
Вот интересная штука такая: регистрация всегда отваливается стабильно после 9мин 40сек +-5 сек. Если у кого какие есть идеи, что может валится через такое время - плз скажите.... спать не могу же)))
nyll ( 2013-09-03 21:00:38 +0400 )редактироватьпосмотрите на сколько у вас на роутере dhcp выставлено. может он теряет после обновления адреса. попробуйте поставить статический адрес. а лучше выкинте нафиг такой шлюз
meral ( 2013-09-03 22:39:36 +0400 )редактироватьmeral, dhcp изначально выключен, везде только статика... ВОобще написал в техфорум dlink, увидел, что проблема не только у меня, но похоже только уменя так быстро слеоает регистрация)) Народ хотя бы сутки-двое держится D. Не оч. хорошая новость что он по безналику, ну это уже не мои проблемы.. Думаю буду возвращать
nyll ( 2013-09-04 08:46:39 +0400 )редактироватьУ меня отваливался шлюз длинк на старом астере когда локаль линукса была русской. Из-за этого астер кидал в шлюз какое-то поле со временем и датой, в котором были русские символы, от чего шлюз клинило капитально. Плюс все шлюзы длинк предпочитают подключение через WAN порт. Попробуйте обновить прошивки, длинк шлюзы уже много лет делает, всякие детские болезни давно исправлены.
switch ( 2013-09-04 10:14:18 +0400 )редактироватьswitch, да спасибо :) Через WAN все сразу и настроил конечно :) В общем прошивка оказывается была и поновее, просто лежала у них в другом месте на ftp. Обновил - все сразу заработало) Т.е. регистрация обновляться стала нормально каждые 9,5 минут :) Однако после обновления секунд 40 состояние регистрации - failed. Тут уже стало ясно что проблема в железке, буду общаться с ТП длинка Всем большое спасибо за ответы. Вопрос снят
nyll ( 2013-09-04 11:42:59 +0400 )редактироватьВ общем сам разобрался - убрал галочку в разделе SIP "Keep SIP Auth" и авторизация перестала обновлятся... Меня это устроит :)
nyll ( 2013-09-04 12:25:22 +0400 )редактировать