Hi All,
I have a very basic question. Is there any way to add new rtpproxy instance
without restarting Kamailio?
As per my understanding, we can reload the dispatcher table when Kamailio
server is running with kamctl dispatcher reload
but do we have any such for rtpproxy list also from db when rtpproxy table
?
Below is my rtpproxy related config, load from DB ,
#Once RTPProxy was found unreachable and marked as disabled,
#the rtpproxy module will not attempt to establish communication to
RTPProxy for rtpproxy_disable_tout seconds.
modparam("rtpproxy", "rtpproxy_disable_tout", 120)
#only for local host.
modparam("rtpproxy", "timeout_socket",
"xmlrpc:http://127.0.0.1:8000/RPC2")
modparam("rtpproxy", "db_url",
"mysql://kamailio:xxxxxxxx@10.xx.xx.xx
/kamailio")
modparam("rtpproxy", "table_name", "rtpproxy")
#enable marker for sdp modification by rtpproxy
modparam("rtpproxy", "nortpproxy_str",
"a=sdpmangled:yes\r\n")
my current instance :
./kamcmd rtpproxy.list
{
setid: 0
url: udp:xxx.xx.xxx.xxx:7722
index: 2
disabled: 0
weight: 1
recheck: 0
}
Db
+----+-------+--------------------------+-------+--------+-------------+
| id | setid | url | flags | weight | description |
+----+-------+--------------------------+-------+--------+-------------+
| 1 | 0 | udp:XXX.XXX.XXX.XXX:7722 | 0 | 1 | |
+----+-------+--------------------------+-------+--------+-------------+
I already explored ./kamcmd rtpproxy.enable command , but it seems that
this command is useful for re-enabling or disabling existing rtpproxy
instance .
My purpose is to add new rtpproxy instance when Kamailio is running.
Thanks in advance. Any suggestion would very helpful.
Thanks & Regards
Pintu
Show replies by date