[Freeswitch-users] Problem while playing more than 10 voice files using playback

Thangappan.M thangappan143 at gmail.com
Sat Nov 21 01:22:27 PST 2009


Dear all,

         I am in the process of implementing IVR using event outbound socket
(async mode).
         I have implemented using Perl language.

          I did the following steps:
                   => Set the playback_delimiter variable
                   => Set the playback_sleep_val variable
                   => Set the event lock as true
                    => Set the freeswitch ( my own)  variable as zero
                    => Wait in the loop until the variable is been set as
zero
                   =>  Playback the voice files ( Here I combined the voice
files with the delimiter value if more than one voice files are there)
                   => Set the freeswitch(my own) variable as true ( This is
used to identify whether the voice files are played
 successfully).
                   => Wait in the loop until the variable is been set as
one.
                   => Set the Event lock as false

                   => Trying to get the DTMF digits ( Have a assurance that
all the voice files are played).

       The problem is,

             The above steps are working fine when the voice file count is
lesser than or equal to 10. After the voice files are played only the
variable(my own freeswitch) is set. Based on the variable I am doing further
things.

             But when I tried to give the voice files count of more than 10
the variable has been set while starting to play back the first voice file
itself . Because of this I am not able to proceed further.

  *DID I MAKE ANY MISTAKE IN THE ABOVE STEPS?*

*NOTE*: I also referred mod_file_string documentation. In that they
specified 128 files can be used to play back the voice files using
playback_delimiter option.

Please help me................?
Thanks in advance.


-- 
Regards,
Thangappan.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091121/4c9e3b93/attachment-0002.html 


More information about the FreeSWITCH-users mailing list