[asterisk-users] Create new channel from dialplan
joshdmetzger at gmail.com
Thu May 1 07:23:16 CDT 2014
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
"MACRO_RESULT" or "GOSUB_RESULT" (depending on which you used) to
"CONTINUE", so your dialplan continues after everything is complete (or, if
you finish everything within the routine, just let it end there).
On Wed, Apr 30, 2014 at 10:21 PM, Igor Dvorzhak <idmedb at gmail.com> wrote:
> Thanks, it almost what I need.
> But I can't find a way to pass channel variables to Originate cmd in
> Is it possible at all?
> On Wed, Apr 30, 2014 at 3:13 PM, Richard Mudgett <rmudgett at digium.com>wrote:
>> On Wed, Apr 30, 2014 at 4:33 PM, Igor Dvorzhak <idmedb at 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 Originate
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users