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

Передать номер звонящего на внутренний номер после IVR

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

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

anaks
Сообщения: 12
Зарегистрирован: 19 май 2013, 08:17

Re: Передать номер звонящего на внутренний номер после IVR

Сообщение anaks »

-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Set("DAHDI/1-1", "CHANNEL(language)=ru") in new stack
-- Executing [s@from-pstn:3] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
-- Executing [s@from-pstn:4] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
-- Executing [s@from-pstn:5] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:6] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@from-pstn:7] Goto("DAHDI/1-1", "ivr-6,s,1") in new stack
-- Goto (ivr-6,s,1)
-- Executing [s@ivr-6:1] Set("DAHDI/1-1", "MSG=custom/Sigma_WM3") in new stack
-- Executing [s@ivr-6:2] Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-6:3] Set("DAHDI/1-1", "__DIR-CONTEXT=") in new stack
-- Executing [s@ivr-6:4] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-6=") in new stack
-- Executing [s@ivr-6:5] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-6") in new stack
-- Executing [s@ivr-6:6] GotoIf("DAHDI/1-1", "0?begin") in new stack
-- Executing [s@ivr-6:7] Answer("DAHDI/1-1", "") in new stack
-- Executing [s@ivr-6:8] Wait("DAHDI/1-1", "1") in new stack
-- Executing [s@ivr-6:9] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-6:10] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-6:11] Set("DAHDI/1-1", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-6:12] ExecIf("DAHDI/1-1", "1?Background(custom/Sigma_WM3)") in new stack
-- <DAHDI/1-1> Playing 'custom/Sigma_WM3.slin' (language 'ru')
== CDR updated on DAHDI/1-1
-- Executing [444@ivr-6:1] ExecIf("DAHDI/1-1", "0?Noop(Deleting: : )") in new stack
-- Executing [444@ivr-6:2] Set("DAHDI/1-1", "__NODEST=") in new stack
-- Executing [444@ivr-6:3] Goto("DAHDI/1-1", "from-did-direct,444,1") in new stack
-- Goto (from-did-direct,444,1)
-- Executing [444@from-did-direct:1] GotoIf("DAHDI/1-1", "0?ext-local,444,1") in new stack
-- Executing [444@from-did-direct:2] Macro("DAHDI/1-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("DAHDI/1-1", "CALLERID(number)=") in new stack
-- Executing [s@macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("DAHDI/1-1", "Using CallerID "" <>") in new stack
-- Executing [444@from-did-direct:3] Set("DAHDI/1-1", "__EXTTOCALL=444") in new stack
-- Executing [444@from-did-direct:4] GotoIf("DAHDI/1-1", "1?skipdb") in new stack
-- Goto (from-did-direct,444,6)
-- Executing [444@from-did-direct:6] Set("DAHDI/1-1", "__NODEST=") in new stack
-- Executing [444@from-did-direct:7] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/444/DAHDI/1-1") in new stack
-- Executing [444@from-did-direct:8] Set("DAHDI/1-1", "__BLKVM_BASE=444") in new stack
-- Executing [444@from-did-direct:9] Set("DAHDI/1-1", "DB(BLKVM/444/DAHDI/1-1)=TRUE") in new stack
-- Executing [444@from-did-direct:10] Set("DAHDI/1-1", "RRNODEST=") in new stack
-- Executing [444@from-did-direct:11] Set("DAHDI/1-1", "__NODEST=444") in new stack
-- Executing [444@from-did-direct:12] GosubIf("DAHDI/1-1", "0?sub-fmsetcid,s,1") in new stack
-- Executing [444@from-did-direct:13] Set("DAHDI/1-1", "RecordMethod=Group") in new stack
-- Executing [444@from-did-direct:14] Macro("DAHDI/1-1", "record-enable,444-989181390072-444,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("DAHDI/1-1", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("DAHDI/1-1", "LOOPCNT=3") in new stack
-- Executing [s@macro-record-enable:7] Set("DAHDI/1-1", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=3") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=4") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("DAHDI/1-1", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("DAHDI/1-1", "1?MacroExit()") in new stack
-- Executing [444@from-did-direct:15] Set("DAHDI/1-1", "RingGroupMethod=ringallv2-prim") in new stack
-- Executing [444@from-did-direct:16] Set("DAHDI/1-1", "_FMGRP=444") in new stack
-- Executing [444@from-did-direct:17] GotoIf("DAHDI/1-1", "0?doconfirm") in new stack
-- Executing [444@from-did-direct:18] Macro("DAHDI/1-1", "dial,100,tr,444-989181390072") in new stack
-- Executing [s@macro-dial:1] GotoIf("DAHDI/1-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("DAHDI/1-1", "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 'unknown' number is 'unknown'
dialparties.agi: Methodology of ring is 'ringallv2-prim'
-- dialparties.agi: Added extension 444 to extension map
-- dialparties.agi: Added extension 989181390072 to extension map
> dialparties.agi: got fmgrp_prering: 40, fmgrp_grptime: 60
> dialparties.agi: fmgrp_totalprering: 100
> dialparties.agi: found extension in pre-ring and array
> dialparties.agi: ringallv2 ring times: REALPRERING: 100, PRERING: 40
> dialparties.agi: Extension 989181390072 has call screening off
-- dialparties.agi: Extension 444 cf is disabled
-- dialparties.agi: Extension 989181390072 cf is disabled
-- dialparties.agi: Extension 444 do not disturb is disabled
-- dialparties.agi: Extension 989181390072 do not disturb is disabled
> dialparties.agi: extnum 444 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 444 has ExtensionState: 0
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 444 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 444
-- dialparties.agi: DbDel CALLTRACE/444 - Caller ID is not defined
> dialparties.agi: extnum 989181390072 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNKNOWN)
dialparties.agi: Extension 989181390072 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 989181390072
-- dialparties.agi: DbDel CALLTRACE/989181390072 - Caller ID is not defined
-- dialparties.agi: Filtered ARG3: 444-989181390072
> dialparties.agi: NODEST: 444 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 444 blkvm enabled macro already in dialopts: trM(auto-blkvm)
-- <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("DAHDI/1-1", "Local/FMPR-444@from-internal&Local/FMGL-989181390072@from-internal,100,trM(auto-blkvm)") in new stack
-- Called Local/FMPR-444@from-internal
-- Called Local/FMGL-989181390072@from-internal
-- Executing [FMPR-444@from-internal:1] NoOp("Local/FMPR-444@from-internal-00000006;2", "In FMPR 444 with 444") in new stack
-- Executing [FMPR-444@from-internal:2] Set("Local/FMPR-444@from-internal-00000006;2", "RingGroupMethod=") in new stack
-- Executing [FMPR-444@from-internal:3] Set("Local/FMPR-444@from-internal-00000006;2", "USE_CONFIRMATION=") in new stack
-- Executing [FMPR-444@from-internal:4] Set("Local/FMPR-444@from-internal-00000006;2", "RINGGROUP_INDEX=") in new stack
-- Executing [FMPR-444@from-internal:5] Macro("Local/FMPR-444@from-internal-00000006;2", "simple-dial,444,100") in new stack
-- Executing [s@macro-simple-dial:1] Set("Local/FMPR-444@from-internal-00000006;2", "__EXTTOCALL=444") in new stack
-- Executing [s@macro-simple-dial:2] Set("Local/FMPR-444@from-internal-00000006;2", "RT=100") in new stack
-- Executing [s@macro-simple-dial:3] Set("Local/FMPR-444@from-internal-00000006;2", "CFUEXT=") in new stack
-- Executing [s@macro-simple-dial:4] Set("Local/FMPR-444@from-internal-00000006;2", "CFBEXT=") in new stack
-- Executing [s@macro-simple-dial:5] Set("Local/FMPR-444@from-internal-00000006;2", "CWI_TMP=") in new stack
-- Executing [s@macro-simple-dial:6] Macro("Local/FMPR-444@from-internal-00000006;2", "dial-one,100,tr,444") in new stack
-- Executing [s@macro-dial-one:1] Set("Local/FMPR-444@from-internal-00000006;2", "DEXTEN=444") in new stack
-- Executing [FMGL-989181390072@from-internal:1] NoOp("Local/FMGL-989181390072@from-internal-00000007;2", "In FMGL 444 with 989181390072") in new stack
-- Executing [s@macro-dial-one:2] Set("Local/FMPR-444@from-internal-00000006;2", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("Local/FMPR-444@from-internal-00000006;2", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("Local/FMPR-444@from-internal-00000006;2", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("Local/FMPR-444@from-internal-00000006;2", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("Local/FMPR-444@from-internal-00000006;2", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("Local/FMPR-444@from-internal-00000006;2", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("Local/FMPR-444@from-internal-00000006;2", "DEVICES=444") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?Set(DEVICES=44)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("Local/FMPR-444@from-internal-00000006;2", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("Local/FMPR-444@from-internal-00000006;2", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("Local/FMPR-444@from-internal-00000006;2", "THISDIAL=SIP/444") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("Local/FMPR-444@from-internal-00000006;2", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("Local/FMPR-444@from-internal-00000006;2", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("Local/FMPR-444@from-internal-00000006;2", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("Local/FMPR-444@from-internal-00000006;2", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("Local/FMPR-444@from-internal-00000006;2", "THISPART2=SIP/444") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?Set(THISPART2=DAHDI/444)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("Local/FMPR-444@from-internal-00000006;2", "NEWDIAL=SIP/444&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("Local/FMPR-444@from-internal-00000006;2", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("Local/FMPR-444@from-internal-00000006;2", "THISDIAL=SIP/444") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("Local/FMPR-444@from-internal-00000006;2", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("Local/FMPR-444@from-internal-00000006;2", "DSTRING=SIP/444&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("Local/FMPR-444@from-internal-00000006;2", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("Local/FMPR-444@from-internal-00000006;2", "DSTRING=SIP/444") in new stack
-- Executing [dstring@macro-dial-one:13] Return("Local/FMPR-444@from-internal-00000006;2", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("Local/FMPR-444@from-internal-00000006;2", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("Local/FMPR-444@from-internal-00000006;2", "0?ctset,1:ctclear,1") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("Local/FMPR-444@from-internal-00000006;2", "Deleting: CALLTRACE/444 ") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("Local/FMPR-444@from-internal-00000006;2", "") in new stack
-- Executing [s@macro-dial-one:30] Set("Local/FMPR-444@from-internal-00000006;2", "D_OPTIONS=trM(auto-blkvm)") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("Local/FMPR-444@from-internal-00000006;2", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("Local/FMPR-444@from-internal-00000006;2", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("Local/FMPR-444@from-internal-00000006;2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("Local/FMPR-444@from-internal-00000006;2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("Local/FMPR-444@from-internal-00000006;2", "SIP/444,100,trM(auto-blkvm)") in new stack
-- Executing [FMGL-989181390072@from-internal:2] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "0?dodnd") in new stack
-- Executing [FMGL-989181390072@from-internal:3] Wait("Local/FMGL-989181390072@from-internal-00000007;2", "1") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/444
-- Local/FMPR-444@from-internal-00000006;1 is ringing
-- Local/FMPR-444@from-internal-00000006;1 connected line has changed. Saving it until answer for DAHDI/1-1
-- Local/FMPR-444@from-internal-00000006;1 connected line has changed. Saving it until answer for DAHDI/1-1
-- SIP/444-00000004 is ringing
-- Local/FMPR-444@from-internal-00000006;1 is ringing
-- SIP/444-00000004 is ringing
-- Executing [FMGL-989181390072@from-internal:4] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "0?dodnd") in new stack
-- Executing [FMGL-989181390072@from-internal:5] Wait("Local/FMGL-989181390072@from-internal-00000007;2", "1") in new stack
-- Executing [FMGL-989181390072@from-internal:6] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "0?dodnd") in new stack
-- Executing [FMGL-989181390072@from-internal:7] Wait("Local/FMGL-989181390072@from-internal-00000007;2", "38") in new stack
-- SIP/444-00000004 answered Local/FMPR-444@from-internal-00000006;2
-- Executing [s@macro-auto-blkvm:1] Set("SIP/444-00000004", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] NoOp("SIP/444-00000004", "Deleting: BLKVM/444/DAHDI/1-1 TRUE") in new stack
-- Local/FMPR-444@from-internal-00000006;1 connected line has changed. Saving it until answer for DAHDI/1-1
-- Local/FMPR-444@from-internal-00000006;1 answered DAHDI/1-1
== Spawn extension (from-internal, FMGL-989181390072, 7) exited non-zero on 'Local/FMGL-989181390072@from-internal-00000007;2'
-- Executing [h@from-internal:1] Macro("Local/FMGL-989181390072@from-internal-00000007;2", "hangupcall") in new stack
-- Executing [s@macro-auto-blkvm:1] Set("Local/FMPR-444@from-internal-00000006;1", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] NoOp("Local/FMPR-444@from-internal-00000006;1", "Deleting: BLKVM/444/DAHDI/1-1 ") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("Local/FMGL-989181390072@from-internal-00000007;2", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("Local/FMGL-989181390072@from-internal-00000007;2", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("Local/FMGL-989181390072@from-internal-00000007;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("Local/FMGL-989181390072@from-internal-00000007;2", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("Local/FMGL-989181390072@from-internal-00000007;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("Local/FMGL-989181390072@from-internal-00000007;2", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <Local/FMGL-989181390072@from-internal-00000007;2>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("Local/FMGL-989181390072@from-internal-00000007;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'Local/FMGL-989181390072@from-internal-00000007;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMGL-989181390072@from-internal-00000007;2'
-- Executing [h@macro-dial-one:1] Macro("Local/FMPR-444@from-internal-00000006;2", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("Local/FMPR-444@from-internal-00000006;2", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("Local/FMPR-444@from-internal-00000006;2", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("Local/FMPR-444@from-internal-00000006;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("Local/FMPR-444@from-internal-00000006;2", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("Local/FMPR-444@from-internal-00000006;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("Local/FMPR-444@from-internal-00000006;2", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <Local/FMPR-444@from-internal-00000006;2>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("Local/FMPR-444@from-internal-00000006;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'Local/FMPR-444@from-internal-00000006;2' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/FMPR-444@from-internal-00000006;2'
== Spawn extension (macro-dial-one, s, 37) exited non-zero on 'Local/FMPR-444@from-internal-00000006;2' in macro 'dial-one'
== Spawn extension (macro-simple-dial, s, 6) exited non-zero on 'Local/FMPR-444@from-internal-00000006;2' in macro 'simple-dial'
== Spawn extension (from-internal, FMPR-444, 5) exited non-zero on 'Local/FMPR-444@from-internal-00000006;2'
-- Executing [h@macro-dial:1] Macro("DAHDI/1-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("DAHDI/1-1", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/1-1", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("DAHDI/1-1", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/1-1", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("DAHDI/1-1", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/1-1", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("DAHDI/1-1", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/1-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/1-1", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:46] NoOp("DAHDI/1-1", "Cleaning Up Block VM Flag: BLKVM/444/DAHDI/1-1") in new stack
-- Executing [s@macro-hangupcall:47] NoOp("DAHDI/1-1", "Deleting: BLKVM/444/DAHDI/1-1 ") in new stack
-- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/1-1", "0?theend") in new stack
-- Executing [s@macro-hangupcall:49] NoOp("DAHDI/1-1", "Deleting: FM/DND/444/DAHDI/1-1 ") in new stack
-- Executing [s@macro-hangupcall:50] AGI("DAHDI/1-1", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <DAHDI/1-1>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/1-1'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1' in macro 'dial'
== Spawn extension (from-did-direct, 444, 18) exited non-zero on 'DAHDI/1-1'
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'

От начала и до конца.
anaks
Сообщения: 12
Зарегистрирован: 19 май 2013, 08:17

Re: Передать номер звонящего на внутренний номер после IVR

Сообщение anaks »

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

Re: Передать номер звонящего на внутренний номер после IVR

Сообщение virus_net »

[offtop]
anaks, открой для себя теги CODE и SPOILER на это форуме, пожалуйста
читать и мотать твои "портянки" не очень удобно
[/offtop]

если астер номер видит, а телефон оператора, куда приходит вызов, не видит, то в первую очередь надо посмотреть что в SIP INVITE, который астер шлет на телефон и что в нем.
мой SIP URI sip:virus_net@asterisk.ru
bitname.ru - Домены .bit (namecoin) .emc .coin .lib .bazar (emercoin)

ENUMER - звони бесплатно и напрямую.
shurskiy
Сообщения: 107
Зарегистрирован: 31 авг 2010, 16:15

Re: Передать номер звонящего на внутренний номер после IVR

Сообщение shurskiy »

Это анализы. С ними в поликлинику ближайшую.
Нарисуйте схему включения(свитчинг\роутинг\нат) подключение к провайдеру(технология\оборудование), модели оборудования, версии ПО.
Разберите схему на отдельные составляющие, запускайте дебаг и смотрите где продает ваш CallerID
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: Передать номер звонящего на внутренний номер после IVR

Сообщение ded »

Не надо анализы, и не надо SIP INVITE. О, жестокосердые!
Вы бы ещё справку от домоуправления запросили,
Надо: читать-читать про CallerID на портах FXO и настраивать-настраивать, потом чуток покурить, и опять настраивать, сверяясь с мануалами по настройке аналогового DAHDI. По ходу - понять для чего такой зогадочный модуль Zap Channel DIDs, и как после правильного его применения работает Inbound route.
Когда при простом звонке из города, завёрнутом на внутренний экстен, на последнем будет устойчиво определяться Caller ID, переходить, сопсно, к усложнению: заворачивать входящий на ИВР.
Амен!
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH