[asterisk-commits] dlee: branch dlee/stable-id r379022 - /team/dlee/stable-id/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 14 09:36:17 CST 2013
Author: dlee
Date: Mon Jan 14 09:36:13 2013
New Revision: 379022
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379022
Log:
Added note about swap ordering
Modified:
team/dlee/stable-id/main/channel.c
Modified: team/dlee/stable-id/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stable-id/main/channel.c?view=diff&rev=379022&r1=379021&r2=379022
==============================================================================
--- team/dlee/stable-id/main/channel.c (original)
+++ team/dlee/stable-id/main/channel.c Mon Jan 14 09:36:13 2013
@@ -7009,7 +7009,9 @@
clone_sending_dtmf_digit = ast_channel_sending_dtmf_digit(clonechan);
clone_sending_dtmf_tv = ast_channel_sending_dtmf_tv(clonechan);
- /* Swap uniqueid's of the channels */
+ /* Swap uniqueid's of the channels. This needs to happen before channel renames,
+ * so rename events get the proper id's.
+ */
tmp_id = ast_strdupa(ast_channel_uniqueid(clonechan));
ast_channel_uniqueid_set(clonechan, ast_channel_uniqueid(original));
ast_channel_uniqueid_set(original, tmp_id);
More information about the asterisk-commits
mailing list