<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Don’t know if this helps but I have that scenario working on a 2N Voiceblue Lite. If the GSM gw is unavailable or all 4 sim cards are in use, the call fails
 back to the local ISDN.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">On the 2N under Gateway Configuration I have set the following:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">SIP parameters | SIP Protocol</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Check Send 180 Ringing instead of 183 Session progress</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Check Send 200 OK instead of 180/183</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">There might be some other Service Parameters for Cisco CallManager | Advanced | SIP that you might need to check also.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I think I might have also had one route list, with two route groups. One route group being the SIP trunk to the GSM gateway and one route group being the
 H323 voice gateway to ISDN. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hope this helps a little.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><br>
Cheers</span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net]
<b>On Behalf Of </b>Nathan Reeves<br>
<b>Sent:</b> Wednesday, 19 October 2011 6:32 PM<br>
<b>To:</b> cisco-voip@puck.nether.net<br>
<b>Subject:</b> [cisco-voip] Route Group Distribution Algorithm and SIP</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Scenario as follows:</p>
</div>
<div>
<p class="MsoNormal"> - 2 GSM Gateways located in different offices. (2N Voiceblue Enterprise)</p>
</div>
<div>
<p class="MsoNormal"> - 2 SIM Cards in each gateway.</p>
</div>
<div>
<p class="MsoNormal"> - GSM Gateways are connected via SIP trunks.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">What I want to do is setup route patterns for specific (company plan) mobiles so that when calls are made to these numbers they head out the GSM gateways.  I'm having issues getting a failover scenario to work with this though.  If two
 calls are in progress on GSM Gateway 1, calls should be attempted on GSM Gateway 2.  If both channels are in use on Gateway 2 then we should push the calls out PSTN.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I've attempted to place the two Gateways in one Route group, but with two calls on Gateway 1, calls don't proceed to Gateway 2.  From logs I'm seeing on Gateway 1 that it's passing the following back to CUCM:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<div>
<p class="MsoNormal">10/19/2011 20:06:08.38 <SIP> Rejecting incomming call. Reason 11</p>
</div>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<div>
<p class="MsoNormal">10/19/2011 20:06:08.39 <SIP> To: 10.10.10.1 SIP/2.0 480 Temporarily Unavailable</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I've looked into using Locations and AAR but I'm not sure I'm going to get what I want with that setup.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Anybody have any ideas if something like this failover is possible? How does the the Distribution algorithm work in the situation of SIP Trunks and detection of failure / when we should proceed to the second gateway in the RG?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Nathan</p>
</div>
</div>
<span style="color:rgb(81,76,81); font-size:8pt; font-family:'Arial'">This communication may contain confidential or copyright information of Telstra iVision Pty Ltd (ABN 72 008 056 700). If you are not an intended recipient, you must not keep, forward, copy,
 use, save or rely on this communication, and any such action is unauthorised and prohibited. If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery, and then delete both it and your reply.
 Thank you.</span>
</body>
</html>