I have a question regarding the XMLRPC commands in the siremis GUI.
php-process-5.4.16-48.el7.x86_64
php-common-5.4.16-48.el7.x86_64
php-mysqlnd-5.4.16-48.el7.x86_64
php-pdo-5.4.16-48.el7.x86_64
php-xml-5.4.16-48.el7.x86_64
php-cli-5.4.16-48.el7.x86_64
php-pear-1.9.4-22.el7.noarch
When I execute commands in command service → XMLPRC from siremis GUI, it always shows no result.
It looks like the command is not being executed.
I also executed these commands on server, and there are no problem.
There is no error in apache log and kamailio is also working.
This is what I have in /etc/kamailio/kamailio.cfg
#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"
#FLT_ - per transaction (message) flags
####### Global Parameters #########
loadmodule "nathelper.so"
loadmodule "rtpengine.so"
####### Modules Section ########
#mpath="/usr/local/lib/kamailio/modules/"
#loadmodule "db_mysql.so"
loadmodule "dispatcher.so"
# ----- jsonrpcs params -----
modparam("jsonrpcs", "pretty_format", 1)
modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock")
modparam("jsonrpcs", "dgram_mode", 0666)
modparam("jsonrpcs", "dgram_user", "kamailio")
modparam("jsonrpcs", "dgram_group", "kamailio")
modparam("jsonrpcs", "transport", 0)
# ----- xmlrpc params -----
#modparam("xmlrpc", "route", "XMLRPC")
#modparam("xmlrpc", "url_match", "^/RPC")
modparam("rr", "append_fromtag", 1)
modparam("rtimer", "timer", "name=cdr;interval=300;mode=1;")
modparam("rtimer", "exec", "timer=cdr;route=CDRS")
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd;src_ip=$si")
modparam("tm", "fr_timer", 2000)
modparam("tm", "fr_inv_timer", 40000)
modparam("tm", "auto_inv_100_reason", "Trying")
# ----- dispatcher params -----
modparam("dispatcher", "db_url", DBURL)
modparam("dispatcher", "table_name", "dispatcher")
modparam("dispatcher", "flags", 2)
modparam("dispatcher", "xavp_dst", "_dsdst_")
modparam("dispatcher", "xavp_ctx", "_dsctx_")
modparam("dispatcher", "ds_ping_interval", 60)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_timer_mode", 1)
modparam("dispatcher", "xavp_dst_mode", 0)
modparam("dispatcher", "ds_ping_latency_stats", 1)
modparam("dispatcher", "ds_ping_method", "OPTIONS")
modparam("dispatcher", "ds_probing_threshold", 10)
modparam("dispatcher", "ds_inactive_threshold", 10)
modparam("dispatcher", "ds_ping_reply_codes","class=2;code=403;code=404;code=484;class=3")
modparam("uac", "reg_db_url", DBURL)
modparam("uac", "reg_contact_addr", "52.69.75.254")
modparam("uac", "reg_db_table", "uacreg")
modparam("sqlops", "sqlcon","cb=>mysql://kamailio:kamailiorw@localhost/kamailio")
####### Routing Logic ########
# main request routing logic
# per request initial checks
if (is_method("CANCEL")) {
# handle requests within SIP dialogs
### only initial requests (no To tag)
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
if (is_method("INVITE|SUBSCRIBE")) {
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
# handle presence related requests
# request with no Username in RURI
sl_send_reply("484","Address Incomplete");
# Per SIP request initial checks
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
if(!sanity_check("1511", "7")) {
xlog("Malformed SIP message from $si:$sp\n");
# Handle requests within SIP dialogs
# sequential request withing a dialog should
# take the path determined by record-routing
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the transaction fails
if (is_method("SUBSCRIBE") && uri == myself) {
# in-dialog subscribe requests
if ( is_method("ACK") ) {
sl_send_reply("404","Not here");
# Handle SIP registrations
if(!is_method("REGISTER"))
sl_send_reply("404", "No registrar");
if(!is_method("PUBLISH|SUBSCRIBE"))
sl_send_reply("404", "Not here");
# round robin dispatching on gateways group '1'
if(!ds_select_dst("1", "11")) {
send_reply("404", "No destination");
xdbg("--- SCRIPT: going to <$ru> via <$du> (attrs: $xavp(_dsdst_=>attrs))\n");
t_on_failure("RTF_DISPATCH");
# Try next destionations in failure route
failure_route[RTF_DISPATCH] {
# next DST - only for 500 or local timeout
if (t_check_status("500|486")
or (t_branch_timeout() and !t_branch_replied())) {
xdbg("--- SCRIPT: retrying to <$ru> via <$du> (attrs: $xavp(_dsdst_=>attrs))\n");
t_on_failure("RTF_DISPATCH");
I have tried my best to do some researches about it, but still stuck.
Any help is appreciated. Thank you!