[asterisk-ha-clustering] load balance with openser

Siller Janosch janosch.siller at badenit.de
Fri Feb 22 02:15:13 CST 2008


Hi Edgar,

> -----Ursprüngliche Nachricht-----
> Von: asterisk-ha-clustering-bounces at lists.digium.com 
> [mailto:asterisk-ha-clustering-bounces at lists.digium.com] Im 
> Auftrag von Edgar Guadamuz
> Gesendet: Donnerstag, 21. Februar 2008 20:11
> An: Asterisk High Availability and Clustering List - 
> Non-CommercialDiscussion
> Betreff: [asterisk-ha-clustering] load balance with openser
> 
> I was looking at
> http://www.openser.org/dokuwiki/doku.php/asterisk:load-balanci
> ng-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?

Asterisk is the registrar in this example.
If openser should be the registrar, you have to authorize/challange the user before you forward the request to asterisk boxes.

br,
janosch



More information about the asterisk-ha-clustering mailing list