Can you check the state of the gateway via kamctl dispatcher list?
Cheers,
Daniel
On 13/01/15 11:51, Yuriy Gorlichenko wrote:
> Daniel. I added 8 algorithm to our server and it works with 2 servers
> now but it works strange because:
> While works server with priority 1 - all ok. When this serve
Daniel. I added 8 algorithm to our server and it works with 2 servers now
but it works strange because:
While works server with priority 1 - all ok. When this server goes down
dispatcher choose next server with lowes priority. But when server with
highest priority waking up dispatcher use server w
Daniel. Hello. I see changes at documentation about algorithms at 4.3
documentation for dispatcher. Now I see than 8 algo use priority. Not I set
this algorithm to my servers but priority still not worked.
my dispatcher settings Are
modparam("dispatcher", "db_url",DBURL)
modparam("dispatcher", "
It is 8. I added a bit more clear phrasing on the description:
-
http://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_dst
Cheers,
Daniel
On 10/01/15 00:31, Yuriy Gorlichenko wrote:
> Priority bassed? I've read about all algorithms of disatcher and can
> not find
Priority bassed? I've read about all algorithms of disatcher and can not
find that anone use priority...
-
“0” - hash over callid
-
“1” - hash over from URI.
-
“2” - hash over to URI.
-
“3” - hash over request-URI.
-
“4” - round-robin (next destination).
-
You probably look for priority based routing -- see the readme of
dispatcher module.
Cheers,
Daniel
On 09/01/15 17:52, Yuriy Gorlichenko wrote:
> I as wrote before - we find dispatcher algorithm than can do mechanism
> something like this:
> Try call to fist server with max priority or weight. OI
I as wrote before - we find dispatcher algorithm than can do mechanism
something like this:
Try call to fist server with max priority or weight. OIf this server
unavailible then call second server with less weight and etc.
Does anyone know what ling of algorithm we can use for this?
__