[asterisk-dev] 'LIMIT_WARNING_FI' with no '='
Stefan Schmidt
sst at sil.at
Wed Jun 24 02:52:10 CDT 2009
Hello,
Joel Jn-Francois schrieb:
> Hi everyone,
>
> sprintf(limitwarningstr,"LIMIT_WARNING_FILE=\"en/prepaid-1min-remaining'\"");
> sprintf(timeoutstr,"LIMIT_TIMEOUT_FILE=\"en/prepaid-goodbye\"'");
what i can see, but i may be wrong is that u use 3 kinds of ". the
normal " at beginning and end of the string, the \" to bring the " to
asterisk itself and there is also a ' in here
(en/prepaid-1min-remaining'\"") and also here (\"en/prepaid-goodbye\"'").
I dunno what you want to do with this ' but i think this could be a problem.
why you dont use pbx_builtin_setvar_helper instead of the set application?
this would just look like this:
pbx_builtin_setvar_helper(chan,"LIMIT_WARNING_FILE","en/prepaid-1min-remaining");
best regards
steve
More information about the asterisk-dev
mailing list