Cluster.locate: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
Created page with " '''cluster.locate''' is used to locate or allocate a resource on cluster nodes. ===Mandatory parameters=== ;nodename : name of the node requesting the operation ;callto..."
 
No edit summary
 
Line 21: Line 21:


A module should acknowledge the message if the node was located or allocated. The returned text value is the node name. If the message returns false then the node was not found and was not allocated.
A module should acknowledge the message if the node was located or allocated. The returned text value is the node name. If the message returns false then the node was not found and was not allocated.
'''See also'''
*[[cluster.send]]

Latest revision as of 15:23, 21 January 2013

cluster.locate is used to locate or allocate a resource on cluster nodes.

Mandatory parameters

nodename
name of the node requesting the operation
callto
target resource whose node is to be located

Optional

allocate
set to true to allocate a new node for the callto resource if it cannot be located
billid
billing ID of the incoming call that triggered the resource location request
username
user ID of the incoming call leg, if any

Return value

A module should acknowledge the message if the node was located or allocated. The returned text value is the node name. If the message returns false then the node was not found and was not allocated.


See also