[Freeswitch-users] How to play more than one voice file in play_and_get_digits function

velusamy velu velu.technical at gmail.com
Thu Sep 24 21:56:10 PDT 2009


Dear All,
      mod_file_string is working for me. Is there any problem by using
mod_file-string? If it so, how can use phrase macros in perl using ESL::IVR
module?

Please provide your valuable idea...





On Thu, Sep 24, 2009 at 10:25 PM, Diego Viola <diego.viola at gmail.com> wrote:

> Use phrase macros as Brian said.
>
> On Thu, Sep 24, 2009 at 1:09 PM, Brian West <brian at freeswitch.org> wrote:
>
>> You can also use phrase macros.  (and no its not just for TTS ;)  )
>> /b
>>
>> On Sep 24, 2009, at 2:02 AM, Michael Collins wrote:
>>
>> Make sure that mod_file_string is built and loaded and then try the syntax
>> that is described here:
>> http://wiki.freeswitch.org/wiki/Mod_file_string#Examples
>>
>> Instead of a comma separated list you can use ! and be sure NOT to put a
>> space after the ! because the function delimits the arguments with spaces.
>> Try something like this:
>>
>> $conn->execute("play_and_get_digits", 1 1 1000 #
>> /usr/local/freeswitch/en/us/callie/sounds/ivr/please.wav!/usr/local/freeswitch/en/us/callie/sounds/ivr/press-1.wav
>> /usr/loca/freeswitch/en/us/callie/sounds/ivr/invalid.wav res \\d+);
>>
>> Let us know how it goes.
>> -MC
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090925/ae6a73e1/attachment-0002.html 


More information about the FreeSWITCH-users mailing list