Changed message and its meaning from cluster.node to cluster.locate
git-svn-id: http://yate.null.ro/svn/yate/trunk@1968 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
2c49ec0c58
commit
c664823cab
|
@ -13,8 +13,8 @@
|
|||
; callto: string: Template for forwarding the call to target node
|
||||
;callto=
|
||||
|
||||
; message: string: Message used for operations on cluster nodes
|
||||
;message=cluster.node
|
||||
; locate: string: Message used for locating dynamic resources on cluster nodes
|
||||
;locate=cluster.locate
|
||||
|
||||
|
||||
[priorities]
|
||||
|
|
|
@ -104,7 +104,7 @@ bool ClusterModule::msgExecute(Message& msg)
|
|||
// check if the node is to be dynamically allocated
|
||||
if ((node == "*") && m_message) {
|
||||
Message m(m_message);
|
||||
m.addParam("operation","allocate");
|
||||
m.addParam("allocate",String::boolText(true));
|
||||
m.addParam("nodename",Engine::nodeName());
|
||||
m.addParam("callto",callto);
|
||||
const char* param = msg.getValue("billid");
|
||||
|
@ -208,7 +208,7 @@ void ClusterModule::initialize()
|
|||
m_prefix += "/";
|
||||
m_regexp = cfg.getValue("general","regexp");
|
||||
m_callto = cfg.getValue("general","callto");
|
||||
m_message = cfg.getValue("general","message","cluster.node");
|
||||
m_message = cfg.getValue("general","locate","cluster.locate");
|
||||
unlock();
|
||||
if (!m_init && cfg.getBoolValue("general","enabled",(m_callto && m_regexp))) {
|
||||
setup();
|
||||
|
|
Loading…
Reference in New Issue