If the provider only allows you to use 30 channels, I guess they will send a specific error to you if you try to do more calls, so just handle that error as you handle 480, 503 etc.
/Peter
Från: freeswitch-users-bounces@
lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] För awais nazir
Skickat: den 11 juni 2012 11:43
Till: freeswitch-users@lists.freeswitch.org
Ämne: [Freeswitch-users] Gateway failover and ports limitation
Hi
Can u help me a bit here. I have a scenario like
GW_priority_1_30_ports
GW_priority_2_60_ports
So if first gatway is down or fails with giving cause code (480 or 503 ) OR its 30 channels are occupied then next carrier should be selected. And so on.
I can see failover config in dial plan http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ . But blending it with limit and doing failover on Gateway down and on the basis of some cause code is confusing.bridge#Implementing_Failover
Your help and hints are appreciated.
--waisee!DSPAM:4fd5bc0432761819510119!