Sorry its macro I called it a function.<div><br></div><div>This link will be helpful to you</div><div><a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+variables">http://www.voip-info.org/wiki/index.php?page=Asterisk+variables</a></div>
<div><a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+variables"></a><br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 3:13 PM, ABBAS SHAKEEL <span dir="ltr"><<a href="mailto:shakeel.abbas.qau@gmail.com">shakeel.abbas.qau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If you want to check in Console then NOOP can be used .<div>if in case of function call you can check its length if there exists some thing<div>
<div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 3:04 PM, Ishfaq Malik <span dir="ltr"><<a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
Is there any way to check if a variable is set in asterisk? I've had a<br>
look around and can't find a purpose built function for it.<br>
<br>
I'm going to be using it to see if an argument has been passed with a<br>
macro or not (e.g. see if ${ARG3} is set or not)<br>
<br>
Thanks in advance<br>
<br>
Ish<br>
--<br>
Ishfaq Malik<br>
Software Developer<br>
PackNet Ltd<br>
<br>
Office: 0161 660 3062<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>Best Regards<br>Shakeel Abbas<br><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Shakeel Abbas<br><br>
</div>