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

rmudgett reviewboard at asterisk.org
Thu May 12 11:15:23 CDT 2011


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

(Updated 2011-05-12 11:15:23.215562)


Review request for Asterisk Developers.


Changes
-------

Add more description.


Summary (updated)
-------

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/20110512/c3c88a6c/attachment-0001.htm>


More information about the asterisk-dev mailing list