Hi all
i have multiple gateway devices to PSTN. All are equal in terms of what destinations may be reached behind it or the termination costs. I use multiple devices for two reasons: capacity and failover.
So what i need is functionality to hunt lines or at least doing a crank back (or even better both). The best way to this (IMHO) would be to track the line usage on each gateway and check it before routing to a gateway to make sure, there is a line available to place the call to (this would be a kind of line hunting). But i could also "live" with a solution that works more like a failover mechanism. In that case i would route the call to the first gateway in my list and if it is not available or has no more free lines, i would need to detect this, take the call back and place it on another gateway.
As far as i could find out, there is no hunting, failover or crank back support directly built into SER. Is it possible to implement such functionality using the "common" routing scripts in SER? Did anyone of you ever had similar requirements and did you find a way to fullfill it?
I'm very thankfull for any idea, hint, snipplet, ....
Thanks a lot for your help. Best Regards Frank
Frank Fischer wrote:
As far as i could find out, there is no hunting, failover or crank back support directly built into SER. Is it possible to implement such functionality using the "common" routing scripts in SER? Did anyone of you ever had similar requirements and did you find a way to fullfill it?
You can use lcr module for this...
Andy
frank,
look at lcr module in cvs head version. there may also be backports to stable version.
-- juha
Hi Juha
Thanks for your reply (thanks to Andreas Granig too).
As far as i understand from your README in the cvs, the module is a least cost routing module that might be "a little bit mis-used" to support a kind of failover line hunting/gateway hunting. I would have to put all my gateways into one group (as long as they have the same gateway parameter like destinations and so on). Do i get this right?
What is the current state of the lcr module (unstable, stable, tested, ..)? Does it run with SER 0.9.3 or does it require the current cvs version of SER? What do you mean with there MAY be also backports to stable versions (i mean i know what a backport is, but where to look for such a backport)?
Greetings Frank
-----Ursprüngliche Nachricht----- Von: Juha Heinanen [mailto:jh@tutpro.com] Gesendet: Mittwoch, 31. August 2005 13:43 An: Frank Fischer Cc: serusers@lists.iptel.org Betreff: [Serusers] Support for multiple PSTN Gateways (hunting, crank back)
frank,
look at lcr module in cvs head version. there may also be backports to stable version.
-- juha
Frank Fischer writes:
As far as i understand from your README in the cvs, the module is a least cost routing module that might be "a little bit mis-used" to support a kind of failover line hunting/gateway hunting. I would have to put all my gateways into one group (as long as they have the same gateway parameter like destinations and so on). Do i get this right?
no, if you want to select the order in which the gws are applied, each of them has to belong in its own group. read readme file carefully and if things are not clear, read the code and submit a patch to readme.
-- juha