Re: [Asterisk-Users] Re: delaying answer for a number of ringsor an amount of time
Right. My original question was about making Asterisk wait a number or rings (or amount of time) before picking up a Zap line. If the rings/time were not reached while the line is still ringing, do nothing. As someone must have already said, it's not a good idea to share lines with asterisk. This said, when we first began to use asterisk, I needed a way to have it NOT pickup when we temporarily had phones in parellel on the same 2 lines. When a line was flagged in the database as /pickup1=0 the dialpan did a 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 above code made asterisk *never* pickup, so it must be possible, though not good practice, to do what you want, unless things have changed in more recent versions. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Re: delaying answer for a number of ringsor an amount of time
On Fri, 2006-02-03 at 12:19 +0100, Wilson Pickett wrote: As someone must have already said, it's not a good idea to share lines with asterisk. Well, yeah, ideally I have the phones on an FSX, but a) I don't have one yet and b) I want to make sure I am happy with running a PBX before I invest in a. :-) The above code made asterisk *never* pickup, so it must be possible, I hope so. I'm going to dig into source to see. :-/ b. -- My other computer is your Microsoft Windows server. Brian J. Murrell signature.asc Description: This is a digitally signed message part ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Re: delaying answer for a number of ringsor an amount of time
No, it will dial like a pass-through simultaneously to sip/iax extensions. If you were to dial out to an analog port though, that would be different. So in essence, you can have all the phones ringing at the same time. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian J. Murrell Sent: Thursday, February 02, 2006 7:46 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Re: delaying answer for a number of ringsor an amount of time On Thu, 2006-02-02 at 15:24 -0700, Bromont Quebec wrote: You need to take that Wait and Answer out of there [from-pots] exten = s,1,Dial(SIP/brianSIP/joe,30) exten = s,2,Voicemail(u2001) exten = s,3,Hangup exten = s,102,Voicemail(b2001) exten = s,103,Hangup exten = h,1,Hangup exten = i,1,Hangup How does doing only that prevent Asterisk from picking up the POTS line for a period of time (like 3 or 4 rings... or 10 seconds or so to give a handset on the same POTS line an opportunity to pick it up first -- think answering machine)? As I understand it removing the Wait and Answer would cause Asterisk to pick the POTS line up right away and dial brian and joe's phones with it. Am I missing something? b. -- My other computer is your Microsoft Windows server. Brian J. Murrell ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Re: delaying answer for a number of ringsor an amount of time
On Thu, 2006-02-02 at 21:22 -0500, [EMAIL PROTECTED] wrote: No, it will dial like a pass-through simultaneously to sip/iax extensions. Right. As I thought. If you were to dial out to an analog port though, that would be different. So in essence, you can have all the phones ringing at the same time. Right. My original question was about making Asterisk wait a number or rings (or amount of time) before picking up a Zap line. If the rings/time were not reached while the line is still ringing, do nothing. This allows a handset *on the same POTS line* as Asterisk to pick up and Asterisk does nothing. But if nobody picks up the POTS line (that asterisk is on too) then it picks up. I essentially want Asterisk to be an answering machine on the line. b. -- My other computer is your Microsoft Windows server. Brian J. Murrell signature.asc Description: This is a digitally signed message part ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users