Hi all, i could not put the SEMS to work. When i route a call to VM it down by timeout and in the debugging of sems i see the message "## Wrong FIFO Interface version ##". My SER is compile from sources and sems is updated from CVS prior to compile.
SEMS is reading a variable in AmServer.h as define FIFO_VERSION "0.1" and in the debugging i see: (7313) DEBUG: run (AmServer.cpp:185): version= <0.2>
So, the function at in AmServer.c return the error
if(version != FIFO_VERSION){ consume_request(); throw string("## Wrong FIFO Interface version ##"); }
------------------------------------------------------------------------------------------------------------------- # My route in SER.CFG to voicemail route[8] { log(1,"ROUTE_8: VOICEMAIL"); if (!t_newtran()) { sl_reply_error(); break; }; t_reply("100","Conectandose"); if(!vm("/tmp/am_fifo","voicemail")){ log(1,"could not contact voicemail\n"); t_reply("500","could not contact voicemail"); }; } ------------------------------------------------------------------------------------------------------------------- # SEMS debugging ./ans_machine -E -D 9 Configuration: configuration file: /etc/sems/sems.conf Ser's FIFO: /tmp/ser_fifo our FIFO: /tmp/am_fifo smtp server ip: localhost smtp server port: 25 announce path: /usr/local/lib/sems/audio/ default announce: default_en.wav plug-in path: /usr/local/lib/sems/plug-in/ maximum record time: 30 daemon mode: 0
(7313) INFO: run (AmServer.cpp:144): Loading application plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/announcement.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'announcement' loaded. (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/echo.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'echo' loaded. (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/voicemail.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'voicemail' loaded. (7313) INFO: run (AmServer.cpp:148): Loading audio plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//audio/gsm.so ... (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 3 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'GSM'inserted with id 3 (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//audio/wav.so ... (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 1 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 2 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted with id 0 (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted with id 8 (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:238): file format Wav inserted (7313) INFO: run (AmServer.cpp:152): Starting session container (7313) INFO: run (AmServer.cpp:155): Starting mailer (7313) INFO: run (AmServer.cpp:158): FIFO waiting for work... (7313) DEBUG: run (AmServer.cpp:185): version= <0.2> (7313) ERROR: run (AmServer.cpp:249): ## Wrong FIFO Interface version ##
REad the readme file for SEMS, it says there quite good that CVS version of ser to CVS version of SEMS.
- Atle
* Ezequiel Colombo ecolombo@arcotel.net [040514 14:43]:
Hi all, i could not put the SEMS to work. When i route a call to VM it down by timeout and in the debugging of sems i see the message "## Wrong FIFO Interface version ##". My SER is compile from sources and sems is updated from CVS prior to compile.
SEMS is reading a variable in AmServer.h as define FIFO_VERSION "0.1" and in the debugging i see: (7313) DEBUG: run (AmServer.cpp:185): version= <0.2>
So, the function at in AmServer.c return the error
if(version != FIFO_VERSION){ consume_request(); throw string("## Wrong FIFO Interface version ##"); }
# My route in SER.CFG to voicemail route[8] { log(1,"ROUTE_8: VOICEMAIL"); if (!t_newtran()) { sl_reply_error(); break; }; t_reply("100","Conectandose"); if(!vm("/tmp/am_fifo","voicemail")){ log(1,"could not contact voicemail\n"); t_reply("500","could not contact voicemail"); }; }
# SEMS debugging ./ans_machine -E -D 9 Configuration: configuration file: /etc/sems/sems.conf Ser's FIFO: /tmp/ser_fifo our FIFO: /tmp/am_fifo smtp server ip: localhost smtp server port: 25 announce path: /usr/local/lib/sems/audio/ default announce: default_en.wav plug-in path: /usr/local/lib/sems/plug-in/ maximum record time: 30 daemon mode: 0
(7313) INFO: run (AmServer.cpp:144): Loading application plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/announcement.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'announcement' loaded. (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/echo.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'echo' loaded. (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/voicemail.so ... (7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'voicemail' loaded. (7313) INFO: run (AmServer.cpp:148): Loading audio plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//audio/gsm.so ... (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 3 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'GSM'inserted with id 3 (7313) DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//audio/wav.so ... (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 1 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 2 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted with id 0 (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted with id 8 (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:238): file format Wav inserted (7313) INFO: run (AmServer.cpp:152): Starting session container (7313) INFO: run (AmServer.cpp:155): Starting mailer (7313) INFO: run (AmServer.cpp:158): FIFO waiting for work... (7313) DEBUG: run (AmServer.cpp:185): version= <0.2> (7313) ERROR: run (AmServer.cpp:249): ## Wrong FIFO Interface version ##
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Thanks Atle but the README file of SEMS only have the comment:
Dependencies:
ser: Sip Express Router. It gets used by Sems as a SIP stack. Make sure this version of Sems is compatible to Ser's.
and dont explain about what version of sems is compatible with 0.8.12 version of SER. If you have sems working can let me known what version of sems and ser are using ?
Thanks again Ezequiel
----- Original Message ----- From: "Atle Samuelsen" clona@cyberhouse.no To: "Ezequiel Colombo" ecolombo@arcotel.net Cc: serusers@lists.iptel.org Sent: Friday, May 14, 2004 9:47 AM Subject: Re: [Serusers] Wrong FIFO Interface version
REad the readme file for SEMS, it says there quite good that CVS version of ser to CVS version of SEMS.
- Atle
- Ezequiel Colombo ecolombo@arcotel.net [040514 14:43]:
Hi all, i could not put the SEMS to work. When i route a call to VM it
down by timeout and in the debugging of sems i see the message "## Wrong FIFO Interface version ##". My SER is compile from sources and sems is updated from CVS prior to compile.
SEMS is reading a variable in AmServer.h as define FIFO_VERSION "0.1"
and in the debugging i see:
(7313) DEBUG: run (AmServer.cpp:185): version= <0.2>
So, the function at in AmServer.c return the error
if(version != FIFO_VERSION){ consume_request(); throw string("## Wrong FIFO Interface version ##"); }
-----------------------------------------
# My route in SER.CFG to voicemail route[8] { log(1,"ROUTE_8: VOICEMAIL"); if (!t_newtran()) { sl_reply_error(); break; }; t_reply("100","Conectandose"); if(!vm("/tmp/am_fifo","voicemail")){ log(1,"could not contact voicemail\n"); t_reply("500","could not contact voicemail"); }; }
-----------------------------------------
# SEMS debugging ./ans_machine -E -D 9 Configuration: configuration file: /etc/sems/sems.conf Ser's FIFO: /tmp/ser_fifo our FIFO: /tmp/am_fifo smtp server ip: localhost smtp server port: 25 announce path: /usr/local/lib/sems/audio/ default announce: default_en.wav plug-in path: /usr/local/lib/sems/plug-in/ maximum record time: 30 daemon mode: 0
(7313) INFO: run (AmServer.cpp:144): Loading application plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//apps/announcement.so ...
(7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application
'announcement' loaded.
(7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//apps/echo.so ...
(7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'echo'
loaded.
(7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//apps/voicemail.so ...
(7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'voicemail'
loaded.
(7313) INFO: run (AmServer.cpp:148): Loading audio plug-ins (7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//audio/gsm.so ...
(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 3 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'GSM'inserted
with id 3
(7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//audio/wav.so ...
(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 1 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 2 inserted (7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted
with id 0
(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted
with id 8
(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:238): file format Wav
inserted
(7313) INFO: run (AmServer.cpp:152): Starting session container (7313) INFO: run (AmServer.cpp:155): Starting mailer (7313) INFO: run (AmServer.cpp:158): FIFO waiting for work... (7313) DEBUG: run (AmServer.cpp:185): version= <0.2> (7313) ERROR: run (AmServer.cpp:249): ## Wrong FIFO Interface version ##
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers