Страница 1 из 2

разрыв входящего через 6 гудков

Добавлено: 23 май 2016, 21:07
modsamara
точнее девушка говорит что все линии заняты
причем по русски, хотя я еще не русифицировал свой 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.

ну и еще, любая попытка позвонить изнутри наружу - говорят на английском что все линии заняты

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 01:02
zzuz
По настройке ната в вашей сети обратитесь к вашему системному администратору. Чего ему зря зарплату проедать. Плюс попросите его убедить провайдера , что помочь вам следует незамедлительно. Ведь провайдер услуги небесплатно оказывает.

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 08:21
virus_net
modsamara писал(а):elastix 4 за роутером тплинк
modsamara писал(а):нат нигде не указан
мда...
вы бы хотябы погуглили чтоли, раз книжку и доки не хотите открывать
google -> asterisk за NAT
modsamara писал(а):от провайдера сложно чего-то добиться к сожалению
а что вы собираетесь от него добиваться ? модного тренда "настройте мое оборудование за меня !" ?

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 09:06
modsamara
публикация портов не обеспечивает работу астреиска?
по сути для него он по этим портам висит наружу

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 09:07
awsswa
На форуме есть раздел - Бизнес - где провайдеры очень оперативно решают ваши проблемы.

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 14:47
modsamara
перенастроил все без указания ната, с пробросом портов на роутере, входящие работают, свзяь не рвется
при попытке позвонить наружу говорит все линии заняты

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 15:02
april22
мож что в логах есть ?
ну или в консоли ?

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 18:58
modsamara
дебаг во время звонка наружу со 115 номера

Код: Выделить всё

<------------>
[2016-05-24 18:52:15] WARNING[5563][C-00000114]: channel.c:4863 ast_prod: Prodding channel 'SIP/115-000001da' failed
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/115-000001da' in macro 'outisbusy'

<--- SIP read from UDP:192.168.0.3:5060 --->
ACK sip:89166334814@192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK00debe253520e611b20673449fb7e311;rport
From: "PhonerLite" <sip:115@192.168.1.10>;tag=218862669
To: <sip:89166334814@192.168.1.10>;tag=as302fe4ca
Call-ID: 00DEBE25-3520-E611-B204-73449FB7E311@192.168.0.3
CSeq: 16 ACK
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---
  == Spawn extension (from-internal, 89166334814, 6) exited non-zero on 'SIP/115-000001da'

<--- SIP read from UDP:192.168.0.3:5060 --->
ACK sip:89166334814@192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK00debe253520e611b20673449fb7e311;rport
From: "PhonerLite" <sip:115@192.168.1.10>;tag=218862669
To: <sip:89166334814@192.168.1.10>;tag=as302fe4ca
Call-ID: 00DEBE25-3520-E611-B204-73449FB7E311@192.168.0.3
CSeq: 16 ACK
Content-Length: 0

<------------->
    -- Executing [h@from-internal:1] Hangup("SIP/115-000001da", "") in new stack
--- (7 headers 0 lines) ---
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/115-000001da'
Really destroying SIP dialog '00DEBE25-3520-E611-B204-73449FB7E311@192.168.0.3' Method: ACK
подскажите как лучше ловить сообщения, а то они затираются новыми

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 19:04
april22
Tcpgump

Re: разрыв входящего через 6 гудков

Добавлено: 24 май 2016, 20:10
modsamara
пожалуйста

Код: Выделить всё

[root@localhost ~]# tcpdump -i eth0 host 91.195.170.37 -v
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
20:07:53.048653 IP (tos 0x0, ttl 58, id 28313, offset 0, flags [none], proto UDP (17), length 548)
    ast37.novatel.ru.sip > localhost.localdomain.sip: SIP, length: 520
        OPTIONS sip:7705644@192.168.1.10:5060 SIP/2.0
        Via: SIP/2.0/UDP 91.195.170.37:5060;branch=z9hG4bK7407ebdb;rport
        From: "Unknown" <sip:Unknown@91.195.170.37>;tag=as309c3bd7
        To: <sip:7705644@192.168.1.10:5060>
        Contact: <sip:Unknown@91.195.170.37>
        Call-ID: 547d72d466080a4605997c0e67ead711@91.195.170.37
        CSeq: 102 OPTIONS
        User-Agent: Novatel SIP
        Max-Forwards: 70
        Date: Tue, 24 May 2016 17:07:53 GMT
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
        Supported: replaces
        Content-Length: 0


20:07:53.049024 IP (tos 0x60, ttl 64, id 10417, offset 0, flags [none], proto UDP (17), length 556)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 528
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP 91.195.170.37:5060;branch=z9hG4bK7407ebdb;received=91.195.170.37;rport=5060
        From: "Unknown" <sip:Unknown@91.195.170.37>;tag=as309c3bd7
        To: <sip:7705644@192.168.1.10:5060>;tag=as2b137442
        Call-ID: 547d72d466080a4605997c0e67ead711@91.195.170.37
        CSeq: 102 OPTIONS
        Server: FPBX-2.11.0(11.21.0)
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
        Supported: replaces, timer
        Contact: <sip:192.168.1.10:5060>
        Accept: application/sdp
        Content-Length: 0


