[SR-Users] Siremis JSONRPC problem on Bullseye

Joseph Goettgens webaccounts134 at jgoettgens.de
Mon Jun 6 11:02:02 CEST 2022


Hi,

I seem to have a problem setting up Siremis 5.3 on a Debian 11 box using 
the Kamailio 5.6.0 release (installed from repo).

When I enter something like core.uptime into the JSONRPC Command Panel, 
I get a "System Internal Error" alert. The Apache error log then says:

[Mon Jun 06 10:48:41.459377 2022] [php7:notice] [pid 22322] [client 
192.168.xxx.xxx:45030] socket bind failed: No such file or directory, 
referer: http://deb11srv1-kamailio/siremis/sipadmin/jrcmds

The path siremis/sipadmin/jrcmds obviously does not seem to exist and I 
assume that one needs some internal adjustments for some paths.

As far as the socket is concerned, 
siremis/modules/sipadmin/service/siremisJRCommands.xml has the definition:

UnixSockRemote name="unixsockremote" 
address="/var/run/kamailio/kamailio_rpc.sock" timeout="3.0"/>

and the corresponding definition in /etc/kamailio/kamailio.cfg is:

modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock")
modparam("jsonrpcs", "dgram_mode", 0666)

which looks fine to me. I also checked for the existence of the socket 
and its access rights.

Any suggestions?




More information about the sr-users mailing list