[Asterisk-Users] Music conferences ?

Steven Smith ssmith26 at swbell.net
Sun May 18 07:27:04 MST 2003


Gary,

 I'm trying something similar to that - direct music extension: but
unfortunately I'm not getting any sound -  how to get it in a conference
is probably a little different - hope this help -


exten => 6005,1,Wait,2
exten => 6005,2,Answer
;exten => 6005,3,MP3Player(/var/lib/asterisk/mohmp3/sample-hold.mp3)
exten => 6005,3,SetMusicOnHold,default
exten => 6005,4,MusicOnHold

The process starts - but i don't see mpg123 as a process when doing - ps
-ef

   -- Executing Wait("IAX[steven at 192.168.1.108:5036]/330", "2") in new
stack
    -- Executing Answer("IAX[steven at 192.168.1.108:5036]/330", "") in new
stack
    -- Executing SetMusicOnHold("IAX[steven at 192.168.1.108:5036]/330",
"default") in new stack
    -- Executing MusicOnHold("IAX[steven at 192.168.1.108:5036]/330", "")
in new stack
    -- Started music on hold, class 'default', on
IAX[steven at 192.168.1.108:5036]/330

On Sun, 2003-05-18 at 08:49, Gary wrote:
> Hi folks,
> 
> I have been wondering about different processor loads and which might
> be a more efficient way of doing this....
> 
> Currently we can set up a shoutcast station as an extension
> 
> exten => 3334,1,MP3Player,http://radio.nq.net:8000/
> 
> Now I was wondering if there was a way we can add a music extension to
> a conference (send only) and then set up an extension into the
> conference as listen only ??
> 
> if so, how ? and if it could be done, which would be lesser load on the
> machine ??
> 
> One other point....
> 
> Is there some way to ensure that certain setups are done on a startup
> or restart ??
> 
> the example is that the music gets added to the conference....
> 
> 
> Gary
> .
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list