Re: [Asterisk-Users] Extensions.conf?

2004-10-11 Thread Seth Remington
On Mon, 2004-10-11 at 13:57, Jeff Owen wrote: > Iâm in need of a pointerâ. > > > > If I want to have based on a caller id, allow incoming calls to be > prompted for a âpinâ then allow the caller to call back out another > available line to the number dialed after the âpinâ was entered, how > wo

Re: [Asterisk-Users] Extensions.conf?

2004-10-11 Thread Steven Critchfield
On Mon, 2004-10-11 at 13:57 -0400, Jeff Owen wrote: > I’m in need of a pointer…. > > If I want to have based on a caller id, allow incoming calls to be > prompted for a “pin” then allow the caller to call back out another > available line to the number dialed after the “pin” was entered, how > wou

Re: [Asterisk-Users] Extensions.conf?

2004-10-11 Thread Leif Madsen
On Mon, 11 Oct 2004 13:57:10 -0400, Jeff Owen <[EMAIL PROTECTED]> wrote: > If I want to have based on a caller id, Shouldn't filter on callerID since you can spoof it :) > allow incoming calls to be prompted > for a "pin" then allow the caller to call back out another available line to > the num

Re: [Asterisk-Users] extensions.conf

2004-08-23 Thread Steven Critchfield
On Mon, 2004-08-23 at 09:40, Steve Maroney wrote: > Hey guys, > > Is there a way to make asterisk return the calling point after the last > command is completed in a context? The goto statement doesn't seem to work > as I expected it too. Goto is a unconditional jump. If you expected anything els

Re: [Asterisk-Users] extensions.conf

2004-08-23 Thread Michael George
On Mon, Aug 23, 2004 at 09:40:54AM -0500, Steve Maroney wrote: > For Example: > > [iax-demo] > exten => s,1,Playback(demo-abouttotry) > exten => s,2,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED]) > exten => s,3,Playback(demo-nogo) > > > [some-menu] > exten => s,1,Playback(Some-file) > exten => s

RE: [Asterisk-Users] extensions.conf

