Dynamic audio names

Dedicated forum for the visual 'drag and drop' voice application designer that allows easy creation of advanced voice applications without programming knowledge

Moderators: kevin, 3CX staff

Dynamic audio names

Postby SWSDEV » Mon Feb 21, 2011 4:49 pm

One really important feature is the need to play audio based on dynamic file names.

This is huge.
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: Dynamic audio names

Postby VAD_Support » Mon Feb 21, 2011 5:23 pm

Yes, this is definitively on the top of the features list to be implemented, but I'm not sure when it will be ready... The change for that is really big...
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm

Re: Dynamic audio names

Postby SWSDEV » Mon Feb 21, 2011 6:22 pm

Where does the challenge lie in making this work? At design time or runtime?
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: Dynamic audio names

Postby SWSDEV » Mon Feb 21, 2011 6:38 pm

I guess a more helpful question for now (until dynamic audio file names are possible) that helps with a partial work around, is when I save an audio file over the .wav file that is setup to be played back in the IVR, how can I be sure that the audio file is refreshed. I have seen it still play the old audio, even when I overwrite the file (and I've made sure the file closes in my code component). Is this related to needing a separate postback on the aspx page? or anything else? I can't remember right now but I seem to recall it worked in a different scenario than I'm doing right now, which is a continuous loop to overwrite it each time through the loop, 2 - 10 times.
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: Dynamic audio names

Postby VAD_Support » Mon Feb 21, 2011 9:49 pm

In order to implement this feature we need to make changes to the UI and compiler of many components, like Prompt Playback, User Input, Record, etc. All the components that allow configuring audio files.

Also, when you use a Prompt Playback component for example, the VAD compiler in release mode currently generates a single VXML file, without the ASPX pair. In order to use the results of expressions we need a ASPX file in front, so the compiler needs to do a very different job than what it's doing right now.

Of course this is something that needs to be done, very very useful in my opinion. But it has not been addressed yet because the change is not minor.

In regards to the problem described, I guess it's something related to the caching done by the IVR that interprets the VXML. Maybe something you may try is changing some cache control parameters in the file "C:\Program Files\3CX PhoneSystem\Data\Ivr\Cfg\3CXIvr.cfg":
client.inet.cacheTotalSizeMB VXIInteger 0
client.inet.cacheEntryMaxSizeMB VXIInteger 0
client.inet.cacheEntryExpTimeSec VXIInteger 0

I think (not 100% sure) that the value 0 means infinite there. So if you set for example:
client.inet.cacheEntryExpTimeSec VXIInteger 1

maybe you're setting the cache to 1 second and the audio file is reloaded. To be honest, I'm not sure if audio files caching are controlled by those settings, but it's a hint that I think you could try. I think you will have to restart the IVR Server to reload that configuration.
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm


Return to 3CX Voice Application Designer (VAD)


Who is online

Users browsing this forum: No registered users and 0 guests

Announcements: