context Inbound-Dialplan { _. => { NoOp(); Answer(); if ("${CALLERID(NUM):1}" == "1") { NoOp(); } switch ("${CALLERID(NUM):1:4}") { case "248" : case "800" : NoOp(); break; default: break; } Hangup(); } } [ Context 'Inbound-Dialplan' created by 'pbx_ael' ] 'sw_352_' => 10. Goto(sw_352_.,10) [pbx_ael] 'sw_352_"248"' => 10. Goto(sw_352_"800",10) [pbx_ael] 'sw_352_"800"' => 10. NoOp() [pbx_ael] 11. Goto(_.,8) [pbx_ael] '_sw_352_.' => 10. Goto(_.,8) [pbx_ael] '_.' => 1. MSet(~~EXTEN~~=${EXTEN}) [pbx_ael] 2. NoOp() [pbx_ael] 3. Answer() [pbx_ael] 4. GotoIf($["${CALLERID(NUM):1}" == "1"]?5:6) [pbx_ael] 5. NoOp() [pbx_ael] 6. NoOp(Finish if_Inbound-Dialplan_351) [pbx_ael] 7. Goto(sw_352_"${CALLERID(NUM):1:4}",10) [pbx_ael] 8. NoOp(Finish switch_Inbound-Dialplan_352) [pbx_ael] 9. Hangup() [pbx_ael] -= 5 extensions (14 priorities) in 1 context. =-