причем по русски, хотя я еще не русифицировал свой Elastix
вводные
elastix 4 за роутером тплинк, порты 5060 и 10000-20000 опубликованы
два сип транка от одного провайдера
все внутенние абоненты находятся внутри локальной сети
все входящие поступают на 101 внутренний номер
исходящие разрешены по маске 7XXXXXXXXXX
нат нигде не указан, т.к. все порты опубликованы
настройка транка
host=91.195.170.37
username=7705571
secret=хххххххххххххх
type=peer
insecure=invite
disallow=all
allow=alaw
транки регистрируются нормально
от провайдера сложно чего-то добиться к сожалению
а теперь лог с момента входящего звонка
Код: Выделить всё
Connected to Asterisk 11.21.0 currently running on vs-as1 (pid = 2231)
[2016-05-23 20:56:51] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 85e9604aa192868b2837f0fa16827d62 on non-critical invite transaction.
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [7705571@from-trunk-sip-novco1:1] Set("SIP/novco1-00000002", "GROUP()=OUT_1") in new stack
-- Executing [7705571@from-trunk-sip-novco1:2] Goto("SIP/novco1-00000002", "from-trunk,7705571,1") in new stack
-- Goto (from-trunk,7705571,1)
-- Executing [7705571@from-trunk:1] NoOp("SIP/novco1-00000002", "Catch-All DID Match - Found 7705571 - You probably want a DID for this.") in new stack
-- Executing [7705571@from-trunk:2] Set("SIP/novco1-00000002", "__FROM_DID=7705571") in new stack
-- Executing [7705571@from-trunk:3] Goto("SIP/novco1-00000002", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] ExecIf("SIP/novco1-00000002", "0?Set(__FROM_DID=s)") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/novco1-00000002", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/novco1-00000002", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/novco1-00000002", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/novco1-00000002", "") in new stack
-- Executing [s@ext-did:3] Set("SIP/novco1-00000002", "CDR(did)=7705571") in new stack
-- Executing [s@ext-did:4] ExecIf("SIP/novco1-00000002", "0 ?Set(CALLERID(name)=79166334814)") in new stack
-- Executing [s@ext-did:5] Set("SIP/novco1-00000002", "CHANNEL(musicclass)=default") in new stack
-- Executing [s@ext-did:6] Set("SIP/novco1-00000002", "__MOHCLASS=default") in new stack
-- Executing [s@ext-did:7] Set("SIP/novco1-00000002", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:8] Set("SIP/novco1-00000002", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:9] Goto("SIP/novco1-00000002", "from-did-direct,101,1") in new stack
-- Goto (from-did-direct,101,1)
-- Executing [101@from-did-direct:1] Set("SIP/novco1-00000002", "__RINGTIMER=15") in new stack
-- Executing [101@from-did-direct:2] Macro("SIP/novco1-00000002", "exten-vm,novm,101,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/novco1-00000002", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/novco1-00000002", "TOUCH_MONITOR=1464026213.2") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/novco1-00000002", "AMPUSER=79166334814") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/novco1-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/novco1-00000002", "1?Set(REALCALLERIDNUM=79166334814)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/novco1-00000002", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/novco1-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/novco1-00000002", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/novco1-00000002", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/novco1-00000002", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/novco1-00000002", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/novco1-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/novco1-00000002", "CALLERID(number)=79166334814") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/novco1-00000002", "CALLERID(name)=79166334814") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/novco1-00000002", "CDR(cnum)=79166334814") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/novco1-00000002", "CDR(cnam)=79166334814") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/novco1-00000002", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/novco1-00000002", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/novco1-00000002", "__EXTTOCALL=101") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/novco1-00000002", "__PICKUPMARK=101") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/novco1-00000002", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/novco1-00000002", "sub-record-check,s,1(exten,101,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/novco1-00000002", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/novco1-00000002", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/novco1-00000002", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/novco1-00000002", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/novco1-00000002", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/novco1-00000002", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/novco1-00000002", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/novco1-00000002", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/novco1-00000002", "NOW=1464026213") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/novco1-00000002", "__DAY=23") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/novco1-00000002", "__MONTH=05") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/novco1-00000002", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/novco1-00000002", "__TIMESTR=20160523-205653") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/novco1-00000002", "__FROMEXTEN=79166334814") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/novco1-00000002", "__CALLFILENAME=exten-101-79166334814-20160523-205653-1464026213.2") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/novco1-00000002", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/novco1-00000002", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/novco1-00000002", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/novco1-00000002", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/novco1-00000002", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/novco1-00000002", "0?record,1(exten,101,79166334814)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/novco1-00000002", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/novco1-00000002", "dial-one,,tr,101") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/novco1-00000002", "DEXTEN=101") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/novco1-00000002", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/novco1-00000002", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/novco1-00000002", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/novco1-00000002", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/novco1-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/novco1-00000002", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/novco1-00000002", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/novco1-00000002", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/novco1-00000002", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/novco1-00000002", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/novco1-00000002", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/novco1-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/novco1-00000002", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/novco1-00000002", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/novco1-00000002", "DEVICES=101") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/novco1-00000002", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/novco1-00000002", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/novco1-00000002", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/novco1-00000002", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/novco1-00000002", "THISDIAL=SIP/101") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/novco1-00000002", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/novco1-00000002", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/novco1-00000002", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/novco1-00000002", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/novco1-00000002", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/novco1-00000002", "THISPART2=SIP/101") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/novco1-00000002", "0?Set(THISPART2=DAHDI/101)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/novco1-00000002", "NEWDIAL=SIP/101&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/novco1-00000002", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/novco1-00000002", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/novco1-00000002", "THISDIAL=SIP/101") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/novco1-00000002", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/novco1-00000002", "DSTRING=SIP/101&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/novco1-00000002", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/novco1-00000002", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/novco1-00000002", "DSTRING=SIP/101") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/novco1-00000002", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/novco1-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/novco1-00000002", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/novco1-00000002", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/novco1-00000002", "DB(CALLTRACE/101)=79166334814") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/novco1-00000002", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/novco1-00000002", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/novco1-00000002", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/novco1-00000002", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/novco1-00000002", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/novco1-00000002", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/novco1-00000002", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/novco1-00000002", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/novco1-00000002", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/novco1-00000002", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/novco1-00000002", "SIP/101,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/101
-- SIP/101-00000003 is ringing
[2016-05-23 20:56:56] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on aaf33c7aa2560188bf301fe603ed3045 on non-critical invite transaction.
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/novco1-00000002' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/novco1-00000002' in macro 'exten-vm'
== Spawn extension (from-did-direct, 101, 2) exited non-zero on 'SIP/novco1-00000002'
-- Executing [h@from-did-direct:1] Macro("SIP/novco1-00000002", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/novco1-00000002", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/novco1-00000002", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/novco1-00000002", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/novco1-00000002", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/novco1-00000002", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/novco1-00000002", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/novco1-00000002", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/novco1-00000002", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/novco1-00000002", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] NoOp("SIP/novco1-00000002", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:49] GotoIf("SIP/novco1-00000002", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,51)
-- Executing [s@macro-hangupcall:51] NoOp("SIP/novco1-00000002", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:52] GotoIf("SIP/novco1-00000002", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,55)
-- Executing [s@macro-hangupcall:55] GotoIf("SIP/novco1-00000002", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,58)
-- Executing [s@macro-hangupcall:58] GotoIf("SIP/novco1-00000002", "1?theend") in new stack
-- Goto (macro-hangupcall,s,60)
-- Executing [s@macro-hangupcall:60] AGI("SIP/novco1-00000002", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/novco1-00000002>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:61] Hangup("SIP/novco1-00000002", "") in new stack
== Spawn extension (macro-hangupcall, s, 61) exited non-zero on 'SIP/novco1-00000002' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/novco1-00000002'
[2016-05-23 20:57:41] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on da42dae1b5ce426668919b82e14aad5b on non-critical invite transaction.
[2016-05-23 20:57:46] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on e5b0bcd52c8c90eb9d51a37f89db2006 on non-critical invite transaction.
[2016-05-23 20:58:14] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on fdb0400c8cf2bc9f42ccce78e2c4b08f on non-critical invite transaction.
[2016-05-23 20:58:18] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 5dc19df639752a786ab15f3b683ab954 on non-critical invite transaction.
[2016-05-23 20:58:35] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on e53ffbcfcf256cefe961e83bd9beb69e on non-critical invite transaction.
[2016-05-23 20:59:09] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 9f2bf8d3b6ee037305becf5b5901b833 on non-critical invite transaction.
[2016-05-23 20:59:24] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 84e62ff020ac4b182baf3ebe5db9cb47 on non-critical invite transaction.
[2016-05-23 20:59:45] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 523f4af712b1225782c9b5d9a0eb2b88 on non-critical invite transaction.
[2016-05-23 21:00:15] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on cdea9bfc8bfd5839bf5de74ce241deb7 on non-critical invite transaction.
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[2016-05-23 21:00:36] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 6d498f1182421b78afc1b15d0d7bf262 on non-critical invite transaction.
[2016-05-23 21:00:38] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 3d400aff645a98fe5c8f0c525654a3f1 on non-critical invite transaction.
[2016-05-23 21:00:40] NOTICE[2326][C-00000028]: chan_sip.c:25853 handle_request_invite: Failed to authenticate device 1201<sip:1201@213.171.51.58>;tag=24c18741
[2016-05-23 21:01:05] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 3cf759ae63f94d3df3bd48a7e436fc92 on non-critical invite transaction.
[2016-05-23 21:01:55] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 889f98f8dc56bf1c38776d559889fb9e on non-critical invite transaction.
[2016-05-23 21:02:03] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 64b876c587f15bbe293946fd597c5655 on non-critical invite transaction.
[2016-05-23 21:02:46] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 3f9b7338177d2313371b5cffe1030f2c on non-critical invite transaction.
[2016-05-23 21:03:30] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on cb23cb37036e73e53dba4fe28a958149 on non-critical invite transaction.
[2016-05-23 21:03:36] WARNING[2326]: chan_sip.c:4092 retrans_pkt: Timeout on 6fc5fa889d29da0ac49a1c574279f3f4 on non-critical invite transaction.