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

Jai Rangi jprangi at didforsale.com
Sat May 21 05:04:26 MSD 2016


Did you look in api_hangup_hook.  You can call lua script with.
Example
set api_hangup_hook=lua sendmsg.lua



*Jai Rangi*
Cebod Technologies LLC dba DIDforSale/Cebod Telecom
O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 /
949-232-1410 | jprangi at didforsale.com  www.cebod.com |  www.didforsale.com
|3200 Bristol St Suite 615, Costa Mesa, CA 92626  |






On Fri, May 20, 2016 at 5:59 PM, 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/20160520/81f42bc9/attachment.html 


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