First :
At starting of the file add this lines
#ifndef AST_MODULE
#define AST_MODULE "app_voicemail"
#endif
AFTER THAT COMPILE THE MODULE
cd /usr/src/asterisk-1.6.1.8/apps/
gcc -shared app_voicemail.c -o app_voicemail.so
cp app_voicemail.so /usr/lib/asterisk/modules/
CLI> restart now
Thursday, December 1, 2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment