[Asterisk-Users] Streaming mp3's when dialing a particular extension.

Amith amithmit at yahoo.com
Fri Nov 18 02:46:39 MST 2005


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



More information about the asterisk-users mailing list