Hello Asterisk users,
I have installed an IPPBX solution with CentOS 5.1, Asterisk 1.4.19 and FreePBX 2.4.0. I have fully configured my server and I want to add it an “extension”.
If no response is given to the caller in 20s, he is redirected on the IVR where he has 2 choice. First option, he leaves a voicemail. Second option, the coordinates of the caller (name, phone number, PC number) is send by e-mail to an e-mail address when he press the “2” in the IVR. Further, this option will have to be integrated with the Microsoft Windows Active Directory Server.
I need to implement the second option and do not know how to do it.
Thanks in advance for any helpful information.
On my site you can find an example of how to send an email, using an agi php script, from the Asterisk dialplan:
marcobruni.net/index.php?opt … =9&lang=en .
You could also send the voicemail message as an email attachments when a voicemail is received, see asteriskguru.com/tutorials/a … email.html for an how to; remember that this method needs a local mail agent able to send emails, on my opensuse distro I just need to start the Postfix mail server.
Hope it helps you.
The articles you gave me are really interesting. I will implement your PHP script and try to take out the callerid on an email.
But further, I will have to connect the Asterisk server to the Active Directory of the firm in order to provide Asterisk a complete database over the coworkers. Do you ever have heard of this ? Have you an idea to implement it ? I do not find a lot of documentation on the net… If you get an intersting one, i am really interested.
Searching in the forums I found this post, that could be useful to you:
forums.digium.com/viewtopic.php? … +directory .