返回列表 發帖

asterisk的最新gui有咩办法可以自己加voice menus?--已解决

本帖最後由 lttliang 於 2010-11-13 13:13 編輯

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

原来粘贴入去,是睇不到的,要退出一次gui  再登入gui  就可以睇到自己写的voice menus

TOP

返回列表