FS-5852 --resolve

This commit is contained in:
Anthony Minessale
2013-10-17 12:18:01 -04:00
parent 9246309a21
commit b1a3a106ec
4 changed files with 71 additions and 11 deletions

View File

@@ -66,6 +66,11 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
caller_id_number = SWITCH_DEFAULT_CLID_NUMBER;
}
/* ANI defaults to Caller ID Number when not specified */
if (zstr(ani)) {
ani = caller_id_number;
}
profile_dup_clean(username, profile->username, pool);
profile_dup_clean(dialplan, profile->dialplan, pool);
profile_dup_clean(caller_id_name, profile->caller_id_name, pool);