Matt
2005-Jun-14 09:04 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
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!)
Dean Collins
2005-Jun-14 09:13 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
Do a google search this has been asked and answered many times before (I even think on Voip-info that there is an example of the one line of code to change to make this happen). Cheers, Dean> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Matt > Sent: Tuesday, 14 June 2005 12:04 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] Making Asterisk NOT Pickup a Line whenRinging?> > 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
Bryce Chidester
2005-Jun-14 09:16 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
On Jun 14, 2005, at 09:04, 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!)Simply not defining the channel in zaptel/zapata (either or both, but primarily zapata) should do it. If Asterisk doesn't know about the channel, then it won't know it's ringing. Regards, Bryce Chidester Rhino Equipment Corp. bryce@rhinoequipment.com SIP: 305@rhinoequipment.zapto.org +1 (480) 940-1826 x305 IAX: guest@rhinoequipment.zapto.org/305
Andrew Kohlsmith
2005-Jun-14 09:39 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
On Tuesday 14 June 2005 12:04, Matt wrote:> 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,Just don't Answer(). Seems to work for me. I'm not sure why it doesn't for you. Perhaps show us the relevant bits from extensions.conf? -A.
Jerry
2005-Jun-14 09:49 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
> Well voip-info seems to be down. However, a search on google does > bring up info about using Wait(x);... but as I stated.. using that > (even without an answer line) seems to make Asterisk take control of > the line!Apparently you can do this with contexts; I actually _just_ posted a Question for a clarification on this one. (See "Questions about contexts") Basically you aim your inbound Zap channel at either a non-existent context, or a blank context, and Asterisk won't do anything. I'm curious because you say that it "answers" without an Answer line. There are some apps that will automatically answer, but if you are just using wait(x) then there shouldn't be an answer. When you dial into the Zap card, do you hear it answer while watching the console? Thanks, J.
Nathan Pralle
2005-Jun-14 09:51 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
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 -------------------------------------
Mark Brown
2005-Jun-14 10:31 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
As far as I know, turning off fax detection will make the line ring without asterisk answering the line first. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Andrew Kohlsmith Sent: 14 June 2005 17:40 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing? On Tuesday 14 June 2005 12:04, Matt wrote:> 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,Just don't Answer(). Seems to work for me. I'm not sure why it doesn't for you. Perhaps show us the relevant bits from extensions.conf? -A. _______________________________________________ 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
Time Bandit
2005-Jun-14 11:38 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
On 6/14/05, Matt <mhoppes@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
Andrew Kohlsmith
2005-Jun-14 12:02 UTC
[Asterisk-Users] Making Asterisk NOT Pickup a Line when Ringing?
On Tuesday 14 June 2005 14:38, Time Bandit wrote:> [from-pstn-noanswer] > exten => s,1,Wait,3 ; Wait 3 seconds, to get callerid > exten => s,2,HangupNo. You will get multiple entries then if they stay on the line and it rings again after the hangup. Make that Wait() a 30 or 60 second wait to make sure they hang up before the dialplan continues. -A.