Re: [asterisk-users] dialplan goto - bad priority

2021-09-06 Thread asterisk
On 9/6/2021 9:22 AM, marek wrote: > hi, > > i have this dialplan > > [incoming] > exten => _X./_+421X,1,noop(cut +421 from CALLER) > exten => _X./_+421X,n,Set(CALLERID(num)=${CALLERID(num):4}) > exten => _X./_+421X,n,goto(${CONTEXT},${EXTEN},1) > exten => _X.,1,noop(main

[asterisk-users] dialplan goto - bad priority

2021-09-06 Thread marek
hi, i have this dialplan [incoming] exten => _X./_+421X,1,noop(cut +421 from CALLER) exten => _X./_+421X,n,Set(CALLERID(num)=${CALLERID(num):4}) exten => _X./_+421X,n,goto(${CONTEXT},${EXTEN},1) exten => _X.,1,noop(main block) exten => _X.,n,noop(main block #2) exten =>

Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-05-18 Thread John Kiniston
Use the ARRAY version of Set. same = n,ExecIf($["A" = "B"]?Set(ARRAY(C,D)=1,2)) On Tue, Apr 21, 2020 at 3:56 AM Administrator wrote: > Hello, > > we want to use something like > > same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) > > Problem is that result gives C=1) & Set(D=2) & ... > >

Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-04-21 Thread Administrator
Le 21/04/2020 à 15:23, Antony Stone a écrit : On Tuesday 21 April 2020 at 12:54:49, Administrator wrote: Hello, we want to use something like same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) Problem is that result gives C=1) & Set(D=2) & ... Is there a possibility to use multiple

Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-04-21 Thread Antony Stone
On Tuesday 21 April 2020 at 12:54:49, Administrator wrote: > Hello, > > we want to use something like > > same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) > > Problem is that result gives C=1) & Set(D=2) & ... > > Is there a possibility to use multiple AND or OR in such a way ? No,

[asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-04-21 Thread Administrator
Hello, we want to use something like same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) Problem is that result gives C=1) & Set(D=2) & ... Is there a possibility to use multiple AND or OR in such a way ? -- Daniel -- _

Re: [asterisk-users] Dialplan reload from AMI

2019-04-20 Thread Telium Technical Support
Does reloading pbx_config ONLY reload the dialplan? Or is something else reloaded too? This sounds like a preferable way to do it From: Ian McMaster [mailto:ian.mcmas...@gmail.com] Sent: Saturday, April 20, 2019 1:19 PM Subject: Dialplan reload from AMI Rather than Action: Command

Re: [asterisk-users] dialplan reload not showing debug info even with debug on (ast 15.5)

2018-07-30 Thread Richard Mudgett
On Sun, Jul 29, 2018 at 10:04 AM, Jonathan H wrote: > OK, many thanks for that. Not sure I see the point of the change, but > at least I can get the info back by changing > > console => notice,warning,error > to > console => notice,warning,error,debug > > That said, dialplan reload seems to show

Re: [asterisk-users] dialplan reload not showing debug info even with debug on (ast 15.5)

2018-07-29 Thread Jonathan H
OK, many thanks for that. Not sure I see the point of the change, but at least I can get the info back by changing console => notice,warning,error to console => notice,warning,error,debug That said, dialplan reload seems to show significantly fewer items than before. I've got loads of

Re: [asterisk-users] dialplan reload not showing debug info even with debug on (ast 15.5)

2018-07-29 Thread Richard Mudgett
On Sat, Jul 28, 2018 at 1:10 PM, Jonathan H wrote: > I've not needed to do a dialplan reload for a while, so I don't know > exactly which version is stopped working, but on 15.5, I'm not seeing > ANY debug info at any debug level. > So I'm not really sure how to find mistakes in the dialplan.

[asterisk-users] dialplan reload not showing debug info even with debug on (ast 15.5)

2018-07-28 Thread Jonathan H
I've not needed to do a dialplan reload for a while, so I don't know exactly which version is stopped working, but on 15.5, I'm not seeing ANY debug info at any debug level. So I'm not really sure how to find mistakes in the dialplan. This is all I get... how do I enable this debug mode to see

Re: [asterisk-users] Dialplan question: Variables in GoTo() ?

