Steve, that looks just the job, thank you very much.
On Wed, Dec 8, 2010 at 2:32 AM, Steve Edwards <asterisk....@sedwards.com>wrote: > On Tue, 7 Dec 2010, David Cunningham wrote: > > > Is it possible to somehow 'bookmark' a place in a sound file? That is, > > the user presses a key while a sound file is playing and that point is > > saved, and some time in the future we can play the same sound file and > > tell it to start playing from that point. > > > > This would be done within a perl AGI program. > > The AGI command 'stream file' will return 'endpos' when interrupted with a > keypress. You could then save that in a channel variable or a database. > > A subsequent call to 'stream file' would include 'endpos' as the 'sample > offset.' > > -- > Thanks in advance, > ------------------------------------------------------------------------- > Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- David Cunningham, Voisonics http://voisonics.com/ US toll-free: +1 888 842 2720 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 9037 2180
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users