[asterisk-users] if command for or missing callerid?

Rushowr rushowr at phreaker.net
Tue Aug 22 05:52:47 MST 2006


Gotoif($["${ISNULL(${CALLERID(number)})}" = "1"]?ask4cardnum:doagi_astcc)

:-)


>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com 
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
>Ronald Wiplinger
>Sent: Tuesday, August 22, 2006 7:43 AM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: [asterisk-users] if command for or missing callerid?
>
>I am looking for a way to make a decission in the dialplan if 
>I have a caller id or not.
>
>What I want to do with it:
>
>Call on the PSTN line should either use astcc.agi with the 
>caller-id in place as card number, or asking for the calling 
>card number.
>
>How can I make this "gotoif" ???
>
>bye
>
>Ronald
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>





More information about the asterisk-users mailing list