But now that logic works. However how would you insert that into the dialplan to get it to work or would AGI be better solution?
Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev Sent: Wednesday, November 03, 2004 3:25 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Reject a call if no callerID On Wed, 2004-11-03 at 18:45, Hermann Wecke wrote: > I couldn't think any recipe to reject a call if no callerID is presented. > > PrivacyManager and Zapateller are not an option, as the call will be > answered before I can drop it. I just want to "silent drop" the call: no > callerID, no answer. > > Any ideas? I would imagine a simple gotoif followed by hangup would suffice.... in psuedo code: if (${CALLERID} == "") then hangup else goto(incoming,s,1) fi I am not familiar with gotoif, but "show application gotoif" should help. Regards, Adam _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users