[asterisk-dev] 'LIMIT_WARNING_FI' with no '='

Joel Jn-Francois voirtech at gmail.com
Tue Jun 23 21:35:33 CDT 2009


 Hi everyone,

Below is a section of my source code where asterisk 1.6.1 keeps giving me
the following warning. I just cannot figure out what I am doing wrong since
its not complaining about the LIMIT_TIMEOUT which is a similar statement
using the Set command.  Any ideas?  Thanks.

WARNING[24143]: pbx.c:8461 pbx_builtin_setvar_multiple: MSet: ignoring entry
'LIMIT_WARNING_FI' with no '='


    char limitwarningstr[256] ="";
    char timeoutstr[256] ="";


sprintf(limitwarningstr,"LIMIT_WARNING_FILE=\"en/prepaid-1min-remaining'\"");
    sprintf(timeoutstr,"LIMIT_TIMEOUT_FILE=\"en/prepaid-goodbye\"'");
    setvarapp = pbx_findapp("Set");

    ret = 0;

    if (setvarapp) {
        ret = pbx_exec(chan, setvarapp,limitwarningstr);
        ret = pbx_exec(chan, setvarapp,timeoutstr);
    } else {
        ast_log(LOG_WARNING, "Could not find application (Set)\n");
        ret = -2;
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090623/bb97acdb/attachment.htm 


More information about the asterisk-dev mailing list