[Freeswitch-users] Run a LUA script when voicemail received

Michael Jerris mike at jerris.com
Sat May 21 20:38:23 MSD 2016


The way I've done this in the past is to just use the mailer script.  It
was simple and strait forward and didn't require a running daemon to handle
it.  The alternate would be to use events maybe or to make sure vars were
set in dial plan and post process like your describing, both have a set of
gotchas and I wouldn't reccomend that path

On Friday, May 20, 2016, Steven Schoch <schoch+freeswitch.org at xwin32.com>
wrote:

> This sounds like a FAQ, but my searches found nothing.
> I'd like to run a LUA script when a message is left on voicemail.
>
> My alternative is to write my own mailer-app script that would scan the
> message to see if it's from mod_voicemail, do what I want to do, or call
> exim otherwise, but this seems like something that could be done from the
> dialplan.
>
> Is there a way in the dialplan to run an action with parameters from the
> voicemail message left?
>
> The reason I'm asking this is that I want to use the new Flowroute SMS API
> to send a text message when a voicemail is received, with the caller-ID
> info from the message.
>
> --
> Steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160521/b4349d27/attachment.html 


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