James Van Vleet
2009-May-06 17:04 UTC
[asterisk-users] shut down a single PRI on a running Asterisk system?
Excuse me if this is in the archives or on the net somewhere - I really did search. ;-) We are wondering if there is any way to shut down a single PRI without having to down Asterisk and/or interrupt other running PRI circuits. We use Asterisk servers with 4 port Digium PRI cards. In the last few days we ran into a situation where the 3 of the 4 PRIs were operating fine and had live calls on them while the 4th was going up and down. The server is remote and so physically pulling the cable is not a quick option. I did find one posting asking this question over a year ago and being told there was no way - I would like to confirm before we possibly change over our design - having a router or other device terminate the PRIs may be required if we cannot take a single circuit out service. Currently running Asterisk 1.4.18.1 but we are also interested if this is implemented in other versions. Also interested if any has other solutions to this problem. Thanks everyone! -James -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090506/50341259/attachment.htm
David Backeberg
2009-May-06 17:57 UTC
[asterisk-users] shut down a single PRI on a running Asterisk system?
On Wed, May 6, 2009 at 1:04 PM, James Van Vleet <james.vanvleet at verety.com> wrote:> We are wondering if there is any way to shut down a single PRI without > having to down Asterisk and/or interrupt other running PRI circuits.Somebody who knows Zaptel better could tell you whether this is a bad idea, but my first thought was: take out the config for that span from zaptel.conf, then run ztcfg. Although my memory is that will kill any calls on any zaptel device? A solution that has worked for us to physically switch circuits into Digium cards is: http://www.wti.com/AFS-Series/AFS-16-Automatic-AB-Fallback-Switch.html The AFS-16 has a serial device that you can then control with your favorite serial controller software.
Tilghman Lesher
2009-May-06 21:08 UTC
[asterisk-users] shut down a single PRI on a running Asterisk system?
On Wednesday 06 May 2009 12:04:08 James Van Vleet wrote:> We are wondering if there is any way to shut down a single PRI without > having to down Asterisk and/or interrupt other running PRI circuits. > > We use Asterisk servers with 4 port Digium PRI cards. In the last few > days we ran into a situation where the 3 of the 4 PRIs were operating > fine and had live calls on them while the 4th was going up and down. > > The server is remote and so physically pulling the cable is not a quick > option. I did find one posting asking this question over a year ago and > being told there was no way - I would like to confirm before we possibly > change over our design - having a router or other device terminate the > PRIs may be required if we cannot take a single circuit out service. > > Currently running Asterisk 1.4.18.1 but we are also interested if this > is implemented in other versions. Also interested if any has other > solutions to this problem.In trunk (1.6.3 and later), we have a command "pri service disable channel" for doing this exact procedure. Support for this has been a long time coming, as the patch came from issue 3450 (http://bugs.digium.com/view.php?id=3450). -- Tilghman
Jeff LaCoursiere
2009-May-06 21:23 UTC
[asterisk-users] shut down a single PRI on a running Asterisk system?
On Wed, 6 May 2009, Tilghman Lesher wrote:> In trunk (1.6.3 and later), we have a command "pri service disable channel" > for doing this exact procedure. Support for this has been a long time coming, > as the patch came from issue 3450 (http://bugs.digium.com/view.php?id=3450). >Will this work for RBS T1s as well? Cheers, j
Tzafrir Cohen
2009-May-06 22:47 UTC
[asterisk-users] shut down a single PRI on a running Asterisk system?
On Wed, May 06, 2009 at 11:04:08AM -0600, James Van Vleet wrote:> Excuse me if this is in the archives or on the net somewhere - I really > did search. ;-) > > > > We are wondering if there is any way to shut down a single PRI without > having to down Asterisk and/or interrupt other running PRI circuits.Brute force: zap destroy channel <N> zap destroy channel <N+1> ... You'll need to restart Asterisk to get them back (if you'll want to) eventually. On newer (>= 1.4.22) version of Asterisk, 'dahdi restart' will also do. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir