Yes, that makes sense. After you test it and verify it works would you mind adding that tidbit to the wiki?
-MC

On Tue, Nov 20, 2012 at 5:00 PM, andy <packetandy@gmail.com> wrote:
hi All,

thanks for the input, in the end I figured out the problem I have been having -

The following works as intended:
<action application="set" data="voicemail_greeting_number=1"/>
<action application="voicemail" data="default ${domain_name} ${dialed_extension}"/>

However, in a lot of the of the example code,for instance default.xml for ext. 1000-1019, this is how voicemail is reached:
<action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/>

In the second case,  <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.

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?
 



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org