Thank you for the pointer. I am gonna try it and let you know. (Sorry for
the typo)

On Wed, Sep 24, 2014 at 1:49 PM, Stefan Sayer <[email protected]>
wrote:

> Hi,
>
> John Nash wrote on 09/24/2014 05:55 AM:
> > I am using SEMS a media server and using custom IVR to play dynamic
> > announcements using DSM script. I am using "Playfile" function to play
> > wav file It works OK but I want to play prerecorded sound files. I am
> prerecorded or precoded? ;)
>
> > aware of "precoded_announce" application but how can I use that in DSM
> > Script to play whatever file I want?
> not currently possible with DSM. you could extend it easily though,
> the same way that playFile works, by using AmPrecodedFile instead of
> AmAudioFile, the way it's used in PrecodedAnnounce. You'll also need
> to set sess->RTPStream()->setPayloadProvider(file_def) though (and
> best save that before with getPayloadProvider and set it back after
> the precoded file.
>
> hth
> Stefan
>
> >
> > Regards
> >
> > J. Nash
> >
> >
> > _______________________________________________
> > Sems mailing list
> > [email protected]
> > http://lists.iptel.org/mailman/listinfo/sems
> >
>
>
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to