Merged revisions 289054-289055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r289054 | rmudgett | 2010-09-27 19:32:18 -0500 (Mon, 27 Sep 2010) | 1 line Break up long ast_manager_event_multichan() event lines. ........ r289055 | rmudgett | 2010-09-27 19:35:25 -0500 (Mon, 27 Sep 2010) | 1 line Revert stuff not ready for commit in -r289054. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
c60da4ec9d
commit
8bbe682e45
1 changed files with 28 additions and 3 deletions
|
@ -21838,7 +21838,14 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual *
|
|||
/* Perform the transfer */
|
||||
chans[0] = transferer->owner;
|
||||
chans[1] = target.chan1;
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans, "TransferMethod: SIP\r\nTransferType: Attended\r\nChannel: %s\r\nUniqueid: %s\r\nSIP-Callid: %s\r\nTargetChannel: %s\r\nTargetUniqueid: %s\r\n",
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans,
|
||||
"TransferMethod: SIP\r\n"
|
||||
"TransferType: Attended\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"Uniqueid: %s\r\n"
|
||||
"SIP-Callid: %s\r\n"
|
||||
"TargetChannel: %s\r\n"
|
||||
"TargetUniqueid: %s\r\n",
|
||||
transferer->owner->name,
|
||||
transferer->owner->uniqueid,
|
||||
transferer->callid,
|
||||
|
@ -22176,7 +22183,16 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int
|
|||
ast_clear_flag(&p->flags[0], SIP_GOTREFER);
|
||||
p->refer->status = REFER_200OK;
|
||||
append_history(p, "Xfer", "REFER to call parking.");
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans, "TransferMethod: SIP\r\nTransferType: Blind\r\nChannel: %s\r\nUniqueid: %s\r\nSIP-Callid: %s\r\nTargetChannel: %s\r\nTargetUniqueid: %s\r\nTransferExten: %s\r\nTransfer2Parking: Yes\r\n",
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans,
|
||||
"TransferMethod: SIP\r\n"
|
||||
"TransferType: Blind\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"Uniqueid: %s\r\n"
|
||||
"SIP-Callid: %s\r\n"
|
||||
"TargetChannel: %s\r\n"
|
||||
"TargetUniqueid: %s\r\n"
|
||||
"TransferExten: %s\r\n"
|
||||
"Transfer2Parking: Yes\r\n",
|
||||
current.chan1->name,
|
||||
current.chan1->uniqueid,
|
||||
p->callid,
|
||||
|
@ -22260,7 +22276,16 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int
|
|||
res = ast_async_goto(current.chan2, p->refer->refer_to_context, p->refer->refer_to, 1);
|
||||
|
||||
if (!res) {
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans, "TransferMethod: SIP\r\nTransferType: Blind\r\nChannel: %s\r\nUniqueid: %s\r\nSIP-Callid: %s\r\nTargetChannel: %s\r\nTargetUniqueid: %s\r\nTransferExten: %s\r\nTransferContext: %s\r\n",
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Transfer", 2, chans,
|
||||
"TransferMethod: SIP\r\n"
|
||||
"TransferType: Blind\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"Uniqueid: %s\r\n"
|
||||
"SIP-Callid: %s\r\n"
|
||||
"TargetChannel: %s\r\n"
|
||||
"TargetUniqueid: %s\r\n"
|
||||
"TransferExten: %s\r\n"
|
||||
"TransferContext: %s\r\n",
|
||||
current.chan1->name,
|
||||
current.chan1->uniqueid,
|
||||
p->callid,
|
||||
|
|
Loading…
Reference in a new issue