Hello,

 

Does anyone have an idea about this issue below?

 

Thanks!

 

Grant

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Grant Bagdasarian
Sent: Monday, February 3, 2014 3:56 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Split string and play charachters

 

Hello,

 

Yes, I found that one also. I’m just not sure if it also lets me define which audio files to use?

 

I’m using the originate command to originate a call from an external application using the ESL library, but we have multiple customers which will use the same context in Freeswitch, but the audio files played are located in a different directory for each customer.

 

So, for Customer ID 1 the directory should be something like this:

/../audio/1/characters/

 

For Customer ID 2:

/.. /audio/2/characters/

 

Etc.

 

I want to build the audio directory path dynamically and have the characters played from that directory.

 

Is that possible with the Say application? If not, how should I approach this? Dialplan scripting?

 

Regards,

 

Grant

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Gabe Shepard
Sent: Monday, February 3, 2014 3:35 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Split string and play charachters

 

Hi,

   It sounds like you're looking for the say application, with a say method of "iterated"?

 

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say

 

-Gabe

 

On Mon, Feb 3, 2014 at 9:03 AM, Grant Bagdasarian <GB@cm.nl> wrote:

Hello,

 

Is there an application which plays the characters of a string individually?

 

Or have some sort of split function which splits a string into characters and then manually map the ‘character_name’ to an existing audio file?

For instance:

//String: 1234567890

//Split the string

 

Playback: 1.wav

Playback: 2.wav

Playback: 3.wav

Etc

 

Can this be done in the XML dialplan or do I need to use some scripting language to control the dialplan?

 


_________________________________________________________________________
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