BJ Weschke wrote: > > Ade Vickers wrote: > >> -----Original Message----- > >> > >> Hi Folks, > >> > >> I'm using the "rawplayer" program to provide my > music-on-hold, and it > >> works very well, with one small > >> drawback: every time I reset Asterisk, for any reason, the > MoH resets > >> to the beginning of the list. Since MoH isn't used that often, it > >> basically means the same track is played over & over again... > >> > >> What I'd like to do is have rawplayer continuously playing away in > >> the background, even if it's playing to itself only, so there's an > >> excellent chance that any caller who will be given the > pleasure of my > >> MoH choices, will get a different tune to the one s/he heard last > >> time... > >> > > > This would probably involve some kind of IPC named pipe or > other inter process method of getting the data from pt A to > pt B to work. While technically possible, it's not a trivial > amount of work to get it going in the codebase. You might be > better off with something like streaming MP3 over http or > something else like that if you're looking for something with > no code modifications.
Hm, I was ideally looking for something with no code modifications; e.g. a "phantom" channel which simply played music to itself, setup when Asterisk starts, or even with manual intervention (e.g. I dial a number, and rawplayer starts up). > Are you really resetting Asterisk that much that this > becomes a problem? If so, why? My Asterisk install is mainly used for inter-office communications, allowing the Spanish branch to use the UK landline, and testing/experimentation. As such, I frequently do things which require a full restart, or I get it tangled up to the point where it needs a restart. The hold music rarely plays, but because rawplayer always picks the files in the same order, it's almost always track 1 that's playing when I *do* put someone on hold, or whatever; I'd prefer it to be a random start point. Cheers! Ade. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users