Voicemail: Search For Name In A Phonebook
I am using Asterisk 1.8.30.0 on a OpenWRT device and it works perfectly. I configured a voicemail and I receive an E-Mail with some information about the call. Again, wonderful!
Now my wish: I’d like to have Asterisk to search the caller in a list file and send me the name corresponding to the number in the E-Mail of voicemail. Is it possible?
I currently use ${VM_CALLERID} in emailbody and it gives, of course, the phone number…
2 thoughts on - Voicemail: Search For Name In A Phonebook
Yes, You could do easily this either with the internal asterisk database or with something like func_odbc as a source for the data.
In the context you receive your incoming calls you do a lookup against one of the above data sources using the CALLERID(NUM) and change CALLERID(NAME)
to be the name you set.
John Kiniston schrieb:
Thanks a lot!
I found this page:
http://deepliquid.com/blog/archives/59
and I successfully got it working!
Regards Luca Bertoncello
(lucabert@lucabert.de)