2016-03-10 Thread Steve Edwards
On Thu, 10 Mar 2016, A J Stiles wrote: Can you use variables in the target of a GoTo() statement? Yes. Here are a few examples from one of my dialplans: ; invalid template [i](!) exten = i,1,verbose(1,[${EXTEN}@${CONTEXT}]) exten = i,n,

Re: [asterisk-users] Dialplan question: Variables in GoTo() ?

2016-03-10 Thread Joshua Colp
A J Stiles wrote: I can't seem to find a definitive answer on this, and I really don't want to risk breaking a production server to find out; so I am going to try asking this here, and maybe anyone else in the same situation searching the archives sometime in future will find the answer I get.

[asterisk-users] Dialplan question: Variables in GoTo() ?

2016-03-10 Thread A J Stiles
I can't seem to find a definitive answer on this, and I really don't want to risk breaking a production server to find out; so I am going to try asking this here, and maybe anyone else in the same situation searching the archives sometime in future will find the answer I get. Can you use

Re: [asterisk-users] dialplan contexts syntax and terminology

2015-02-21 Thread Mitul Limbani
This one specifically http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-DP-Basics-SECT-3.html#asterisk-DP-Basics-SECT-3.1 On 22-Feb-2015 11:13 AM, thufir hawat.thu...@gmail.com wrote: On Sun, 22 Feb 2015 08:32:26 +0530, Mitul Limbani wrote: READ READ READ I

Re: [asterisk-users] dialplan contexts syntax and terminology

2015-02-21 Thread Mitul Limbani
READ READ READ http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-DP-Basics.html Regards, Mitul Limbani, Business Head, Enterux Solutions Pvt. Ltd. 110 Reena Complex, Opp. Nathani Steel, Vidyavihar (W), Mumbai - 400 086. India http://www.enterux.com/

[asterisk-users] dialplan contexts syntax and terminology

2015-02-21 Thread thufir
I'm looking into the dialplan specifics: tleilax:~ # tleilax:~ # cat /etc/asterisk/extensions.conf [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo TRUNK=DAHDI/r1; Trunk interface

Re: [asterisk-users] dialplan contexts syntax and terminology

2015-02-21 Thread thufir
On Sun, 22 Feb 2015 08:32:26 +0530, Mitul Limbani wrote: READ READ READ I know, I have the 4th edition and I've been reading it. Personally, I find it more general than specific, but I'll go back through that chapter, absolutely. thanks, Thufir --

Re: [asterisk-users] Dialplan for receiving faxes on Asterisk

2015-01-30 Thread Larry Moore
On 30/01/2015 1:25 PM, Simon Humbert wrote: Hi all, It looks like people commonly use this kind of dialplan when receiving faxes on Asterisk, with a jump to extension fax during the Wait() if a fax tone is detected: [start-here] exten = _X.,1,Answer() exten = _X.,n,Wait(n) exten =

[asterisk-users] Dialplan for receiving faxes on Asterisk

2015-01-29 Thread Simon Humbert
Hi all, It looks like people commonly use this kind of dialplan when receiving faxes on Asterisk, with a jump to extension fax during the Wait() if a fax tone is detected: [start-here] exten = _X.,1,Answer() exten = _X.,n,Wait(n) exten = _X.,n,...do stuff... exten = _X.,n,Hangup() exten =

[asterisk-users] dialplan reload context

2014-10-28 Thread Jonas Kellens
Hello, is it possible to reload just a context in stead of the whole dialplan ? I see this on the tracker : https://issues.asterisk.org/jira/browse/ASTERISK-19934 But is it possible in some Asterisk version ? Kind regards, Jonas. --

Re: [asterisk-users] dialplan reload context

2014-10-28 Thread Scott Griepentrog
​Using current svn trunk, that option isn't available. It would appear that the patch from that issue did not get into the code. ​ On Tue, Oct 28, 2014 at 10:22 AM, Jonas Kellens jonas.kell...@telenet.be wrote: Hello, is it possible to reload just a context in stead of the whole dialplan ?

Re: [asterisk-users] dialplan reload context

2014-10-28 Thread Matthew Jordan
On Tue, Oct 28, 2014 at 10:54 AM, Scott Griepentrog sgriepent...@digium.com wrote: ​Using current svn trunk, that option isn't available. It would appear that the patch from that issue did not get into the code. ​ On Tue, Oct 28, 2014 at 10:22 AM, Jonas Kellens jonas.kell...@telenet.be

