dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 315452 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r315452 | rmudgett | 2011-04-26 13:00:34 -0500 (Tue, 26 Apr 2011) | 1 line
  
  Add missing set of name valid flag when dialing.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@315453 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
rmudgett 2011-04-26 18:02:07 +00:00
parent 05716dec65
commit e5e8cb550b
1 changed files with 2 additions and 0 deletions

View File

@ -2243,6 +2243,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
* 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 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
* 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);
}