Taymour A. El Erian wrote:
Bogdan-Andrei Iancu wrote:
Taymour,
as written in SEMS readme, you need to enable fifo_db_url on OpenSER2 in order to allow SEMS to fetch the email address. See http://openser.org/docs/db_fifo.html. Note that you also need to load a DB driver (mysql, postgres, dbtext).
regards, bogdan
Thanks a million, now it is working
Now I have a new problem. If a user is not online I get the voicemail immediately but if he is online and I get no answer it keeps ringing and I get this errors
Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_t_reply: lookup failed Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_server: command (t_reply) processing failed Sep 29 13:47:07 serry Sems[18104]: Error: (AmRequest.cpp)(reply)(368): AmRequestUAS::reply: 481 fifo_t_reply: no such transaction Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_t_reply: lookup failed Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_server: command (t_reply) processing failed Sep 29 13:47:07 serry Sems[18104]: Error: (AmRequest.cpp)(reply)(368): AmRequestUAS::reply: 481 fifo_t_reply: no such transaction Sep 29 13:47:07 serry Sems[18104]: Error: (AmSession.cpp)(run)(217): 500 could not send response. Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_t_reply: lookup failed Sep 29 13:47:07 serry /usr/sbin/openser[17945]: ERROR: fifo_server: command (t_reply) processing failed Sep 29 13:47:07 serry Sems[18104]: Error: (AmRequest.cpp)(reply)(368): AmRequestUAS::reply: 481 fifo_t_reply: no such transaction
Taymour A. El Erian wrote:
Bogdan-Andrei Iancu wrote:
Hi Taymour,
If I decrypted ;) right the trace you have a configuration with two OpenSER servers:
SIP FIFO
OpenSER1 <==========> OpenSER2 <------------> SEMS
Is this correct?
If so, be sure that the two OpenSERs have different fifo files configured (to avoid overlapping) and also check that SEMS writes back to fifo belonging to OpenSER2 and not to the one of OpenSER1 !!
regards, bogdan
You did decrypt right :). I fixed the fifo issue but now this is what I get
Sep 29 12:29:11 serry /usr/sbin/openser[16942]: ERROR: fifo_server: command DB is not available Sep 29 12:29:11 serry /usr/sbin/openser[16942]: ERROR: fifo_server: command must begin with :: email_address Sep 29 12:29:11 serry /usr/sbin/openser[16942]: ERROR: fifo_server: command must begin with :: subscriber Sep 29 12:29:11 serry /usr/sbin/openser[16942]: ERROR: fifo_server: command must have at least 3 chars Sep 29 12:29:11 serry Sems[16265]: Error: (AmSession.cpp)(startSession)(512): 404 voicemail: no email address for user <4000>
User 4000 already has an email address in the database (am using sems-0.9.0)