Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-19 Thread Daniel-Constantin Mierla



On 8/17/11 3:36 PM, Edson - Lists wrote:
Couldn't this be already doable through Lua or other external way? 
Something like "ask all asterisk box about their load and return the 
next to receive the call"?
This is doable, indeed, but Lua or C or ... will require some some 
coding ... hope to see such implementations in public space soon :-)


Cheers,
Daniel



Edson.

Em 17/08/2011 07:17, Daniel-Constantin Mierla escreveu:



On 8/17/11 12:07 PM, Olle E. Johansson wrote:

At some point I would love integrating Asterisk AMI feedback into the
scheme. If we do that, we can get proper load balancing for Asterisk,
based on current usage and capacity of each server, not just calls
sent to them from Kamailio.

That would be indeed useful -- if you hurry up, you can make it to
upcoming v3.2.0 :-)

Cheers,
Daniel


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-19 Thread Daniel-Constantin Mierla



On 8/18/11 12:24 AM, Stefan Sayer wrote:


Wouldn't it make more sense to add current load information to some 
headers of all messages coming from asterisk? most probably, the 
app/media server/gateway is sending messages to the proxy very often 
anyway, and if not, some options pinging can be done if there's no 
traffic for a while (probably proprietary format - at least I don't 
know about a standard defined for that).
The dispatcher module can send OPTIONS requests to see if the peers are 
still available. The reply to them can include such headers. This can be 
a way of communication, indeed.


Cheers,
Daniel



Stefan


o Edson - Lists on 08/17/2011 03:36 PM:

Couldn't this be already doable through Lua or other external way?
Something like "ask all asterisk box about their load and return the
next to receive the call"?

Edson.

Em 17/08/2011 07:17, Daniel-Constantin Mierla escreveu:



On 8/17/11 12:07 PM, Olle E. Johansson wrote:

At some point I would love integrating Asterisk AMI feedback into the
scheme. If we do that, we can get proper load balancing for Asterisk,
based on current usage and capacity of each server, not just calls
sent to them from Kamailio.

That would be indeed useful -- if you hurry up, you can make it to
upcoming v3.2.0 :-)

Cheers,
Daniel


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users






--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Stefan Sayer


Wouldn't it make more sense to add current load information to some 
headers of all messages coming from asterisk? most probably, the 
app/media server/gateway is sending messages to the proxy very often 
anyway, and if not, some options pinging can be done if there's no 
traffic for a while (probably proprietary format - at least I don't 
know about a standard defined for that).


Stefan


o Edson - Lists on 08/17/2011 03:36 PM:

Couldn't this be already doable through Lua or other external way?
Something like "ask all asterisk box about their load and return the
next to receive the call"?

Edson.

Em 17/08/2011 07:17, Daniel-Constantin Mierla escreveu:



On 8/17/11 12:07 PM, Olle E. Johansson wrote:

At some point I would love integrating Asterisk AMI feedback into the
scheme. If we do that, we can get proper load balancing for Asterisk,
based on current usage and capacity of each server, not just calls
sent to them from Kamailio.

That would be indeed useful -- if you hurry up, you can make it to
upcoming v3.2.0 :-)

Cheers,
Daniel


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
frafos.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Edson - Lists
Couldn't this be already doable through Lua or other external way? 
Something like "ask all asterisk box about their load and return the 
next to receive the call"?


Edson.

Em 17/08/2011 07:17, Daniel-Constantin Mierla escreveu:



On 8/17/11 12:07 PM, Olle E. Johansson wrote:

At some point I would love integrating Asterisk AMI feedback into the
scheme. If we do that, we can get proper load balancing for Asterisk,
based on current usage and capacity of each server, not just calls
sent to them from Kamailio.

That would be indeed useful -- if you hurry up, you can make it to
upcoming v3.2.0 :-)

Cheers,
Daniel


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Daniel-Constantin Mierla



On 8/17/11 12:07 PM, Olle E. Johansson wrote:

At some point I would love integrating Asterisk AMI  feedback into the scheme. 
If we do that, we can get proper load balancing for Asterisk, based on current 
usage and capacity of each server, not just calls sent to them from Kamailio.
That would be indeed useful -- if you hurry up, you can make it to 
upcoming v3.2.0 :-)


Cheers,
Daniel


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Olle E. Johansson
At some point I would love integrating Asterisk AMI  feedback into the scheme. 
If we do that, we can get proper load balancing for Asterisk, based on current 
usage and capacity of each server, not just calls sent to them from Kamailio.

/O
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Daniel-Constantin Mierla

Hello,

the example in README of dispatcher module in devel branch has a better 
example of using it for load balancing:


http://kamailio.org/docs/modules/devel/modules_k/dispatcher.html#id2523016

Cheers,
Daniel

On 8/17/11 4:20 AM, Nick Khamis wrote:

Hello Everyone,

I saw the simple load balancing of asterisk using x-SER documentation
here "http://www.kamailio.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha";.
Are there any up-tp-date not so simple documentation for setting up HA
and LB asterisk instances using x-SER.

Thanks in Advance,

Nick Khamis
Toronto Hydro Telecom

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-16 Thread Nick Khamis
Hello Everyone,

I saw the simple load balancing of asterisk using x-SER documentation
here "http://www.kamailio.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha";.
Are there any up-tp-date not so simple documentation for setting up HA
and LB asterisk instances using x-SER.

Thanks in Advance,

Nick Khamis
Toronto Hydro Telecom

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users