Oh crap, you're right, my bad. Yes, I also agree, it's most probably the language and/or missing files<br><br><div class="gmail_quote">On Sun, Mar 27, 2011 at 4:30 PM, Jeff LaCoursiere <span dir="ltr"><<a href="mailto:jeff@sunfone.com">jeff@sunfone.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, 2011-03-27 at 16:14 -0500, Sherwood McGowan wrote:<br>
><br>
><br>
> On Sun, Mar 27, 2011 at 2:50 PM, Mohammad Khan <<a href="mailto:beeplove@gmail.com">beeplove@gmail.com</a>><br>
> wrote:<br>
> Here is the dialplan in macro:<br>
><br>
> exten => s,n,SayNumber($[${ARG1} % 100])<br>
><br>
> when 662 was passed as ARG1, I had the following at log:<br>
><br>
> WARNING[15217] pbx.c: We were unable to say the number 62, is<br>
> it too large?<br>
><br>
> Do you see any odd in my dialplan?<br>
><br>
><br>
><br>
><br>
> 662 % 100 = 66.2, not 62. It seems to me that there's more going on<br>
> here..Maybe Asterisk is being confused by actually getting 66.2? I'm<br>
> not readily able to look into the source, but I think that Asterisk<br>
> (or at least, SayNumber) cannot handle a number with a decimal point,<br>
> but please don't take that as gospel.<br>
><br>
<br>
</div>'%' is 'modulus', and 62 is the correct result. I am betting it is the<br>
language setting, and missing audio files.<br>
<div><div></div><div class="h5"><br>
j<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>