[Asterisk-Dev] Compiling app_voicemail2.c
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Aug 21 09:45:08 MST 2003
On Thursday 21 August 2003 02:53, Adam Hart wrote:
> I'm attempting to use voicemail via Mysql authenication aka
> voicemail2.c. It seems to error compiling syntax I don't see how
> could compile in gcc.
>
> example
> wait_file(chan,vms,DIGITS_DIR "yesterday");
>
> DIGITS_DIR is defined as follows
> #define DIGITS_DIR AST_SOUNDS "/digits/"
>
> therefore it becomes wait_file(chan,vms, /var/lib/asterisk "/sounds"
> "/digits/" "yesterday");
>
> I don't see how gcc is meant to interpret that but I assume it has
> compiled before. Could you please help me getting this file compiled.
I think you're probably looking at the wrong thing. These are string
literals, which gcc chains together as one long string.
What is the actual error that you're getting?
-Tilghman
More information about the asterisk-dev
mailing list