本帖最後由 lttliang 於 2010-11-13 13:13 編輯
最新的asterisk gui无法将自己写好的code到copy到voice menus,旧版的可以,但是旧版的gui因为无法识别到我的AX400P母板,所以只能忍痛不用!请问仲有咩办法可以令到新版的asterisk gui可以加入自己写的voice menus?
下面是我的menus- exten=s,1,NoOp(szpstn)
- exten=s,2,Answer()
- exten=s,3,GotoIf($[${CALLERID(num)} = 13997494202]?jq)
- exten=s,4,GotoIf($[${CALLERID(num)} = 13302933895]?zl)
- exten=s,5,GotoIf($[${CALLERID(num)} = 13680097804]?hangup)
- exten=s,6,GotoIf($[${CALLERID(num):0:4} = 0751]?hangup)
- exten=s,7,GotoIfTime(08:29-11:59,*,*,*?morning)
- exten=s,8,GotoIfTime(12:00-18:59,*,*,*?afternoon)
- exten=s,9,GotoIfTime(19:00-23:59,*,*,*?night)
- exten=s,10(morning),Background(record/morning)
- exten=s,11,Dial(SIP/6008,20,t)
- exten=s,12,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:zlone)
- exten=s,13(zlone),Background(silence/2)
- exten=s,14,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,15,Macro(trunkdial-failover-0.3,${588107217}/013302933895,,588107217,)
- exten=s,16,Hangup()
- exten=s,17(afternoon),Background(record/after)
- exten=s,18,Dial(SIP/6008,20,t)
- exten=s,19,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:zltwo)
- exten=s,20(zltwo),Background(silence/2)
- exten=s,21,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,22,Macro(trunkdial-failover-0.3,${588107217}/013302933895,,588107217,)
- exten=s,23,Hangup()
- exten=s,24(night),Background(record/night)
- exten=s,25,Dial(SIP/6008,20,t)
- exten=s,26,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:zlthree)
- exten=s,27(zlthree),Background(silence/2)
- exten=s,28,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,29,Macro(trunkdial-failover-0.3,${588107217}/013302933895,,588107217,)
- exten=s,30,Hangup()
- exten=s,31(jq),GotoIfTime(00:00-11:59,*,*,*?jqmorning)
- exten=s,32,GotoIfTime(12:00-18:59,*,*,*?jqafternoon)
- exten=s,33,GotoIfTime(19:00-23:59,*,*,*?jqnight)
- exten=s,34(jqmorning),Background(record/morning)
- exten=s,35,Dial(SIP/6002,20,t)
- exten=s,36,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:one)
- exten=s,37(one),Background(silence/2)
- exten=s,38,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,39,Macro(trunkdial-failover-0.3,${588107217}/015875561861,,588107217,)
- exten=s,40,Hangup()
- exten=s,41(jqafternoon),Background(record/after)
- exten=s,42,Dial(SIP/6002,20,t)
- exten=s,43,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:two)
- exten=s,44(two),Background(silence/2)
- exten=s,45,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,46,Macro(trunkdial-failover-0.3,${588107217}/015875561861,,588107217,)
- exten=s,47,Hangup()
- exten=s,48(jqnight),Background(record/night)
- exten=s,49,Dial(SIP/6002,20,t)
- exten=s,50,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?:three)
- exten=s,51(three),Background(silence/2)
- exten=s,52,Background(Custom/system/VoiceMenus/jqforwait)
- exten=s,53,Macro(trunkdial-failover-0.3,${588107217}/015875561861,,588107217,)
- exten=s,54,Hangup()
- exten=s,55(zl),Goto(voicemenu-custom-3|s|1)
- exten=s,56(hangup),Background(silence/2)
- exten=s,57,Playback(Custom/system/VoiceMenus/0751-noservice)
- exten=s,58,Hangup()
複製代碼 |