]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Dial API: Add a dial option to indicate the dialed channel will replace dialer
authorJonathan Rose <jrose@digium.com>
Fri, 5 Sep 2014 20:11:35 +0000 (20:11 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 5 Sep 2014 20:11:35 +0000 (20:11 +0000)
commitc56aa2d8f6a04dafb82cf35e69f0ea932dc864fd
tree7d0a54604f33ed35c9c985aed304a009ee273ce1
parent43a35c24079fee2c4f356016821013ce47670610
Dial API: Add a dial option to indicate the dialed channel will replace dialer

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.

Review: https://reviewboard.asterisk.org/r/3968/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@422684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/dial.h
main/dial.c