2004-09-16 Thread Nick Barnes
Steven suggested: > You can accomplish your intended function by using either > Macros, channel variables, or an include. And one more way to do it (just to show how flexible Asterisk is): --- [iax-demo] exten => s,1,Playback(demo-abouttotry) exten => s,2,Dial(IAX2/[EMAIL

Re: [Asterisk-Users] extensions.conf

2006-06-13 Thread Moises Silva
No limit in code imposed. Not sure about performance penalty for a file that big, have you considered using ARA (Asterisk Realtime Architecture)? On 13 Jun 2006 21:06:52 +0200, andrutto <[EMAIL PROTECTED]> wrote: Hi Does anyone know how big extensions.conf can be? I am trying to set up Asteris

RE: [Asterisk-Users] extensions.conf

2006-06-13 Thread Douglas Garstang
> -Original Message- > From: Moises Silva [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 1:46 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] extensions.conf > > > No limit in code imposed. Not sure about

Re: [Asterisk-Users] extensions.conf

2006-06-13 Thread Jean-Michel Hiver
Douglas Garstang a écrit : -Original Message- From: Moises Silva [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 1:46 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] extensions.conf No limit in code imposed. Not sure about

Re: [Asterisk-Users] extensions.conf

2006-06-13 Thread trixter aka Bret McDanel
On Wed, 2006-06-14 at 00:50 +0400, Jean-Michel Hiver wrote: > Actually i've done 50,000+ line dialplans using my Asterisk::LCR > dialplan generator, and asterisk has been just fine with it. I have you beat, I have done over 500k when loading my country list that I no longer maintain which is now

Re: [asterisk-users] Extensions.conf

2019-02-11 Thread Antony Stone
On Monday 11 February 2019 at 14:14:16, Susan Ruiz wrote: > how to configure sip did from with asterisk? 1. Create a trunk in sip.conf, tell it the context to send calls to. 2. Create that context in extensions.conf, telling it how you want to handle the calls. If you need further details or g

Re: [Asterisk-Users] extensions.conf issue

2003-09-02 Thread Brian West
Try System("/usr/local/bin/hetest 01 on") bkw On Tue, 2 Sep 2003, Josh Edwards wrote: > Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on > exten => 9,

Re: [Asterisk-Users] extensions.conf issue

2003-09-02 Thread Steven Critchfield
On Tue, 2003-09-02 at 14:54, Josh Edwards wrote: > Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on > exten => 9,4,system,/usr/local/bin/hetest 04 on > e

Re: [Asterisk-Users] extensions.conf issue

2003-09-02 Thread Josh Edwards
Nothing, it is a shell script that runs another program. do I need to have it return something? Josh >From: Steven Critchfield <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [Asterisk-Users] extensions.conf issue >Date: Tue, 02 Se

Re: [Asterisk-Users] extensions.conf issue

2003-09-02 Thread Steven Critchfield
chfield > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Re: [Asterisk-Users] extensions.conf issue > >Date: Tue, 02 Sep 2003 15:11:34 -0500 > > > >On Tue, 2003-09-02 at 14:54, Josh Edwards wrote: > > > Question below,

Re: [Asterisk-Users] extensions.conf issue

2003-09-02 Thread Martin Pycko
try system,"/usr 01 on" or system("/usr .. on") Martin On Tue, 2 Sep 2003, Josh Edwards wrote: > Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on

Re: [Asterisk-Users] extensions.conf sorting

2005-01-02 Thread Kevin P. Fleming
Adi Linden wrote: This page on voip-info.org describes how it is possible to affect the sort order of patterns in extensions.conf. What is doesn't explain is how asterisk really does sort patterns. How does thi

Re: [asterisk-users] extensions.conf programming?

2008-09-04 Thread Mark Michelson
Ken D'Ambrosio wrote: > Hey, all. I haven't really gotten deep into Asterisk since 1.0.x, and I'm > afraid I've forgotten a fair bit. One big thing that I've forgotten is > the syntax, etc., for extensions.conf. Where do I find that? I'm looking > for stuff about commands, syntax for commands,

Re: [asterisk-users] extensions.conf programming?

2008-09-04 Thread Darren Sessions
A cheaper alternative would be the voip wiki. http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf _ Darren Sessions [EMAIL PROTECTED] http://www.darrensessions.com _ On Sep 4, 2008, at 12:13 PM, Mark Mi

Re: [asterisk-users] extensions.conf programming?

2008-09-04 Thread Lee, John (Sydney)
> A cheaper alternative would be the voip wiki. > http://www.voip-info.org/tiki- > index.php?page=Asterisk%20config%20extensions.conf Unfortunately, as advised by other asterisk users, http://www.voip-info.org is sometimes really not that up-to-date. However, that does not mean that we should giv

Re: [asterisk-users] extensions.conf strangeness

2006-09-28 Thread Eric \"ManxPower\" Wieling
Brian Candler wrote: Hello, I have an anomoly that I am unable to explain. My entire extensions.conf is attached. You can see that the [from-sip] and [internal] dial plans are identical, each including 4 other contexts in the same order: [internal] include => extensions include => outbound inc

Re: [asterisk-users] extensions.conf strangeness

2006-09-28 Thread Brian Candler
On Thu, Sep 28, 2006 at 09:44:07AM -0500, Eric ManxPower Wieling wrote: > You need the [general] and [global] sections Well, if you read the attachment, you would see that I had a [general] section: [general] autofallthrough=no In what way would adding an empty [global] section alter the anomoly

Re: [asterisk-users] extensions.conf strangeness

2006-09-29 Thread Eric \"ManxPower\" Wieling
Not having a [globals] section (even if it is empty) has caused Asterisk to screw things up in the past. I think it causes contexts to not be found. Brian Candler wrote: On Thu, Sep 28, 2006 at 09:44:07AM -0500, Eric ManxPower Wieling wrote: You need the [general] and [global] sections Well

Re: [asterisk-users] extensions.conf strangeness

2006-09-29 Thread Michael Neuhauser
On Thu, 2006-09-28 at 15:05 +0100, Brian Candler wrote: > I have an anomoly that I am unable to explain. > ... > > [invalid] > exten => _X!,1,Answer() > exten => _X!,2,Background(pbx-invalid) > > [test] > exten => 611,1,Answer() > exten => 611,2,Playback(hello-world) > exten => 611,3,Hangup() > >

Re: [asterisk-users] extensions.conf strangeness

2006-09-29 Thread Brian Candler
On Fri, Sep 29, 2006 at 07:49:00PM +0200, Michael Neuhauser wrote: > The order of include statements is important in 1.2, I don't know if > this still holds for trunk/1.4. Could you please try to include the > 'invalid' context as the last one (i.e., AFTER "include => test", not > before) in both i

Re: [asterisk-users] extensions.conf strangeness

2006-10-01 Thread Marco Mouta
[invalid]> exten => _X!,1,Answer()> exten => _X!,2,Background(pbx-invalid)Are you sure that your invalid context is correctly written?I've never heard about this pattern match _X!As far as i know the wild card is the "." So your invalid context should be: [invalid]exten => _X.,1,Answer() exten =>

Re: [asterisk-users] extensions.conf strangeness

2006-10-02 Thread Brian Candler
On Sun, Oct 01, 2006 at 03:55:45PM +0100, Marco Mouta wrote: > >[invalid] >> exten => _X!,1,Answer() >> exten => _X!,2,Background(pbx-invalid) >Are you sure that your invalid context is correctly written? >I've never heard about this pattern match _X! >As far as i know the

Re: [Asterisk-Users] extensions.conf - redundancy removal

2005-01-28 Thread Steven Critchfield
On Sat, 2005-01-29 at 17:28 +1100, Edwin Groothuis wrote: > The number 9335 3510 is sent by the telco. > The number 1414 02 9335 3510 is sent by an PABX. > The number 02 9335 3510 is the one which is the real telephone number: > > exten => 93353510,1,Macro(call-local-sip,edwin,02${EXT

Re: [Asterisk-Users] extensions.conf - redundancy removal

2005-01-28 Thread Robert Jackson
Edwin Groothuis wrote: The number 9335 3510 is sent by the telco. The number 1414 02 9335 3510 is sent by an PABX. The number 02 9335 3510 is the one which is the real telephone number: exten => 93353510,1,Macro(call-local-sip,edwin,02${EXTEN}) exten => 0293353510,1,Macro(call-local-si

Re: [Asterisk-Users] extensions.conf - redundancy removal

2005-01-28 Thread Robert Jackson
Steven Critchfield wrote: On Sat, 2005-01-29 at 17:28 +1100, Edwin Groothuis wrote: The number 9335 3510 is sent by the telco. The number 1414 02 9335 3510 is sent by an PABX. The number 02 9335 3510 is the one which is the real telephone number: exten => 93353510,1,Macro(call-local-si

Re: [Asterisk-Users] extensions.conf dial plan

2005-05-02 Thread Scott Henderson
Here isa quick example, this rings the reception only for 10s and then rings reception and another phone for 15s and then finally the voicemail. ; Reception exten => 8900,1,Dial(SIP/crv_reception,10,Ttr); SIP - Reception exten => 8900,2,Dial(SIP/crv_reception&SIP/gayle,15,Ttr) exten =

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-02 Thread Brian West
In my opinion the dialplan isn't where that logic belongs. /b On Oct 3, 2007, at 12:32 AM, Yehavi Bourvine +972-8-9489444 <[EMAIL PROTECTED] > wrote: > Hello, > > I see that most people are using the extensions.conf syntax (most > of the > examples and questions here use that syntax). recen

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Garth van Sittert
Where would you suggest all the logic goes Brian? Garth Garth van Sittert BSc (Physics & Computer Science) - Main: 08600 BITCO Phone: +27 (0)11 875 6900 Fax:+27 (0)11 875 6901 Mobile: +27 (0)83 791 6662 Email: [EMAIL PROTECTED] MSN:[EMAIL PROTECTED] Web:www.bitco.c

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Brian West
You have various scripting languages things like that can go in! /b On Oct 3, 2007, at 4:12 AM, Garth van Sittert wrote: > Where would you suggest all the logic goes Brian? > > Garth > > Garth van Sittert > BSc (Physics & Computer Science) > - > Main: 08600 BITCO > Phone: +27 (0

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Lee Jenkins
Yehavi Bourvine +972-8-9489444 wrote: > Hello, > > I see that most people are using the extensions.conf syntax (most of the > examples and questions here use that syntax). recently I've translated all my > dial plan to AEL syntax and I find it much easier, especially when you need > IFs. > >

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Anthony Francis
Lee Jenkins wrote: > Yehavi Bourvine +972-8-9489444 wrote: > >> Hello, >> >> I see that most people are using the extensions.conf syntax (most of the >> examples and questions here use that syntax). recently I've translated all my >> dial plan to AEL syntax and I find it much easier, especia

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Jon Schøpzinsky
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian West Sent: 3. oktober 2007 15:18 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] extensions.conf vs. AEL You have various scripting languages things like that can go in

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Eric \"ManxPower\" Wieling
> Let us not forget that AEL cannot be stored in a database therefore > rendering you unable to utilize realtime. AEL converted into standard extensions.conf syntax in the dialplan. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Brian West
On Oct 3, 2007, at 9:39 AM, Jon Schøpzinsky wrote: Wouldnt that take a very large portion of datapower, to startup the parsers and such, instead of having the whole dialplan natively in Asterisk. We always try to do as much as possible in dialplan, so that we are not reliant on external

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Doug Lytle
Lee Jenkins wrote: >>Why most people don't use it? Am I missing something? >> I think it looks too much like C. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." ___

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Anthony Francis
Eric "ManxPower" Wieling wrote: >> Let us not forget that AEL cannot be stored in a database therefore >> rendering you unable to utilize realtime. >> > > AEL converted into standard extensions.conf syntax in the dialplan. > > Doesn't this render having used AEL pointless? -- Thank you

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Brian West
Its just a different way to express the same thing in a more fluid way. /b On Oct 3, 2007, at 10:33 AM, Anthony Francis wrote: Doesn't this render having used AEL pointless? ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- as

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Steve Totaro
To each his own. I like the flat files personally, they are more fluid to me. Thanks, Steve Brian West wrote: > Its just a different way to express the same thing in a more fluid way. > /b > > On Oct 3, 2007, at 10:33 AM, Anthony Francis wrote: > >> Doesn't this render having used AEL pointless

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Brian West
I'm growing fond of XML. /b On Oct 3, 2007, at 10:39 AM, Steve Totaro wrote: To each his own. I like the flat files personally, they are more fluid to me. Thanks, Steve ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- as

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-03 Thread Steve Murphy
On Wed, 2007-10-03 at 09:33 -0600, Anthony Francis wrote: > > Eric "ManxPower" Wieling wrote: > >> Let us not forget that AEL cannot be stored in a database therefore > >> rendering you unable to utilize realtime. > >> > > > > AEL converted into standard extensions.conf syntax in the dialpla

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-04 Thread Barzilai Spinak
All this discussion is pointless. As pointless as the discussion of assembly versus high-level languages decades ago. Except most people rooting for "extension.conf" don't even have the technical and conceptual amplitude to understand what they are talking about... they just want some telephony

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-04 Thread Tilghman Lesher
On Thursday 04 October 2007 07:07:47 Barzilai Spinak wrote: > All this discussion is pointless. As pointless as the discussion of > assembly versus high-level languages decades ago. As one of the main architects, I don't find this discussion pointless. My personal opinion of AEL is that it's comi

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Tony Mountifield
In article <[EMAIL PROTECTED]>, Tilghman Lesher <[EMAIL PROTECTED]> wrote: > On Thursday 04 October 2007 07:07:47 Barzilai Spinak wrote: > > All this discussion is pointless. As pointless as the discussion of > > assembly versus high-level languages decades ago. > > As one of the main architects,

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Steve Murphy
On Fri, 2007-10-05 at 09:17 +, Tony Mountifield wrote: > In article <[EMAIL PROTECTED]>, > Tilghman Lesher <[EMAIL PROTECTED]> wrote: > > On Thursday 04 October 2007 07:07:47 Barzilai Spinak wrote: > > > All this discussion is pointless. As pointless as the discussion of > > > assembly versus h

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Michael Collins
> I just got the 2nd edition Asterisk book from O'Reilly, and was surprised > to find nothing in there about AEL, except a mention of extensions.ael on > page 471. > This is too bad. A preliminary chapter, an intro into AEL, why it's valuable, etc. would have been very welcome. Even an appendix

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Stephen Bosch
Michael Collins wrote: >> I just got the 2nd edition Asterisk book from O'Reilly, and was > surprised >> to find nothing in there about AEL, except a mention of extensions.ael > on >> page 471. >> > > This is too bad. A preliminary chapter, an intro into AEL, why it's > valuable, etc. would have

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Jared Smith
On Fri, 2007-10-05 at 09:17 +, Tony Mountifield wrote: > I just got the 2nd edition Asterisk book from O'Reilly, and was surprised > to find nothing in there about AEL, except a mention of extensions.ael on > page 471. That's because we were rushed on the book, and none of the authors has lear

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Jared Smith
On Fri, 2007-10-05 at 08:40 -0700, Michael Collins wrote: > This is too bad. A preliminary chapter, an intro into AEL, why it's > valuable, etc. would have been very welcome. Even an appendix of a few > pages with examples and references to on-line documentation would have > been helpful. I don'

Re: [asterisk-users] extensions.conf vs. AEL

2007-10-05 Thread Michael Collins
> You know, you don't have to wait for the 3rd edition... you could always > write something yourself and post it on the web, or join the (mostly > dormant, unfortunately) Asterisk Documentation Project. :-) > > -Jared Well, I could, if I _could_! :) I was hoping to learn AEL from the new book..

Re: [asterisk-users] extensions.conf #include behaviour

2007-04-19 Thread Tzafrir Cohen
On Thu, Apr 19, 2007 at 11:56:18AM +0100, Chris Bagnall wrote: > Greetings list, > > A quick question regarding extensions.conf #include behaviour if I may. I'm > sure someone will know the answer off the top of their head... > > How does asterisk handle "overloading" of contexts. For example, s

Re: [asterisk-users] extensions.conf / test DID

2013-04-08 Thread A J Stiles
On Monday 08 April 2013, Thomas Perron wrote: > I am trying to make sure my DID and SIP account details are working > properly and engaging the extensions.conf and dial plan. > > I have a successful SIP session registered: > > Connected to Asterisk 11.3.0 currently running on Asterisk (pid = 922)

Re: [asterisk-users] extensions.conf / test DID

2013-04-08 Thread Jacob . E . Miles
I am trying to make sure my DID and SIP account details are working properly and engaging the extensions.conf and dial plan. I have a successful SIP session registered: Connected to Asterisk 11.3.0 currently running on Asterisk (pid = 922) Asterisk*CLI> sip show registry Host

Re: [asterisk-users] extensions.conf / test DID

2013-04-08 Thread Satish Barot
On Mon, Apr 8, 2013 at 4:26 PM, A J Stiles wrote: > On Monday 08 April 2013, Thomas Perron wrote: > > I am trying to make sure my DID and SIP account details are working > > properly and engaging the extensions.conf and dial plan. > > > > I have a successful SIP session registered: > > > > Connect

Re: [asterisk-users] extensions.conf / test DID

2013-04-08 Thread Doug Lytle
>> I don't think s extension will work on SIP channel. s extension is a >> catch-all extension for Analog calls Console output would be useful. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safet

Re: [asterisk-users] extensions.conf / test DID

2013-04-08 Thread Steve Edwards
On Mon, 8 Apr 2013, Thomas Perron wrote: I am trying to make sure my DID and SIP account details are working properly and engaging the extensions.conf and dial plan. If you jack up logging, you may see a message on the console like: looking for x in y where x is the extension and y i

Re: [asterisk-users] extensions.conf [General] settings

2022-08-22 Thread Antony Stone
On Monday 22 August 2022 at 18:55:08, List Support wrote: > Hi > > Le 22/08/2022 à 17:16, Antony Stone a écrit : > > Hi. > > > > Is there any way to find out the values of variables set in the [General] > > section of extensions.conf from the Asterisk CLI (not from inside the > > dialplan, I jus

Re: [asterisk-users] extensions.conf [General] settings

2022-08-22 Thread Sean Bright
On 8/22/2022 11:16 AM, Antony Stone wrote: > Is there any way to find out the values of variables set in the [General] > section of extensions.conf from the Asterisk CLI No. You could use the `!` command to less or cat extensions.conf, but there is no built-in command for it. Kind regards, Sean

RE: [Asterisk-Users] extensions.conf if/then statement

2004-12-14 Thread Jay Milk
Google for "asterisk gotoif" -- third match down brings you to http://www.voip-info.org/wiki-Asterisk+cmd+GotoIf > -Original Message- > From: VCI Help Desk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 14, 2004 2:43 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion >

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-20 Thread Alan Lord
Vincent wrote: > Hello > > I've never built an IVR before, so I was wondering if someone > could share some code from their extensions.conf that would perform > some of thoses steps: Hi Vincent. Look back a few hours in this mailing list for the message called " IAX2: Incoming calls answ

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-21 Thread Vincent
On Sat, 20 Oct 2007 11:37:56 +0100, Alan Lord <[EMAIL PROTECTED]> wrote: >Look back a few hours in this mailing list for the message called " >IAX2: Incoming calls answered prematurely [RESOLVED]". > >I have included most of how I setup a simple IVR. It wasn't that hard to >do and I have onl

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-21 Thread Alan Lord
Vincent wrote: > On Sat, 20 Oct 2007 11:37:56 +0100, Alan Lord <[EMAIL PROTECTED]> > wrote: >> Look back a few hours in this mailing list for the message called " >> IAX2: Incoming calls answered prematurely[RESOLVED]". >> >> I have included most of how I setup a simple IVR. It wasn't that har

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-22 Thread randulo
On 10/20/07, Vincent <[EMAIL PROTECTED]> wrote: > I've never built an IVR before, so I was wondering if someone > could share some code from their extensions.conf that would perform > some of thoses steps: Try Google for asterisk ivr The first ten sites that come up, including voip-info.o

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-22 Thread Vincent
On Mon, 22 Oct 2007 09:06:00 +0200, randulo <[EMAIL PROTECTED]> wrote: >The first ten sites that come up, including voip-info.org, usually a >good place to look first, each have full examples. Look also for the >background application wich is used to play the file, get input and >jump to the exte

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-22 Thread Erik Anderson
On 10/22/07, Vincent <[EMAIL PROTECTED]> wrote: > > 2008 might be a good year to update "* - The future of telephony" :-) Version 2 of TFOT was just released a few weeks ago... http://downloads.oreilly.com/books/9780596510480.pdf -- Erik Anderson http://andersonfam.org

Re: [asterisk-users] Extensions.conf for basic IVR?

2007-10-22 Thread Vincent
On Mon, 22 Oct 2007 16:41:19 -0500, "Erik Anderson" <[EMAIL PROTECTED]> wrote: >Version 2 of TFOT was just released a few weeks ago... Just had to ask :-) Thanks. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users m

Re: [asterisk-users] extensions.conf pattern match info

2007-11-08 Thread Jason White
On Wed, Nov 07, 2007 at 11:03:30PM -0600, Eric ManxPower Wieling wrote: > I'm not a fan of using the Wiki as a reference, but there really isn't > any info like this in the docs that come with Asterisk. Agreed, except to note that the explanations given in Asterisk: The Future of Telephony serv

Re: [asterisk-users] extensions.conf asterisk 18.8.0 question

2022-01-10 Thread Antony Stone
On Monday 10 January 2022 at 20:03:55, Jerry Geis wrote: > I am trying to run this command: > exten => _4XX,n,System(/usr/bin/rm /tmp/test.incoming.txt) > > From the log: > Executing [402@smvoice-sip:7] System("SIP/103-0018", "/usr/bin/rm > /tmp/test.incoming.txt") in new stack > > > Is "rm

Re: [asterisk-users] extensions.conf asterisk 18.8.0 question

2022-01-11 Thread Michael Englehorn
If you're on RHEL or CentOS or one of its descendants, I would check if SELinux is enforcing (`sestatus` or `cat /etc/selinux/config` and look for "SELINUX=enforcing"), if it is, you'll probably need to create a policy to allow the Asterisk context to execute rm and/or delete files. I use `audit

Re: [asterisk-users] extensions.conf asterisk 18.8.0 question

2022-01-11 Thread Antony Stone
On Tuesday 11 January 2022 at 17:20:44, Michael Englehorn wrote: > If you're on RHEL or CentOS or one of its descendants, Oh, now that reminds me that those systems also tend to alias "rm" to "rm -i", so they won't delete files without confirmation. Irritating in general IMHO, but it might be t

Re: [asterisk-users] extensions.conf asterisk 18.8.0 question

2022-01-14 Thread Mark Murawski
If you're executing /usr/bin/rm directly, shell aliases will have no effect. On 1/11/22 11:29, Antony Stone wrote: On Tuesday 11 January 2022 at 17:20:44, Michael Englehorn wrote: If you're on RHEL or CentOS or one of its descendants, Oh, now that reminds me that those systems also tend to a

Re: [Asterisk-Users] {extensions.conf} Dialing plans with queues....

2005-04-02 Thread Etienne Pretorius
Oh well, found it with some searching Add the menu as a context in queue.conf and then define that menu in extensions.conf. Mind only single digit numbers are valid. Kind Regards Etienne Etienne Pretorius wrote: Hi all, This is the situation: I have a call coming in from the POTS line and

Re: [asterisk-users] extensions.conf HELP with dial plan!!

2008-06-15 Thread Steve Totaro
On Sun, Jun 15, 2008 at 11:09 AM, RoLaNd RoLaNd <[EMAIL PROTECTED]> wrote: > hello all, > im looking for a way to do the following: > > when a SPECIFIC call comes through to asterisk through sip, i want it to b > directed to a pool of specific sip extensions (9 extensions) where asterisk > tries

Re: [asterisk-users] extensions.conf 4 digit dialing question

2006-07-18 Thread Bruce Reeves
I think asterisk will take care of this for you. Asterisk will take the most complete match in a pattern match. For example if you have a local extension 1234567890 and a pattern match _XX then Asterisk will match the 1234567890 to the exact match if it exist, if not then it will got the cl

Re: [asterisk-users] extensions.conf 4 digit dialing question

2006-07-18 Thread William Piper
On 7/18/06, Jerry Bonner <[EMAIL PROTECTED]> wrote: Hi all, Does anyone have any tips on how I would accomplish a plan where if a user dials 4 digits, then prefix 6 digits, then if there is a local extension configured for that number dial it, otherwise send it out another sip gateway ( my pst

Re: [Asterisk-Users] Extensions.conf sending calls to Cisco AS5300

2004-04-05 Thread Fran Boon
On Mon, 2004-04-05 at 22:02, Brian Rathman wrote: > I have my server configured to send to send all PSTN traffic to my Cisco > AS5300 gateway via SIP. I use the following line in the extensions.conf file > to accomplish this: > > exten => _NXXNXX,1,Dial(SIP/[EMAIL PROTECTED],240,T) > > Unfort

Re: [asterisk-users] extensions.conf & sccp.conf howto call external number

2007-02-28 Thread Michiel van Baak
On 23:32, Wed 28 Feb 07, Daniel Schlager wrote: > Hello @List, > > i'm using a Cisco 7970 / 7914 phone with Asterisk 1.4 & sccp > > part of my sccp.conf > > type = 7914 (Cisco 7970 with 7914 phone extension) > autologin = 117 > description = Test > speeddial = 10,Test (10),[EM

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Emanuele Carbone
check the Goto cmd syntax 2010/3/10 Zhang Shukun > hi, All > > one thing confused me a long time. > when i change the extensions.conf file. why not take effects after > restart the asterisk? details as follow: > > my dailplan is : > > [95040] > > exten => _95040X,1,Set(CALLINNUM=${CALLERID(d

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Håkon Nessjøen
On Wed, Mar 10, 2010 at 10:38 AM, Zhang Shukun wrote: > hi, All > > one thing confused me a long time. > when i change the extensions.conf file. why not take effects after > restart the asterisk? details as follow: Type "dialplan reload" in your CLI -- __

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Danny Nicholas
. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Emanuele Carbone Sent: Wednesday, March 10, 2010 3:57 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Extensions.conf changed but not take effect

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Warren Selby
On Wed, Mar 10, 2010 at 3:38 AM, Zhang Shukun wrote: > [95040] > > exten => _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) > exten => _95040X,n(start),Answer > exten => _95040X,n(welcome),Background(${welcomefile},,123) > ... > > exten => i,1,Playback(invalid) > exten => i,2,Goto(${CALLIN

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Philipp von Klitzing
>> exten => _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) > Try setting CALLINNUM to ${EXTEN}. > exten => _95040X,1,Set(CALLINNUM=${EXTEN}). CALLERID(num) instead of CALLINNUM (which is 100% wrong) -- _ -- Bandwidth a

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Warren Selby
On Wed, Mar 10, 2010 at 2:09 PM, Philipp von Klitzing < klitz...@pool.informatik.rwth-aachen.de> wrote: > >> exten => _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) > > > Try setting CALLINNUM to ${EXTEN}. > > exten => _95040X,1,Set(CALLINNUM=${EXTEN}). > > CALLERID(num) instead of CALLINN

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Philipp von Klitzing
>> CALLERID(num) instead of CALLINNUM (which is 100% wrong) > > How is it wrong if he's creating his own variable named CALLINNUM? Maybe you are right, it just looked to me like a typo in for the old and deprecated ${CALLERIDNUM}. Philipp -- _

RE: [Asterisk-Users] Extensions.conf error - 'MaximumInclude level(10) exceeded'

2006-01-13 Thread Douglas Garstang
st - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Extensions.conf error - 'MaximumInclude level(10) exceeded' I have heaps of includes. The limitation is not to the Extensions.conf file, but rather each CONTEXT within the Ex

Re: [asterisk-users] extensions.conf -- what to do when command throwserrors?

2009-01-20 Thread Danny Nicholas
It seems to me that $FAXFILE lives in the 6403 context, not the n, so it would still be useable. If this isn't the case, I'd call an AGI script in the "I" context. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf O

Re: [asterisk-users] extensions.conf -- what to do when command throwserrors?

2009-01-20 Thread Steve Edwards
On Tue, 20 Jan 2009, Danny Nicholas wrote: > It seems to me that $FAXFILE lives in the 6403 context, not the n, so it > would still be useable. If this isn't the case, I'd call an AGI script > in the "I" context. $FAXFILE is a channel variable. It is "useable" in any context, extension and pr

RE: [Asterisk-Users] Extensions.conf error - 'Maximum Include level(10) exceeded'

2006-01-13 Thread Douglas Garstang
Oh Nooo! It looks as if there is a limit of 9 (not 10) maximum #include statments that you can have in extensions.conf. For example, the following extensions.conf causes the error to appear.. [user_3250071] #include "inc/wildwildwest/features.conf" #include "inc/wildwildwest/features.conf"

Re: [Asterisk-Users] Extensions.conf error - 'Maximum Include level(10) exceeded'

2006-01-13 Thread Hadley Rich
On Saturday 14 January 2006 13:07, Douglas Garstang wrote: > This therefore means that is a maximum of 9 #include statements that can be > put into extensions.conf. This is a SERIOUS SERIOUS (how many times can I > say it?) limitation. I thought Digium said that Asterisk was supposed to be > enterp

Re: [Asterisk-Users] Extensions.conf error - 'Maximum Include level(10) exceeded'

2006-01-13 Thread Adrian Carter
I have heaps of includes. The limitation is not to the Extensions.conf file, but rather each CONTEXT within the Extensions.conf file. Its fairly logical, and no problem , since if you need more than 9 includes per context, simply use goto's and jump out to other context's or use AGI first to sele

Re: [asterisk-users] [extensions.conf] Any idea why not working as itshould?

2009-06-23 Thread Danny Nicholas
First of all, this is a PHP problem, not an asterisk one. That being said, could the empty case 2: be causing the problem? Have you run the php from a command line to see what happens (php send_call_notification.phpcli 3)? -Original Message- From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] [extensions.conf] Any idea why not working as itshould?

2009-06-24 Thread Ishfaq Malik
It is a php problem you need to put a break in your case 2 case 2:break; case 3: $mail->AddAddress(User2); $mail->AddAddress(User1); break; Ish Danny Nicholas wrote: > First of all, this is a PHP problem, not an asterisk one. Tha

Re: [asterisk-users] extensions.conf -- what to do when command throws errors?

2009-01-20 Thread Steve Edwards
On Tue, 20 Jan 2009, Ken D'Ambrosio wrote: > Hi, all. I've got app_rxfax going and nicely receiving a fax, which I > then throw to a script, and have it convert it to a PDF and mail it. > Works great... a lot of the time. But a fair bit of the time, rxfax > throws errors, and extensions.conf see

Re: [Asterisk-Users] extensions.conf using TO field and not INVITEfield of SIP header

2004-12-09 Thread Bill
I believe I found the answer to my question and it seems to be working properly. I can use the TO field of the SIP header the way I need to by using the following style in my extensions.conf file. exten => ${RDNIS},1,Wait,1 exten => ${RDNIS},2,Voicemail(${RDNIS}) exten => ${RDNIS},3,Hangup()