Hi, Provider expects me to control limit at my end. I have to do the scenario with static dialplan not with database/odbc. Thanks in advance for helping. On Mon, Jun 11, 2012 at 2:56 PM, Peter Olsson <peter.olsson@visionutveckling.se> wrote: 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_bridge#Implementing_Fai... . But blending it with limit and doing failover on Gateway down and on the basis of some cause code is confusing. Your help and hints are appreciated. --waisee !DSPAM:4fd5bc0432761819510119!