I have read the readme. Unfortunately it is not descriptive enough for someone not involved in the development or testing of kamailio.
Even your 'clarification' statement means very little to me. What would one use these flags for?
Could I perhaps check the value of a flag in my script to ensure my gateway is active, and if not immediately call next_gw() until I found a gateway which I flagged as 'active'?
Also- what is the recommended max routes for the lcr module. Would 10,000 be an acceptable number, or would the performance hit be too great?
Thanks, Geoff
On 3/6/09, Juha Heinanen jh@tutpro.com wrote:
Geoffrey Mina writes:
1 - The "flags" column in the LCR table, what exactly does it do? All I could find the docs is: "Gateway specific flags". Not sure what they would be for, or how I would use them.
you have not read the README file:
As a side effect of gateway selection, gateway's flags (that may contain information about capabilities of the gateway) are stored into an AVP.
2 - Say I had a gateway which was having problems. Maybe not down hard, but just failing to route properly. Is there an easy way to disable it without deleting the record?
there is no way to mark in the db that a gw is active or passive. see ping_interval module parameter if sending messages to the gw would help you.
-- juha