From cf7c9428fbed0c65f1487eeaad7cd92c2da8070d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 26 Feb 2013 16:37:29 -0600 Subject: [PATCH] FS-5118 --resolve --- src/mod/endpoints/mod_sofia/mod_sofia.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 3a5162c398..9fecaceacf 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -4685,10 +4685,12 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session * Handle params, strip them off the destination and add them to the * invite contact. * - * TODO: - * - Add parameters back to destination url? */ - if ((params = strchr(dest, ';'))) { + + if ((params = strchr(dest, '+'))) { + *params = ';'; + params = NULL; + } else if ((params = strchr(dest, ';'))) { char *tp_param; *params++ = '\0';