[asterisk-commits] rmudgett: branch 10 r350453 - in /branches/10: ./ main/cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 11 16:51:51 CST 2012
Author: rmudgett
Date: Wed Jan 11 16:51:47 2012
New Revision: 350453
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=350453
Log:
Remove extraneous BRIDGEPEER AMI VarSet event on a CEL dummy channel.
(closes issue ASTERISK-19180)
Reported by: Corey Farrell
Patches:
asterisk_cel_noevent_varset.diff (license #5909) patch uploaded by Corey Farrell
........
Merged revisions 350452 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/main/cel.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/main/cel.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/cel.c?view=diff&rev=350453&r1=350452&r2=350453
==============================================================================
--- branches/10/main/cel.c (original)
+++ branches/10/main/cel.c Wed Jan 11 16:51:47 2012
@@ -462,7 +462,9 @@
ast_string_field_set(tchan, peeraccount, record.peer_account);
ast_string_field_set(tchan, userfield, record.user_field);
- pbx_builtin_setvar_helper(tchan, "BRIDGEPEER", record.peer);
+ if ((newvariable = ast_var_assign("BRIDGEPEER", record.peer))) {
+ AST_LIST_INSERT_HEAD(headp, newvariable, entries);
+ }
tchan->appl = ast_strdup(record.application_name);
tchan->data = ast_strdup(record.application_data);
More information about the asterisk-commits
mailing list