Tim Lewis
2005-Jan-13 08:31 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
How do I set asterisk not to answer incoming PSTN POTS calls? I want to be able to use the line for outgoing calls only. -Thanks Tim
Kelly Griffin
2005-Jan-13 08:56 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
Depending on what you have the context of this setup for in your zapata.conf, don't have the following statement in that section of your extensions.conf. exten => s,1,Answer or whatever the CID of this FXO port is as in exten => 4792739992,1,Answer --- Kelly D Griffin Network Engineer Tantella Wireless http://tantella.com 866.815.0717 Voice 479.464.8998 Fax -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tim Lewis Sent: Thursday, January 13, 2005 9:32 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] How to set asterisk NOT to answer incoming lines? How do I set asterisk not to answer incoming PSTN POTS calls? I want to be able to use the line for outgoing calls only. -Thanks Tim _______________________________________________ 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
Andrew Kohlsmith
2005-Jan-13 08:58 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
On January 13, 2005 10:31 am, Tim Lewis wrote:> How do I set asterisk not to answer incoming PSTN POTS calls? I want to > be able to use the line for outgoing calls only.Put it in a context that lacks an Answer(). -A.
Patrick Lidstone (Personal e-mail)
2005-Jan-13 09:08 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
"Kelly Griffin" <kelly.griffin@tantella.com> wrote:> Depending on what you have the context of this setup for in your > zapata.conf, don't have the following statement in that > section of your > extensions.conf. > > exten => s,1,Answer > > or > > whatever the CID of this FXO port is as in > > exten => 4792739992,1,AnswerIn reply to Tim Lewis:> How do I set asterisk not to answer incoming PSTN POTS calls? > I want to > be able to use the line for outgoing calls only.I don't think Kelly's response is correct, at least for TDM FXO boards. I could not find a way of preventing the FXO board grabbing the line when it rang, and subsequent enquiries on this list at the time suggested that it wasn't actually possible - which is a pity, as it means it is impossible to piggy back Asterisk on a POTS line with other auto-answering equipment (e.g. data collection terminals). Patrick
Wilson Pickett
2005-Jan-13 11:18 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
> How do I set asterisk not to answer incoming PSTN POTS calls? I want to > be able to use the line for outgoing calls only.In the conext calls come in on, send them to a do-nothing extension [incoming-PSTN] exten => Goto(do-nothing,s,1) [do-nothing] exten => s,1,AbsoluteTimeout(0) exten => s,2,NoOp("doing nothing: call came if with flag set to noanswer") exten => s,3,Wait(70) exten => t,1,Hangup The reason for the extra context is so you can easily change the GoTo to some test stuff someday. Otherwise, just use do-nothing as incoming context. I know this works because we used it in our business when the regular phones were connected
C F
2005-Jan-13 19:11 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
but did you test this, and it worked for you? if you had a device connected to that pots in front of * it would keep ringing? On Thu, 13 Jan 2005 19:18:32 +0100, Wilson Pickett <spamsucks2005@gmail.com> wrote:> > How do I set asterisk not to answer incoming PSTN POTS calls? I want to > > be able to use the line for outgoing calls only. > In the conext calls come in on, send them to a do-nothing extension > > [incoming-PSTN] > exten => Goto(do-nothing,s,1) > > [do-nothing] > exten => s,1,AbsoluteTimeout(0) > exten => s,2,NoOp("doing nothing: call came if with flag set to noanswer") > exten => s,3,Wait(70) > exten => t,1,Hangup > > The reason for the extra context is so you can easily change the GoTo > to some test stuff someday. Otherwise, just use do-nothing as incoming > context. > > I know this works because we used it in our business when the regular > phones were connected > _______________________________________________ > 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 >
Michiel van Baak
2005-Jan-14 04:54 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
What I did, and what worked is setting the context in zapata.conf to from-ata In the extensions.conf I have defined the extensions I want to route with asterisk, and I left our fax nr out. When a fax comes in * simply tells me it is ignoring the call because there is no extension for the call. [from-ata] exten => ${LINE1},1,Dial(SIP/10,20,Ttr) exten => ${LINE1},2,Dial(SIP/10&SIP/11&SIP/12,20,Ttr) exten => ${LINE2},1,Dial(SIP/13,20,Ttr) exten => ${LINE4},1,Goto,default|s|1 Works like a charm. Met vriendelijke groet, Michiel van Baak Terrazur> ----- Originele Bericht ----- > Van: Eric Wieling aka ManxPower > Aan: C F , Asterisk Users Mailing List - Non-Commercial Discussion > Datum: Friday, 14 January 2005, 05:05 > Onderwerp: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming lines? > > C F wrote: > > I know that according to the docs you are right. Im just asking you > > for a favor, if you have a digium TDM04B test this, and tell me the > > result. When I tested it, it didnt work. > > I let the call ring for 60 seconds. It was never answered. > > fs-1*CLI> > -- Starting simple switch on Zap/1-1 > -- Executing NoOp("Zap/1-1", "5042325606") in new stack > -- Timeout on Zap/1-1 > > _______________________________________________ > 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 >
C F
2005-Jan-15 23:06 UTC
[Asterisk-Users] How to set asterisk NOT to answer incoming lines?
Thanks this finaly worked. On Sun, 16 Jan 2005 18:49:45 +1300, Matt Riddell <matt.riddell@sineapps.com> wrote:> C F wrote: > > Here is the CLI out put, first my config: > > immediate=no > > context = incoming > > channel = 2-4 > > context = default > > channel = 1 > > extensions.conf > > [default] > > include => internaldial > > Remove the include line...people already told you that playback might > answer the line (this includes playback(invalid)). > > -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.sineapps.com/news.php (Daily Asterisk News - html) > http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) >