Yes, that makes sense. After you test it and verify it works would you mind adding that tidbit to the wiki?<br>-MC<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 5:00 PM, andy <span dir="ltr"><<a href="mailto:packetandy@gmail.com" target="_blank">packetandy@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 bgcolor="#FFFFFF" text="#000000">
hi All,<br>
<br>
thanks for the input, in the end I figured out the problem I have
been having -<br>
<br>
The following works as intended:<br>
<pre><action application="set" data="voicemail_greeting_number=1"/>
<action application="voicemail" data="default ${domain_name} ${dialed_extension}"/>
</pre>
<pre><big>However, in a lot of the of the example code,for instance default.xml for ext. 1000-1019, this is how voicemail is reached:</big>
</pre>
<action application="bridge" data="loopback/app=voicemail:default
${domain_name} ${dialed_extension}"/><br>
<br>
<big>In the second case</big>, <action application="set"
data="voicemail_greeting_number=1"/> will not work, probably
because the channel variable is not set for the correct channel. I
am guessing that "export" instead of "set" may fix this but I did
not have a chance to try.<br>
<br>
I would suggest that some clarification in the wiki between the two
ways of calling voicemail would be very useful - when do you
"bridge" and when do you just call the voicemail app?<br>
<br>
<br>
<br>
</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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>