I'm new to dispatcher - wanted to clarify couple of things...


I'm using algorithm 7 (hash over the content of PVs string) to pick a 
destination.


modparam("dispatcher", "hash_pvar", "$pvar")
ds_select_dst("1", "7");


Let's say the probing_mode is 1, and based on the value of $pvar  (A, B, C, 
etc.), incoming requests are dispatched in the following fashion:


A -> Asterisk1
B -> Asterisk1
C -> Asterisk2
D -> Asterisk3
E -> Asterisk4
F -> Asterisk4


What happens to E, F if Asterisk4 fails? Are they distributed among the 
remaining servers or do they all go to the same server? 

Do A, B, C, D still go to the same servers? In other words, is the hash 
recalculated?


Can hash_pvar be changed; e.g. use $si for route[1], use $ci for 
failure_route[1]?


Thanks,
Matt
                                          
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to