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