[Asterisk-Dev] Error installing Prepaid App
steve at daviesfam.org
steve at daviesfam.org
Wed Jun 9 23:27:53 MST 2004
On Wed, 9 Jun 2004, oi geli wrote:
> I tried install the Prepaid application, I got the
> following error.
>
> app_prepaid.c: In function `prepaid_ivr_authenticate':
> app_prepaid.c:184: error: too few arguments to
> function `ast_say_number'
> app_prepaid.c:208: error: too few arguments to
> function `ast_say_number'
> app_prepaid.c: In function `prepaid_ivr_authorize':
> app_prepaid.c:302: error: too few arguments to
> function `ast_say_number'
> app_prepaid.c:328: error: too few arguments to
> function `ast_say_number'
> make[1]: *** [app_prepaid.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/apps'
> make: *** [subdirs] Error 1
Hi,
Make the calls to ast_say_number look like this:
res = ast_say_number(chan, result.quot, "", chan->language, (char *)NULL);
substitute result.rem as appropriate.
I suspect if you couldn't figure this out you'll have trouble getting the
Prepaid app working...
Regards,
Steve
More information about the asterisk-dev
mailing list