помогает:
Код: Выделить всё
CLI> dialplan show 333@tests
[ Context 'tests' created by 'pbx_config' ]
'333' => 1. Set(TIME=${STRFTIME(${EPOCH},,%d-%m-%Y_%H:%M:%S)}) [pbx_config]
2. NoOp(${TIME}) [pbx_config]
3. Hangup() [pbx_config]
-= 1 extension (3 priorities) in 1 context. =-
CLI> channel originate Local/333@tests extension
-- Executing [333@tests:1] Set("Local/333@tests-00000065;2", "TIME=26-08-2014_08:49:17") in new stack
-- Executing [333@tests:2] NoOp("Local/333@tests-00000065;2", "26-08-2014_08:49:17") in new stack
-- Executing [333@tests:3] Hangup("Local/333@tests-00000065;2", "") in new stack
== Spawn extension (tests, 333, 3) exited non-zero on 'Local/333@tests-00000065;2'