Alex is pointing you in the right direction. You should want a single daemon running that then gets notified by the voicemail script, either through a FIFO, a socket, or by dropping a file in a watched directory.
If you are going to write a daemon, I would suggest looking at : http://search.cpan.org/~greenbean/Asterisk-AMI-v0.2.5/ It has integration with event loops and should work well for what you are doing. It also has some features for detecting disconnects and timeouts. On Mon, May 16, 2011 at 5:42 AM, Alex Balashov <abalas...@evaristesys.com> wrote: > On 05/16/2011 08:33 AM, vip killa wrote: > >> Thank you, that makes sense but actually I would be invoking the script >> using the "externnotify" in voicemail.conf, similar to >> "externnotify = /var/lib/asterisk/scripts/notify.pl <http://notify.pl>" >> I assume "externnotify" cannot call the FastAGI server...correct? > > That is correct. But you can call a script that notifies the daemon through > a FIFO or UNIX domain socket, if local, or network socket if remote. > > -- > Alex Balashov - Principal > Evariste Systems LLC > 260 Peachtree Street NW > Suite 2200 > Atlanta, GA 30303 > Tel: +1-678-954-0670 > Fax: +1-404-961-1892 > Web: http://www.evaristesys.com/ > > -- > _____________________________________________________________________ > -- 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 > -- _____________________________________________________________________ -- 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