Откуда: Moscow
Сообщений: 93
|
Re: звонки на мобильные
Добился чтобы звонки стали набиратся через *10
в extensions_custom.conf
написал вот так
[from-internal-custom]
exten => _*10X.,1,Answer
exten => _*10X.,2,dial(SIP/nonoh/6610118,60,D(0000#w$OUTNUM$#)
на софт фоне набираю *10
в * показывает что набирается номер но выходит вот /SIP/nonoh/*10 не мой номер с пином ! =(
-- Executing [*10@from-internal:1] Macro("SIP/100000-00000002", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/100000-00000002", "AMPUSER=100000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/100000-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/100000-00000002", "1?Set(REALCALLERIDNUM=100000)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/100000-00000002", "AMPUSER=100000") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/100000-00000002", "AMPUSERCIDNAME=100000") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/100000-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/100000-00000002", "AMPUSERCID=100000") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/100000-00000002", "CALLERID(all)="100000" <100000>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/100000-00000002", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/100000-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/100000-00000002", "Using CallerID "100000" <100000>") in new stack
-- Executing [*10@from-internal:2] Set("SIP/100000-00000002", "_NODEST=") in new stack
-- Executing [*10@from-internal:3] Macro("SIP/100000-00000002", "record-enable,100000,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/100000-00000002", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/100000-00000002", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/100000-00000002", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/100000-00000002", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/100000-00000002", "1?MacroExit()") in new stack
-- Executing [*10@from-internal:4] Macro("SIP/100000-00000002", "dialout-trunk,2,*10,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/100000-00000002", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/100000-00000002", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/100000-00000002", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/100000-00000002", "DIAL_NUMBER=*10") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/100000-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/100000-00000002", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/100000-00000002", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/100000-00000002", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/100000-00000002", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/100000-00000002", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/100000-00000002", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/100000-00000002", "0?Set(REALCALLERIDNUM=100000)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/100000-00000002", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/100000-00000002", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/100000-00000002", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/100000-00000002", "TRUNKOUTCID=akadeti-office") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/100000-00000002", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/100000-00000002", "1?Set(CALLERID(all)=akadeti-office)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/100000-00000002", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/100000-00000002", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/100000-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/100000-00000002", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- <SIP/100000-00000002>AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/100000-00000002", "OUTNUM=*10") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/100000-00000002", "custom=SIP/nonoh-1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/100000-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/100000-00000002", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/100000-00000002", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/100000-00000002", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100000-00000002", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/100000-00000002", "SIP/nonoh-1/*10,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called nonoh-1/*10
Помогите !
Хороший художник копирует, гениальный - ворует.
|