VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Маршрутизация звонков при двух транках

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

winmasta
Сообщения: 13
Зарегистрирован: 10 авг 2015, 06:58

Re: Маршрутизация звонков при двух транках

Сообщение winmasta »

Я догадывался об этом, значит нужен вариант, чтобы определялся номер второго транка. Вообще я думаю что если второй транк и 103 экстеншн запихать в какой-то отдельный контекст, то ситуация решится, но вот как это сделать, и вообще как работать с контекстами во FreePBX ?
Аватара пользователя
Wapo
Сообщения: 795
Зарегистрирован: 02 мар 2011, 17:53

Re: Маршрутизация звонков при двух транках

Сообщение Wapo »

Для этого и существует _custom + в него направлять через тот же _overwrite
winmasta
Сообщения: 13
Зарегистрирован: 10 авг 2015, 06:58

Re: Маршрутизация звонков при двух транках

Сообщение winmasta »

Всем спасибо, проблема решилась через Custom contexts, но осталась одна загвоздка, при звонке на городской номер Follow Me не звонит на мобильный, а звонок просто сбрасывается, при этом при звонке на внутренний номер все проходит нормально, в чем может быть косяк ?
Аватара пользователя
zzuz
Сообщения: 1658
Зарегистрирован: 21 сен 2010, 13:33
Контактная информация:

Re: Маршрутизация звонков при двух транках

Сообщение zzuz »

Косяк может быть в решетке.
Линия24 - Системы Массового Телефонного Обслуживания
winmasta
Сообщения: 13
Зарегистрирован: 10 авг 2015, 06:58

Re: Маршрутизация звонков при двух транках

Сообщение winmasta »

Решетка стоит
winmasta
Сообщения: 13
Зарегистрирован: 10 авг 2015, 06:58

Re: Маршрутизация звонков при двух транках

Сообщение winmasta »

Вообще при такой схеме должен ли уходить звонок по Follow Me ?

