FS-5118 --resolve

This commit is contained in:
Anthony Minessale 2013-02-26 16:37:29 -06:00
parent be3df1b1c2
commit cf7c9428fb
1 changed files with 5 additions and 3 deletions

View File

@ -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 * Handle params, strip them off the destination and add them to the
* invite contact. * 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; char *tp_param;
*params++ = '\0'; *params++ = '\0';