Check if channel varaible have been set?

Hi.

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.

voip-info.org/wiki/index.php … cmd+GotoIf

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

Thanks.

Problem solved.