[Freeswitch-users] any way to use a hook/event for voicemail notification instead of email?

Avi Marcus avi at avimarcus.net
Mon Jun 23 15:45:25 MSD 2014


There's a variable called "voicemail_message_len" that shows up in the
variables section of the CDRs that shows if there was a VM left... that
might help you catch the VM events (or see last_app was voicemail and then
you'll know it was a missed call with no VM).

Or you can have FS post to an application, such as the fusionpbx one or
http://wiki.freeswitch.org/wiki/PHP_email which you can then do whatever
you want in the flow of the VM mail.

Hope that helps a bit...

-Avi


On Sun, Jun 22, 2014 at 7:57 PM, Nathan Neulinger <nneul at mst.edu> wrote:

> Seems like it would enable a bit more functionality if the notification
> were optionally handled as a hook, with the msg
> id/other data as parameters.
>
> In addition to enabling a bit more control of the content beyond the basic
> templates - this might also enable other
> functionality - such as triggering automatic transcription.
>
> I didn't see anything in the mod_voicemail wiki page, but figured I'd ask
> if there was any other trick for accomplishing
> this. From a look over the code, I'm not seeing any obvious way to have
> the event based codepath trigger but not the
> email notification unless I've missed something.
>
> A minimal means to handle this might be adding a parameter to disable
> voicemail email notification, but leave in all of
> the voicemail event generation.
>
> Thoughts?
>
> -- Nathan
>
> ------------------------------------------------------------
> Nathan Neulinger                       nneul at mst.edu
> Missouri S&T Information Technology    (573) 612-1412
> System Administrator - Architect
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140623/87dc191e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list