search for: lbl_do_stuff1

Displaying 1 result from an estimated 1 matches for "lbl_do_stuff1".

Did you mean: lbl_do_stuff2
2011 Oct 05
0
Passive wait in dialplan
...part of my dialplan context [globals] CMD_NOOP=0 CMD_DOSTUFF1=1 CMD_DOSTUFF2=2 CMD_DOSTUFF3=2 [blah-context] same => n,Set(COMMAND=${CMD_NOOP}) same => n,UserEvent(blah-event,CHANNEL:${CHANNEL(name)} same => n(COMMAND_SWITCH),GoToIf($["${COMMAND}"="${CMD_DOSTUFF1}"]?LBL_DO_STUFF1) same => n,GoToIf($["${COMMAND}"="${CMD_DOSTUFF2}"]?LBL_DO_STUFF2) same => n,GoToIf($["${COMMAND}"="${CMD_DOSTUFF3}"]?LBL_DO_STUFF3) same => n,Wait(0.2) same => n,GoTo( regards, Yaroslav