The way I&#39;ve done this in the past is to just use the mailer script.  It was simple and strait forward and didn&#39;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&#39;t reccomend that path<span></span><br><br>On Friday, May 20, 2016, Steven Schoch &lt;<a href="mailto:schoch%2Bfreeswitch.org@xwin32.com">schoch+freeswitch.org@xwin32.com</a>&gt; 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><div><br></div><div>-- </div><div>Steve</div></div>
</blockquote>