Check if channel varaible have been set?


How can you check if a channel variable has been set in the dialplan?

I have some logic in the dialplan that must do a ExecIF() if a specific channel variable has been set, otherwise it must do nothing.

Thank you very much. … cmd+GotoIf

looks appropriate for you, particularly the hint about checking for NULL values.


Problem solved.