[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
Tue Sep 2 17:29:06 CDT 2014


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

Review request for Asterisk Developers and rmudgett.


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/20140902/d967d91d/attachment.html>


More information about the asterisk-dev mailing list