20:07:53.058165 IP (tos 0x0, ttl 58, id 28314, offset 0, flags [none], proto UDP (17), length 548)
    ast37.novatel.ru.sip > localhost.localdomain.sip: SIP, length: 520
        OPTIONS sip:7705571@192.168.1.10:5060 SIP/2.0
        Via: SIP/2.0/UDP 91.195.170.37:5060;branch=z9hG4bK562d9137;rport
        From: "Unknown" <sip:Unknown@91.195.170.37>;tag=as4f75d434
        To: <sip:7705571@192.168.1.10:5060>
        Contact: <sip:Unknown@91.195.170.37>
        Call-ID: 240448dc3fbb4186325bb23559512618@91.195.170.37
        CSeq: 102 OPTIONS
        User-Agent: Novatel SIP
        Max-Forwards: 70
        Date: Tue, 24 May 2016 17:07:53 GMT
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
        Supported: replaces
        Content-Length: 0


20:07:53.058430 IP (tos 0x60, ttl 64, id 10418, offset 0, flags [none], proto UDP (17), length 556)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 528
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP 91.195.170.37:5060;branch=z9hG4bK562d9137;received=91.195.170.37;rport=5060
        From: "Unknown" <sip:Unknown@91.195.170.37>;tag=as4f75d434
        To: <sip:7705571@192.168.1.10:5060>;tag=as18358292
        Call-ID: 240448dc3fbb4186325bb23559512618@91.195.170.37
        CSeq: 102 OPTIONS
        Server: FPBX-2.11.0(11.21.0)
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
        Supported: replaces, timer
        Contact: <sip:192.168.1.10:5060>
        Accept: application/sdp
        Content-Length: 0


20:07:55.631549 IP (tos 0x60, ttl 64, id 10419, offset 0, flags [none], proto UDP (17), length 892)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 864
        INVITE sip:89166334814@91.195.170.37 SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK4cdfeb9c
        Max-Forwards: 70
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>
        Contact: <sip:74953803529@192.168.1.10:5060>
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 102 INVITE
        User-Agent: FPBX-2.11.0(11.21.0)
        Date: Tue, 24 May 2016 17:07:55 GMT
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
        Supported: replaces, timer
        Content-Type: application/sdp
        Content-Length: 281

        v=0
        o=root 390387650 390387650 IN IP4 192.168.1.10
        s=Asterisk PBX 11.21.0
        c=IN IP4 192.168.1.10
        t=0 0
        m=audio 16790 RTP/AVP 8 3 0 101
        a=rtpmap:8 PCMA/8000
        a=rtpmap:3 GSM/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-16
        a=ptime:20
        a=sendrecv

20:07:55.635540 IP (tos 0x0, ttl 58, id 28315, offset 0, flags [none], proto UDP (17), length 556)
    ast37.novatel.ru.sip > localhost.localdomain.sip: SIP, length: 528
        SIP/2.0 407 Proxy Authentication Required
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK4cdfeb9c;received=213.171.51.58
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>;tag=as21fc2d34
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 102 INVITE
        User-Agent: Novatel SIP
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
        Supported: replaces
        Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="63343b0e"
        Content-Length: 0


20:07:55.635623 IP (tos 0x60, ttl 64, id 10420, offset 0, flags [none], proto UDP (17), length 430)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 402
        ACK sip:89166334814@91.195.170.37 SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK4cdfeb9c
        Max-Forwards: 70
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>;tag=as21fc2d34
        Contact: <sip:74953803529@192.168.1.10:5060>
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 102 ACK
        User-Agent: FPBX-2.11.0(11.21.0)
        Content-Length: 0


20:07:55.635748 IP (tos 0x60, ttl 64, id 10421, offset 0, flags [none], proto UDP (17), length 1073)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 1045
        INVITE sip:89166334814@91.195.170.37 SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK576d563a
        Max-Forwards: 70
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>
        Contact: <sip:74953803529@192.168.1.10:5060>
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 103 INVITE
        User-Agent: FPBX-2.11.0(11.21.0)
        Proxy-Authorization: Digest username="7705571", realm="asterisk", algorithm=MD5, uri="sip:89166334814@91.195.170.37", nonce="63343b0e", response="c67800741df930ff51bc6dc402c78f20"
        Date: Tue, 24 May 2016 17:07:55 GMT
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
        Supported: replaces, timer
        Content-Type: application/sdp
        Content-Length: 281

        v=0
        o=root 390387650 390387651 IN IP4 192.168.1.10
        s=Asterisk PBX 11.21.0
        c=IN IP4 192.168.1.10
        t=0 0
        m=audio 16790 RTP/AVP 8 3 0 101
        a=rtpmap:8 PCMA/8000
        a=rtpmap:3 GSM/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-16
        a=ptime:20
        a=sendrecv

20:07:55.639346 IP (tos 0x0, ttl 58, id 28316, offset 0, flags [none], proto UDP (17), length 458)
    ast37.novatel.ru.sip > localhost.localdomain.sip: SIP, length: 430
        SIP/2.0 403 Forbidden
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK576d563a;received=213.171.51.58
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>;tag=as21fc2d34
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 103 INVITE
        User-Agent: Novatel SIP
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
        Supported: replaces
        Content-Length: 0


20:07:55.639411 IP (tos 0x60, ttl 64, id 10422, offset 0, flags [none], proto UDP (17), length 430)
    localhost.localdomain.sip > ast37.novatel.ru.sip: SIP, length: 402
        ACK sip:89166334814@91.195.170.37 SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK576d563a
        Max-Forwards: 70
        From: <sip:74953803529@192.168.1.10>;tag=as4ac8b9ad
        To: <sip:89166334814@91.195.170.37>;tag=as21fc2d34
        Contact: <sip:74953803529@192.168.1.10:5060>
        Call-ID: 7ca9916f563a79356be9701361616497@192.168.1.10:5060
        CSeq: 103 ACK
        User-Agent: FPBX-2.11.0(11.21.0)
        Content-Length: 0