[Serusers] Wrong FIFO Interface version

Atle Samuelsen clona at cyberhouse.no
Fri May 14 14:47:56 CEST 2004


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 at 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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list