-- Accepting AUTHENTICATED call from 192.168.0.134, requested format = 4, actual format = 4 -- Executing Goto("IAX2/201@192.168.0.134:32841/1", "mainloop|1") in new stack -- Goto (control,mainloop,1) -- Executing DBget("IAX2/201@192.168.0.134:32841/1", "TESTTYPE=test/type") in new stack -- DBget: varname=TESTTYPE, family=test, key=type -- DBget: set variable TESTTYPE to 00 -- Executing Goto("IAX2/201@192.168.0.134:32841/1", "main-00|1") in new stack -- Goto (control,main-00,1) -- Hungup 'IAX2/201@192.168.0.134:32841/1' Book*CLI> show dialplan control [ Context 'control' created by 'pbx_config' ] '100' => 1. Goto(mainloop|1) [pbx_config] '201' => 1. Dial(IAX2/201) [pbx_config] 2. Hangup() [pbx_config] 'main-' => 1. DBPut(test/type=00) [pbx_config] 2. Goto(main-00|1) [pbx_config] 'main-01' => 1. NoOp(at exten ${EXTEN}) [pbx_config] 'mainloop' => 1. DBGet(TESTTYPE=test/type) [pbx_config] 2. Goto(main-${TESTTYPE}|1) [pbx_config] '_3XX' => 1. DBPut(test/type=${EXTEN:1}) [pbx_config] '_4XX' => 1. Dial(Zap/${EXTEN:1}) [pbx_config] 2. Hangup() [pbx_config] '_main-X' => 1. DBPut(test/type=0${EXTEN:5}) [pbx_config] 2. Goto(main-0${EXTEN:5}|1) [pbx_config] '_main-XX' => 1. NoOp(at exten ${EXTEN}) [pbx_config] 2. Wait(20) [pbx_config] 3. Goto(mainloop|1) [pbx_config] '_main-XX.' => 1. DBPut(test/type=${EXTEN:5:2}) [pbx_config] 2. Goto(main-${EXTEN:5:2}|1) [pbx_config]