[Kamailio-Users] how to know if my gw servers are active ?

BERGANZ François francois at acropolistelecom.net
Fri Feb 27 10:24:43 CET 2009


I have 1 SER and 5 ASTERISK.
I dispatch SIP with my own logic to choose the asterisk.
I need in my scrypt to choose among actives asterisk.

Then, how to know which asterisk is active? Is it possible that the SER OPTIONS each asterisk(s) and put the result is a database ?


Thank you


Cordialement,
BERGANZ François
 Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.


-----Message d'origine-----
De : Henning Westerholt [mailto:henning.westerholt at 1und1.de] 
Envoyé : vendredi 27 février 2009 10:07
À : users at lists.kamailio.org
Cc : BERGANZ François
Objet : Re: [Kamailio-Users] how to know if my gw servers are active ?

On Friday 27 February 2009, BERGANZ François wrote:
> I have a list of servers in my database.
> I need that openser send OPTIONS to servers.
> for example, I could have a col 'active' to know if each server is active
> or not.
>
> In fact, I need to do an other style of dispatch, and, I cant use the
> dispatcher module!
>
> is there a solution for that ?

Hi François,

there are several other LB-style modules. For example lcr, or carrierroute. 
The cr module don't do active probing of GWs, for this you need to use some 
external scripts, or manual intervention. But withough more informations 
about the functionality you actually need to achive its hard to make 
recommendations..

Cheers,

Henning





More information about the sr-users mailing list