<div dir="ltr"><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm_boxcount">https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm_boxcount</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 3:15 PM, Ned Ludd <span dir="ltr"><<a href="mailto:edwardludd@gmail.com" target="_blank">edwardludd@gmail.com</a>></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><div><div><div>So I'm trying to develop a simple voicemail IVR.<br><br></div>In "sounds.xml" there's a nice macro for "voicemail_message_count", but I can't seem to figure out how to get the count to feed it. Can you help?<br><br></div>I know I can use this to get the count in JSON format:<br><br> count = api:executeString("vm_fsdb_<wbr>msg_count default default " .. domain .. " " .. extension .. " inbox");<br><br></div>But how do I get a count that I can send to that phrase macro?<br><br></div>Confused. (And excuse my ignorance).<br><div><div><div><div><div><div><div><div><div><div><br><div class="m_-8753810300925146503gmail_signature">-----<br>Ned Ludd</div>
</div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br></blockquote></div><br></div>