[Asterisk-Users] QUICK QUESTION

Time Bandit timebandit001 at gmail.com
Wed Apr 27 16:05:29 MST 2005


> How can I have asterisk ignore incoming rings so it doesn't answer a
> specific line.  I tried setting up an empty context section but that didn't
> work. 
What I did is this

[incoming-line-noanswer]
exten => s,1,Hangup

Works perfectly

Or, if you want your CDR to have the callerid, do it like this
[incoming-line-noanswer]
exten => s,1,Wait(5) ; wait 5 seconds so CallerID can be grabbed
exten => s,2,Hangup

hth



More information about the asterisk-users mailing list