<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi, <br><br>Provider expects me to control limit at my end. I have to do the scenario with static dialplan not with database/odbc.<br><br>Thanks in advance for helping.<br><br><br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 2:56 PM, Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="SV">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">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.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">/Peter</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Från:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>]
<b>För </b>awais nazir<br>
<b>Skickat:</b> den 11 juni 2012 11:43<br>
<b>Till:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a><br>
<b>Ämne:</b> [Freeswitch-users] Gateway failover and ports limitation</span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hi<br>
<br>
Can u help me a bit here. I have a scenario like<br>
<br>
GW_priority_1_30_ports<br>
GW_priority_2_60_ports<br>
<br clear="all">
<br>
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.<br>
<br>
I can see failover config in dial plan <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Implementing_Failover" target="_blank">
http://wiki.freeswitch.org/<wbr>wiki/Misc._Dialplan_Tools_<wbr>bridge#Implementing_Failover</a> . But blending it with limit and doing failover on Gateway down and on the basis of some cause code is confusing.<br>
<br>
Your help and hints are appreciated.<br>
<br>
--waisee</span></p>
</div>
</div></div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">!DSPAM:4fd5bc0432761819510119!
</span></p>
</div>
</div><br>
</blockquote></div>                                            </div></body>
</html>