Схема: звонок снаружи на 712199 - звонок попадает на внутренний extension 103 - звонок попадает в Follow Me, где он должен уйти через Outgoing Route через транк 712199 на внешний номер (в Follow Me прописано 406780#)
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: Маршрутизация звонков при двух транках

Сообщение ded »

Откройте консоль, CLI>
увидите прохождение вызова, и там будет ответ на Ваш вопрос.
winmasta
Сообщения: 13
Зарегистрирован: 10 авг 2015, 06:58

Re: Маршрутизация звонков при двух транках

Сообщение winmasta »

PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Вот лог
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [712199@from-trunk-sip-neotelecom:1] Set("SIP/neotelecom-00001b3b", "GROUP()=OUT_2") in new stack
-- Executing [712199@from-trunk-sip-neotelecom:2] Goto("SIP/neotelecom-00001b3b", "from-trunk,712199,1") in new stack
-- Goto (from-trunk,712199,1)
-- Executing [712199@from-trunk:1] Set("SIP/neotelecom-00001b3b", "__FROM_DID=712199") in new stack
-- Executing [712199@from-trunk:2] Set("SIP/neotelecom-00001b3b", "CHANNEL(language)=ru") in new stack
-- Executing [712199@from-trunk:3] Gosub("SIP/neotelecom-00001b3b", "sub-record-check,s,1(in,712199,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/neotelecom-00001b3b", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/neotelecom-00001b3b", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/neotelecom-00001b3b", "NOW=1442233183") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/neotelecom-00001b3b", "__DAY=14") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/neotelecom-00001b3b", "__MONTH=09") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/neotelecom-00001b3b", "__YEAR=2015") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/neotelecom-00001b3b", "__TIMESTR=20150914-181943") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/neotelecom-00001b3b", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/neotelecom-00001b3b", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/neotelecom-00001b3b", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/neotelecom-00001b3b", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/neotelecom-00001b3b", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/neotelecom-00001b3b", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/neotelecom-00001b3b", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/neotelecom-00001b3b", "1?sub-record-check,in,1") in new stack
-- Goto (sub-record-check,in,1)
-- Executing [in@sub-record-check:1] NoOp("SIP/neotelecom-00001b3b", "Inbound Recording Check to 712199") in new stack
-- Executing [in@sub-record-check:2] Set("SIP/neotelecom-00001b3b", "FROMEXTEN=unknown") in new stack
-- Executing [in@sub-record-check:3] ExecIf("SIP/neotelecom-00001b3b", "5?Set(FROMEXTEN=m-200)") in new stack
-- Executing [in@sub-record-check:4] Gosub("SIP/neotelecom-00001b3b", "recordcheck,1(dontcare,in,712199)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/neotelecom-00001b3b", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/neotelecom-00001b3b", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [in@sub-record-check:5] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [712199@from-trunk:4] Set("SIP/neotelecom-00001b3b", "CDR(did)=712199") in new stack
-- Executing [712199@from-trunk:5] ExecIf("SIP/neotelecom-00001b3b", "1 ?Set(CALLERID(name)=m-200)") in new stack
-- Executing [712199@from-trunk:6] Set("SIP/neotelecom-00001b3b", "CHANNEL(musicclass)=oldfield") in new stack
-- Executing [712199@from-trunk:7] Set("SIP/neotelecom-00001b3b", "__MOHCLASS=oldfield") in new stack
[2015-09-14 18:19:43] WARNING[12862][C-000018a1]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: 'reversecharge'
-- Executing [712199@from-trunk:8] GotoIf("SIP/neotelecom-00001b3b", "0?macro-hangupcall") in new stack
-- Executing [712199@from-trunk:9] Set("SIP/neotelecom-00001b3b", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [712199@from-trunk:10] Set("SIP/neotelecom-00001b3b", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [712199@from-trunk:11] Goto("SIP/neotelecom-00001b3b", "from-did-direct,103,1") in new stack
-- Goto (from-did-direct,103,1)
-- Executing [103@from-did-direct:1] GotoIf("SIP/neotelecom-00001b3b", "0?ext-local,103,1") in new stack
-- Executing [103@from-did-direct:2] Macro("SIP/neotelecom-00001b3b", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/neotelecom-00001b3b", "TOUCH_MONITOR=1442233183.7175") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/neotelecom-00001b3b", "AMPUSER=m-200") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/neotelecom-00001b3b", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/neotelecom-00001b3b", "1?Set(REALCALLERIDNUM=m-200)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/neotelecom-00001b3b", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/neotelecom-00001b3b", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/neotelecom-00001b3b", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/neotelecom-00001b3b", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/neotelecom-00001b3b", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/neotelecom-00001b3b", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/neotelecom-00001b3b", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/neotelecom-00001b3b", "CALLERID(number)=m-200") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/neotelecom-00001b3b", "CALLERID(name)=m-200") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/neotelecom-00001b3b", "CDR(cnum)=m-200") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/neotelecom-00001b3b", "CDR(cnam)=m-200") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/neotelecom-00001b3b", "CHANNEL(language)=ru") in new stack
-- Executing [103@from-did-direct:3] Set("SIP/neotelecom-00001b3b", "DIAL_OPTIONS=TtrI") in new stack
-- Executing [103@from-did-direct:4] Set("SIP/neotelecom-00001b3b", "CONNECTEDLINE(num,i)=103") in new stack
-- Executing [103@from-did-direct:5] Gosub("SIP/neotelecom-00001b3b", "sub-presencestate-display,s,1(103)") in new stack
[2015-09-14 18:19:43] WARNING[12862][C-000018a1]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown
-- Executing [s@sub-presencestate-display:1] Goto("SIP/neotelecom-00001b3b", "state-,1") in new stack
-- Goto (sub-presencestate-display,state-,1)
-- Executing [state-@sub-presencestate-display:1] Set("SIP/neotelecom-00001b3b", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-@sub-presencestate-display:2] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [103@from-did-direct:6] Set("SIP/neotelecom-00001b3b", "CONNECTEDLINE(name)=Галимова") in new stack
-- Executing [103@from-did-direct:7] Set("SIP/neotelecom-00001b3b", "FM_DIALSTATUS=NOT_INUSE") in new stack
-- Executing [103@from-did-direct:8] Set("SIP/neotelecom-00001b3b", "__EXTTOCALL=103") in new stack
-- Executing [103@from-did-direct:9] Set("SIP/neotelecom-00001b3b", "__PICKUPMARK=103") in new stack
-- Executing [103@from-did-direct:10] Macro("SIP/neotelecom-00001b3b", "blkvm-setifempty,") in new stack
-- Executing [s@macro-blkvm-setifempty:1] GotoIf("SIP/neotelecom-00001b3b", "1?init") in new stack
-- Goto (macro-blkvm-setifempty,s,4)
-- Executing [s@macro-blkvm-setifempty:4] Set("SIP/neotelecom-00001b3b", "__BLKVM_CHANNEL=SIP/neotelecom-00001b3b") in new stack
-- Executing [s@macro-blkvm-setifempty:5] Set("SIP/neotelecom-00001b3b", "SHARED(BLKVM,SIP/neotelecom-00001b3b)=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:6] Set("SIP/neotelecom-00001b3b", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:7] MacroExit("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [103@from-did-direct:11] GotoIf("SIP/neotelecom-00001b3b", "1?skipov") in new stack
-- Goto (from-did-direct,103,14)
-- Executing [103@from-did-direct:14] Set("SIP/neotelecom-00001b3b", "RRNODEST=") in new stack
-- Executing [103@from-did-direct:15] Set("SIP/neotelecom-00001b3b", "__NODEST=103") in new stack
-- Executing [103@from-did-direct:16] GosubIf("SIP/neotelecom-00001b3b", "1?sub-fmsetcid,s,1()") in new stack
-- Executing [s@sub-fmsetcid:1] Goto("SIP/neotelecom-00001b3b", "s-extern,1") in new stack
-- Goto (sub-fmsetcid,s-extern,1)
-- Executing [s-extern@sub-fmsetcid:1] ExecIf("SIP/neotelecom-00001b3b", "1?Set(__TRUNKCIDOVERRIDE=712199)") in new stack
-- Executing [s-extern@sub-fmsetcid:2] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [103@from-did-direct:17] Set("SIP/neotelecom-00001b3b", "RecordMethod=Group") in new stack
-- Executing [103@from-did-direct:18] Gosub("SIP/neotelecom-00001b3b", "sub-record-check,s,1(exten,103,)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/neotelecom-00001b3b", "5?initialized") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] NoOp("SIP/neotelecom-00001b3b", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/neotelecom-00001b3b", "1?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/neotelecom-00001b3b", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/neotelecom-00001b3b", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/neotelecom-00001b3b", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/neotelecom-00001b3b", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/neotelecom-00001b3b", "Exten Recording Check between m-200 and 103") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/neotelecom-00001b3b", "CALLTYPE=external") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/neotelecom-00001b3b", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/neotelecom-00001b3b", "CALLEE=dontcare") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/neotelecom-00001b3b", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/neotelecom-00001b3b", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [exten@sub-record-check:11] Gosub("SIP/neotelecom-00001b3b", "recordcheck,1(dontcare,external,103)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/neotelecom-00001b3b", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/neotelecom-00001b3b", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [103@from-did-direct:19] GotoIf("SIP/neotelecom-00001b3b", "0 ?skipsimple") in new stack
-- Executing [103@from-did-direct:20] Macro("SIP/neotelecom-00001b3b", "simple-dial,103,15") in new stack
-- Executing [s@macro-simple-dial:1] Set("SIP/neotelecom-00001b3b", "__EXTTOCALL=103") in new stack
-- Executing [s@macro-simple-dial:2] Set("SIP/neotelecom-00001b3b", "RT=15") in new stack
-- Executing [s@macro-simple-dial:3] Set("SIP/neotelecom-00001b3b", "CFUEXT=") in new stack
-- Executing [s@macro-simple-dial:4] Set("SIP/neotelecom-00001b3b", "CFBEXT=") in new stack
-- Executing [s@macro-simple-dial:5] Set("SIP/neotelecom-00001b3b", "CWI_TMP=") in new stack
-- Executing [s@macro-simple-dial:6] Macro("SIP/neotelecom-00001b3b", "dial-one,15,TtrI,103") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/neotelecom-00001b3b", "DEXTEN=103") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/neotelecom-00001b3b", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/neotelecom-00001b3b", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/neotelecom-00001b3b", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/neotelecom-00001b3b", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/neotelecom-00001b3b", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/neotelecom-00001b3b", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/neotelecom-00001b3b", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/neotelecom-00001b3b", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/neotelecom-00001b3b", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/neotelecom-00001b3b", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/neotelecom-00001b3b", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/neotelecom-00001b3b", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/neotelecom-00001b3b", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/neotelecom-00001b3b", "DEVICES=103") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/neotelecom-00001b3b", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/neotelecom-00001b3b", "0?Set(DEVICES=03)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/neotelecom-00001b3b", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/neotelecom-00001b3b", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/neotelecom-00001b3b", "THISDIAL=SIP/103") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/neotelecom-00001b3b", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/neotelecom-00001b3b", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/neotelecom-00001b3b", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/neotelecom-00001b3b", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/neotelecom-00001b3b", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/neotelecom-00001b3b", "THISPART2=SIP/103") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/neotelecom-00001b3b", "0?Set(THISPART2=DAHDI/103)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/neotelecom-00001b3b", "NEWDIAL=SIP/103&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/neotelecom-00001b3b", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/neotelecom-00001b3b", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/neotelecom-00001b3b", "THISDIAL=SIP/103") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/neotelecom-00001b3b", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("SIP/neotelecom-00001b3b", "DSTRING=SIP/103&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("SIP/neotelecom-00001b3b", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/neotelecom-00001b3b", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("SIP/neotelecom-00001b3b", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/neotelecom-00001b3b", "DSTRING=SIP/103") in new stack
-- Executing [dstring@macro-dial-one:18] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/neotelecom-00001b3b", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/neotelecom-00001b3b", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/neotelecom-00001b3b", "0?ctset,1():ctclear,1()") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("SIP/neotelecom-00001b3b", "Deleting: CALLTRACE/103 ") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/neotelecom-00001b3b", "D_OPTIONS=TtrIM(auto-blkvm)") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/neotelecom-00001b3b", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/neotelecom-00001b3b", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/neotelecom-00001b3b", "1?Set(CHANNEL(musicclass)=oldfield)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/neotelecom-00001b3b", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/neotelecom-00001b3b", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/neotelecom-00001b3b", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/neotelecom-00001b3b", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/neotelecom-00001b3b", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Macro("SIP/neotelecom-00001b3b", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [s@macro-dial-one:44] Dial("SIP/neotelecom-00001b3b", "SIP/103,15,TtrIM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/103
-- Connected line update to SIP/neotelecom-00001b3b prevented.
-- SIP/103-00001b3c is ringing
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[2015-09-14 18:19:48] NOTICE[12875]: manager.c:2626 authenticate: 127.0.0.1 tried to authenticate with nonexistent user 'cxpanel'
[2015-09-14 18:19:48] NOTICE[12875]: manager.c:2663 authenticate: 127.0.0.1 failed to authenticate as 'cxpanel'
[2015-09-14 18:19:53] NOTICE[12878]: manager.c:2626 authenticate: 127.0.0.1 tried to authenticate with nonexistent user 'cxpanel'
[2015-09-14 18:19:53] NOTICE[12878]: manager.c:2663 authenticate: 127.0.0.1 failed to authenticate as 'cxpanel'
[2015-09-14 18:19:58] NOTICE[12880]: manager.c:2626 authenticate: 127.0.0.1 tried to authenticate with nonexistent user 'cxpanel'
[2015-09-14 18:19:58] NOTICE[12880]: manager.c:2663 authenticate: 127.0.0.1 failed to authenticate as 'cxpanel'
-- Nobody picked up in 15000 ms
-- Executing [s@macro-dial-one:45] ExecIf("SIP/neotelecom-00001b3b", "0?MacroExit()") in new stack
-- Executing [s@macro-dial-one:46] ExecIf("SIP/neotelecom-00001b3b", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:47] GosubIf("SIP/neotelecom-00001b3b", "0?s-NOANSWER,1()") in new stack
-- Executing [s@macro-dial-one:48] MacroExit("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [s@macro-simple-dial:7] Set("SIP/neotelecom-00001b3b", "__CWIGNORE=") in new stack
-- Executing [s@macro-simple-dial:8] Set("SIP/neotelecom-00001b3b", "PR_DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-simple-dial:9] GosubIf("SIP/neotelecom-00001b3b", "0?docfu,1()") in new stack
-- Executing [s@macro-simple-dial:10] GosubIf("SIP/neotelecom-00001b3b", "0?docfb,1()") in new stack
-- Executing [s@macro-simple-dial:11] Set("SIP/neotelecom-00001b3b", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-simple-dial:12] Goto("SIP/neotelecom-00001b3b", "s-NOANSWER,1") in new stack
-- Goto (macro-simple-dial,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-simple-dial:1] NoOp("SIP/neotelecom-00001b3b", "Extension is reporting s-NOANSWER") in new stack
-- Executing [103@from-did-direct:21] Set("SIP/neotelecom-00001b3b", "RingGroupMethod=hunt-prim") in new stack
-- Executing [103@from-did-direct:22] Set("SIP/neotelecom-00001b3b", "_FMGRP=103") in new stack
-- Executing [103@from-did-direct:23] GotoIf("SIP/neotelecom-00001b3b", "0?doconfirm") in new stack
-- Executing [103@from-did-direct:24] Macro("SIP/neotelecom-00001b3b", "dial,60,m(oldfield),332682#") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/neotelecom-00001b3b", "0?dial") in new stack
-- Executing [s@macro-dial:2] Set("SIP/neotelecom-00001b3b", "CHANNEL(musicclass)=oldfield") in new stack
-- Executing [s@macro-dial:3] AGI("SIP/neotelecom-00001b3b", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is 'm-200' number is 'm-200'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'hunt-prim'
-- dialparties.agi: Added extension 332682# to extension map
-- dialparties.agi: Extension 332682# cf is disabled
> dialparties.agi: extnum 332682# has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNKNOWN)
dialparties.agi: Extension 332682# has ExtensionState: 4
> dialparties.agi: Built External dialstring component for 332682: Local/332682@from-internal/n
-- dialparties.agi: Filtered ARG3: 332682
> dialparties.agi: NODEST: 103 adding M(auto-blkvm) to dialopts: m(oldfield)M(auto-blkvm)
> dialparties.agi: NODEST: 103 blkvm enabled macro already in dialopts: m(oldfield)M(auto-blkvm)
-- <SIP/neotelecom-00001b3b>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:20] NoOp("SIP/neotelecom-00001b3b", "Returned from dialparties with hunt groups to dial ") in new stack
-- Executing [s@macro-dial:21] Set("SIP/neotelecom-00001b3b", "HuntLoop=0") in new stack
-- Executing [s@macro-dial:22] GotoIf("SIP/neotelecom-00001b3b", "1?a30") in new stack
-- Goto (macro-dial,s,26)
-- Executing [s@macro-dial:26] Set("SIP/neotelecom-00001b3b", "HuntMember=HuntMember0") in new stack
-- Executing [s@macro-dial:27] GotoIf("SIP/neotelecom-00001b3b", "0?a32:a35") in new stack
-- Goto (macro-dial,s,31)
-- Executing [s@macro-dial:31] GotoIf("SIP/neotelecom-00001b3b", "0?a36:a50") in new stack
-- Goto (macro-dial,s,45)
-- Executing [s@macro-dial:45] NoOp("SIP/neotelecom-00001b3b", "Deleting: CALLTRACE/ ") in new stack
-- Executing [s@macro-dial:46] Goto("SIP/neotelecom-00001b3b", "s,a42") in new stack
-- Goto (macro-dial,s,38)
-- Executing [s@macro-dial:38] Dial("SIP/neotelecom-00001b3b", "Local/332682@from-internal/n,60,m(oldfield)M(auto-blkvm)") in new stack
-- Called Local/332682@from-internal/n
-- Started music on hold, class 'oldfield', on SIP/neotelecom-00001b3b
-- Executing [332682@from-internal:1] Macro("Local/332682@from-internal-00000066;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/332682@from-internal-00000066;2", "TOUCH_MONITOR=1442233198.7178") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/332682@from-internal-00000066;2", "AMPUSER=m-200") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/332682@from-internal-00000066;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(REALCALLERIDNUM=m-200)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/332682@from-internal-00000066;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/332682@from-internal-00000066;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/332682@from-internal-00000066;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/332682@from-internal-00000066;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("Local/332682@from-internal-00000066;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("Local/332682@from-internal-00000066;2", "CALLERID(number)=m-200") in new stack
-- Executing [s@macro-user-callerid:29] Set("Local/332682@from-internal-00000066;2", "CALLERID(name)=m-200") in new stack
-- Executing [s@macro-user-callerid:30] Set("Local/332682@from-internal-00000066;2", "CDR(cnum)=m-200") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/332682@from-internal-00000066;2", "CDR(cnam)=m-200") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/332682@from-internal-00000066;2", "CHANNEL(language)=ru") in new stack
-- Executing [332682@from-internal:2] Gosub("Local/332682@from-internal-00000066;2", "sub-record-check,s,1(out,332682,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("Local/332682@from-internal-00000066;2", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("Local/332682@from-internal-00000066;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("Local/332682@from-internal-00000066;2", "NOW=1442233198") in new stack
-- Executing [s@sub-record-check:4] Set("Local/332682@from-internal-00000066;2", "__DAY=14") in new stack
-- Executing [s@sub-record-check:5] Set("Local/332682@from-internal-00000066;2", "__MONTH=09") in new stack
-- Executing [s@sub-record-check:6] Set("Local/332682@from-internal-00000066;2", "__YEAR=2015") in new stack
-- Executing [s@sub-record-check:7] Set("Local/332682@from-internal-00000066;2", "__TIMESTR=20150914-181958") in new stack
-- Executing [s@sub-record-check:8] Set("Local/332682@from-internal-00000066;2", "__FROMEXTEN=m-200") in new stack
-- Executing [s@sub-record-check:9] Set("Local/332682@from-internal-00000066;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("Local/332682@from-internal-00000066;2", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("Local/332682@from-internal-00000066;2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("Local/332682@from-internal-00000066;2", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("Local/332682@from-internal-00000066;2", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("Local/332682@from-internal-00000066;2", "Outbound Recording Check from m-200 to 332682") in new stack
-- Executing [out@sub-record-check:2] Set("Local/332682@from-internal-00000066;2", "RECMODE=") in new stack
-- Executing [out@sub-record-check:3] ExecIf("Local/332682@from-internal-00000066;2", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("Local/332682@from-internal-00000066;2", "recordcheck,1(dontcare,out,332682)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("Local/332682@from-internal-00000066;2", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("Local/332682@from-internal-00000066;2", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("Local/332682@from-internal-00000066;2", "") in new stack
-- Executing [out@sub-record-check:8] Return("Local/332682@from-internal-00000066;2", "") in new stack
-- Executing [332682@from-internal:3] Set("Local/332682@from-internal-00000066;2", "MOHCLASS=oldfield") in new stack
-- Executing [332682@from-internal:4] Set("Local/332682@from-internal-00000066;2", "_NODEST=") in new stack
-- Executing [332682@from-internal:5] Macro("Local/332682@from-internal-00000066;2", "dialout-trunk,2,332682,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/332682@from-internal-00000066;2", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/332682@from-internal-00000066;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/332682@from-internal-00000066;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/332682@from-internal-00000066;2", "DIAL_NUMBER=332682") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/332682@from-internal-00000066;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/332682@from-internal-00000066;2", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/332682@from-internal-00000066;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/332682@from-internal-00000066;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/332682@from-internal-00000066;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/332682@from-internal-00000066;2", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(REALCALLERIDNUM=m-200)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/332682@from-internal-00000066;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/332682@from-internal-00000066;2", "USEROUTCID=m-200") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/332682@from-internal-00000066;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/332682@from-internal-00000066;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/332682@from-internal-00000066;2", "TRUNKOUTCID=712190") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/332682@from-internal-00000066;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=712190)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=m-200)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=712199)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("Local/332682@from-internal-00000066;2", "CDR(outbound_cnum)=712199") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("Local/332682@from-internal-00000066;2", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/332682@from-internal-00000066;2", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/332682@from-internal-00000066;2", "OUTNUM=332682") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/332682@from-internal-00000066;2", "custom=SIP/neotelecom") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^oldfield)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^oldfield)TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/332682@from-internal-00000066;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/332682@from-internal-00000066;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/332682@from-internal-00000066;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(CONNECTEDLINE(num,i)=332682)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(CONNECTEDLINE(name,i)=CID:712199)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/332682@from-internal-00000066;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/332682@from-internal-00000066;2", "SIP/neotelecom/332682,300,M(setmusic^oldfield)Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/neotelecom/332682
-- Got SIP response 480 "Temporarily Unavailable" back from 83.172.40.9:5060
-- SIP/neotelecom-00001b3d is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("Local/332682@from-internal-00000066;2", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 19") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Local/332682@from-internal-00000066;2", "0?continue,1:s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("Local/332682@from-internal-00000066;2", "RC=19") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("Local/332682@from-internal-00000066;2", "19,1") in new stack
-- Goto (macro-dialout-trunk,19,1)
-- Executing [19@macro-dialout-trunk:1] Goto("Local/332682@from-internal-00000066;2", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("Local/332682@from-internal-00000066;2", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 19 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("Local/332682@from-internal-00000066;2", "CALLERID(number)=") in new stack
-- Executing [332682@from-internal:6] Macro("Local/332682@from-internal-00000066;2", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("Local/332682@from-internal-00000066;2", "") in new stack
-- Local/332682@from-internal-00000066;1 is making progress passing it to SIP/neotelecom-00001b3b
-- Executing [s@macro-outisbusy:2] Playback("Local/332682@from-internal-00000066;2", "all-circuits-busy-now,noanswer") in new stack
-- <Local/332682@from-internal-00000066;2> Playing 'all-circuits-busy-now.alaw' (language 'ru')
> 0x7f58b4021b80 -- Probation passed - setting RTP source address to 83.172.40.9:8010
-- Executing [s@macro-outisbusy:3] Playback("Local/332682@from-internal-00000066;2", "pls-try-call-later,noanswer") in new stack
-- <Local/332682@from-internal-00000066;2> Playing 'pls-try-call-later.alaw' (language 'ru')
-- Executing [s@macro-outisbusy:4] Macro("Local/332682@from-internal-00000066;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("Local/332682@from-internal-00000066;2", "0?Set(CDR(recordingfile)=.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("Local/332682@from-internal-00000066;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("Local/332682@from-internal-00000066;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/332682@from-internal-00000066;2' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'Local/332682@from-internal-00000066;2' in macro 'outisbusy'
== Spawn extension (from-internal, 332682, 6) exited non-zero on 'Local/332682@from-internal-00000066;2'
-- Executing [h@from-internal:1] Hangup("Local/332682@from-internal-00000066;2", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/332682@from-internal-00000066;2'
-- No one is available to answer at this time (1:0/0/0)
-- Stopped music on hold on SIP/neotelecom-00001b3b
-- Executing [s@macro-dial:39] GotoIf("SIP/neotelecom-00001b3b", "0?ANSWER,1") in new stack
-- Executing [s@macro-dial:40] Set("SIP/neotelecom-00001b3b", "HuntLoop=1") in new stack
-- Executing [s@macro-dial:41] GotoIf("SIP/neotelecom-00001b3b", "1?a46") in new stack
-- Goto (macro-dial,s,43)
-- Executing [s@macro-dial:43] Set("SIP/neotelecom-00001b3b", "HuntMembers=0") in new stack
-- Executing [s@macro-dial:44] Goto("SIP/neotelecom-00001b3b", "s,a22") in new stack
-- Goto (macro-dial,s,22)
-- Executing [s@macro-dial:22] GotoIf("SIP/neotelecom-00001b3b", "0?a30") in new stack
-- Executing [s@macro-dial:23] NoOp("SIP/neotelecom-00001b3b", "Returning there are no members left in the hunt group to ring") in new stack
-- Executing [103@from-did-direct:25] Goto("SIP/neotelecom-00001b3b", "nextstep") in new stack
-- Goto (from-did-direct,103,27)
-- Executing [103@from-did-direct:27] Set("SIP/neotelecom-00001b3b", "RingGroupMethod=") in new stack
-- Executing [103@from-did-direct:28] GotoIf("SIP/neotelecom-00001b3b", "0?nodest") in new stack
-- Executing [103@from-did-direct:29] Set("SIP/neotelecom-00001b3b", "__NODEST=") in new stack
-- Executing [103@from-did-direct:30] Set("SIP/neotelecom-00001b3b", "__PICKUPMARK=") in new stack
-- Executing [103@from-did-direct:31] Macro("SIP/neotelecom-00001b3b", "blkvm-clr,") in new stack
-- Executing [s@macro-blkvm-clr:1] Set("SIP/neotelecom-00001b3b", "SHARED(BLKVM,SIP/neotelecom-00001b3b)=") in new stack
-- Executing [s@macro-blkvm-clr:2] Set("SIP/neotelecom-00001b3b", "GOSUB_RETVAL=") in new stack
-- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/neotelecom-00001b3b", "") in new stack
-- Executing [103@from-did-direct:32] Set("SIP/neotelecom-00001b3b", "DIALSTATUS=NOANSWER") in new stack
-- Executing [103@from-did-direct:33] Goto("SIP/neotelecom-00001b3b", "app-blackhole,hangup,1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("SIP/neotelecom-00001b3b", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("SIP/neotelecom-00001b3b", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/neotelecom-00001b3b'
я из него не могу понять причину недозвона
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: Маршрутизация звонков при двух транках

Сообщение ded »

Расшифровка логов. Познаково, построчно и постранично. (с)

Звонок попал на 103, погудел 15 сек, и ушёл на SIP/neotelecom/332682
-- Executing [s@macro-dialout-trunk:22] Dial("Local/332682@from-internal-00000066;2", "SIP/neotelecom/332682,300,M(setmusic^oldfield)Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/neotelecom/332682
-- Got SIP response 480 "Temporarily Unavailable" back from 83.172.40.9:5060
который его и отлупил.

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

 NoOp("Local/332682@from-internal-00000066;2", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 19") in new stack
Cause No. 19 - no answer from user (user alerted).
This cause is used when the called party has been alerted but does not respond with a connect indication within a prescribed period of time. Note - This cause is not necessarily generated by Q.931 procedures but may be generated by internal network timers.
Все вопросы - к SIP/neotelecom. Предположение: не подставился ваш валидный номер в качестве Caller ID.
Аватара пользователя
Zavr2008
Сообщения: 2213
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: Маршрутизация звонков при двух транках

Сообщение Zavr2008 »

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

-- Executing [s@macro-outbound-callerid:8] Set("Local/332682@from-internal-00000066;2", "TRUNKOUTCID=712190") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/332682@from-internal-00000066;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=712190)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=m-200)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/332682@from-internal-00000066;2", "1?Set(CALLERID(all)=712199)") in new stack
FreePBX умиляет 3-кратной установкой CID)

с другой стороны, а CALLERID(num) то верно установлен при этом ?
Ответ на этот вопрос может прояснить SIP INVITE из sip set debug peer neotelecom,
смотреть там поле "From:".
Также не помешает позвонить в этот neo и спросить про "Матрицу" CID при исходящих:)
Российские E1 шлюзы Alvis. Модернизация УПАТС с E1,Подключение к ИС "Антифрод" E1 PRI/SS#7 УВР Телестор, Грифин и др..
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH