[Asterisk-Users] Reject a call if no callerID
    Adam Goryachev 
    mailinglists at websitemanagers.com.au
       
    Wed Nov  3 01:24:38 MST 2004
    
    
  
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
    
    
More information about the asterisk-users
mailing list