[Asterisk-Users] MusicOnHold() - how to restart player from the beginning on each call? (fwd)

Emilio Panighetti emilio at dorial.com
Sun Oct 24 11:23:04 MST 2004


Looks like what you want is not music on-hold, but rather a streaming 
server

On Oct 22, 2004, at 4:23 PM, Ryan Courtnage wrote:

> On Fri, 2004-22-10 at 16:05 -0400, Kanwar Ranbir Sandhu wrote:
>> On Fri, 2004-10-22 at 05:56, Manfred Petz wrote:
>> [snip]
>>> Is there a way to force MusicOnHold() to be restarted from the 
>>> beginning for
>>> each call which has been answered?
>> [snip]
>>
>> Why?  What would be the point?
>
> off the top of my head ... promotional messages.
>
> Manfred - I don't think there is a graceful way to do this.  I know 
> that
> if you do a "killall mpg123" at your command line, the next call MOH
> answers will start playing the mp3s at the beginning.  Of course this
> would affect others that are listening, but if you build out some logic
> you might be able to make some use of it.
>
> Ryan
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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




More information about the asterisk-users mailing list