[asterisk-dev] [Code Review] 2628: func_channel: Add a function for reading/writing ast_after_bridge_goto stuff
jrose
reviewboard at asterisk.org
Mon Jun 17 15:26:30 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2628/#review8906
-----------------------------------------------------------
Added the following documentation for the CHANNEL function:
</enum>
+ <enum name="after_bridge_goto">
+ <para>R/W the parseable goto string indicating where the channel is
+ expected to return to in the PBX after exiting the next bridge it joins
+ on the condition that it doesn't hang up. The parseable goto string uses
+ the same syntax as the <literal>Goto</literal> application.</para>
+ </enum>
<enum name="hangup_handler_pop">
- jrose
On June 17, 2013, 7:13 p.m., jrose wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2628/
> -----------------------------------------------------------
>
> (Updated June 17, 2013, 7:13 p.m.)
>
>
> Review request for Asterisk Developers and rmudgett.
>
>
> Bugs: ASTERISK-21875
> https://issues.asterisk.org/jira/browse/ASTERISK-21875
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> Allows the use of CHANNEL(after_bridge_goto) in order to set where to go after a bridge is over or to read the current after bridge goto destination.
>
> I had to add some checking against autoloop when doing the parseable goto in order to fix where we decrement the priority.
>
>
> Diffs
> -----
>
> /trunk/funcs/func_channel.c 391852
> /trunk/include/asterisk/bridging.h 391852
> /trunk/main/bridging.c 391852
>
> Diff: https://reviewboard.asterisk.org/r/2628/diff/
>
>
> Testing
> -------
>
> Tested that set(CHANNEL(after_bridge_goto)) would set the parseable goto string and that bridge exits would handle that goto string appropriately
>
> Checked that reading CHANNEL(after_bridge_goto)) showed the parseable goto string if it was in the after bridge goto datastore and if it wasn't that it would provide the context/extension/priority set in there instead.
>
>
> Thanks,
>
> jrose
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130617/b8567235/attachment.htm>
More information about the asterisk-dev
mailing list