Advertisement
Guest User

LoyrLino

a guest
Mar 4th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.59 KB | None | 0 0
  1. asterisk -cvvvv
  2.  
  3. dialplan show
  4.  
  5. [ Context 'default' created by 'pbx_lua' ]
  6. '1234' => hint: SIP/1234 [pbx_lua]
  7. Alt. Switch => 'Lua/' [pbx_lua]
  8.  
  9. [ Context 'call-out' created by 'pbx_config' ]
  10. '_XXX' => 1. Dial(SIP/) [extensions.conf:8]
  11.  
  12. [ Context '__func_periodic_hook_context__' created by 'func_periodic_hook' ]
  13. 'beep' (CID match '') => 1. Answer() [func_periodic_hook]
  14. 2. Playback(beep) [func_periodic_hook]
  15. 'hook' (CID match '') => 1. Set(EncodedChannel=${CUT(HOOK_CHANNEL,-,1-2)}) [func_periodic_hook]
  16. 2. Set(GROUP_NAME=${EncodedChannel}${HOOK_ID}) [func_periodic_hook]
  17. 3. Set(GROUP(periodic-hook)=${GROUP_NAME}) [func_periodic_hook]
  18. 4. ExecIf($[${GROUP_COUNT(${GROUP_NAME}@periodic-hook)} > 1]?Hangup()) [func_periodic_hook]
  19. 5. Set(ChannelToSpy=${URIDECODE(${EncodedChannel})}) [func_periodic_hook]
  20. 6. ChanSpy(${ChannelToSpy},qEB) [func_periodic_hook]
  21.  
  22. [ Context 'parkedcalls' created by 'res_parking/default' ]
  23. '700' => 1. Park() [res_parking]
  24. '701' => 1. ParkedCall(default,701) [res_parking/default]
  25. '702' => 1. ParkedCall(default,702) [res_parking/default]
  26. '703' => 1. ParkedCall(default,703) [res_parking/default]
  27. '704' => 1. ParkedCall(default,704) [res_parking/default]
  28. '705' => 1. ParkedCall(default,705) [res_parking/default]
  29. '706' => 1. ParkedCall(default,706) [res_parking/default]
  30. '707' => 1. ParkedCall(default,707) [res_parking/default]
  31. '708' => 1. ParkedCall(default,708) [res_parking/default]
  32. '709' => 1. ParkedCall(default,709) [res_parking/default]
  33. '710' => 1. ParkedCall(default,710) [res_parking/default]
  34. '711' => 1. ParkedCall(default,711) [res_parking/default]
  35. '712' => 1. ParkedCall(default,712) [res_parking/default]
  36. '713' => 1. ParkedCall(default,713) [res_parking/default]
  37. '714' => 1. ParkedCall(default,714) [res_parking/default]
  38. '715' => 1. ParkedCall(default,715) [res_parking/default]
  39. '716' => 1. ParkedCall(default,716) [res_parking/default]
  40. '717' => 1. ParkedCall(default,717) [res_parking/default]
  41. '718' => 1. ParkedCall(default,718) [res_parking/default]
  42. '719' => 1. ParkedCall(default,719) [res_parking/default]
  43. '720' => 1. ParkedCall(default,720) [res_parking/default]
  44.  
  45. [ Context 'demo' created by 'pbx_lua' ]
  46. '1000' => hint: SIP/1000 [pbx_lua]
  47. '1001' => hint: SIP/1001 [pbx_lua]
  48. Alt. Switch => 'Lua/' [pbx_lua]
  49.  
  50. [ Context 'public' created by 'pbx_lua' ]
  51. Alt. Switch => 'Lua/' [pbx_lua]
  52.  
  53. [ Context 'local' created by 'pbx_lua' ]
  54. Alt. Switch => 'Lua/' [pbx_lua]
  55.  
  56. [ Context 'ael-builtin-h-bubble' created by 'pbx_ael' ]
  57. 'h' => 1. Goto(9991) [pbx_ael]
  58. 9991. Set(~~parentcxt~~=${STACK_PEEK(1,c,1)}) [pbx_ael]
  59. 9992. GotoIf($["${~~parentcxt~~}"=""]?9996) [pbx_ael]
  60. 9993. GotoIf(${DIALPLAN_EXISTS(${~~parentcxt~~},h,1)}?9994:9996) [pbx_ael]
  61. 9994. StackPop() [pbx_ael]
  62. 9995. Goto(${~~parentcxt~~},h,1) [pbx_ael]
  63. 9996. NoOp() [pbx_ael]
  64.  
  65. [ Context 'ael-default' created by 'pbx_ael' ]
  66. Include => 'ael-demo' [pbx_ael]
  67.  
  68. [ Context 'ael-demo' created by 'pbx_ael' ]
  69. '#' => 1. Playback(demo-thanks) [pbx_ael]
  70. 2. Hangup() [pbx_ael]
  71. '1000' => 1. Goto(ael-default,s,1) [pbx_ael]
  72. '2' => 1. Background(demo-moreinfo) [pbx_ael]
  73. 2. Goto(s,instructions) [pbx_ael]
  74. '3' => 1. Set(LANGUAGE()=fr) [pbx_ael]
  75. 2. Goto(s,restart) [pbx_ael]
  76. '500' => 1. Playback(demo-abouttotry) [pbx_ael]
  77. 2. Dial(IAX2/guest@misery.digium.com/s@default) [pbx_ael]
  78. 3. Playback(demo-nogo) [pbx_ael]
  79. 4. Goto(s,instructions) [pbx_ael]
  80. '600' => 1. Playback(demo-echotest) [pbx_ael]
  81. 2. Echo() [pbx_ael]
  82. 3. Playback(demo-echodone) [pbx_ael]
  83. 4. Goto(s,instructions) [pbx_ael]
  84. '8500' => 1. VoicemailMain() [pbx_ael]
  85. 2. Goto(s,instructions) [pbx_ael]
  86. 'i' => 1. Playback(invalid) [pbx_ael]
  87. 's' => 1. Wait(1) [pbx_ael]
  88. 2. Answer() [pbx_ael]
  89. 3. Set(TIMEOUT(digit)=5) [pbx_ael]
  90. 4. Set(TIMEOUT(response)=10) [pbx_ael]
  91. [restart] 5. Background(demo-congrats) [pbx_ael]
  92. [instructions] 6. MSet(x=$[0]) [pbx_ael]
  93. 7. GotoIf($[ ${x} < 3]?8:12) [pbx_ael]
  94. 8. Background(demo-instruct) [pbx_ael]
  95. 9. WaitExten() [pbx_ael]
  96. 10. MSet(x=$[${x} + 1]) [pbx_ael]
  97. 11. Goto(7) [pbx_ael]
  98. 12. NoOp(Finish for_ael-demo_3) [pbx_ael]
  99. 't' => 1. Goto(#,1) [pbx_ael]
  100. '_1234' => 1. Gosub(ael-std-exten-ael,~~s~~,1(${EXTEN}, "IAX2")) [pbx_ael]
  101.  
  102. [ Context 'ael-std-exten-ael' created by 'pbx_ael' ]
  103. 'a' => 1. VoiceMailMain(${ext}) [pbx_ael]
  104. 2. Return() [pbx_ael]
  105. 'sw_1_' => 10. Goto(sw_1_.,10) [pbx_ael]
  106. 'sw_1_BUSY' => 10. Voicemail(${ext},b) [pbx_ael]
  107. 11. Goto(~~s~~,7) [pbx_ael]
  108. '~~s~~' => 1. MSet(LOCAL(ext)=${ARG1}) [pbx_ael]
  109. 2. MSet(LOCAL(dev)=${ARG2}) [pbx_ael]
  110. 3. MSet(LOCAL(~~EXTEN~~)=${EXTEN}) [pbx_ael]
  111. 4. MSet(LOCAL(~~EXTEN~~)=${~~EXTEN~~}) [pbx_ael]
  112. 5. Dial(${dev}/${ext},20) [pbx_ael]
  113. 6. Goto(sw_1_${DIALSTATUS},10) [pbx_ael]
  114. 7. NoOp(Finish switch_ael-std-exten-ael_1) [pbx_ael]
  115. 8. Return() [pbx_ael]
  116. '_sw_1_.' => 10. Voicemail(${ext},u) [pbx_ael]
  117. 11. Goto(~~s~~,7) [pbx_ael]
  118. Include => 'ael-builtin-h-bubble' [pbx_ael]
  119.  
  120. [ Context 'ael-local' created by 'pbx_ael' ]
  121. Include => 'ael-default' [pbx_ael]
  122. Include => 'ael-trunklocal' [pbx_ael]
  123. Include => 'ael-iaxtel700' [pbx_ael]
  124. Include => 'ael-trunktollfree' [pbx_ael]
  125. Include => 'ael-iaxprovider' [pbx_ael]
  126. Ignore pattern => '9' [pbx_ael]
  127.  
  128. [ Context 'ael-longdistance' created by 'pbx_ael' ]
  129. Include => 'ael-local' [pbx_ael]
  130. Include => 'ael-trunkld' [pbx_ael]
  131. Ignore pattern => '9' [pbx_ael]
  132.  
  133. [ Context 'ael-international' created by 'pbx_ael' ]
  134. Include => 'ael-longdistance' [pbx_ael]
  135. Include => 'ael-trunkint' [pbx_ael]
  136. Ignore pattern => '9' [pbx_ael]
  137.  
  138. [ Context 'ael-trunktollfree' created by 'pbx_ael' ]
  139. '_91800NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  140. '_91866NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  141. '_91877NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  142. '_91888NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  143.  
  144. [ Context 'ael-trunklocal' created by 'pbx_ael' ]
  145. '_9NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  146.  
  147. [ Context 'ael-trunkld' created by 'pbx_ael' ]
  148. '_91NXXNXXXXXX' => 1. Gosub(ael-dundi-e164,~~s~~,1(${EXTEN:1})) [pbx_ael]
  149. 2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  150. Include => 'ael-dundi-e164-lookup' [pbx_ael]
  151.  
  152. [ Context 'ael-trunkint' created by 'pbx_ael' ]
  153. '_9011.' => 1. Gosub(ael-dundi-e164,~~s~~,1(${EXTEN:4})) [pbx_ael]
  154. 2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
  155. Include => 'ael-dundi-e164-lookup' [pbx_ael]
  156.  
  157. [ Context 'ael-iaxprovider' created by 'pbx_ael' ]
  158.  
  159. [ Context 'ael-iaxtel700' created by 'pbx_ael' ]
  160. '_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO-AEL}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_ael]
  161.  
  162. [ Context 'ael-dundi-e164' created by 'pbx_ael' ]
  163. '~~s~~' => 1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael]
  164. 2. Goto(${exten},1) [pbx_ael]
  165. 3. Return() [pbx_ael]
  166. Include => 'ael-builtin-h-bubble' [pbx_ael]
  167.  
  168. [ Context 'ael-dundi-e164-lookup' created by 'pbx_ael' ]
  169. Include => 'ael-dundi-e164-local' [pbx_ael]
  170. Include => 'ael-dundi-e164-switch' [pbx_ael]
  171.  
  172. [ Context 'ael-dundi-e164-switch' created by 'pbx_ael' ]
  173. Alt. Switch => 'DUNDi/e164' [pbx_ael]
  174.  
  175. [ Context 'ael-dundi-e164-local' created by 'pbx_ael' ]
  176. Include => 'ael-dundi-e164-canonical' [pbx_ael]
  177. Include => 'ael-dundi-e164-customers' [pbx_ael]
  178. Include => 'ael-dundi-e164-via-pstn' [pbx_ael]
  179.  
  180. [ Context 'ael-dundi-e164-via-pstn' created by 'pbx_ael' ]
  181.  
  182. [ Context 'ael-dundi-e164-customers' created by 'pbx_ael' ]
  183.  
  184. [ Context 'ael-dundi-e164-canonical' created by 'pbx_ael' ]
  185.  
  186. -= 53 extensions (100 priorities) in 27 contexts. =-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement