From dee0f540269e07d00a4b6589fce94cf38eea4643 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Aug 2011 09:50:23 -0500 Subject: [PATCH] FS-3483 --resolve --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 48b75090d7..938be90db2 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -2346,7 +2346,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } new_profile->callee_id_name = switch_core_strdup(new_profile->pool, "Outbound Call"); - new_profile->callee_id_number = switch_core_strdup(new_profile->pool, new_profile->destination_number); + new_profile->callee_id_number = switch_sanitize_number(switch_core_strdup(new_profile->pool, new_profile->destination_number)); originate_status[i].caller_profile = NULL; originate_status[i].peer_channel = NULL;