From: Anthony Minessale Date: Tue, 26 Feb 2013 22:37:29 +0000 (-0600) Subject: FS-5118 --resolve X-Git-Tag: v1.3.13~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7c9428fbed0c65f1487eeaad7cd92c2da8070d;p=thirdparty%2Ffreeswitch.git FS-5118 --resolve --- 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';