mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
more error checking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6954 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -564,7 +564,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
|
||||
if (caller_profile_override) {
|
||||
new_profile = switch_caller_profile_dup(pool, caller_profile_override);
|
||||
new_profile->destination_number = switch_core_strdup(new_profile->pool, chan_data);
|
||||
new_profile->destination_number = switch_core_strdup(new_profile->pool, switch_str_nil(chan_data));
|
||||
new_profile->uuid = SWITCH_BLANK_STRING;
|
||||
new_profile->chan_name = SWITCH_BLANK_STRING;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user