[asterisk-dev] [Code Review] 3968: Dial API: Add an option to indicate that a dial is being used to replace the dialing channel from a bridge

Jonathan Rose reviewboard at asterisk.org
Fri Sep 5 15:11:42 CDT 2014


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

(Updated Sept. 5, 2014, 3:11 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and rmudgett.


Changes
-------

Committed in revision 422684


Repository: Asterisk


Description
-------

Adds an option to the dial API that marks an outgoing dial as replacing the dialing channel for the purpose of propagating accountcode. When it is used, AST_CHANNEL_REQUESTOR_REPLACEMENT is used instead of AST_CHANNEL_REQUESTOR_BRIDGE_PEER when setting accountcodes on the involved channels with ast_channel_req_accountcodes.


Diffs
-----

  /branches/13/main/dial.c 422556 
  /branches/13/include/asterisk/dial.h 422556 

Diff: https://reviewboard.asterisk.org/r/3968/diff/


Testing
-------

Used the option with a module I was testing to verify that it yielded the expected accountcode and peeraccount values on each channel.


Thanks,

Jonathan Rose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140905/92bb5ea1/attachment.html>


More information about the asterisk-dev mailing list