<div dir="ltr"><div>Did you look in api_hangup_hook.  You can call lua script with. <br></div><div>Example<br></div><div>set api_hangup_hook=lua sendmsg.lua <br><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#888888"><div> <b>Jai Rangi</b><br><span>Cebod Technologies LLC dba DIDforSale/Cebod Telecom</span> </div> <div style="color:#8d8d8d;font-size:13px;padding:5px 0"> <a href="tel:O%20949-471-0102" style="color:#8d8d8d;text-decoration:none" target="_blank">O 949-471-0102</a>  <span style="color:#45668e;display:inline-block">|</span> <span style="display:inline-block"><a href="tel:1-949-419-7634" style="color:#8d8d8d;text-decoration:none" target="_blank">C 949-<font color="#888888">419-7634</font></a></span>  <span style="color:#45668e;display:inline-block">|</span> <span style="display:inline-block"><a style="color:#8d8d8d;text-decoration:none">F 949-269-0449 / 949-232-1410</a></span>  <span style="color:#45668e;display:inline-block">|</span> <span style="display:inline-block"><a href="mailto:jprangi@didforsale.com" style="color:#8d8d8d;text-decoration:none" target="_blank">jprangi@didforsale.com</a></span> <span style="color:#45668e;display:inline-block"></span> <span style="white-space:nowrap;display:inline-block"><a href="http://www.cebod.com" style="color:#8d8d8d;text-decoration:none" target="_blank">www.cebod.com</a></span>  <span style="color:#45668e;display:inline-block">|</span> <span style="color:#45668e;display:inline-block"></span> <span style="color:#8d8d8d;display:inline-block"><a href="http://www.didforsale.com" target="_blank">www.didforsale.com</a> |3200 Bristol St Suite 615, Costa Mesa, CA 92626  | </span></div></font><img src="https://docs.google.com/uc?export=download&amp;id=0Bz0cNflKgNsWQno1V3dQTzhNSUk&amp;revid=0Bz0cNflKgNsWOFh1ZnMydnBtU1ZDLzZ2OHBMM2Y2bVQ3R1pFPQ"><br><br><br><br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, May 20, 2016 at 5:59 PM, Steven Schoch <span dir="ltr">&lt;<a href="mailto:schoch+freeswitch.org@xwin32.com" target="_blank">schoch+freeswitch.org@xwin32.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This sounds like a FAQ, but my searches found nothing.<div>I&#39;d like to run a LUA script when a message is left on voicemail.</div><div><br></div><div>My alternative is to write my own mailer-app script that would scan the message to see if it&#39;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.</div><div><br></div><div>Is there a way in the dialplan to run an action with parameters from the voicemail message left?</div><div><br></div><div>The reason I&#39;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.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Steve</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>