Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Need help troubleshooting Asterisk Auto dial out problem


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jesset at gmail.com
Guest





PostPosted: Wed Apr 30, 2014 6:24 pm    Post subject: [asterisk-users] Need help troubleshooting Asterisk Auto dia Reply with quote

We've built an alert system at our company so that if our monitoring software notices anything very bad happening, and we don't react to a text message after a few minutes, then it will begin to call our telephones directly. This seems to help a lot with staff who are asleep, or who might not be near enough to the phone to hear text message notifications.

We do this by having a folder full of .call files, and programatically moving a copy of the appropriate call file into /var/spool/asterisk/outgoing/ when an outbound shout is required.


This has worked well for a couple of years, but recently we are experiencing a problem where sometimes Asterisk will simply ignore this folder. When we notice the logjam of ignored call files in /var/spool/asterisk/outgoing/, then we restart the asterisk daemon and things run smoothly again. 


When "wedged", the Asterisk daemon will function normally in every other way that we use it. The PBX still functions, outbound manual calls still function, inbound calls, voicemail, nothing else appears to be negatively impacted. However new files introduced into /var/spool/asterisk/outgoing/ folder get ignored. No messages spring up on asterisk -rvv console, nothing shows up in the logs, the .call files just get snubbed. We're at a loss to determine what other debugging avenues may be available, and we have googled for every applicable keyword we can think of including "asterisk auto dial" and "pbx_spool" to no avail.


We are running:
Asterisk 1.8.13.1~dfsg1-3+deb7u3 built by pbuilder @ pungenday on a x86_64 running Linux on 2014-01-04 01:03:48 UTC

on Debian Linux stable (wheezy). It is possible that this symptom began a few months ago after a system update (apt-get update; apt-get upgrade).


Any advise to further track down what is going on would be appreciated, thank you!


- - Jesse Thompson
Webformix, Bend OR
www.webformix.com
Back to top
asterisk-03 at jeremyk...
Guest





PostPosted: Thu May 01, 2014 4:21 pm    Post subject: [asterisk-users] Need help troubleshooting Asterisk Auto dia Reply with quote

On 4/30/2014 7:24 PM, Jesse Thompson wrote:
Quote:
impacted. However new files introduced into /var/spool/asterisk/outgoing/
folder get ignored. No messages spring up on asterisk -rvv console, nothing
shows up in the logs, the .call files just get snubbed. We're at a loss to

Are the new files being named uniquely ?

there are bugs (e.g., jira# 11291) that have to do with files having the
same name.

my solution was to add .$$ on the end of the filename to ensure it was
unique.


--

Jeremy Kister
http://jeremy.kister.net./


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jesset at gmail.com
Guest





PostPosted: Thu May 01, 2014 4:50 pm    Post subject: [asterisk-users] Need help troubleshooting Asterisk Auto dia Reply with quote

Quote:
Are the new files being named uniquely ?

there are bugs (e.g., jira# 11291) that have to do with files having the same name.

my solution was to add .$$ on the end of the filename to ensure it was unique.

Yep, the files get a YYYY-MM-DD_HH:ii:ss- timestamp prefix in their names before being mv'ed into the spool directory (same filesystem) and are never realistically fired of more than once per second. Logic behind this was that after they get moved automatically into the "outgoing_done/" folder by asterisk, we've got a rough log in the filenames of which alarms got tripped at what times. Smile


- - Jesse
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services