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

Elastix - безопасность плана звонков

Обо всем касательно FreePBX, MetPBX, TrixBox, Elastix, AstPBX и всех других дистрибутивов

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

Ответить
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Elastix - безопасность плана звонков

Сообщение Angel_19 »

Доброго!
Есть Elastix 2.4 , в интернет не отркыт.
С некоего номера, ночью шел дозвон, и этому номеру удалось звонить через мою АТС по межгороду.
После некоторого анализ отчетов, вяснил, что звонки на межгород были возможны после того, как этот некто звонил на номер 500 - факс.
Как оказалось, если позвонить на факс, и во время писка нажать две решетки - АТС спрашивает куда перевести звонок!!! Далее можно перевести себя на внутренний номер, пробовал набирать вшнешний - дозвониться не получается.

Как решить проблему?
awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Elastix - безопасность плана звонков

Сообщение awsswa »

не правильные опции команды Dial - где то стоит tT - который разрешает переводить звонок звонящей стороне
платный суппорт по мере возможностей
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Re: Elastix - безопасность плана звонков

Сообщение Angel_19 »

General Settings:
Asterisk Dial command options: tTr
Asterisk Outbound Dial command options: T
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Re: Elastix - безопасность плана звонков

Сообщение Angel_19 »

Звонки принимаются через IVR. Получается, что после того, как звонок принял IVR , он его переводит на другой внутренний номер уже как внутренний, а не как внешний.
virus_net
Сообщения: 2337
Зарегистрирован: 05 июн 2013, 08:12
Откуда: Москва

Re: Elastix - безопасность плана звонков

Сообщение virus_net »

Angel_19 писал(а):звонки на межгород были возможны после того, как этот некто звонил на номер 500
Angel_19 писал(а):пробовал набирать вшнешний - дозвониться не получается
так ты определись можно или нельзя
у некто получается, а у тебя нет ?
логи ?
Angel_19 писал(а):General Settings
это в web-интерфейсе, а в dialplan по факту что ?
людям свойственно ошибаться
мой SIP URI sip:virus_net@asterisk.ru
bitname.ru - Домены .bit (namecoin) .emc .coin .lib .bazar (emercoin)

ENUMER - звони бесплатно и напрямую.
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Re: Elastix - безопасность плана звонков

Сообщение Angel_19 »

это в web-интерфейсе, а в dialplan по факту что ?
По факту все верно, кусок лога ниже это подтверждает.

Кусок лога:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (ivr-3,s,1)
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:1] Set("SIP/IN_gorod-0000066e", "MSG=custom/priv1") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:2] Set("SIP/IN_gorod-0000066e", "LOOPCOUNT=0") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:3] Set("SIP/IN_gorod-0000066e", "__DIR-CONTEXT=") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:4] Set("SIP/IN_gorod-0000066e", "_IVR_CONTEXT_ivr-3=") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:5] Set("SIP/IN_gorod-0000066e", "_IVR_CONTEXT=ivr-3") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:6] GotoIf("SIP/IN_gorod-0000066e", "0?begin") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:7] Answer("SIP/IN_gorod-0000066e", "") in new stack
[Feb 2 02:51:00] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:8] Wait("SIP/IN_gorod-0000066e", "1") in new stack
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:9] Set("SIP/IN_gorod-0000066e", "TIMEOUT(digit)=3") in new stack
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] func_timeout.c: -- Digit timeout set to 3.000
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:10] Set("SIP/IN_gorod-0000066e", "TIMEOUT(response)=5") in new stack
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] func_timeout.c: -- Response timeout set to 5.000
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:11] Set("SIP/IN_gorod-0000066e", "__IVR_RETVM=") in new stack
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@ivr-3:12] ExecIf("SIP/IN_gorod-0000066e", "1?Background(custom/priv1)") in new stack
[Feb 2 02:51:01] VERBOSE[14592][C-0000039d] file.c: -- <SIP/IN_gorod-0000066e> Playing 'custom/priv1.slin' (language 'ru')
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: == CDR updated on SIP/IN_gorod-0000066e
[Feb 2 02:51:08] WARNING[14592][C-0000039d] func_db.c: DB_DELETE requires an argument, DB_DELETE(<family>/<key>)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [500@ivr-3:1] ExecIf("SIP/IN_gorod-0000066e", "0?Noop(Deleting: : )") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [500@ivr-3:2] Set("SIP/IN_gorod-0000066e", "__NODEST=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [500@ivr-3:3] Goto("SIP/IN_gorod-0000066e", "from-did-direct,500,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (from-did-direct,500,1)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [500@from-did-direct:1] Macro("SIP/IN_gorod-0000066e", "exten-vm,novm,500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/IN_gorod-0000066e", "user-callerid,") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/IN_gorod-0000066e", "AMPUSER=84952877733") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/IN_gorod-0000066e", "0?report") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/IN_gorod-0000066e", "1?Set(REALCALLERIDNUM=84952877733)") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/IN_gorod-0000066e", "AMPUSER=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/IN_gorod-0000066e", "AMPUSERCIDNAME=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/IN_gorod-0000066e", "1?report") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-user-callerid,s,10)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/IN_gorod-0000066e", "0?continue") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:11] Set("SIP/IN_gorod-0000066e", "__TTL=64") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("SIP/IN_gorod-0000066e", "1?continue") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-user-callerid,s,19)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/IN_gorod-0000066e", "CALLERID(number)=84952877733") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/IN_gorod-0000066e", "CALLERID(name)=84952877733") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/IN_gorod-0000066e", "Using CallerID "84952877733" <84952877733>") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:2] Set("SIP/IN_gorod-0000066e", "RingGroupMethod=none") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:3] Set("SIP/IN_gorod-0000066e", "VMBOX=novm") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:4] Set("SIP/IN_gorod-0000066e", "__EXTTOCALL=500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:5] Set("SIP/IN_gorod-0000066e", "CFUEXT=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:6] Set("SIP/IN_gorod-0000066e", "CFBEXT=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:7] Set("SIP/IN_gorod-0000066e", "RT=""") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:8] Macro("SIP/IN_gorod-0000066e", "record-enable,500,IN") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/IN_gorod-0000066e", "1?check") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-record-enable,s,4)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/IN_gorod-0000066e", "0?MacroExit()") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/IN_gorod-0000066e", "0?Group:OUT") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-record-enable,s,15)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/IN_gorod-0000066e", "1?IN") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-record-enable,s,20)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:20] ExecIf("SIP/IN_gorod-0000066e", "1?MacroExit()") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-exten-vm:9] Macro("SIP/IN_gorod-0000066e", "dial-one,"",tTr,500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:1] Set("SIP/IN_gorod-0000066e", "DEXTEN=500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:2] Set("SIP/IN_gorod-0000066e", "DIALSTATUS_CW=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:3] GosubIf("SIP/IN_gorod-0000066e", "0?screen,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:4] GosubIf("SIP/IN_gorod-0000066e", "0?cf,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:5] GotoIf("SIP/IN_gorod-0000066e", "1?skip1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-dial-one,s,8)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:8] GotoIf("SIP/IN_gorod-0000066e", "0?nodial") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:9] GotoIf("SIP/IN_gorod-0000066e", "0?continue") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:10] Set("SIP/IN_gorod-0000066e", "EXTHASCW=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:11] GotoIf("SIP/IN_gorod-0000066e", "1?next1:cwinusebusy") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-dial-one,s,12)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:12] GotoIf("SIP/IN_gorod-0000066e", "0?docfu:skip3") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-dial-one,s,16)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:16] GotoIf("SIP/IN_gorod-0000066e", "1?next2:continue") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-dial-one,s,17)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:17] GotoIf("SIP/IN_gorod-0000066e", "1?continue") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Goto (macro-dial-one,s,25)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:25] GotoIf("SIP/IN_gorod-0000066e", "0?nodial") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:26] GosubIf("SIP/IN_gorod-0000066e", "1?dstring,1:dlocal,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:1] Set("SIP/IN_gorod-0000066e", "DSTRING=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:2] Set("SIP/IN_gorod-0000066e", "DEVICES=500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/IN_gorod-0000066e", "0?Return()") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/IN_gorod-0000066e", "0?Set(DEVICES=00)") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:5] Set("SIP/IN_gorod-0000066e", "LOOPCNT=1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:6] Set("SIP/IN_gorod-0000066e", "ITER=1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:7] Set("SIP/IN_gorod-0000066e", "THISDIAL=IAX2/500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/IN_gorod-0000066e", "1?zap2dahdi,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/IN_gorod-0000066e", "0?Return()") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/IN_gorod-0000066e", "NEWDIAL=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/IN_gorod-0000066e", "LOOPCNT2=1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/IN_gorod-0000066e", "ITER2=1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/IN_gorod-0000066e", "THISPART2=IAX2/500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/IN_gorod-0000066e", "0?Set(THISPART2=DAHDI2/500)") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/IN_gorod-0000066e", "NEWDIAL=IAX2/500&") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/IN_gorod-0000066e", "ITER2=2") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/IN_gorod-0000066e", "0?begin2") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/IN_gorod-0000066e", "THISDIAL=IAX2/500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/IN_gorod-0000066e", "") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:9] Set("SIP/IN_gorod-0000066e", "DSTRING=IAX2/500&") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:10] Set("SIP/IN_gorod-0000066e", "ITER=2") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/IN_gorod-0000066e", "0?begin") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:12] Set("SIP/IN_gorod-0000066e", "DSTRING=IAX2/500") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [dstring@macro-dial-one:13] Return("SIP/IN_gorod-0000066e", "") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:27] GotoIf("SIP/IN_gorod-0000066e", "0?nodial") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:28] GotoIf("SIP/IN_gorod-0000066e", "0?skiptrace") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:29] GosubIf("SIP/IN_gorod-0000066e", "1?ctset,1:ctclear,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [ctset@macro-dial-one:1] Set("SIP/IN_gorod-0000066e", "DB(CALLTRACE/500)=84952877733") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [ctset@macro-dial-one:2] Return("SIP/IN_gorod-0000066e", "") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:30] Set("SIP/IN_gorod-0000066e", "D_OPTIONS=tTr") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:31] ExecIf("SIP/IN_gorod-0000066e", "0?SIPAddHeader(Alert-Info: )") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:32] ExecIf("SIP/IN_gorod-0000066e", "0?SIPAddHeader()") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:33] ExecIf("SIP/IN_gorod-0000066e", "0?Set(CHANNEL(musicclass)=)") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:34] GosubIf("SIP/IN_gorod-0000066e", "0?qwait,1") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:35] Set("SIP/IN_gorod-0000066e", "__CWIGNORE=") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:36] Set("SIP/IN_gorod-0000066e", "__KEEPCID=TRUE") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:37] Dial("SIP/IN_gorod-0000066e", "IAX2/500,"",tTr") in new stack
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] app_dial.c: -- Called IAX2/500
[Feb 2 02:51:08] VERBOSE[2797][C-0000039d] chan_iax2.c: -- Call accepted by 127.0.0.1 (format alaw)
[Feb 2 02:51:08] VERBOSE[2797][C-0000039d] chan_iax2.c: -- Format for call is (alaw)
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] app_dial.c: -- IAX2/500-14322 is ringing
[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] app_dial.c: -- IAX2/500-14322 answered SIP/IN_gorod-0000066e
[Feb 2 02:51:09] VERBOSE[14592][C-0000039d] res_musiconhold.c: -- Started music on hold, class 'default', on IAX2/500-14322
[Feb 2 02:51:09] VERBOSE[14592][C-0000039d] file.c: -- <SIP/IN_gorod-0000066e> Playing 'pbx-transfer.slin' (language 'ru')
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:1] Macro("Local/88103816670@from-internal-xfer-0000016f;2", "user-callerid,SKIPTTL,") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:1] Set("Local/88103816670@from-internal-xfer-0000016f;2", "AMPUSER=84952877733") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?report") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-user-callerid,s,10)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?continue") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-user-callerid,s,19)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:19] Set("Local/88103816670@from-internal-xfer-0000016f;2", "CALLERID(number)=84952877733") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:20] Set("Local/88103816670@from-internal-xfer-0000016f;2", "CALLERID(name)=84952877733") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("Local/88103816670@from-internal-xfer-0000016f;2", "Using CallerID "84952877733" <84952877733>") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:2] NoOp("Local/88103816670@from-internal-xfer-0000016f;2", "Calling Out Route: OUT_ZEBRA_TELFIN") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:3] Set("Local/88103816670@from-internal-xfer-0000016f;2", "MOHCLASS=default") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:4] Set("Local/88103816670@from-internal-xfer-0000016f;2", "_NODEST=") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:5] Macro("Local/88103816670@from-internal-xfer-0000016f;2", "record-enable,84952877733,OUT,") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?check") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-record-enable,s,4)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?MacroExit()") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?Group:OUT") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-record-enable,s,15)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?IN") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?MacroExit()") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [88103816670@from-internal-xfer:6] Macro("Local/88103816670@from-internal-xfer-0000016f;2", "dialout-trunk,4,88103816670,") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("Local/88103816670@from-internal-xfer-0000016f;2", "DIAL_TRUNK=4") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?sub-pincheck,s,1") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?disabletrunk,1") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("Local/88103816670@from-internal-xfer-0000016f;2", "DIAL_NUMBER=88103816670") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("Local/88103816670@from-internal-xfer-0000016f;2", "DIAL_TRUNK_OPTIONS=tTr") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("Local/88103816670@from-internal-xfer-0000016f;2", "OUTBOUND_GROUP=OUT_4") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?nomax") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?chanfull") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?skipoutcid") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("Local/88103816670@from-internal-xfer-0000016f;2", "DIAL_TRUNK_OPTIONS=T") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("Local/88103816670@from-internal-xfer-0000016f;2", "outbound-callerid,4") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?Set(REALCALLERIDNUM=84952877733)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?normcid") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:4] Set("Local/88103816670@from-internal-xfer-0000016f;2", "USEROUTCID=84952877733") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?bypass") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-outbound-callerid,s,7)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("Local/88103816670@from-internal-xfer-0000016f;2", "EMERGENCYCID=") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("Local/88103816670@from-internal-xfer-0000016f;2", "TRUNKOUTCID=") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?trunkcid") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?Set(CALLERID(all)=)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "1?Set(CALLERID(all)=84952877733)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?Set(CALLERID(all)=)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?sub-flp-4,s,1") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("Local/88103816670@from-internal-xfer-0000016f;2", "OUTNUM=88103816670") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("Local/88103816670@from-internal-xfer-0000016f;2", "custom=SIP/OUT_zebra_telecom") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("Local/88103816670@from-internal-xfer-0000016f;2", "dialout-trunk-predial-hook,") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/88103816670@from-internal-xfer-0000016f;2", "") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?bypass,1") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/88103816670@from-internal-xfer-0000016f;2", "0?customtrunk") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("Local/88103816670@from-internal-xfer-0000016f;2", "SIP/OUT_zebra_telecom/88103816670,300,T") in new stack
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] netsock2.c: == Using SIP RTP TOS bits 184
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] netsock2.c: == Using SIP RTP CoS mark 5
[Feb 2 02:51:21] VERBOSE[14593][C-0000039d] app_dial.c: -- Called SIP/OUT_zebra_telecom/88103816670
[Feb 2 02:51:22] VERBOSE[14593][C-0000039d] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Elastix - безопасность плана звонков

Сообщение Vlad1983 »

[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:37] Dial("SIP/IN_gorod-0000066e", "IAX2/500,"",tTr") in new stack
ЛС: @rostel
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Re: Elastix - безопасность плана звонков

Сообщение Angel_19 »

[Feb 2 02:51:08] VERBOSE[14592][C-0000039d] pbx.c: -- Executing [s@macro-dial-one:37] Dial("SIP/IN_gorod-0000066e", "IAX2/500,"",tTr") in new stack
Ясно, что проблема в этом. План звонков тут генерируется Elastix.
Т.е. ivr принял звонок, в голосовом меню донабрали 500, и идет дозвон на номер 500, с параметром - tTr.

Как-то можно изменить поведение стандартного плана звонков через веб интерфейс?
Angel_19
Сообщения: 94
Зарегистрирован: 19 апр 2013, 15:01

Re: Elastix - безопасность плана звонков

Сообщение Angel_19 »

Проблему решил так:
в файл extensions_override_freepbx.conf вынес контекст - [macro-exten-vm]

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

[macro-exten-vm]
include => macro-exten-vm-custom
exten => s,1,Macro(user-callerid,)
exten => s,n,Set(RingGroupMethod=none)
exten => s,n,Set(VMBOX=${ARG1})
exten => s,n,Set(__EXTTOCALL=${ARG2})
exten => s,n,Set(CFUEXT=${DB(CFU/${EXTTOCALL})})
exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})})
exten => s,n,Set(RT=${IF($[$["${VMBOX}"!="novm"] | $["${CFUEXT}"!=""]]?${RINGTIMER}:"")})
exten => s,n(checkrecord),Macro(record-enable,${EXTTOCALL},IN)
; Чтобы позвонившие НАМ снаружи не смогли переводить свой звонок на другие номера!!!
; У внутренних абонентов есть CallerID, и его длинна равна 4 символам, им разрешить перевод звонка при исходящей,
; иначе не разрешать
exten => s,n(macrodial),Noop(======================= BEGIN Change DAIL_OPTIONS =======================)
exten => s,n,Set(DIAL_OP=${IF($[LEN(${CALLERID(num)})=4]?tTr:tr)})
exten => s,n,Noop(DIAL_OP = ${DIAL_OP})
exten => s,n,Macro(dial-one,${RT},${DIAL_OP},${EXTTOCALL})
exten => s,n,Noop(======================== END Change DAIL_OPTIONS ========================)
;exten => s,n(macrodial),Macro(dial-one,${RT},${DIAL_OPTIONS},${EXTTOCALL}) ; исходная строка
...
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH