[Asterisk-video] More digits in mp4play

Sergio Garcia Murillo sergio.garcia at fontventa.com
Sun Sep 9 04:11:06 CDT 2007


I like your patch, i'll try to apply as soon as I've got some free time.
Could you open a ticket in the bug tracker so I don't forgot about it and anyone has access to it in the meanwhile??

BR
Sergio
  ----- Original Message ----- 
  From: Marcin_Nemeczek at drq.pl 
  To: Development discussion of video media support in Asterisk 
  Sent: Friday, September 07, 2007 5:20 PM
  Subject: [Asterisk-video] More digits in mp4play



  Hi 

  I've just made a small patch for mp4play (app_mp4.c) and implemented options for this command (like other commands in asterisk ). 
  Sergio, if you are interested in this modification, please add it to svn 

  mp4play(filename,options):  Play mp4 file to user. 

          Available options: 
           'n(x)': number of digits (x) to wait for 
           'S(x)': set variable of name x (with DTMFs) rather than go to extension 
          Examples:\n" 
           mp4play(/tmp/video.mp4)                                           play video file to user 
           mp4play(/tmp/test.mp4,'n(3)')                                 play video file to user and wait for 3 digits 
           mp4play(/tmp/test.mp4,'n(3)S{DTMF_INPUT)')        play video file to user and wait for 3 digits and 
                                                                  sets them as value of variable DTMF_INPUT 



  i think, it should works without problem. If any, excuse me. 

  Regards, 

  Marcin


------------------------------------------------------------------------------


  _______________________________________________
  --Bandwidth and Colocation Provided by http://www.api-digital.com--

  asterisk-video mailing list
  To UNSUBSCRIBE or update options visit:
     http://lists.digium.com/mailman/listinfo/asterisk-video
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20070909/03b2e17d/attachment.htm 


More information about the asterisk-video mailing list