diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 91bd1420f0..c097a1935d 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -2299,11 +2299,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess chan_type++; } - while (chan_type && *chan_type && *chan_type == ' ') { - chan_type++; - } - - if ((chan_data = strchr(chan_type, '/')) != 0) { *chan_data = '\0'; chan_data++;