[asterisk-ha-clustering] load balance with openser

Edgar Guadamuz eguadamuz at gmail.com
Thu Feb 21 13:10:42 CST 2008


I was looking at
http://www.openser.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha
to see how do load balance with OpenSER.


As there can be seen, the balance is reach through the INVITE messages:

if ( method=="INVITE" ) {
# dst_select( "GROUP", "HASH METHOD")
  dst_select("1","4");
  sl_send_reply("100","Trying");
  forward(uri:host, uri:port);
  exit();
}


My question is: where the user register? in the openser box or in the
asterisk boxes?



More information about the asterisk-ha-clustering mailing list