extensions_additional.conf 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ;!
  2. ;! Automatically generated configuration file
  3. ;! Filename: extensions_additional.conf (/etc/asterisk/extensions_additional.conf)
  4. ;! Generator: Manager
  5. ;! Creation Date: Mon May 20 17:47:37 2019
  6. ;!
  7. [globals]
  8. #include "extensions_global_custom.conf"
  9. RINGTIME = 30
  10. DIALOPTIONS = TtrXx
  11. RCDFORMAT = wav
  12. isCFCID = 0
  13. isPPI = 0
  14. AutoAnswer = 1
  15. isDENOISE = yes
  16. [default]
  17. include => ipinfo
  18. include => page
  19. include => pickupexten
  20. include => channelhints
  21. [pickupexten]
  22. exten = _*8#,1,Pickup()
  23. exten = _**.,1,AGI(getchan.agi,${EXTEN:2})
  24. exten = _**.,2,PickupChan(${EXTCHAN})
  25. exten = _**.,n,Hangup()
  26. [ivr]
  27. exten = 610,1,Goto(voicemenu-custom-1,s,1)
  28. exten = 611,1,Goto(voicemenu-custom-2,s,1)
  29. [queues]
  30. #include "extensions_queue_custom.conf"
  31. [direct-analog]
  32. exten = direct,1,Goto(voicemenu-custom-1,s,1)
  33. [direct-voip]
  34. exten = direct,1,Goto(voicemenu-custom-1,s,1)
  35. [custom-did-voip]
  36. [timebasedrule-custom-1]
  37. exten = s,1,NoOp(TimeRule)
  38. exten = s,n,AGI(weektimerule.php,office%20time)
  39. exten = s,n,GotoIf($["foo${WEEKMATCH}"="foo1"]?voicemenu-custom-1,s,1)
  40. exten = s,n,Goto(voicemenu-custom-2,s,1)
  41. [CallingRule_紧急电话规则]
  42. exten = _1XX,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0})
  43. [CallingRule_本地电话规则]
  44. exten = _ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0})
  45. [CallingRule_国内长途规则]
  46. exten = _0ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0})
  47. [CallingRule_国际长途规则]
  48. exten = _00ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0})
  49. [DLPN_国内长途]
  50. include = default
  51. include = CallingRule_紧急电话规则
  52. include = CallingRule_本地电话规则
  53. include = CallingRule_国内长途规则
  54. [DLPN_本地通话]
  55. include = default
  56. include = CallingRule_紧急电话规则
  57. include = CallingRule_本地电话规则
  58. [DLPN_内部通话]
  59. include = default
  60. include = CallingRule_紧急电话规则
  61. [DLPN_国际长途]
  62. include = default
  63. include = CallingRule_紧急电话规则
  64. include = CallingRule_本地电话规则
  65. include = CallingRule_国内长途规则
  66. include = CallingRule_国际长途规则