Amith
2005-Nov-18 02:46 UTC
[Asterisk-Users] Streaming mp3's when dialing a particular extension.
hi all, i'm trying to Stream mp3's when dialing a particular extension. 2000 in this case. My last part of extensions.conf is as below : <snip> exten => 2000,1,Answer exten => 2000,2,WaitMusicOnHold(30) exten => 2000,5,Hangup </snip> i'am able to reach exten => 2000,1,Answer. And i get a 200 Ok for the INVITE. But i see this error message on the console. res_musiconhold.c :309 monmp3thread: Request to schedule in the past?!?! Could someone help me fix this ? Is this something to do with the timer ? I looked into res_musiconhold.c but couldn't understand much of what was happening there ? i wanted to stream a mp3 file , when the user dials a certain extension , any clue on how to fix this or better ways of doing it ? Any links would be great. cheers, Amith __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Rusty Dekema
2005-Nov-18 08:04 UTC
[Asterisk-Users] Streaming mp3's when dialing a particular extension.
exten => 2000,1,Answer() exten => 2000,2,MP3Player(filename) exten => 2000,3,Hangup() -Rusty On 11/18/05, Amith <amithmit@yahoo.com> wrote:> > > hi all, > > i'm trying to Stream mp3's when dialing a particular > extension. > 2000 in this case. > > My last part of extensions.conf is as below : > > > <snip> > > exten => 2000,1,Answer > exten => 2000,2,WaitMusicOnHold(30) > exten => 2000,5,Hangup > > </snip> > > i'am able to reach exten => 2000,1,Answer. And i get a > 200 Ok > for the INVITE. But i see this error message on the > console. > > res_musiconhold.c :309 monmp3thread: Request to > schedule in the > past?!?! > > Could someone help me fix this ? > Is this something to do with the timer ? > I looked into res_musiconhold.c but couldn't > understand much of what was happening there ? > > i wanted to stream a mp3 file , when the user dials a > certain extension , any clue on how to fix this or > better ways of doing it ? Any links would be great. > > > cheers, > Amith > > > > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051118/bf5807bc/attachment.htm