Re: Playback Media - Multiple Sound Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi again...

I need to play back multiple sound files w/ a single call (channels/{channelId}/play) and using my client code and swaggerUI - I get back a 201 but the multiple files do not play - nothing plays. The format I use is:

sound:the-party-you-are-calling,sound:is-curntly-unavail

Thanks.

As far as I am aware, the play operation on the channels resource only supports one media item. To accomplish what you are wanting to do you would have to play the first sound, and then send another request to play the second sound once you receive the PlaybackFinished event from the first playback operation.

Hope that helps. 


--
Samuel Fortier-Galarneau
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux