<div dir="ltr">That&#39;s promising. Now how can this script determine the length of the message left or if no message was left at all?<div><br></div><div>-- </div><div>Steve<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 6:04 PM, Jai Rangi <span dir="ltr">&lt;<a href="mailto:jprangi@didforsale.com" target="_blank">jprangi@didforsale.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"><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></div></div></blockquote></div></div></div></div>