On Mon, 2006-07-17 at 01:20 +0330, Hamid Ali Asgari wrote:
I was wondering on OpenSER and came to a Question: How can call routing to SIP gateways be done based on their capacity? Lets say we have two SIP gateways each capable of handling 60 cuncurrent calls. How could I tell openser to forward the call number 61 to the next gateway? How would open ser know if the first gateway has free resources (previuos calls ended), and so on.
Personally I would use the dispatcher module to distribute your calls over both media gateways. You can always handle a failure response from one of the media gateways if it is full and try the next gateway.
Cheers, Peter