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

Abaci B abaci64 at gmail.com
Sun May 22 20:34:10 MSD 2016


On Sat, May 21, 2016 at 12:38 PM, Michael Jerris <mike at jerris.com> wrote:

> 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
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20160522/75a1da45/attachment.html 

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