[asterisk-users] Check if a variable is set

ABBAS SHAKEEL shakeel.abbas.qau at gmail.com
Fri Oct 16 05:13:33 CDT 2009


If you want to check in Console then NOOP can be used .if in case of
function call you can check its length if there exists some thing

On Fri, Oct 16, 2009 at 3:04 PM, Ishfaq Malik <ish at pack-net.co.uk> wrote:

> Hi
>
> Is there any way to check if a variable is set in asterisk? I've had a
> look around and can't find a purpose built function for it.
>
> I'm going to be using it to see if an argument has been passed with a
> macro or not (e.g. see if ${ARG3} is set or not)
>
> Thanks in advance
>
> Ish
> --
> Ishfaq Malik
> Software Developer
> PackNet Ltd
>
> Office:   0161 660 3062
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Best Regards
Shakeel Abbas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091016/0e83ad93/attachment.htm 


More information about the asterisk-users mailing list