[asterisk-users] dialplan =how many concurrent calls

2014-07-10 Thread Rafael Visser
Hi guys. Does somebody knows how to get the concurrent calls from the dial plan? Or. How can i control not to run more than n simultaneus agi applications? Thanks in advance. rv -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] dialplan =how many concurrent calls

2014-07-10 Thread Asghar Mohammad
you can use GROUP and GROUP_COUNT n,Set(GROUP()=aname) n,GotoIf($[${GROUP_COUNT(aname)} 8]?${EXTEN},200) 200,Hangup On Thu, Jul 10, 2014 at 3:24 PM, Rafael Visser visser.raf...@gmail.com wrote: Hi guys. Does somebody knows how to get the concurrent calls from the dial plan? Or. How can

Re: [asterisk-users] dialplan =how many concurrent calls

2014-07-10 Thread Rafael Visser
Works fine.. Thanks Asghar! rv 2014-07-10 9:35 GMT-04:00 Asghar Mohammad asghar...@gmail.com: you can use GROUP and GROUP_COUNT n,Set(GROUP()=aname) n,GotoIf($[${GROUP_COUNT(aname)} 8]?${EXTEN},200) 200,Hangup On Thu, Jul 10, 2014 at 3:24 PM, Rafael Visser visser.raf...@gmail.com

[asterisk-users] dialplan changes in middle of call

2014-05-27 Thread Henry Fernandes
Recently, I made a change to our dialplan and reloaded Asterisk. To my surprise, the dialplan was reloaded for calls in progress. This caused a problem because some of the dialplan changes affected some loops and this caused an infinite loop. Is there a way to change this so that reloading

Re: [asterisk-users] dialplan changes in middle of call

2014-05-27 Thread Joshua Colp
Henry Fernandes wrote: Kia ora, Recently, I made a change to our dialplan and reloaded Asterisk. To my surprise, the dialplan was reloaded for calls in progress. This caused a problem because some of the dialplan changes affected some loops and this caused an infinite loop. Is there a way to

Re: [asterisk-users] Dialplan to reach external SIP phone

2014-04-02 Thread Salman Zafar
Hi, If (the other phone is also registered on same asterisk) You just have to Dial(SIP/${EXTEN}) else You need a trunk, or route the call to that equipment(VoIP server) where the other phone(s) is/are registered so that you can bridge both channels.

[asterisk-users] Dialplan to reach external SIP phone

2014-04-01 Thread Meadows Hoa
If I have Asterisk setup with local SIP phones configured but need to call a SIP phone which is not local but actually on another VLAN, what would the dialplan need to look like?   Could the Asterisk dialplan directly call a SIP phone which is not a local phone within its sip.conf and

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-21 Thread Gareth Blades
On 20/08/13 17:48, Gergo Csibra wrote: can I echo this variable ? Like : exten = s,n,NoOp(${LAST_INSERT_ID()}) No, this is a mysql query, so: exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1=${ARG1}, C2=${ARG2}, timestamp=${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}) exten

[asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Jonas Kellens
Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ? exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1=${ARG1}, C2=${ARG2}, timestamp=${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}) I need to know the ID of the newly inserted row.

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Gareth Blades
On 20/08/13 14:53, Jonas Kellens wrote: Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ? exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1=${ARG1}, C2=${ARG2}, timestamp=${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}) I need

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread A J Stiles
On Tuesday 20 August 2013, Jonas Kellens wrote: Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ? exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1=${ARG1}, C2=${ARG2}, timestamp=${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)})

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Gergo Csibra
Tuesday, August 20, 2013, 5:47:24 PM, Gareth wrote: On 20/08/13 14:53, Jonas Kellens wrote: Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ? exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1=${ARG1}, C2=${ARG2},

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Jonas Kellens
On 08/20/2013 06:03 PM, Gergo Csibra wrote: Tuesday, August 20, 2013, 5:47:24 PM, Gareth wrote: On 20/08/13 14:53, Jonas Kellens wrote: Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ? exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Chris Bagnall
On 20/8/13 5:00 pm, A J Stiles wrote: Why not write an AGI script in your favourite language (Perl, Python, PHP, Java all have AGI and MySQL bindings) to perform the INSERT query for you? +1. It would also give you somewhere to perform sanity checks on your ${ARGS} to avoid SQL injection

