[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-users
Subject:    [asterisk-users] ControlPlayback skip forward fails on mp3 file
From:       russell () lls ! lls ! com (Russell Brown)
Date:       2010-05-17 13:01:10
Message-ID: m1ODzwU-01tM2ma () lls ! lls ! com
[Download RAW message or body]


Using Asterisk 1.4.31 and addons 1.4.11, ControlPlayback get confused
when skipping forwards on an mp3 file (it seems to work fine on wav's).

I'm calling it from an AGI like so:

$agi->exec('ControlPlayback',$filename . "|4000|#|*|8|0|7");


The first four times I press the '#' key it does indeed skip forwards;
but the fifth and subsequent times pressing '#' makes it skip
*backwards*.

If I restart from the beginning (by pressing '7') it again skips
forwards four times then starts going backwards.

The MP3's are created by:

/usr/local/bin/lame --quiet -h -b16 --noshort --preset phone recording.wav recording.mp3

Any Ideas or should I report it as a bug.

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------

-- 
_____________________________________________________________________
-- 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic