I am trying to install the module cdr_mysql.o to load the cdrs in avmysql database but the things doesn’t working.
Can anyone help me?
My installations directory is in /usr/src/asterisk-13.18.5 and I already tried the follow commands:
$make menuselect
I added the 2 selects addons
$make
$make install
but in the last 2 commands I had the problem:
res_pjsip/pjsip_transport_events.c: In function ‘transport_state2str’:
res_pjsip/pjsip_transport_events.c:85:7: error: ‘PJSIP_TP_STATE_SHUTDOWN’ undeclared (first use in this function)
case PJSIP_TP_STATE_SHUTDOWN:
^
res_pjsip/pjsip_transport_events.c:85:7: note: each undeclared identifier is reported only once for each function it appears in
res_pjsip/pjsip_transport_events.c:88:7: error: ‘PJSIP_TP_STATE_DESTROY’ undeclared (first use in this function)
case PJSIP_TP_STATE_DESTROY:
^
res_pjsip/pjsip_transport_events.c: In function ‘transport_state_callback’:
res_pjsip/pjsip_transport_events.c:151:8: error: ‘PJSIP_TP_STATE_SHUTDOWN’ undeclared (first use in this function)
case PJSIP_TP_STATE_SHUTDOWN:
^
/usr/src/asterisk-13.18.5/Makefile.rules:149: recipe for target 'res_pjsip/pjsip_transport_events.o' failed
make[1]: *** [res_pjsip/pjsip_transport_events.o] Error 1
Makefile:368: recipe for target 'res' failed
make: *** [res] Error 2