mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Ignore leading spaces before application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1623,6 +1623,7 @@ static int pbx_load_module(void)
|
||||
|
||||
if (!data)
|
||||
data="";
|
||||
while(*appl && (*appl < 33)) appl++;
|
||||
pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext) - 1);
|
||||
if (ipri) {
|
||||
if (ast_add_extension2(con, 0, realext, ipri, cidmatch, appl, strdup(data), FREE, registrar)) {
|
||||
|
Reference in New Issue
Block a user