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.<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 3:52 AM, Stefan Schmidt <span dir="ltr"><<a href="mailto:sst@sil.at">sst@sil.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
Joel Jn-Francois schrieb:<br>
> Hi everyone,<br>
<div class="im">><br>
<br>
> sprintf(limitwarningstr,"LIMIT_WARNING_FILE=\"en/prepaid-1min-remaining'\"");<br>
> sprintf(timeoutstr,"LIMIT_TIMEOUT_FILE=\"en/prepaid-goodbye\"'");<br>
<br>
</div>what i can see, but i may be wrong is that u use 3 kinds of ". the<br>
normal " at beginning and end of the string, the \" to bring the " to<br>
asterisk itself and there is also a ' in here<br>
(en/prepaid-1min-remaining'\"") and also here (\"en/prepaid-goodbye\"'").<br>
<br>
I dunno what you want to do with this ' but i think this could be a problem.<br>
<br>
why you dont use pbx_builtin_setvar_helper instead of the set application?<br>
<br>
this would just look like this:<br>
<br>
pbx_builtin_setvar_helper(chan,"LIMIT_WARNING_FILE","en/prepaid-1min-remaining");<br>
<br>
<br>
<br>
best regards<br>
<br>
steve<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</blockquote></div><br>