Strange, Matt. I have this setup here at home and I just have a [pstn]
context for incoming on the landline; it looks like this:
[pstn]
exten => s,1,Wait(30)
And that's it. The landline answering machine picks it up before the 30
seconds are up, so Asterisk never gets the call. Now...mind you, it
WILL do a CLID lookup as soon as it rings, and that's handy. My context
actually looks like:
[pstn]
exten => s,1,agi,calldb_handle|${CALLERIDNAME}|${CALLERIDNUM}|${UNIQUEID}
exten => s,2,agi,call_notify|${CALLERIDNAME}|${CALLERIDNUM}|landline
exten => s,3,Wait(30)
This actually gets the callerid, does some database work with it,
notifies me via AIM that I have an incoming call and from whom, and then
waits. But it works the same as above.
Nathan
Matt 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!)
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
-------------------------------------
Nathan E. Pralle
Give the director a serpent deflector.
www.nathanpralle.com
-------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users