Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.30 KB | None | 0 0
  1. [ Context 'parkedcalls' created by 'features' ]
  2. '700' => 1. Park() [features]
  3.  
  4. [ Context 'ael-builtin-h-bubble' created by 'pbx_ael' ]
  5. 'h' => 1. Goto(9991) [pbx_ael]
  6. 9991. Set(~~parentcxt~~=${STACK_PEEK(1,c,1)}) [pbx_ael]
  7. 9992. GotoIf($["${~~parentcxt~~}"=""]?9996) [pbx_ael]
  8. 9993. GotoIf(${DIALPLAN_EXISTS(${~~parentcxt~~},h,1)}?9994:9996) [pbx_ael]
  9. 9994. StackPop() [pbx_ael]
  10. 9995. Goto(${~~parentcxt~~},h,1) [pbx_ael]
  11. 9996. NoOp() [pbx_ael]
  12.  
  13. [ Context 'ael-default' created by 'pbx_ael' ]
  14. Include => 'ael-demo' [pbx_ael]
  15.  
  16. [ Context 'ael-demo' created by 'pbx_ael' ]
  17. '#' => 1. Playback(demo-thanks) [pbx_ael]
  18. 2. Hangup() [pbx_ael]
  19. '1000' => 1. Goto(ael-default,s,1) [pbx_ael]
  20. '2' => 1. Background(demo-moreinfo) [pbx_ael]
  21. 2. Goto(s,instructions) [pbx_ael]
  22. '3' => 1. Set(LANGUAGE()=fr) [pbx_ael]
  23. 2. Goto(s,restart) [pbx_ael]
  24. '500' => 1. Playback(demo-abouttotry) [pbx_ael]
  25. 2. Dial(IAX2/guest@misery.digium.com/s@default) [pbx_ael]
  26. 3. Playback(demo-nogo) [pbx_ael]
  27. 4. Goto(s,instructions) [pbx_ael]
  28. '600' => 1. Playback(demo-echotest) [pbx_ael]
  29. 2. Echo() [pbx_ael]
  30. 3. Playback(demo-echodone) [pbx_ael]
  31. 4. Goto(s,instructions) [pbx_ael]
  32. '8500' => 1. VoicemailMain() [pbx_ael]
  33. 2. Goto(s,instructions) [pbx_ael]
  34. 'i' => 1. Playback(invalid) [pbx_ael]
  35. 's' => 1. Wait(1) [pbx_ael]
  36. 2. Answer() [pbx_ael]
  37. 3. Set(TIMEOUT(digit)=5) [pbx_ael]
  38. 4. Set(TIMEOUT(response)=10) [pbx_ael]
  39. [restart] 5. Background(demo-congrats) [pbx_ael]
  40. [instructions] 6. MSet(x=$[0]) [pbx_ael]
  41. 7. GotoIf($[ ${x} < 3]?8:12) [pbx_ael]
  42. 8. Background(demo-instruct) [pbx_ael]
  43. 9. WaitExten() [pbx_ael]
  44. 10. MSet(x=$[${x} + 1]) [pbx_ael]
  45. 11. Goto(7) [pbx_ael]
  46. 12. NoOp(Finish for_ael-demo_3) [pbx_ael]
  47. 't' => 1. Goto(#,1) [pbx_ael]
  48. '_1234' => 1. Gosub(ael-std-exten-ael,~~s~~,1(${EXTEN}, "IAX2")) [pbx_ael]
  49.  
  50. [ Context 'ael-std-exten-ael' created by 'pbx_ael' ]
  51. 'a' => 1. VoiceMailMain(${ext}) [pbx_ael]
  52. 2. Return() [pbx_ael]
  53. 'sw_1_' => 10. Goto(sw_1_.,10) [pbx_ael]
  54. 'sw_1_BUSY' => 10. Voicemail(${ext},b) [pbx_ael]
  55. 11. Goto(~~s~~,7) [pbx_ael]
  56. '~~s~~' => 1. MSet(LOCAL(ext)=${ARG1}) [pbx_ael]
  57. 2. MSet(LOCAL(dev)=${ARG2}) [pbx_ael]
  58. 3. MSet(LOCAL(~~EXTEN~~)=${EXTEN}) [pbx_ael]
  59. 4. MSet(LOCAL(~~EXTEN~~)=${~~EXTEN~~}) [pbx_ael]
  60. 5. Dial(${dev}/${ext},20) [pbx_ael]
  61. 6. Goto(sw_1_${DIALSTATUS},10) [pbx_ael]
  62. 7. NoOp(Finish switch_ael-std-exten-ael_1) [pbx_ael]
  63. 8. Return() [pbx_ael]
  64. '_sw_1_.' => 10. Voicemail(${ext},u) [pbx_ael]
  65. 11. Goto(~~s~~,7) [pbx_ael]
  66. Include => 'ael-builtin-h-bubble' [pbx_ael]
  67.  
  68. [ Context 'ael-local' created by 'pbx_ael' ]
  69. Include => 'ael-default' [pbx_ael]
  70. Include => 'ael-trunklocal' [pbx_ael]
  71. Include => 'ael-iaxtel700' [pbx_ael]
  72. Include => 'ael-trunktollfree' [pbx_ael]
  73. Include => 'ael-iaxprovider' [pbx_ael]
  74. Ignore pattern => '9' [pbx_ael]
  75.  
  76. [ Context 'ael-longdistance' created by 'pbx_ael' ]
  77. Include => 'ael-local' [pbx_ael]
  78. Include => 'ael-trunkld' [pbx_ael]
  79. Ignore pattern => '9' [pbx_ael]
  80.  
  81. [ Context 'ael-international' created by 'pbx_ael' ]
  82. Include => 'ael-longdistance' [pbx_ael]
  83. Include => 'ael-trunkint' [pbx_ael]
  84. Ignore pattern => '9' [pbx_ael]
  85.  
  86. [ Context 'ael-trunktollfree' created by 'pbx_ael' ]
  87. '_91800NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  88. '_91866NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  89. '_91877NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  90. '_91888NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  91.  
  92. [ Context 'ael-trunklocal' created by 'pbx_ael' ]
  93. '_9NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  94.  
  95. [ Context 'ael-trunkld' created by 'pbx_ael' ]
  96. '_91NXXNXXXXXX' => 1. Gosub(ael-dundi-e164,~~s~~,1(${EXTEN:1})) [pbx_ael]
  97. 2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  98. Include => 'ael-dundi-e164-lookup' [pbx_ael]
  99.  
  100. [ Context 'ael-trunkint' created by 'pbx_ael' ]
  101. '_9011.' => 1. Gosub(ael-dundi-e164,~~s~~,1(${EXTEN:4})) [pbx_ael]
  102. 2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  103. Include => 'ael-dundi-e164-lookup' [pbx_ael]
  104.  
  105. [ Context 'ael-iaxprovider' created by 'pbx_ael' ]
  106.  
  107. [ Context 'ael-iaxtel700' created by 'pbx_ael' ]
  108. '_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO-AEL}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_ael]
  109.  
  110. [ Context 'ael-dundi-e164' created by 'pbx_ael' ]
  111. '~~s~~' => 1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael]
  112. 2. Goto(${exten},1) [pbx_ael]
  113. 3. Return() [pbx_ael]
  114. Include => 'ael-builtin-h-bubble' [pbx_ael]
  115.  
  116. [ Context 'ael-dundi-e164-lookup' created by 'pbx_ael' ]
  117. Include => 'ael-dundi-e164-local' [pbx_ael]
  118. Include => 'ael-dundi-e164-switch' [pbx_ael]
  119.  
  120. [ Context 'ael-dundi-e164-switch' created by 'pbx_ael' ]
  121. Alt. Switch => 'DUNDi/e164' [pbx_ael]
  122.  
  123. [ Context 'ael-dundi-e164-local' created by 'pbx_ael' ]
  124. Include => 'ael-dundi-e164-canonical' [pbx_ael]
  125. Include => 'ael-dundi-e164-customers' [pbx_ael]
  126. Include => 'ael-dundi-e164-via-pstn' [pbx_ael]
  127.  
  128. [ Context 'ael-dundi-e164-via-pstn' created by 'pbx_ael' ]
  129.  
  130. [ Context 'ael-dundi-e164-customers' created by 'pbx_ael' ]
  131.  
  132. [ Context 'ael-dundi-e164-canonical' created by 'pbx_ael' ]
  133.  
  134. [ Context 'messages' created by 'pbx_config' ]
  135. '_X.' => 1. Verbose(2,Sending message to ${EXTEN}) [pbx_config]
  136. 2. MessageSend(sip:${EXTEN},sip:"${CALLERID(name)}"${MESSAGE(from)}) [pbx_config]
  137.  
  138. [ Context 'demo' created by 'pbx_config' ]
  139. 's' => 1. Verbose(2,Playing soundfile) [pbx_config]
  140. 2. Playback(tt-monkeysintro) [pbx_config]
  141. 3. Playback(tt-monkeys) [pbx_config]
  142. 4. Goto(demo,s,1) [pbx_config]
  143.  
  144. [ Context 'user1' created by 'pbx_config' ]
  145. 's' => 1. Verbose(2,Calling 'user1' extension) [pbx_config]
  146. 2. Dial(SIP/user1) [pbx_config]
  147.  
  148. [ Context 'user2' created by 'pbx_config' ]
  149. 's' => 1. Verbose(2,Calling 'user2' extension) [pbx_config]
  150. 2. Dial(SIP/user2) [pbx_config]
  151.  
  152. [ Context 'user3' created by 'pbx_config' ]
  153. 's' => 1. Verbose(2,Calling 'user3' extension) [pbx_config]
  154. 2. Dial(SIP/user3) [pbx_config]
  155.  
  156. [ Context 'internal' created by 'pbx_config' ]
  157. '6000' => 2. Goto(user3,s,1) [pbx_config]
  158. '6010' => 2. Goto(user2,s,1) [pbx_config]
  159. '6011' => 2. Goto(user1,s,1) [pbx_config]
  160. 's' => 3. Verbose(2,Extension not found) [pbx_config]
  161. 4. Goto(na,s,1) [pbx_config]
  162. '_[a-zA-Z]' => 2. Goto(${EXTEN},s,1) [pbx_config]
  163. '_[a-zA-Z0-9].' => 1. Verbose(2,Calling internal extension) [pbx_config]
  164.  
  165. [ Context 'na' created by 'pbx_config' ]
  166. 's' => 1. Verbose(2,No answer for ${EXTEN}) [pbx_config]
  167. 2. Playback(tt-weasels) [pbx_config]
  168. 3. Hangup() [pbx_config]
  169.  
  170. [ Context 'incoming' created by 'pbx_config' ]
  171. 's' => 1. Verbose(2,Incoming call from trunk) [pbx_config]
  172. 2. Dial(SIP/user3&SIP/user2&SIP/user1) [pbx_config]
  173. 3. Goto(na,s,1) [pbx_config]
  174.  
  175. [ Context 'sip-direct' created by 'pbx_config' ]
  176. '62664' => 4. Goto(user1,s,1) [pbx_config]
  177. '76259' => 5. Goto(user2,s,1) [pbx_config]
  178. 'user1' => 3. Goto(user1,s,1) [pbx_config]
  179. 'user2' => 2. Goto(user2,s,1) [pbx_config]
  180. 's' => 1. Verbose(2,Incoming URI call to ${EXTEN} directly from client) [pbx_config]
  181. 6. Goto(na,s,1) [pbx_config]
  182.  
  183. [ Context 'trunk' created by 'pbx_config' ]
  184. '_+.' => 3. Set(CALLERID(all)="<caller id>" <<trunk number>>) [pbx_config]
  185. 4. Dial(SIP/trunk/${EXTEN},,f) [pbx_config]
  186. '_X.' => 1. Set(CALLERID(all)="<caller id>" <<trunk number>>) [pbx_config]
  187. 2. Dial(SIP/trunk/${EXTEN},,f) [pbx_config]
  188.  
  189. [ Context 'local-uri-check' created by 'pbx_config' ]
  190. 'check-domain.com' => 4. Goto(internal,${ARG1},1) [pbx_config]
  191. 'check-sip.domain.com' => 2. Goto(internal,${ARG1},1) [pbx_config]
  192. 's' => 1. Verbose(2,Running checks on domain in uri calling to ${EXTEN}@${SIPDOMAIN}) [pbx_config]
  193. 6. Dial(SIP/${EXTEN}@${SIPDOMAIN}) [pbx_config]
  194. '_check-domain[.]com' => 5. Goto(internal,${ARG1},1) [pbx_config]
  195. '_check-sip[.]domain[.]com' => 3. Goto(internal,${ARG1},1) [pbx_config]
  196.  
  197. [ Context 'default' created by 'pbx_config' ]
  198. '0731292848' => 2. Goto(incoming,s,1) [pbx_config]
  199. '5999' => 2. Goto(demo,s,1) [pbx_config]
  200. 'user3' => hint: SIP/user3&IAX2/user3 [pbx_config]
  201. 1. Gosub(user3,stdexten(${HINT})) [pbx_config]
  202. 2. Dial(SIP/user3) [pbx_config]
  203. 'user1' => hint: SIP/user1&IAX2/user1 [pbx_config]
  204. 1. Gosub(user1,stdexten(${HINT})) [pbx_config]
  205. 'user2' => hint: SIP/user2&IAX2/user2 [pbx_config]
  206. 1. Gosub(user2,stdexten(${HINT})) [pbx_config]
  207. '_+.' => 2. Goto(trunk,${EXTEN},3) [pbx_config]
  208. '_6XXX!' => 2. Goto(internal,${EXTEN},int) [pbx_config]
  209. '_X.' => 2. Goto(trunk,${EXTEN},1) [pbx_config]
  210. '_[a-zA-Z0-9].' => 1. Verbose(2,Starting call process from local extensions ${EXTEN} ${SIPDOMAIN}) [pbx_config]
  211. 2. Gosub(local-uri-check,check-${SIPDOMAIN},1(${EXTEN})) [pbx_config]
  212.  
  213. [ Context 'public' created by 'pbx_config' ]
  214. 's' => 1. Goto(incoming,${EXTEN},1) [pbx_config]
  215.  
  216. -= 62 extensions (124 priorities) in 34 contexts. =-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement