<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\0027Times New Roman\0027";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I think the problem is that the telco
presents the call on a specific channel, then zaptel tells it that the channel
is busy.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We need to be able to tell the telco that each
unused channel on a given span is unavailable, and it will determine that the others
are in use and will present the call on a channel on another span.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A rather ugly work-around (since Andrew
seems to have lots of channels available, and one would assume that maintenance
of this nature would occur during slow periods) would be to make calls to a DID
in the same trunk group on all “idle” channels on the span shutting
down then, when all channels on the span are “in use” and none of
them are doing anything useful, take the span down hard so the telco will
divert all calls to another span.</span></font></p>
<div>
<p style='margin-bottom:12.0pt'><font size=2 color=navy face="Times New Roman"><span
style='font-size:10.0pt;color:navy'> --Don<br>
<br>
Don Kelly<br>
PCF Corp<br>
Real Support for your Virtual Office TM<br>
651 842-1000<br>
888 Don Kell(y)<br>
651 842-1001 fax<br>
<br>
</span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Matt<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, February 14, 2008
2:28 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] ISDN
PRIs and taking a server down formaintenance - blocking issue</span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Honestly..
this sounds like a telco issue. I understand what the other
person is saying about the PRI still being technically up... BUT... if the
channel is BUSY/BLOCKED/WHATEVER, the Telco should be forwarding the call to
the next available channel, which they clearly are not doing.</span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Thu, Feb 14, 2008 at 8:29 AM, Andrew Smith <<a
href="mailto:andrews@meadeplc.com">andrews@meadeplc.com</a>> wrote:</span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>Hi
Tim,</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>Imagine the
scenario where we had 10x Asterisk servers, with calls presenting sequentially
starting from the first server, then server two, etc.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>If
we took down the first server for maintenance with 'asterisk -rx stop
gracefully' we then will block all incoming calls to all servers as our telco
will simply relay the BUSY back to the caller. If there are a number of calls
on the first server that continue for another 20 minutes, then all inbounds are
blocked for that period of time.</span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>We
are finding at present we have to look at the calls on the server and make a
decision if we are busy to simply reboot the server and hence lose calls. Not
ideal but then we don't end up blocking our inbounds.<br>
<br>
What I was hoping to do was find a way to cause the telco to present the call
to the next ISDN30 and therefore would allow us to cleanly take down an Asterisk
server for maintenance without causing this issue. In a sense to put the ISDN30
into alarm mode while still continuing the active calls.</span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>Do
you know if this is at all possible, even if we considered patching zaptel to
add this functionality or does the telco rely on the entire PRI being in alarm
before it presents the call to the next ISDN30 ? This would allow us to run
maintenance on our servers during busy periods without causing disruption, and
would be an excellent feature.<br>
<br>
Many thanks,</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3
face="'Times New Roman'"><span style='font-size:12.0pt;font-family:"\0027Times New Roman\0027"'>Andrew</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Tim Nelson<br>
<b><span style='font-weight:bold'>Sent:</span></b> 13 February 2008 18:12<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Cc:</span></b> <a
href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] ISDN
PRIs and taking a server down for maintenance - blocking issue</span></font></p>
<div>
<div>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Even
if * is shutdown, zaptel is still running and your ISDN channels are still
technically up. Shutting down zaptel should close the channels and put those
circuits into alarm mode.<br>
<br>
Tim Nelson<br>
Systems/Network Support<br>
Rockbochs Inc.<br>
(218)727-4332<br>
<br>
----- Original Message -----<br>
From: "Andrew Smith" <<a href="mailto:andrews@meadeplc.com"
target="_blank">andrews@meadeplc.com</a>><br>
To: <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
Sent: Wednesday, February 13, 2008 12:03:51 PM (GMT-0600) America/Chicago<br>
Subject: [asterisk-users] ISDN PRIs and taking a server down for maintenance -
blocking issue</span></font></p>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi there,</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I currently have multiple Asterisk
servers using Sangoma A104d Quad ISDN E1s.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>Basically our telco is presenting calls in order of the ISDNs on our
servers.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>SERVER1=1,2,3,4<br>
SERVER2=5,6,7,8</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>We have redundancy in that if
SERVER1 is shutdown then each ISDN PRI is in alarm and the calls will then
presented to PRIs 5,6,7,8 on SERVER2.<br>
<br>
If I have to take SERVER1 offline for maintenance (asterisk -rx shutdown
gracefully) any incoming calls receive a BUSY tone.<br>
<br>
What I would like to know is if there is anyway to get around this and not send
a BUSY back to our callers and somehow allow our telco to present calls
immediately to SERVER2.<br>
<br>
Anyone have any ideas or are we stuck with this behaviour until the calls
drop to 0 and Asterisk shuts down ?<br>
<br>
Thanks,<br>
Andrew</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>