Re: [asterisk-users] Create new channel from dialplan

2014-05-01 Thread Josh Metzger
I'm not sure exactly what your use case is, but you could execute a Dial() and use the M option to execute a Macro (or U to execute a gosub). From there, the call routes into the macro/subroutine, and you can process away. After all of that is completed in the macro/subroutine, you can set

Re: [asterisk-users] Create new channel from dialplan

2014-05-01 Thread Igor Dvorzhak
Hi John, Detailed use case: I have a contact call connected to which played the IVR. On transfer digit key press I need to transfer it to the predefined transfer number. I don't want use the Dial command to do transfer because it will automatically connect contact channel with transfer channel.

[asterisk-users] Create new channel from dialplan

2014-04-30 Thread Igor Dvorzhak
Hi all, I need a command to originate a new channel from dialplan. I should be able to continue execution of the current context after this command. How to do this? Best, Igor -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Create new channel from dialplan

2014-04-30 Thread Richard Mudgett
On Wed, Apr 30, 2014 at 4:33 PM, Igor Dvorzhak idm...@gmail.com wrote: Hi all, I need a command to originate a new channel from dialplan. I should be able to continue execution of the current context after this command. How to do this? Look at this application: *CLI core show application

Re: [asterisk-users] Create new channel from dialplan

2014-04-30 Thread Igor Dvorzhak
Thanks, it almost what I need. But I can't find a way to pass channel variables to Originate cmd in dialplan. Is it possible at all? On Wed, Apr 30, 2014 at 3:13 PM, Richard Mudgett rmudg...@digium.comwrote: On Wed, Apr 30, 2014 at 4:33 PM, Igor Dvorzhak idm...@gmail.com wrote: Hi all,