any way to use a hook/event for voicemail notification instead of email?
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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
You could try Jester: http://wiki.freeswitch.org/wiki/Jester On Sunday, June 22, 2014, Nathan Neulinger <nneul@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@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from mobile device
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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Avi Marcus
-
Kristian Kielhofner
-
Nathan Neulinger