Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Question about set/export applications


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
info at daccii.it
Guest





PostPosted: Wed Nov 04, 2009 3:11 pm    Post subject: [Freeswitch-users] Question about set/export applications Reply with quote

Hi to all,

i'm trying to setup a simple after hours ivr, without using
lua/javascript, but only xml.

What i do is to catch weekdays, set some vars, catch working hours based
on weekdays, and, in the end, catch if it is working time or not. If
not, just set another var.

Actually the code is really bad, i'll reorganize it later, the biggest
problem is that i can't read setted variables!


This code
---
<condition wday="2-6">
<action application="set" data="working_day_a=true" />
</condition>
---
should set variable working_day_a to true, but if, in the following
extension, i check ${working_day_a} field i get it empty.


From logs
---
Dialplan: OpenZAP/1:1/03 Action set(working_day_a=true)
.
.
.
Dialplan: OpenZAP/1:1/03 Regex (FAIL) [working_day_a_hours]
${working_day_a}() =~ /^true$/ break=on-false
---

Here extensions
http://pastebin.freeswitch.org/10977

while here relevant parts of log
http://pastebin.freeswitch.org/10978


Thank for your help!

Best Regards,
Daniele

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services