Skip to content
Snippets Groups Projects
Commit 250e28aa authored by Mark Spencer's avatar Mark Spencer
Browse files

Ignore leading spaces before application

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 143b3de6
Branches
Tags
No related merge requests found
...@@ -1623,6 +1623,7 @@ static int pbx_load_module(void) ...@@ -1623,6 +1623,7 @@ static int pbx_load_module(void)
if (!data) if (!data)
data=""; data="";
while(*appl && (*appl < 33)) appl++;
pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext) - 1); pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext) - 1);
if (ipri) { if (ipri) {
if (ast_add_extension2(con, 0, realext, ipri, cidmatch, appl, strdup(data), FREE, registrar)) { if (ast_add_extension2(con, 0, realext, ipri, cidmatch, appl, strdup(data), FREE, registrar)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment