[asterisk-dev] 'LIMIT_WARNING_FI' with no '='
Joel Jn-Francois
voirtech at gmail.com
Wed Jun 24 14:32:09 CDT 2009
Removing the quotation ' did not resolve the problem, however using
pbx_builtin_setvar_helper did. With pbx_builtin_setvar_helper everything
ran beautifully. Thanks a million.
On Wed, Jun 24, 2009 at 3:52 AM, Stefan Schmidt <sst at sil.at> wrote:
> 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
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090624/5a977e0b/attachment.htm
More information about the asterisk-dev
mailing list