diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 60e1c5cbae..3e48cafc0d 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4858,6 +4858,11 @@ SWITCH_STANDARD_APP(conference_function) conf_name = mydata; + /* eat all leading spaces on conference name, which can cause problems */ + while (*conf_name == ' ') { + conf_name++; + } + /* is there a conference pin ? */ if ((dpin = strchr(conf_name, '+'))) { *dpin++ = '\0';