cmisip wrote:
> I want to be able to send a dtmf key to asterisk and have mplayer
> forward or rewind.

pabx*CLI> show application ControlPlayback
pabx*CLI>
  -= Info about application 'ControlPlayback' =-

[Synopsis]
Play a file with fast forward and rewind

[Description]
ControlPlayback(filename[|skipms[|ffchar[|rewchar[|stopchar[|pausechar[|restartchar]]]]]]):
  Plays  back  a  given  filename (do not put extension). Options may also
  be included following a pipe symbol.  You can use * and # to rewind and
  fast forward the playback specified. If 'stopchar' is added the file will
  terminate playback when 'stopchar' is pressed. If 'restartchar' is added,
the file
  will restart when 'restartchar' is pressed. Returns -1 if the channel
  was hung up. if the file does not exist jumps to n+101 if it present.

  Example:  exten => 1234,1,ControlPlayback(file|4000|*|#|1|0|5)


-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to