Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 298328) +++ channels/chan_sip.c (arbetskopia) @@ -10126,6 +10127,7 @@ referdata->attendedtransfer = 1; ast_copy_string(referdata->replaces_callid, ptr+9, sizeof(referdata->replaces_callid)); ast_uri_decode(referdata->replaces_callid); + ast_copy_string(referdata->replaces_callid, ast_strip(referdata->replaces_callid), sizeof(referdata->replaces_callid)); if ((ptr = strchr(referdata->replaces_callid, ';'))) /* Find options */ { *ptr++ = '\0'; }