[svn-commits] rmudgett: trunk r289056 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Sep 27 19:36:33 CDT 2010
Author: rmudgett
Date: Mon Sep 27 19:36:27 2010
New Revision: 289056
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289056
Log:
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.
........
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=289056&r1=289055&r2=289056
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Sep 27 19:36:27 2010
@@ -21838,7 +21838,14 @@
/* 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 @@
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 @@
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,
More information about the svn-commits
mailing list