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

2004-10-24 Thread Emilio Panighetti
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-10-24 Thread William Suffill
Why not just create a context that plays static msgs whenever someone
is transfered thereThank you for calling Monthly special etc
...
then transfer them back when the person at the biz picks up


On Sun, 24 Oct 2004 14:23:04 -0400, Emilio Panighetti [EMAIL PROTECTED] wrote:
 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
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-10-24 Thread Matthew Marlowe
What Manfred wants to do is not that uncommon.  I've used the method
that William has suggested in the past.  On a lot of corporate phone
systems this is a simple option in the programming.  Another way is to
simply advertise your specials over your music on hold and repeat
them... Hoping that the person hears the special.. The only reason
they wouldn't is if the customer was on hold for too small of an
amount of time, which the customer will appreciate more. :)


On Sun, 24 Oct 2004 14:26:50 -0400, William Suffill
[EMAIL PROTECTED] wrote:
 Why not just create a context that plays static msgs whenever someone
 is transfered thereThank you for calling Monthly special etc
 ...
 then transfer them back when the person at the biz picks up
 
 
 
 
 On Sun, 24 Oct 2004 14:23:04 -0400, Emilio Panighetti [EMAIL PROTECTED] wrote:
  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
   [EMAIL PROTECTED]
   http://lists.digium.com/mailman/listinfo/asterisk-users
   To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 


-- 
MBM
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-10-22 Thread Manfred Petz
Hi list,
A question regarding MusicOnHold(): Upon the first call, the player starts. 
Okay. But when I hang up and call again, the music playback for this new call 
does not start from the beginning, it starts at the point where it has been 
interrupted previously.

Is there a way to force MusicOnHold() to be restarted from the beginning for 
each call which has been answered?

I tested this by calling extension 114, which is re-routed to a differend numer 
as below:

exten = 114,1,Answer
exten = 114,2,SetMusicOnHold(comlabshold)
exten = 114,3,MusicOnHold(comlabshold)
exten = 114,4,Dial(Zap/g1/019470277,,m)
exten = 114,5,Hangup
Thanks
Manfred
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-10-22 Thread Kanwar Ranbir Sandhu
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?

Ranbir

-- 
Ranbir
Systems Aligned Inc.
www.systemsaligned.com

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-10-22 Thread Ryan Courtnage
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users