Ronald Wiplinger
2006-Aug-22 04:43 UTC
[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
Gotoif($["${ISNULL(${CALLERID(number)})}" = "1"]?ask4cardnum:doagi_astcc) :-)>-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@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 >