Re: [asterisk-users] Dialplan MySQL inserted ID

2013-08-20 Thread Gergo Csibra
Tuesday, August 20, 2013, 6:08:19 PM, Jonas wrote: On 08/20/2013 06:03 PM, Gergo Csibra wrote: Tuesday, August 20, 2013, 5:47:24 PM, Gareth wrote: On 20/08/13 14:53, Jonas Kellens wrote: Hello, how can I obtain the inserted ID after having inserted a row with MySQL in the dialplan ?

Re: [asterisk-users] + dialplan

2013-06-11 Thread Jonson Player
Hello Adam, Thank you very much for your info. Regards, Jonson. On Tue, Jun 11, 2013 at 12:34 AM, ad...@3a.hu wrote: Hi, On 06/10/2013 22:26, Jonson Player wrote: Some users of main use + instead of 00 for international dial. Is there any solution for this problem? swap the + sign to

[asterisk-users] + dialplan

2013-06-10 Thread Jonson Player
Hello guys, I looking for some dial plan which can mach on +xxx numbers instead of 00xxx numbers. Some users of main use + instead of 00 for international dial. Is there any solution for this problem? As far as i readed in asterisk is some kind of replacement of characters in dial plan command.

Re: [asterisk-users] + dialplan

2013-06-10 Thread adamk
Hi, On 06/10/2013 22:26, Jonson Player wrote: Some users of main use + instead of 00 for international dial. Is there any solution for this problem? swap the + sign to double zeros if your provider can't handle it ; normal 00 prefix exten = _00ZZXXX.,1,Macro(beforealldials) exten =

[asterisk-users] Dialplan reload not reloading everything

2013-04-23 Thread Brandon Mackie
Good morning, We recently fell back to the most recent build of asterisk 1.8 down from 11.3 and I believe we've crossed some sort of limit for 1.8. Our dialplan is 515723 entries long with 6263 distinct contexts. Both are loaded realtime via odbc (mysql). Previously at the end of a dialplan

Re: [asterisk-users] Dialplan reload not reloading everything

2013-04-23 Thread Rusty Newton
- Original Message - From: Brandon Mackie bmac...@awktane.com We recently fell back to the most recent build of asterisk 1.8 down from 11.3 and I believe we’ve crossed some sort of limit for 1.8. Our dialplan is 515723 entries long with 6263 distinct contexts. Both are loaded

[asterisk-users] Dialplan / check / tool

2013-02-18 Thread Thorsten Göllner
Hi, I am wondering, if there is any tool available, which performs a check for suspicious entries in the dialplan. For example a non existing AGI-Script or a double assigned extension ike that: [context] exten = *100*,1,AGI(test_app.pl) ... exten = 190,1,Answer() ... exten =

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Carlos Alvarez
On Mon, Feb 18, 2013 at 8:11 AM, Thorsten Göllner t...@ovm-group.com wrote: A normal dialplan reload command would echo no warning or something similair. The duplicated extension will cause an error. Something like cannot add extension in line X because it already exists. -- Carlos

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Doug Lytle
A normal dialplan reload command would echo no warning or something similair. Normally I would see these being logged to /var/log/asterisk/messages with a stock Asterisk install. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Steve Edwards
On Mon, 18 Feb 2013, Thorsten Göllner wrote: I am wondering, if there is any tool available, which performs a check for suspicious entries in the dialplan. For example a non existing AGI-Script... I'm just a 1.2 Luddite, but none that I know of. Please feel free to write one. Here are a few

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Christopher Harrington
On Mon, Feb 18, 2013 at 10:54 AM, Steve Edwards asterisk@sedwards.comwrote: ) If the AGI is [...] a compiled executable (C, Fortran, Cobol, assembler, etc.) I'd like to see an AGI written using Fortran or Cobol. -- -Chris Harrington ACSDi Office: 763.559.5800 Mobile Phone: 612.326.4248

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Steven Howes
On 18 Feb 2013, at 17:03, Christopher Harrington wrote: On Mon, Feb 18, 2013 at 10:54 AM, Steve Edwards asterisk@sedwards.com wrote: ) If the AGI is [...] a compiled executable (C, Fortran, Cobol, assembler, etc.) I'd like to see an AGI written using Fortran or Cobol. Don't tempt me

