[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?

Time Bandit timebandit001 at gmail.com
Tue Jun 14 11:38:02 MST 2005


On 6/14/05, Matt <mhoppes at gmail.com> wrote:
> Hi,
> What do I need to do to get asterisk to NOT pickup a Zap channel when
> it rings?  The channel in question is used for outbound calls only,
> and all incoming calls are answered by an analog phone elsewhere in
> the building that does not run through asterisk... so.. either make it
> not answer.. or make it delay for like 90 seconds.. I've tried
> wait's.. but it still seems to pickup the channel (even without an
> answer!)

Just put that line in a context with just one line :

[from-pstn-noanswer]
exten => s,1,Hangup

That works for me

If you want to record the Caller ID in the CDR, do it like this :

[from-pstn-noanswer]
exten => s,1,Wait,3   ; Wait 3 seconds, to get callerid
exten => s,2,Hangup

hth



More information about the asterisk-users mailing list