[asterisk-dev] [Code Review] The h exten is not run before closing CDR's. Interaction with active macro processing.

David Vossel reviewboard at asterisk.org
Fri May 13 10:44:14 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1206/#review3546
-----------------------------------------------------------

Ship it!


After further review and discussion I now feel comfortable giving this a for real shipit :)

- David


On 2011-05-12 11:15:23, rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1206/
> -----------------------------------------------------------
> 
> (Updated 2011-05-12 11:15:23)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> The h exten in the initial context is not run before closing CDR's when the bridge is unlinked if a macro is active and does not have an h exten.
> 
> This patch makes ast_bridge_call() check for an h exten in the current context and if a macro is active then the initial context.  The first h exten found is then run before closing the CDR.
> 
> 
> This addresses bug 18212.
>     https://issues.asterisk.org/view.php?id=18212
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/main/features.c 317385 
> 
> Diff: https://reviewboard.asterisk.org/r/1206/diff
> 
> 
> Testing
> -------
> 
> Tested with and without an h exten in the macro context.  The CDR was only modifiable when the bridge is unlinked if the h exten was in the macro context before the patch.  With the patch it is modifiable in the macro context and the initial context when the bridge is unlinked.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110513/cc84a96e/attachment-0001.htm>


More information about the asterisk-dev mailing list