Re: [asterisk-users] Dialplan / check / tool

2013-02-18 Thread Steve Edwards
On Mon, 18 Feb 2013, Steven Howes wrote: On 18 Feb 2013, at 17:03, Christopher Harrington wrote: On Mon, Feb 18, 2013 at 10:54 AM, Steve Edwards asterisk@sedwards.com wrote: ) If the AGI is [...] a compiled executable (C, Fortran, Cobol, assembler, etc.)  I'd like

Re: [asterisk-users] Dialplan - working out when users answer

2013-01-08 Thread Andrew White
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Satish Barot Sent: Tuesday, 8 January 2013 12:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dialplan - working out when users answer HI Andrew, Show your queuecontrol context. You

Re: [asterisk-users] Dialplan - working out when users answer

2013-01-07 Thread Satish Barot
expect some kind of error if I was doing this wrong – have I missed something? ** ** Thanks for your or anyone elses help in advance! ** ** Andrew * * *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] Dialplan - working out when

Re: [asterisk-users] Dialplan - working out when users answer

2013-01-06 Thread Andrew White
-Commercial Discussion Subject: Re: [asterisk-users] Dialplan - working out when users answer On Wed, Dec 19, 2012 at 12:44 PM, Andrew White and...@computersforall.com.aumailto:and...@computersforall.com.au wrote: Hi Satish/list, Looks like I spoke to soon. I have the following in my dialplan: Dial

Re: [asterisk-users] Dialplan - working out when users answer

2012-12-19 Thread Satish Barot
the link for more information, Arguments are passed to subroutine using ^ as a delimiter. --Satish Barot ** ** *From:* Andrew White *Sent:* Wednesday, 19 December 2012 5:58 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* RE: [asterisk-users] Dialplan

[asterisk-users] Dialplan - working out when users answer

2012-12-18 Thread Andrew White
Hey guys, I've got a part of my dialplan that dials multiple people: exten = direct,n,Dial(${QUEUEEXTS},${RINGTIME}) Multiple extensions are in the ${QUEUEEXTS} from an external script - e.g. SIP/100SIP/101SIP/105 etc This works great, however I want to see if I can find a way to work out

Re: [asterisk-users] Dialplan - working out when users answer

2012-12-18 Thread Satish Barot
On Wed, Dec 19, 2012 at 10:53 AM, Andrew White and...@computersforall.com.au wrote: Hey guys, ** ** I’ve got a part of my dialplan that dials multiple people: ** ** *exten = direct,n,Dial(${QUEUEEXTS},${RINGTIME}) *Multiple extensions are in the ${QUEUEEXTS} from an external

Re: [asterisk-users] Dialplan - working out when users answer

2012-12-18 Thread Andrew White
Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dialplan - working out when users answer On Wed, Dec 19, 2012 at 10:53 AM, Andrew White and...@computersforall.com.aumailto:and...@computersforall.com.au wrote: Hey guys, I've got a part of my dialplan that dials multiple

Re: [asterisk-users] Dialplan - working out when users answer

2012-12-18 Thread Andrew White
- Non-Commercial Discussion Subject: RE: [asterisk-users] Dialplan - working out when users answer Thanks Satish, fantastic advice. I didn't even think to look into the dial options - doh! Thanks very much, Andrew From: asterisk-users-boun...@lists.digium.commailto:asterisk-users-boun

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Danilo Dionisi
Hi Jerry, From the Asterisk CLI, enter the command core restart when convenient, this command will restart asterisk only when there is no incoming call, and when it will close all outgoing calls. With a restart of asterisk should reload all the information: extensions, sip, agi, iax,

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Jerry Geis
Hi Jerry, From the Asterisk CLI, enter the command core restart when convenient, this command will restart asterisk only when there is no incoming call, and when it will close all outgoing calls. With a restart of asterisk should reload all the information: extensions, sip, agi, iax, voicemail,

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Ishfaq Malik
On Fri, 2012-11-02 at 06:25 -0400, Jerry Geis wrote: Hi Jerry, From the Asterisk CLI, enter the command core restart when convenient, this command will restart asterisk only when there is no incoming call, and when it will close all outgoing calls. With a restart of asterisk should

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Jerry Geis
Sorry to step in here but I think the 2 of you are talking at cropp purposes I initial query was about a dialplan reload, not an asterisk restart. Jerry, how long does your system take to perform a dialplan reload? surely it is under a second. If you look in the logs, at the end of any

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Joshua Colp
Jerry Geis wrote: Actually my mistake - looks like based on my code certain things happen and I issue two dialplan reload commands. So the second is killing the first. Then asterisk looses information. So certainly I should not be doing that - but I'm surprised asterisk lets another reload

