RE: [Asterisk-Users] Problem with T1 PRI line resetting/dropping calls.
Thanks, but that post doesn't cover the red alarms... Which is probably the most important error message in the log. When I said Middle of the night, I mean various times in the night.. 10pm, 2am, 3am, etc. It also happens in the middle of the day... 10am, 1:30pm, etc. Its all over the map. The system is hardware Raid-1 mirroring (Dell 1650 with a raid option). SCSI drives. It looks like others have agreed that there is probably a bigger problem on the line causing the red alarms. Thanks for your help so far... I am going to request a monitor on our line to see if they can see anything... I don't have much hope in that, though.. Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Kohlsmith Sent: Friday, June 04, 2004 4:32 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem with T1 PRI line resetting/dropping calls. On Friday 04 June 2004 15:02, Gary Franczyk wrote: I searched the archives and nothing seemed to fit the problem. Most of the posts I have found say what you said... this was just discussed, but I cannot find any good information about the actual discussion. If you can send a link to the thread you are talking about, I will check it out. http://lists.digium.com/pipermail/asterisk-users/2004-June/049407.html It is unlikely that it is a load issue. This sometimes happens in the middle of the night when there is almost no one using the system. I haven't seen a real corelation between the dropped calls and system load. It does nothing else. Not even backups. The T1 reset seems to come at random times. Middle of the night as in... around 4:40am or so? The system only accepts incoming calls... usually only during business hours, with heavier load during the afternoon. The disks system is a two disk raid-1 mirror. hardware RAID or software RAID, and is it IDE? Processes which hold interrupts too long can cause this, and among those kinds of things is IDE block-master DMA. I don't know if you can get away with reducing the PCI latency timer in the BIOS; linux usually overwrites these settings anyway, but you might have some luck. Red Alarms aren't generated with high load, nor a latent PCI system; I would have the telco check out the lines (or have a T1 monitor installed to watch it for you while it's live) -- I think you've got bigger issues, but I don't think the Error 500s are related to the RAs. -A. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problem with T1 PRI line resetting/dropping calls.
I am having a serious problem with my Asterisk system. Every few days, my PRI line resets and drops all calls. I get these errors in the messages log: Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 Jun 3 02:41:11 NOTICE[11276]: PRI got event: 6 on span 1 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 1: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 1 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 2: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 2 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 3: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 3 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 4: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 4 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 5: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 5 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 6: Red Alarm and so on... Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 Jun 3 02:41:11 NOTICE[11276]: PRI got event: 4 on span 1 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 1 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 2 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 3 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 4 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 5 and so on... I just noticed it the other day, but it seems like it may have been happening since I installed the software and brought the system on line several months ago. I have upgraded to the latest stable release as of 6/1/2004. The system is a Dell 1650 running RedHat 7.3 (running the single processor kernel). I am running a single PRI T1 line into a T400P (tor2) card. Sprint provides the line timing and my zaptel.conf is as follows: loadzone = us defaultzone=us span=1,1,0,esf,b8zs bchan=1-23 dchan=24 The zapata.conf is as follows: [channels] context=default switchtype=national rxwink=300 ; Atlas seems to use long (250ms) winks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=10.0 txgain=3.0 group=1 callgroup=1 pickupgroup=1 immediate=no signalling = pri_cpe relaxdtmf=yes channel = 1-23 Asterisk seems to run perfectly otherwise. Can someone guide me to figure out what is causing this? Let me know if I need to provide any other information. Thanks Gary F. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Problem with T1 PRI line resetting/dropping calls.
I searched the archives and nothing seemed to fit the problem. Most of the posts I have found say what you said... this was just discussed, but I cannot find any good information about the actual discussion. If you can send a link to the thread you are talking about, I will check it out. It is unlikely that it is a load issue. This sometimes happens in the middle of the night when there is almost no one using the system. I haven't seen a real corelation between the dropped calls and system load. It does nothing else. Not even backups. The T1 reset seems to come at random times. The system only accepts incoming calls... usually only during business hours, with heavier load during the afternoon. The disks system is a two disk raid-1 mirror. I started a vmstat 1 to file... but I don't know if I have enough disk space to keep that much output around. I will try. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Kohlsmith Sent: Friday, June 04, 2004 1:52 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem with T1 PRI line resetting/dropping calls. On Friday 04 June 2004 13:09, Gary Franczyk wrote: I am having a serious problem with my Asterisk system. Every few days, my PRI line resets and drops all calls. I get these errors in the messages log: Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 This has been discussed very recently; you might want to check the list archives. From what I remember someone is pinning it down to system (CPU?) load -- error 500 being when the FIFO in the cap card is empty and has no audio to send. Is your system doing anything else other than running *? How many channels? What's the call *setup* volume like? (i.e. quiet and then 50 calls get made at once type of thing) What is the disk subsystem? Run 'vmstat -n 1' for a couple hours when the call drops are likely to occur and log the output somewhere. Hell, run vmstat -n 1 and leave it spewing to a log file somewhere and when the calls drop correlate the last few seconds' worth of this file to the drop and post it... -A. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Problem with T1 PRI line resetting/droppingcalls.
I don't think the question you answered is the same as the one I asked. The problem with mine is the dropping of all the lines/calls. It resets all the lines. I get those mystery notices on occasion also, but they don't drop all the lines until I see the Detected Alarm messages for each line. I just signed up for this list, so I might have missed your post. Did the person you were answering see the same problem that I do: Dropping of all the lines? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Wieling Sent: Friday, June 04, 2004 2:00 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem with T1 PRI line resetting/droppingcalls. On Fri, 2004-06-04 at 12:09, Gary Franczyk wrote: I am having a serious problem with my Asterisk system. Every few days, my PRI line resets and drops all calls. I get these errors in the messages log: Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 Jun 3 02:41:11 NOTICE[11276]: PRI got event: 6 on span 1 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 1: Red Alarm I answered this same question *today*: From: Eric Wieling [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Mystery PRI NOTICEs WARNINGs Date: Fri, 04 Jun 2004 10:53:42 -0500 On Fri, 2004-06-04 at 09:07, Bruce Komito wrote: Since connecting a PRI to a Digium T100P, I have been seeing the following messages in syslog every few minutes: Jun 4 06:51:54 pbx asterisk[13435]: WARNING[1209214400]: chan_zap.c:6176 in zt_pri_error: PRI: Read on 56 failed: Unknown error 500 Jun 4 06:51:54 pbx asterisk[13435]: NOTICE[1209214400]: chan_zap.c:6913 in pri_dchannel: PRI got event: 8 on span 1 The new Zaptel has the zttest program, which will tell you if interrupts are being locked for too long. This can cause the Error 500 messages you are seeing. Causes of interrupts being locked for too long can be: graphics, frame buffer, IDE DMA. There might be other things that cause this error, I don't know. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problem with T1 PRI line resetting/dropping calls.
I am having a serious problem with my Asterisk system. Every few days, my PRI line resets and drops all calls. I get these errors in the messages log: Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 Jun 3 02:41:11 NOTICE[11276]: PRI got event: 6 on span 1 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 1: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 1 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 2: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 2 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 3: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 3 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 4: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 4 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 5: Red Alarm Jun 3 02:41:11 WARNING[12301]: Unable to disable echo cancellation on channel 5 Jun 3 02:41:11 WARNING[12301]: Detected alarm on channel 6: Red Alarm and so on... Jun 3 02:41:11 WARNING[11276]: PRI: Read on 39 failed: Unknown error 500 Jun 3 02:41:11 NOTICE[11276]: PRI got event: 4 on span 1 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 1 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 2 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 3 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 4 Jun 3 02:41:16 NOTICE[12301]: Alarm cleared on channel 5 and so on... I just noticed it the other day, but it seems like it may have been happening since I installed the software and brought the system on line several months ago. I have upgraded to the latest stable release as of 6/1/2004. The system is a Dell 1650 running RedHat 7.3 (running the single processor kernel). I am running a single PRI T1 line into a T400P (tor2) card. Sprint provides the line timing and my zaptel.conf is as follows: loadzone = us defaultzone=us span=1,1,0,esf,b8zs bchan=1-23 dchan=24 The zapata.conf is as follows: [channels] context=default switchtype=national rxwink=300 ; Atlas seems to use long (250ms) winks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=10.0 txgain=3.0 group=1 callgroup=1 pickupgroup=1 immediate=no signalling = pri_cpe relaxdtmf=yes channel = 1-23 Asterisk seems to run perfectly otherwise. Can someone guide me to figure out what is causing this? Let me know if I need to provide any other information. Thanks Gary F. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Asterisk and Zapata... which kernels?
I need to upgrade the kernel of my Redhat 7.3 (2.4.18-3) box because of a bug. Does anyone know what kernel(s) can I use with asterisk-0.7.0, libpri-0.5.0 and zaptel-0.8.0? Thanks Gary F. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Asterisk server lockup
Hello, We are trying to deploy a new asterisk server with a Wildcard T400P (quad T1) card. It uses a custom voice recording app written in the perl AGI. Now that the machine has been in production, it seems to lock up within 24 hours of reboot! When it locks, we can ping the machine, but we cannot log in using telnet or ssh. Asterisk stops answering the phone and our Big Brother monitoring scripts stop sending data. Nothing is shown in the messages log. The script we are using seems to be ok, since it exits after every My first guess is that it could be running out of memory (since I can still ping it, the kernel must be working to some extent). I don't have a console attached to this machine yet, so I can't tell you what is displayed on the screen yet. (I will get one soon) Has anyone seen any asterisk lock ups like this before? Thanks Gary Franczyk ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compatibility with Dialogic D4/PCI
Has anyone gotten Asterisk to work with a Dialogic D4/PCI card? It is not on the list of supported hardware, but the card itself is very similar to the D/41JCT-LS, which is on the list of supported hardware. I have several of them that I would like to use. http://www.asterisk.org/index.php?menu=hardware (I'm hoping that it is compatible and the list just hasn't been updated). Thanks for any help. Gary F. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] ADPCM support with RECORD FILE
I want to record audio in ADPCM format. According to the show codecs output of Asterisk, it looks like it supports adpcm. But I do not know what to tell the RECORD FILE directive in my AGI script. The RECORD FILE command usually has this form: RECORD FILE filename format timeout [BEEP] It records fine in WAV or GSM if I enter wav or gsm for the format, but when I try adpcm, it gives me the error: No such format 'adpcm' Does Asterisk support RECORD FILE into adpcm(I need an audio format of better quality than GSM, but with smaller files than typical WAV). Thanks for any help. Gary Franczyk ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] SUMMARY: Enter Pin followed by Pound key
That looks like my solution. The get_data already accepts the pound key as an enter button to complete the entry. Thanks Gary F. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of AstGrp Sent: Tuesday, January 20, 2004 8:45 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Enter Pin followed by Pound key This has worked for me my $empid = $AGI-get_data('employee',-1,5); It is set to accept 5 digits but hitting pound before the fifth digit works to satisfy. -gcc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Franczyk Posted At: Tuesday, January 20, 2004 11:52 AM Posted To: Asterisk User Group Conversation: [Asterisk-Users] Enter Pin followed by Pound key Subject: [Asterisk-Users] Enter Pin followed by Pound key Im trying to create a custom application via the AGI. I want to authenticate the users that dial in with a userid and pin. However, the number of digits in the PIN and userid are variable, and therefore I need to allow the user to press enter by hitting the pound key. How would I accomplish this in the AGI? stream_file doesnt seem to work, since it only allows one digit to be pressed. get_data seems to only allow a fixed number of digits to be entered. Thanks Gary Franczyk ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Enter Pin followed by Pound key
Im trying to create a custom application via the AGI. I want to authenticate the users that dial in with a userid and pin. However, the number of digits in the PIN and userid are variable, and therefore I need to allow the user to press enter by hitting the pound key. How would I accomplish this in the AGI? stream_file doesnt seem to work, since it only allows one digit to be pressed. get_data seems to only allow a fixed number of digits to be entered. Thanks Gary Franczyk ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Basic Asterisk capabilities question
Whaaa?? So, to allow 24+ lines of dial in access, how would I configure it? Would I need to purchase or lease a voice-over-ip box to connect our T1 or phone lines into? And then from there send the VOIP to the linux/Asterisk box for recording? (forgive me, Im new to telephony, but I need to make this work) :-) Ive started looking for some good AGI examples... It looks promising. Thanks Gary F. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of C. Maj Sent: Wednesday, January 14, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Basic Asterisk capabilities question On Wed, 14 Jan 2004, Gary Franczyk waxed: I'd like to configure a voice recording system using Asterisk and a Tormenta2 Quad T1 card. A co-worker was able to create this system a while back with Bayonne and a Dialogic card, but I would like to do the same thing with much cheaper hardware. I do not believe Bayonne supports the Tormenta2. (I think it is also known as the Wildcard TE410P) Yes, but the TE410P is not required. Only if you want T1 connections. You could just use a regular linux box and VoIP, for example. When the user dials in: - He enters his user id - he enters his password - he begins his recording. - while recording, he has the option to pause, continue, rewind by 4 seconds and review his recording, - press a button to start another recording. - press a button to recieve a recording ID number In addition to this, I would like the user to be able to call in again later and listen to his previous recordings by entering his recording id numbers. So, Is this possible and resonable to accomplish with the Asterisk system? This system is possible with Asterisk, using the Asterisk Gateway Interface (AGI). You could code it in your favorite language, too. Or is Asterisk more of an out-of-the-box PBX rather than a voice application system? It's not a turnkey system as downloaded from CVS. --Chris -- Chris Maj cmaj_hat_freedomcorpse_hot_info Pronunciation Guide: Maj == May Fingerprint: 43D6 799C F6CF F920 6623 DC85 C8A3 CFFE F0DE C146 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Basic Asterisk capabilities question
Hello, I am very new to Asterisk, so please forgive me for my basic question. I couldn't find a good answer to this on the info boards. I'd like to know if the following is possible and reasonable to accomplish: I'd like to configure a voice recording system using Asterisk and a Tormenta2 Quad T1 card. A co-worker was able to create this system a while back with Bayonne and a Dialogic card, but I would like to do the same thing with much cheaper hardware. I do not believe Bayonne supports the Tormenta2. (I think it is also known as the Wildcard TE410P) When the user dials in: - He enters his user id - he enters his password - he begins his recording. - while recording, he has the option to pause, continue, rewind by 4 seconds and review his recording, - press a button to start another recording. - press a button to recieve a recording ID number In addition to this, I would like the user to be able to call in again later and listen to his previous recordings by entering his recording id numbers. So, Is this possible and resonable to accomplish with the Asterisk system? Or is Asterisk more of an out-of-the-box PBX rather than a voice application system? Thanks Gary F. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users