[Asterisk-Users] PRI Dropped Calls - Audit, Restore, Idle state
Peter Svensson
psvasterisk at psv.nu
Mon Jan 31 14:33:58 MST 2005
On Mon, 31 Jan 2005, Jeb Campbell wrote:
> We are using Asterisk on a T1 (pri) to Bellsouth.
>
> Calls are getting dropped calls every 60 minutes and we asked Bellsouth
> to debug the line.
>
> (Note, this was told to me and I have no idea what it means)
> They said that we are sending an Audit and then Restore (to Idle state)
> which causes the calls to be dropped.
>
> Has anyone else experiencing this? Any tips to verify or fix?
Does the drop correspond with a lot of lines like:
B-channel 0/1 successfully restarted on span 1
in the log?
Asterisk tries to restart all idle line once an hour. This should only
affect the channels that are idle but on our equipment (a Panasonic PBX)
all channels are dropped. We use the following patch to basically disable
the resets:
--- asterisk/channels/chan_zap.c.ORIG 2004-06-15 17:56:09.000000000 +0200
+++ asterisk/channels/chan_zap.c 2004-06-15 17:56:24.000000000 +0200
@@ -135,7 +135,8 @@
#define NUM_SPANS 32
#define NUM_DCHANS 4 /* No more than 4 d-channels */
#define MAX_CHANNELS 672 /* No more than a DS3 per trunk group */
-#define RESET_INTERVAL 3600 /* How often (in seconds) to reset unused channels */
+//#define RESET_INTERVAL 3600 /* How often (in seconds) to reset unused channels */
+#define RESET_INTERVAL (3600*24*1000) /* How often (in seconds) to reset unused channels */
#define CHAN_PSEUDO -2
It is not a pretty patch, but it solved our problems. It really should be
configurable.
Peter
More information about the asterisk-users
mailing list