При звонке на внутренний номер 103 когда он не доступен звонок перенаправляется на мой короткий мобильный номер ХХХХХХ. Скорее всего сам и настроил это. Не где не могу найти как отключить. FolowMe нет, в настройках самого экстеншена стоит при неответе вызов терменируется.
=========================================================================
Connected to Asterisk 11.15.0 currently running on Elastix (pid = 2468)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [103@from-internal:1] Set("SIP/102-00000016", "__RINGTIMER=15") in new stack
-- Executing [103@from-internal:2] Macro("SIP/102-00000016", "exten-vm,novm,103,1,0,1") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/102-00000016", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/102-00000016", "TOUCH_MONITOR=1428311852.48") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/102-00000016", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-00000016", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-00000016", "1?Set(REALCALLERIDNUM=102)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/102-00000016", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-00000016", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/102-00000016", "AMPUSERCIDNAME=Yura Computer") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-00000016", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/102-00000016", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/102-00000016", "__DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/102-00000016", "CALLERID(all)="Yura Computer" <102>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-00000016", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-00000016", "0?Set(GROUP(concurrency_limit)=102)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-00000016", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-00000016", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/102-00000016", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/102-00000016", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/102-00000016", "CALLERID(number)=102") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/102-00000016", "CALLERID(name)=Yura Computer") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/102-00000016", "CDR(cnum)=102") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/102-00000016", "CDR(cnam)=Yura Computer") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/102-00000016", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/102-00000016", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/102-00000016", "__EXTTOCALL=103") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/102-00000016", "__PICKUPMARK=103") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/102-00000016", "RT=15") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/102-00000016", "sub-record-check,s,1(exten,103,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/102-00000016", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/102-00000016", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/102-00000016", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/102-00000016", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/102-00000016", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/102-00000016", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/102-00000016", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/102-00000016", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/102-00000016", "NOW=1428311852") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/102-00000016", "__DAY=06") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/102-00000016", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/102-00000016", "__YEAR=2015") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/102-00000016", "__TIMESTR=20150406-141732") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/102-00000016", "__FROMEXTEN=102") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/102-00000016", "__CALLFILENAME=exten-103-102-20150406-141732-1428311852.48") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/102-00000016", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/102-00000016", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/102-00000016", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/102-00000016", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/102-00000016", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/102-00000016", "0?record,1(exten,103,102)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/102-00000016", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/102-00000016", "dial-one,15,tr,103") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/102-00000016", "DEXTEN=103") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/102-00000016", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/102-00000016", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/102-00000016", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/102-00000016", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/102-00000016", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/102-00000016", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/102-00000016", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/102-00000016", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/102-00000016", "1?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,13)
-- Executing [s@macro-dial-one:13] Set("SIP/102-00000016", "DEXTEN=") in new stack
-- Executing [s@macro-dial-one:14] Set("SIP/102-00000016", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-dial-one:15] Goto("SIP/102-00000016", "nodial") in new stack
-- Goto (macro-dial-one,s,48)
-- Executing [s@macro-dial-one:48] ExecIf("SIP/102-00000016", "0?Set(DIALSTATUS=NOANSWER)") in new stack
-- Executing [s@macro-dial-one:49] NoOp("SIP/102-00000016", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack
-- Executing [s@macro-dial-one:50] MacroExit("SIP/102-00000016", "") in new stack
-- Executing [s@macro-exten-vm:8] Set("SIP/102-00000016", "SV_DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:9] GosubIf("SIP/102-00000016", "1?docfu,1()") in new stack
-- Executing [docfu@macro-exten-vm:1] ExecIf("SIP/102-00000016", "1?StackPop()") in new stack
-- Executing [docfu@macro-exten-vm:2] GotoIf("SIP/102-00000016", "1?from-internal,МОЙМОБ,1") in new stack
-- Goto (from-internal,МОЙМОБ,1)
-- Executing [МОЙМОБ@from-internal:1] Macro("SIP/102-00000016", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/102-00000016", "TOUCH_MONITOR=1428311852.48") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/102-00000016", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-00000016", "13?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-00000016", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/102-00000016", "CALLERID(number)=102") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/102-00000016", "CALLERID(name)=Yura Computer") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/102-00000016", "CDR(cnum)=102") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/102-00000016", "CDR(cnam)=Yura Computer") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/102-00000016", "CHANNEL(language)=ru") in new stack
-- Executing [МОЙМОБ@from-internal:2] Set("SIP/102-00000016", "MOHCLASS=default") in new stack
-- Executing [МОЙМОБ@from-internal:3] ExecIf("SIP/102-00000016", "1?Set(TRUNKCIDOVERRIDE=МОЙТРАНК)") in new stack
-- Executing [МОЙМОБ@from-internal:4] Set("SIP/102-00000016", "_NODEST=") in new stack
-- Executing [МОЙМОБ@from-internal:5] Gosub("SIP/102-00000016", "sub-record-check,s,1(out,МОЙМОБ,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/102-00000016", "REC_POLICY_MODE_SAVE=dontcare") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/102-00000016", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/102-00000016", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/102-00000016", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/102-00000016", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/102-00000016", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/102-00000016", "1?out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/102-00000016", "0?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/102-00000016", "0?record,1(exten,МОЙМОБ,102)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/102-00000016", "") in new stack
-- Executing [МОЙМОБ@from-internal:6] Macro("SIP/102-00000016", "dialout-trunk,3,МОЙМОБ,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/102-00000016", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-00000016", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-00000016", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/102-00000016", "DIAL_NUMBER=МОЙМОБ") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/102-00000016", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/102-00000016", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-00000016", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-00000016", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/102-00000016", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-00000016", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-00000016", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-00000016", "0?Set(REALCALLERIDNUM=102)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-00000016", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/102-00000016", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/102-00000016", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/102-00000016", "TRUNKOUTCID=73452МОЙТРАНК") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-00000016", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-00000016", "1?Set(CALLERID(all)=73452МОЙТРАНК)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-00000016", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-00000016", "1?Set(CALLERID(all)=МОЙТРАНК)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-00000016", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/102-00000016", "CDR(outbound_cnum)=МОЙТРАНК") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/102-00000016", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-00000016", "0?sub-flp-3,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/102-00000016", "OUTNUM=МОЙМОБ") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/102-00000016", "custom=SIP/peer_МОЙТРАНК") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-00000016", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-00000016", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-00000016", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-00000016", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-00000016", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-00000016", "1?Set(CONNECTEDLINE(num,i)=МОЙМОБ)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-00000016", "1?Set(CONNECTEDLINE(name,i)=CID:МОЙТРАНК)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-00000016", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-00000016", "SIP/peer_МОЙТРАНК/МОЙМОБ,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/peer_МОЙТРАНК/МОЙМОБ
-- SIP/peer_МОЙТРАНК-00000017 is making progress passing it to SIP/102-00000016
> 0x2acb7c02f290 -- Probation passed - setting RTP source address to 192.168.1.100:5062
> 0x2acb7c02f290 -- Switching RTP source address to 192.168.1.100:5060
> 0x1d8fc00 -- Probation passed - setting RTP source address to 217.116.48.15:22482
[2015-04-06 14:17:42] WARNING[4143][C-00000007]: app_dial.c:1546 wait_for_answer: Unable to write frametype: 2
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-00000016' in macro 'dialout-trunk'
== Spawn extension (from-internal, МОЙМОБ, 6) exited non-zero on 'SIP/102-00000016' in macro 'exten-vm'
== Spawn extension (from-internal, МОЙМОБ, 6) exited non-zero on 'SIP/102-00000016'
-- Executing [h@from-internal:1] Hangup("SIP/102-00000016", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-00000016'
Elastix*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Судя по всему это сама процедура а в нее уже передается параметром мой номер телефона, но откуда он передается, уже поиском по содержимому весь диск прошел, не где нет такой комбинации
вот эта строка диалплана
2. GotoIf($["${DB(AMPUSER/${EXTTOCALL}/cfringtimer)}"="-1"|("${ARG1}"="novm"&"${ARG3}"="1")]?from-internal,${DB(CFU/${EXTTOCALL})},1) [pbx_config]
говорит если в локальной БД
AMPUSER/103/cfringtimer = -1 или ... (это в вашем случае неважно, т.к. аргументы вызова другие)
то выполнить Goto на from-internal,${DB(CFU/${EXTTOCALL})},1
Т.е. вытянуть из локальной БД значение ключа CFU/103, где и лежит ваш сотовый
выполните в консоли астериска
*CLI> database del CFU 103
или в терминале
asterisk -rx "database del CFU 103"
Владимир: Благодарю, вы правы! Не понимаю как он туда попал, кроме него еще второй свой телефон там (database show) обнаружил /CALLTRACE/101 и /CALLTRACE/102. Подскажите, что почитать, что бы как вы научиться читать логи.