<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2737.800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" size=2>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.</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>SEMS is reading a variable in AmServer.h
as define FIFO_VERSION "0.1" and in the debugging i see:</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2> (7313) DEBUG: run
(AmServer.cpp:185): version= <0.2></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>So, the function at in AmServer.c return
the error</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT><FONT face="Trebuchet MS"
size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS"
size=2>
if(version !=
FIFO_VERSION){<BR>
consume_request();<BR>
throw string("## Wrong FIFO Interface version
##");<BR>
}<BR></FONT></DIV>
<DIV><FONT face="Trebuchet MS"
size=2>-------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2># My route in SER.CFG to
voicemail</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>route[8]
{<BR> log(1,"ROUTE_8:
VOICEMAIL");<BR> if (!t_newtran()) {
sl_reply_error(); break; };<BR>
t_reply("100","Conectandose");<BR>
if(!vm("/tmp/am_fifo","voicemail")){<BR>
log(1,"could not contact
voicemail\n");<BR>
t_reply("500","could not contact
voicemail");<BR>
};<BR>}<BR></FONT><FONT face="Trebuchet MS"
size=2>-------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2># SEMS debugging</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>./ans_machine -E -D 9</FONT></DIV>
<DIV><FONT face="Trebuchet MS"
size=2>Configuration:<BR> configuration
file: /etc/sems/sems.conf<BR> Ser's
FIFO:
/tmp/ser_fifo<BR> our
FIFO:
/tmp/am_fifo<BR> smtp server
ip:
localhost<BR> smtp server
port: 25<BR> announce
path:
/usr/local/lib/sems/audio/<BR> default
announce:
default_en.wav<BR> plug-in
path:
/usr/local/lib/sems/plug-in/<BR> maximum
record time: 30<BR> daemon
mode: 0</DIV>
<DIV> </DIV>
<DIV>(7313) INFO: run (AmServer.cpp:144): Loading application plug-ins<BR>(7313)
DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//apps/announcement.so ...<BR>(7313) DEBUG:
loadAppPlugIn (AmPlugIn.cpp:262): application 'announcement' loaded.<BR>(7313)
DEBUG: load (AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//apps/echo.so
...<BR>(7313) DEBUG: loadAppPlugIn (AmPlugIn.cpp:262): application 'echo'
loaded.<BR>(7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//apps/voicemail.so ...<BR>(7313) DEBUG:
loadAppPlugIn (AmPlugIn.cpp:262): application 'voicemail' loaded.<BR>(7313)
INFO: run (AmServer.cpp:148): Loading audio plug-ins<BR>(7313) DEBUG: load
(AmPlugIn.cpp:83): loading /usr/local/lib/sems/plug-in//audio/gsm.so
...<BR>(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:199): codec id 3
inserted<BR>(7313) DEBUG: loadAudioPlugIn (AmPlugIn.cpp:214): payload
'GSM'inserted with id 3<BR>(7313) DEBUG: load (AmPlugIn.cpp:83): loading
/usr/local/lib/sems/plug-in//audio/wav.so ...<BR>(7313) DEBUG: loadAudioPlugIn
(AmPlugIn.cpp:199): codec id 1 inserted<BR>(7313) DEBUG: loadAudioPlugIn
(AmPlugIn.cpp:199): codec id 2 inserted<BR>(7313) DEBUG: loadAudioPlugIn
(AmPlugIn.cpp:214): payload 'PCMU'inserted with id 0<BR>(7313) DEBUG:
loadAudioPlugIn (AmPlugIn.cpp:214): payload 'PCMU'inserted with id 8<BR>(7313)
DEBUG: loadAudioPlugIn (AmPlugIn.cpp:238): file format Wav inserted<BR>(7313)
INFO: run (AmServer.cpp:152): Starting session container<BR>(7313) INFO: run
(AmServer.cpp:155): Starting mailer<BR>(7313) INFO: run (AmServer.cpp:158): FIFO
waiting for work...<BR>(7313) DEBUG: run (AmServer.cpp:185): version=
<0.2><BR>(7313) ERROR: run (AmServer.cpp:249): ## Wrong FIFO Interface
version ##<BR></FONT></DIV></BODY></HTML>