[Asterisk-Users] error compiling asterisk

Dave Cotton dcotton at linuxautrement.com
Sat Jun 18 02:07:14 MST 2005


On Sat, 2005-06-18 at 17:00 +0800, Ronald Wiplinger wrote:
> app_rxfax.c: In function `phase_e_handler':
> app_rxfax.c:93: error: structure has no member named `callerid'
> app_rxfax.c: At top level:
> app_rxfax.c:61: warning: `t30_flush' defined but not used
> make[1]: *** [app_rxfax.o] Error 1
> make[1]: Leaving directory `/usr/local/src/asterisk/apps'
> 
> 
> How to fix that???

change app_rxfax.c 

//#if (ASTERISK_VERSION_NUM <= 010300)
//                      chan->callerid,
//#else
                      (chan->cid.cid_num)  ?  chan->cid.cid_num  :  "",
//#endif


-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list