[asterisk-users] Asterisk 1.6, IMAP Voicemail and externnotify
Jeffrey Phelps
jphelps at mjlm.com
Mon Nov 24 09:28:52 CST 2008
I too am looking for a way to get the externnotify= script to run on poll events.
Right now, I have a script that runs as a cron job every 60 seconds, but with 150 voicemail boxes, I constantly have at least 40 or 50 instances of the script running at a time because it takes so long to run it through all the mailboxes...
Thanks,
Jeff Phelps
IT Support Specialist
McConnell Jones Lanier and Murphy, LLP
3040 Post Oak Blvd., Suite 1600, Houston, TX 77056
(713) 968-1600 (phone)
(713) 968-1688 (direct phone)
(713) 968-1601 (main fax)
http://www.mjlm.com/
IRS Circular 230 Disclosure: To ensure compliance with requirements imposed by the IRS, McConnell & Jones, LLP informs you that any U.S. federal tax advice contained in this communication (including any attachments, enclosures, or other accompanying material) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing, or recommending to another party any transaction or matter addressed herein; for IRS audit, tax disputes or other purposes.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Barry L. Kline
Sent: Sunday, 23 November, 2008 14:29
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterisk 1.6, IMAP Voicemail and externnotify
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have Asterisk sitting between the PSTN and a legacy PBX. Asterisk is
doing some IVR work prior to forwarding calls to the PBX and it also
acts as the voice mail server for the PBX, with Asterisk configured for
IMAP storage.
When a call comes in and the caller leaves a voice mail, the VoiceMail
application calls the program configured in voicemail.conf
(externnotify=). I use that program to create a call file which then
turns the MWI on the PBX's phones on or off. Turning the MWI on is
fine when voicemail is left and turning the MWI off works great when the
user checks his/her voicemail using the handset.
My problem is that I want the MWI to be turned off is the user checks
his voicemail via an email client.
I'm aware of the new IMAP polling* parameters in voicemail.conf, and I
have them set. It has become apparent to me that the only time the
externnotify script is called is when the VoiceMail[Main] application is
accessed. It appears that the script is not called when Asterisk polls
the IMAP server to check voicemail. Is that correct?
Thanks.
Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFJKbz0CFu3bIiwtTARAlIIAJ9MIcoB53xzW/R7/1BJfe6P3PmsLACfUILL
5x61VCRvoFcPuQudQlt+Qlg=
=7KfO
-----END PGP SIGNATURE-----
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list