So this worked for you.?

On Wed, Aug 8, 2012 at 1:28 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi SamyGo,


So, you';ve changed the approach and set the required variable from XML
dialplan and now you dont need to set that as Argument !?

I have changed my dialplan to:
<action application="set" data="year=${strftime(%Y)}"/>
<action application="set" data="month=${strftime(%m)}"/>
<action application="set" data="day=${strftime(%d)}"/>
<action application="set" data="hours=${strftime(%H)}"/>
<action application="set" data="minutes=${strftime(%M)}"/>
<action application="set" data="seconds=${strftime(%S)}"/>
<action application="set"
data="string=msg_${year}_${month}_${day}_${hours}_${minutes}_
${seconds}_${mailbox}_${caller_id_number}.alaw"/>
I paste the arguments in to lua:
-- parameters: for lua voicemail
-- mailbox, sender, message, messagefile

-- variables

mailbox  = argv[1];
from_box  = argv[2];
msg  = argv[3];
msg_save  = argv[4];



-----------------

Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
http://www.blindi.net/callback
homepage: http://www.blindi.net
blinde-misc mailingliste für blinde. anmeldung unter:
http://www.blindi.net/mailman/listinfo/blinde-misc

_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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