Removing the quotation &#39; 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">&lt;<a href="mailto:sst@sil.at">sst@sil.at</a>&gt;</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>
&gt;  Hi everyone,<br>
<div class="im">&gt;<br>
<br>
&gt; sprintf(limitwarningstr,&quot;LIMIT_WARNING_FILE=\&quot;en/prepaid-1min-remaining&#39;\&quot;&quot;);<br>
&gt;     sprintf(timeoutstr,&quot;LIMIT_TIMEOUT_FILE=\&quot;en/prepaid-goodbye\&quot;&#39;&quot;);<br>
<br>
</div>what i can see, but i may be wrong is that u use 3 kinds of &quot;. the<br>
normal &quot; at beginning and end of the string, the \&quot; to bring the &quot; to<br>
asterisk itself and there is also a &#39; in here<br>
(en/prepaid-1min-remaining&#39;\&quot;&quot;) and also here (\&quot;en/prepaid-goodbye\&quot;&#39;&quot;).<br>
<br>
I dunno what you want to do with this &#39; 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,&quot;LIMIT_WARNING_FILE&quot;,&quot;en/prepaid-1min-remaining&quot;);<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>