Re: [asterisk-users] dialplan reloading

2012-11-02 Thread Jerry Geis
What version of Asterisk are you running? There was an issue found in February where this exact behavior could occur, two dialplan reload commands would clobber each other. It was also resolved back then in all supported branches (1.8, 10, and trunk).

[asterisk-users] dialplan reloading

2012-11-01 Thread Jerry Geis
If I issue a dialplan reload and some AGI starts as its reloading and directs something into the diaplan that is still reloading what happens I presume my context is not there? What I see is the diaplan is messed up somehow and I goto the default context then after that it is messaged up

Re: [asterisk-users] dialplan problem : not including context

2012-01-26 Thread Jonas Kellens
On 01/13/2012 06:58 PM, Administrator TOOTAI wrote: Le 13/01/2012 14:32, Jonas Kellens a écrit : On 01/13/2012 02:23 PM, Doug Lytle wrote: Jonas Kellens wrote: I have the following in dialplan : [TrunkAccounts] dialplan show TrunkAccounts Make sure the sort order is what you're

[asterisk-users] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
Hello, I have the following in dialplan : [TrunkAccounts] exten = 32380837,1,GoTo(01,32380837,1) exten = 32380838,1,GoTo(01,32380838,1) exten = 32380839,1,GoTo(01,32380839,1) [CheckOnNet] include = TrunkAccounts But when a call for 32380837 enters CheckOnNet, it is not found.

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Jonas Kellens wrote: I have the following in dialplan : [TrunkAccounts] dialplan show TrunkAccounts Make sure the sort order is what you're expecting. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
On 01/13/2012 02:23 PM, Doug Lytle wrote: Jonas Kellens wrote: I have the following in dialplan : [TrunkAccounts] dialplan show TrunkAccounts Make sure the sort order is what you're expecting. Doug Hello, The order is correct for as far as I'm sure. [TrunkAccounts] exten =

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Andreas Sikkema
On 1/13/12 2:32 PM, Jonas Kellens wrote: So the context TrunkAccounts is not included. Do you know why ? Does reloading the dialplan (dialplan reload) give any useful output relating to these two contexts? -- Andreas Sikkema --

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
On 01/13/2012 02:37 PM, Andreas Sikkema wrote: On 1/13/12 2:32 PM, Jonas Kellens wrote: So the context TrunkAccounts is not included. Do you know why ? Does reloading the dialplan (dialplan reload) give any useful output relating to these two contexts? I include this context in 2 other

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Jonas Kellens wrote: Everything works fine when including context 'TrunkAccounts' in context 'PROVIDERin dialplan showPROVIDERin 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] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
On 01/13/2012 02:59 PM, Doug Lytle wrote: Jonas Kellens wrote: Everything works fine when including context 'TrunkAccounts' in context 'PROVIDERin dialplan showPROVIDERin Doug Meaning ? -- _ -- Bandwidth and Colocation

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Jonas Kellens wrote: Meaning ? Meaning I want to see the dialplan order of that context. I'm guessing that's your inbound context. With includes that also include sub-contexts. Usually, there is something ordered differently then expected. Also, what version of Asterisk? Doug -- Ben

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
On 01/13/2012 03:07 PM, Doug Lytle wrote: Jonas Kellens wrote: Meaning ? Meaning I want to see the dialplan order of that context. I'm guessing that's your inbound context. With includes that also include sub-contexts. Usually, there is something ordered differently then expected.

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Jonas Kellens wrote: Does this mean the Return() comes before Asterisk looks into the context [TrunkAccounts] ?? No, I believe the includes are read first, but the order in important. Since you may be matching against another context that may cause failure. For example, I have the

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Jonas Kellens
On 01/13/2012 04:22 PM, Doug Lytle wrote: Jonas Kellens wrote: Does this mean the Return() comes before Asterisk looks into the context [TrunkAccounts] ?? No, I believe the includes are read first, but the order in important. Since you may be matching against another context that may cause

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Jonas Kellens wrote: there is only one include-statement Then I don't know. I am still on 1.4.x and my PRI context contains all that I'm matching against (No sub contexts). Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety,

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Doug Lytle
Doug Lytle wrote: Then I don't know. I am still on 1.4.x and my PRI context contains all that I'm matching against (No sub contexts). One thing does come to mind; the inbound call is coming into your s extension and then your doing a gosub, in which case, you might be matching

