[Asterisk-Users] Callback

Kevin P. Fleming kpfleming at starnetworks.us
Sun Oct 3 11:47:27 MST 2004


Steve Totaro wrote:
> OK, I figured out that I had to modify the Makefile in
> /usr/src/asterisk/apps.  I added the lines in the readme that came with the
> package.  Now when I try to compile asterisk it goes well until this point.
> 
> gcc -shared -Xlinker -x -o app_zapscan.so app_zapscan.o
> gcc -D_GNU_SOURCE -shared -Xlinker -x -o app_callback.so
> app_callback.c -lz -L/usr/lib
> app_callback.c: In function `callback_exec':
> app_callback.c:177: error: structure has no member named `callerid'
> make[1]: *** [app_callback.so] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/apps'
> make: *** [subdirs] Error 1

Can you trim your replies please? Your post was 10 lines of content, and 
60 lines of useless signatures...

This problem is caused by the recent CID changes in CVS. The simple fix 
is to replace ->callerid with ->cid.cid_num.



More information about the asterisk-users mailing list