mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
Fixes ringback tone on sip semi-attended transfer.
ABE-2168 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@293924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -21833,6 +21833,10 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual *
|
||||
|
||||
ast_indicate(target.chan1, AST_CONTROL_UNHOLD);
|
||||
|
||||
if (current->chan2 && current->chan2->_state == AST_STATE_RING) {
|
||||
ast_indicate(target.chan1, AST_CONTROL_RINGING);
|
||||
}
|
||||
|
||||
if (target.chan2) {
|
||||
ast_channel_queue_connected_line_update(target.chan1, &connected_to_transferee, NULL);
|
||||
ast_channel_queue_connected_line_update(target.chan2, &connected_to_target, NULL);
|
||||
|
||||
Reference in New Issue
Block a user