Hi All !
I'm implementing SER, SEMS server, I've configured fifo as communication
method between them (folowing install manual). In ser.cfg I've enabled
conference part in INVITE message route handling as follows :
if (uri=~"sip:100.*@") {
if (!t_newtran()){
sl_send_reply("500","Could not create transaction");
break;
};
t_reply("100","Trying - just wait a minute !");
# assumes that Sems configuration parameter 'socket_name='
# has been set to /tmp/am_sock
if(!t_write_req("/tmp/am_fifo","conference")) {
t_reply("500","error contacting sems - in uri check
100");
};
break;
};
I can make a call on sip:100.*, but I don't have received any announcement
and in /var/log/syslog I see following problems with SEMS and more oftenly
with fifo permisions:
Aug 1 14:30:09 mail Sems[25848]: Error:
(SerClient.cpp)(read_from_fifo)(286): no more retries!
Aug 1 14:30:09 mail Sems[25848]: Error:
(SerClient.cpp)(read_from_fifo)(287): last error: Success Aug 1 14:30:09
mail Sems[25848]: Error: (SerClient.cpp)(send)(137): while reading Ser's
response.
Aug 1 14:30:09 mail Sems[25848]: Error: (AmRequest.cpp)(send)(219): while
sending request to Ser Aug 1 14:30:15 mail Sems[25852]: Error:
(SerClient.cpp)(read_from_fifo)(286): no more retries!
Aug 1 14:30:15 mail Sems[25852]: Error:
(SerClient.cpp)(read_from_fifo)(287): last error: Success Aug 1 14:30:15
mail Sems[25852]: Error: (SerClient.cpp)(send)(137): while reading Ser's
response.
Aug 1 14:30:15 mail Sems[25852]: Error: (AmRequest.cpp)(send)(219): while
sending request to Ser Aug 1 14:33:28 mail /usr/sbin/ser[25731]: ERROR:
open_reply_pipe: open error (/tmp/0000660D1443C4FC): Permission denied Aug
1 14:33:28 mail /usr/sbin/ser[25731]: ERROR: fifo_reply: no reply pipe
/tmp/0000660D1443C4FC
Thanks
palo