Re: [asterisk-users] dialplan problem : not including context

2012-01-13 Thread Administrator TOOTAI
Le 13/01/2012 14:32, Jonas Kellens a écrit : On 01/13/2012 02:23 PM, Doug Lytle wrote: Jonas Kellens wrote: I have the following in dialplan : [TrunkAccounts] dialplan show TrunkAccounts Make sure the sort order is what you're expecting. Doug Hello, The order is correct for as far as

[asterisk-users] dialplan - dial command - custom ringtone

2012-01-03 Thread Qqblog Qqblog
i could add r option in dial command. this will generate a ringtone during connection. could i change this default ringtone? i tried indications.conf but not success. -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] dialplan - dial command - custom ringtone

2012-01-03 Thread Carlos Rojas
Hello Do you use hard phone or softphone? In many ip phones you can change the ring tones or use w option in Dial command Regards On Jan 3, 2012 4:08 AM, Qqblog Qqblog qqb...@ymail.com wrote: i could add r option in dial command. this will generate a ringtone during connection. could i

[asterisk-users] Dialplan required for recording

2011-07-28 Thread Vinod Dharashive
Hi team, Can any one help me to implement dialplan in which conversation between a-party and b-party (call patch) needs to be recorded. Thanks Vinod Dharashive Sent from BlackBerry® on Airtel -- _ -- Bandwidth and Colocation

Re: [asterisk-users] Dialplan required for recording

2011-07-28 Thread DHAVAL INDRODIYA
Hi Vinod, You Need to look in MIxmonitor application on asterisk. http://www.voip-info.org/wiki/view/MixMonitor http://www.the-asterisk-book.com/unstable/applikationen-mixmonitor.html Where you can find easy dialplan On Fri, Jul 29, 2011 at 4:35 AM, Vinod Dharashive

Re: [asterisk-users] dialplan pattern help

2011-07-24 Thread Armand Fumal
-users@lists.digium.com Objet : Re: [asterisk-users] dialplan pattern help On 11-07-23 10:30 AM, Armand Fumal wrote: Hi all, I need help for make a pattern for a special case that i can't find the solution. In my case I want to match these in one pattern: This is the same ext that can

[asterisk-users] dialplan pattern help

2011-07-23 Thread Armand Fumal
Hi all, I need help for make a pattern for a special case that i can't find the solution. In my case I want to match these in one pattern: This is the same ext that can come in 4 cases exten = _42704701,1,Macro(dialfax,${EXTEN:-8}) ; case with 42704701 exten =

Re: [asterisk-users] dialplan pattern help

2011-07-23 Thread Leif Madsen
On 11-07-23 10:30 AM, Armand Fumal wrote: Hi all, I need help for make a pattern for a special case that i can't find the solution. In my case I want to match these in one pattern: This is the same ext that can come in 4 cases exten = _42704701,1,Macro(dialfax,${EXTEN:-8})

[asterisk-users] dialplan: all extern, except

2011-07-15 Thread Hans Witvliet
Hi all, Perhaps a no-brainer, but i think i am making my dialplan on my proxy too complicated. Normally, what you find in the examples is that you have to dial a specific number, other 9 or 0 for an external line. What i want to do is this: If you pre-pend a number with something like * then

[asterisk-users] dialplan execution stops after ReceiveFax

2011-06-29 Thread Ruben Rögels
Hello, I have a noticed strange behavior in Asterisk 1.6.18.2 with ReceiveFax Digium FAX Driver: 1.6.2.0_1.3.0 (optimized for i686_32). I use a context [capi-in] for icoming ISDN calls: == [capi-in] ; Faxe fuer Ruben exten = 12345,1,Macro(faxin,ruben.roeg...@jumping-frog.org,${EXTEN})

Re: [asterisk-users] dialplan execution stops after ReceiveFax

