Hello,
Most traditional PBX-es have the ability to use external audio source (e.g. radio tuner) for music on hold. This is also useful because you can let your users listen to radio by dialing some extension.
I wanted to achieve the same on asterisk, and chan_alsa seemed the logical choice. I installed ALSA drivers, connected the radio to line-in and added the folowing to extensions.conf:
exten => *55,1,Dial(Console/Line)
And indeed, now I could listen to radio by dialing *55. There are some problems, however:
1. Asterisk treats this as a normal call, so only one user can listen at a time. Is there a way to let several user listen simultaneously? 2. As this is a low priority call, it should be dropped when incoming call is sent to a channel which dialed it. I guess SoftHangup could be used, but I don't know how to determine which channel to hangup. 3. I have no idea how to use this as a source for music on hold.
Any help would be appreciated.
Niksa
_______________________________________________ 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