exten => 2000,1,Answer()
exten => 2000,2,MP3Player(filename)
exten => 2000,3,Hangup()

-Rusty

On 11/18/05, Amith <[EMAIL PROTECTED]> 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 --

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

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
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