Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-10 Thread Frank Vanoni
On Wed, 2017-05-10 at 12:56 +0200, Frank Vanoni wrote: > exten => 2001,1,Dial(SIP/Dial(SIP/deviceA/deviceB/deviceC) > > exten => 2002,1,Dial(SIP/Dial(SIP/deviceA/deviceB) Whoops... sorry for the typo (in the hurry of copy & paste)! exten => 2001,1,Dial(SIP/deviceA/deviceB/deviceC) exten =>

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-10 Thread Frank Vanoni
Dear Digium List First of all, I thank all of you for all the replies and the interesting suggestions. I thank you very much. I can only learn from people like you. :-) I will remember all the different solutions for a future use in other scenarios. On Mon, 2017-05-08 at 16:35 +0200, Frank

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-09 Thread Stefan Becker
Greetings, I think this is a better solution: I've created a simular solution for our main incoming line. Extentions can add/remove themselfs from the distrubuting extention. I used the DATABASE functions of Asterisk to accomplish this following. my example: first create a few

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-09 Thread Héctor Royo
I would use a Queue with RingAll strategy. Then, I would Pause/Unpause Agents. A "Paused" agent would not receive calls from the Queue, but can still receive direct calls. You can set an extension to Pause the member and another to Unpause it, using the applications PauseQueueMember and

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread Daniel Journo
> Hello > I have the following scenario: > [mynicecontext] > exten => 2000,1,Dial(SIP/deviceA/deviceB/deviceC) > As expected, by dialing 2000, all three devices will ring. And that's fine. > However, there are situations where I only want "deviceA" and "deviceB" to ring. I would like to have an

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread Marcelo Terres
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_DialplanExtensionRemove Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 8 May 2017 at

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread Antony Stone
On Monday 08 May 2017 at 15:44:47, Marcelo Terres wrote: > https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Dialpl > anExtensionAdd > > Is it enough? Is there a similar call to delete an extension, or to modify an existing one? On the basis that the OP already has extension

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread John Kiniston
You could use the DIALGROUP function for this and not need to shell out. https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_DIALGROUP On Mon, May 8, 2017 at 7:35 AM, Frank Vanoni wrote: > Hello > > I have the following scenario: > > [mynicecontext] >

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread J Montoya or A J Stiles
On Monday 08 May 2017, Frank Vanoni wrote: > By dialing 4000 or 4001, the dialplan is modified and reloaded > accordingly. > > Is there a better solution? That's an . interesting . way of doing things! We would be thinking in terms of using a GLOBAL variable, or an ASTDB entry, to

Re: [asterisk-users] Dial an extension to modify dialplan

2017-05-08 Thread Marcelo Terres
https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_DialplanExtensionAdd Is it enough? Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres