Страница 3 из 3

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 16:25
ded
-- SIP/GSM-1-0000065b answered SIP/MSC-0000065a - SIP/GSM ответил на входящий от SIP/MSC.
Ещё раз -
ded писал(а): sip set debug peer GSM-1

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 16:41
Maksimko
Логи (asterisk -rvvvv) :
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
asterisk*CLI>
asterisk*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [8965XXXXXXX@from-internal:1] Macro("SIP/MSC-00000666", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/MSC-00000666", "TOUCH_MONITOR=1476106085.68801") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/MSC-00000666", "AMPUSER=YYYYYYYYYY") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/MSC-00000666", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/MSC-00000666", "1?Set(REALCALLERIDNUM=YYYYYYYYYY)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/MSC-00000666", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/MSC-00000666", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/MSC-00000666", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/MSC-00000666", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/MSC-00000666", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/MSC-00000666", "CALLERID(number)=YYYYYYYYYY") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/MSC-00000666", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/MSC-00000666", "CDR(cnum)=YYYYYYYYYY") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/MSC-00000666", "CDR(cnam)=") in new stack
[2016-10-10 16:28:05] WARNING[1939]: func_cdr.c:349 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-user-callerid:33] Set("SIP/MSC-00000666", "CHANNEL(language)=en") in new stack
-- Executing [8965XXXXXXX@from-internal:2] Gosub("SIP/MSC-00000666", "sub-record-check,s,1(out,8965XXXXXXX,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/MSC-00000666", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/MSC-00000666", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/MSC-00000666", "NOW=1476106085") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/MSC-00000666", "__DAY=10") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/MSC-00000666", "__MONTH=10") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/MSC-00000666", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/MSC-00000666", "__TIMESTR=20161010-162805") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/MSC-00000666", "__FROMEXTEN=YYYYYYYYYY") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/MSC-00000666", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/MSC-00000666", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/MSC-00000666", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/MSC-00000666", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/MSC-00000666", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/MSC-00000666", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/MSC-00000666", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/MSC-00000666", "Outbound Recording Check from YYYYYYYYYY to 8965XXXXXXX") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/MSC-00000666", "RECMODE=") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/MSC-00000666", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/MSC-00000666", "recordcheck,1(dontcare,out,8965XXXXXXX)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/MSC-00000666", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/MSC-00000666", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/MSC-00000666", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/MSC-00000666", "") in new stack
-- Executing [8965XXXXXXX@from-internal:3] ExecIf("SIP/MSC-00000666", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [8965XXXXXXX@from-internal:4] Set("SIP/MSC-00000666", "ROUTE_CIDSAVE="" <YYYYYYYYYY>") in new stack
-- Executing [8965XXXXXXX@from-internal:5] Set("SIP/MSC-00000666", "MOHCLASS=default") in new stack
-- Executing [8965XXXXXXX@from-internal:6] Set("SIP/MSC-00000666", "_NODEST=") in new stack
-- Executing [8965XXXXXXX@from-internal:7] Macro("SIP/MSC-00000666", "dialout-trunk,17,8965XXXXXXX,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/MSC-00000666", "DIAL_TRUNK=17") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/MSC-00000666", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/MSC-00000666", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/MSC-00000666", "DIAL_NUMBER=8965XXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/MSC-00000666", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/MSC-00000666", "OUTBOUND_GROUP=OUT_17") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/MSC-00000666", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/MSC-00000666", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/MSC-00000666", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/MSC-00000666", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/MSC-00000666", "outbound-callerid,17") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/MSC-00000666", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/MSC-00000666", "0?Set(REALCALLERIDNUM=YYYYYYYYYY)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/MSC-00000666", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/MSC-00000666", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/MSC-00000666", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/MSC-00000666", "TRUNKOUTCID=8790ZZZZZZZ") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/MSC-00000666", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/MSC-00000666", "1?Set(CALLERID(all)=8790ZZZZZZZ)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/MSC-00000666", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/MSC-00000666", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/MSC-00000666", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/MSC-00000666", "CDR(outbound_cnum)=8790ZZZZZZZ") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/MSC-00000666", "CDR(outbound_cnam)=") in new stack
[2016-10-10 16:28:05] WARNING[1939]: func_cdr.c:349 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/MSC-00000666", "0?sub-flp-17,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/MSC-00000666", "OUTNUM=8965XXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/MSC-00000666", "custom=SIP/GSM-1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/MSC-00000666", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/MSC-00000666", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/MSC-00000666", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/MSC-00000666", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/MSC-00000666", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/MSC-00000666", "0?Set(CONNECTEDLINE(num,i)=8965XXXXXXX)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/MSC-00000666", "0?Set(CONNECTEDLINE(name,i)=CID:8790ZZZZZZZ)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/MSC-00000666", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/MSC-00000666", "SIP/GSM-1/8965XXXXXXX,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/GSM-1/8965XXXXXXX
-- SIP/GSM-1-00000667 answered SIP/MSC-00000666
-- Channel SIP/MSC-00000666 joined 'simple_bridge' basic-bridge <0f281bc8-50af-4dad-8f34-cb3dc864f0fa>
-- Channel SIP/GSM-1-00000667 joined 'simple_bridge' basic-bridge <0f281bc8-50af-4dad-8f34-cb3dc864f0fa>
> 0x7f37142c3770 -- Probation passed - setting RTP source address to 192.168.127.52:16433
> 0x7f371431c910 -- Probation passed - setting RTP source address to 10.1.10.50:30680
-- Channel SIP/MSC-00000666 left 'simple_bridge' basic-bridge <0f281bc8-50af-4dad-8f34-cb3dc864f0fa>
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/MSC-00000666' in macro 'dialout-trunk'
== Spawn extension (from-internal, 8965XXXXXXX, 7) exited non-zero on 'SIP/MSC-00000666'
-- Executing [h@from-internal:1] Hangup("SIP/MSC-00000666", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/MSC-00000666'
-- Channel SIP/GSM-1-00000667 left 'simple_bridge' basic-bridge <0f281bc8-50af-4dad-8f34-cb3dc864f0fa>
asterisk*CLI>
192.168.127.52 - адрес GSM шлюза
10.1.10.50 - ? не пойму откуда взялся

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 16:42
april22
ТС, еще одна такая портянка . в виде туалетной бумаги . Грохну тему , ну или попрошу грохнуть .

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 16:45
april22
Maksimko писал(а):10.1.10.50 - ? не пойму откуда взялся
а кто такой ?

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 16:45
ded
192.168.127.52 - адрес GSM шлюза
10.1.10.50 - ? не пойму откуда взялся
Вот когда разберётесь, тогда и будет всё ОК.

Re: 2 транка во входящем маршруте

Добавлено: 10 окт 2016, 23:23
whoim
Снова нат?)
Логи с телефона не смотрел)

Re: 2 транка во входящем маршруте

Добавлено: 11 окт 2016, 08:01
virus_net
Maksimko писал(а):Логи сейчас будут.
Тоже самое вчера сказал клиент моего клиента и швырнул нам full.log, мол нате, разбирайтесь.
Maksimko, логи нужны в первую очередь вам. Вы их должны анализировать и делать какие то выводы.

Люди, которые присутствуют и пишут тут, не являются вашей персональной тех.поддержкой, не стоит им хамить. Согласен с предыдущими ораторами, что тема превращается в незнамо что и вы действительно пишите так как будто обращаетесь в ТП и мы вам просто обязаны.