[asterisk-commits] rmudgett: branch 1.8 r315452 - /branches/1.8/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 26 13:00:37 CDT 2011
Author: rmudgett
Date: Tue Apr 26 13:00:34 2011
New Revision: 315452
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=315452
Log:
Add missing set of name valid flag when dialing.
Modified:
branches/1.8/apps/app_dial.c
Modified: branches/1.8/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_dial.c?view=diff&rev=315452&r1=315451&r2=315452
==============================================================================
--- branches/1.8/apps/app_dial.c (original)
+++ branches/1.8/apps/app_dial.c Tue Apr 26 13:00:34 2011
@@ -2243,6 +2243,7 @@
* No hint name available. We have a connected name supplied by
* the dialplan we can use instead.
*/
+ caller.id.name.valid = 1;
caller.id.name = chan->connected.id.name;
}
ast_channel_set_caller_event(tc, &caller, NULL);
@@ -2256,6 +2257,7 @@
* We have a connected name supplied by the dialplan we can
* use instead.
*/
+ caller.id.name.valid = 1;
caller.id.name = chan->connected.id.name;
ast_channel_set_caller_event(tc, &caller, NULL);
}
More information about the asterisk-commits
mailing list