Merci mais j'ai eu une autre erreur:
[root@localhost chan_capi-1.1.6]# make
[CC] chan_capi_devstate.c -> chan_capi_devstate.o
chan_capi_devstate.c: In function 'pbx_capi_chat_room_state_event':
chan_capi_devstate.c:116: error: incompatible type for argument 2 of 'ast_devstate_changed'
chan_capi_devstate.c: In function 'pbx_capi_ifc_state_event':
chan_capi_devstate.c:133: error: incompatible type for argument 2 of 'ast_devstate_changed'
chan_capi_devstate.c:133: warning: passing argument 3 of 'ast_devstate_changed' makes pointer from integer without a cast
make: *** [chan_capi_devstate.o] Error 1
[root@localhost chan_capi-1.1.6]# make install
[CC] chan_capi_devstate.c -> chan_capi_devstate.o
chan_capi_devstate.c: In function 'pbx_capi_chat_room_state_event':
chan_capi_devstate.c:116: error: incompatible type for argument 2 of 'ast_devstate_changed'
chan_capi_devstate.c: In function 'pbx_capi_ifc_state_event':
chan_capi_devstate.c:133: error: incompatible type for argument 2 of 'ast_devstate_changed'
chan_capi_devstate.c:133: warning: passing argument 3 of 'ast_devstate_changed' makes pointer from integer without a cast
make: *** [chan_capi_devstate.o] Error 1