2011-06-29 Thread Larry Moore
On 29/06/2011 5:13 PM, Ruben Rögels wrote: Hello, I have a noticed strange behavior in Asterisk 1.6.18.2 with ReceiveFax Digium FAX Driver: 1.6.2.0_1.3.0 (optimized for i686_32). I use a context [capi-in] for icoming ISDN calls: == [capi-in] ; Faxe fuer Ruben exten =

Re: [asterisk-users] dialplan execution stops after ReceiveFax

2011-06-29 Thread Ruben Rögels
Hi Ruben, You should be looking at this thread http://lists.digium.com/pipermail/asterisk-users/2011-June/263995.html Presently I don't have the time to generate and send logs however soon after my last post I did perform additional testing. I am using ReceiveFAX using SPANDSP

Re: [asterisk-users] dialplan is not finding my number asterisk 1.8.3

2011-04-05 Thread Jerry Geis
Jerry Geis wrote: I am calling from a polycom phone into asterisk ( 1105 ) on a PC with a speaker attached. When asterisk first starts this works. In fact it works for some time. Then it just stops with this error on the CLI. [Apr 4 15:10:21] NOTICE[4357]: chan_sip.c:21358

Re: [asterisk-users] dialplan is not finding my number asterisk 1.8.3

2011-04-05 Thread Steve Murphy
Idea: If something is corrupting your dialplan, then this should reveal the extent of the corruption: You might, when the system is working properly, do a: asterisk -rx dialplan show somefile1 and then, when you are having problems, do a: asterisk -rx dialplan show somefile2 diff -u

Re: [asterisk-users] dialplan is not finding my number asterisk 1.8.3

2011-04-05 Thread Jerry Geis
Steve Murphy wrote: Idea: If something is corrupting your dialplan, then this should reveal the extent of the corruption: You might, when the system is working properly, do a: asterisk -rx dialplan show somefile1 and then, when you are having problems, do a: asterisk -rx dialplan show

Re: [asterisk-users] dialplan is not finding my number asterisk 1.8.3

2011-04-05 Thread Jerry Geis
Jerry Geis wrote: Steve Murphy wrote: Idea: If something is corrupting your dialplan, then this should reveal the extent of the corruption: You might, when the system is working properly, do a: asterisk -rx dialplan show somefile1 and then, when you are having problems, do a: asterisk

Re: [asterisk-users] dialplan is not finding my number asterisk 1.8.3

2011-04-05 Thread Steve Murphy
Oh, you are *not* going to like this, but you have a few different paths: 1. If the dialplan stuff is not really a memory corruption, but some sort of unplanned, but maybe accidentally programmed thing, either by you or something in the asterisk code, then: a. compile asterisk for

[asterisk-users] Dialplan matching

2011-04-04 Thread Asterisk User
Hello all, I am trying to figure out the logic in on prefix matching for Asterisk 1.4.5. I want to be able to pass all international calls EXCEPT calls to 011870, 01137455 and so on. exten = _011870.,1,Goto(intl-disabled,s,1) exten = _01137455.,2,Goto(intl-disabled,s,1) exten =

Re: [asterisk-users] Dialplan matching

2011-04-04 Thread Steve Murphy
On Mon, Apr 4, 2011 at 8:09 AM, Asterisk User asteruserl...@gmail.comwrote: Hello all, I am trying to figure out the logic in on prefix matching for Asterisk 1.4.5. I want to be able to pass all international calls EXCEPT calls to 011870, 01137455 and so on. exten =

Re: [asterisk-users] Dialplan matching

2011-04-04 Thread A J Stiles
On Monday 04 Apr 2011, Asterisk User wrote: Hello all, I am trying to figure out the logic in on prefix matching for Asterisk 1.4.5. I want to be able to pass all international calls EXCEPT calls to 011870, 01137455 and so on. Asterisk's default behaviour is always to try the hardest-to-match

Re: [asterisk-users] Dialplan matching

2011-04-04 Thread Tilghman Lesher
On Monday 04 April 2011 09:09:28 Asterisk User wrote: Hello all, I am trying to figure out the logic in on prefix matching for Asterisk 1.4.5. I want to be able to pass all international calls EXCEPT calls to 011870, 01137455 and so on. exten = _011870.,1,Goto(intl-disabled,s,1) This one is

  1   2   3   4   5   6   >