From c3ceebf0bf2c54025c4e53201191f60d2219191b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 29 Aug 2011 10:31:41 -0500 Subject: [PATCH] FS-3528 --resolve --- src/switch_ivr_originate.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index c2c8f50727..418c9dd2b5 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -2354,11 +2354,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } if (zstr(new_profile->destination_number)) { - if (caller_channel) { - switch_channel_hangup(caller_channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); - } - status = SWITCH_STATUS_FALSE; - goto done; + new_profile->destination_number = switch_core_strdup(new_profile->pool, "service"); } new_profile->callee_id_name = switch_core_strdup(new_profile->pool, "Outbound Call");