Finally, I have uncovered the mystery!<br><br>Channel terminated just at the time when it was executing SayNumber, ended up the warning in my log!<br><br>Thanks everybody for your time on this thread.<br><br>Mohammad<br><br>
<br><br><br><div class="gmail_quote">On Sun, Mar 27, 2011 at 5:32 PM, Sherwood McGowan <span dir="ltr"><<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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"><div><div></div><div class="h5">On Sun, Mar 27, 2011 at 4:30 PM, Jeff LaCoursiere <span dir="ltr"><<a href="mailto:jeff@sunfone.com" target="_blank">jeff@sunfone.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5"><div>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" target="_blank">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></div><div><br>
j<br>
<br>
<br>
<br><div class="im">
--<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></div></blockquote></div><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></blockquote></div><br>