btw: a parallel call gets exactly the same position of the track, there's no second cat beeing started - guess that's also the default behaviour of asterisk for moh?!
On Mon, 19 Sep 2005 12:16:19 +0200 ChB <[EMAIL PROTECTED]> wrote: > well, in my case the file is beeing played from the position where the last > hangup has happened - that also leaves a process playing the file endlessly. > guess i'll have to figure out why it doesn't get the right signal to stop the > script... but thanks so far... > > On Wed, 31 Aug 2005 18:09:07 +0300 > gmail lists <[EMAIL PROTECTED]> wrote: > > > The shell script I sent you (I have replaced the mpg123 binary with > > it) does EXACTLY what you want. > > > > At least it does exactly that in my installation.... > > > > On MOH it does cat file (from the beginning of the file). You either > > do something different or I'm totally wrong. > > > > > > On 30/08/05, ChB <[EMAIL PROTECTED]> wrote: > > > i've had already activated raw-output, still that doesn't solve the issue > > > with > > > play from the beginning till pickup. > > > regards > > > christian > > > > > > On Tue, 30 Aug 2005 10:34:14 +0300 > > > gmail lists <[EMAIL PROTECTED]> wrote: > > > > > > > Ah, ok, found it in the Wiki also: > > > > > > > > http://www.voip-info.org/tiki-index.php?page=Asterisk+mpg123+faking+it > > > > > > > > > > > > On 30/08/05, gmail lists <[EMAIL PROTECTED]> wrote: > > > > > You can simply use this trick to do your job reliably and without need > > > > > for real mpg123: > > > > > > > > > > file: mpg123 (just the same name but it will be a shell script) > > > > > > > > > > -------- > > > > > > > > > > #!/bin/sh > > > > > while [ 1 ]; do cat /var/lib/asterisk/mohmp3/please-wait.raw || exit; > > > > > done > > > > > > > > > > -------- > > > > > > > > > > and use a program to save the MOH file in RAW mode (I use audacity > > > > > for windows). > > > > > > > > > > Each time your caller is on MOH he will hear the file from start. > > > > > > > > > > I think this (from the top of my head and without testing) will do the > > > > > trick for you. > > > > > > > > > > > > > > > > > > > > On 30/08/05, Trevor G. Hammonds <[EMAIL PROTECTED]> wrote: > > > > > > My suggestion is to background a short "please wait..." file, then > > > > > > dump them > > > > > > into the Dial command with the m option. Use a > > > > > > specifically-created MOH > > > > > > class with a "please continue to hold..." message mixed into the > > > > > > music every > > > > > > X seconds. This way, they always hear the message before entering > > > > > > the hold > > > > > > queue, and as long as the call is ringing, they continue to hear MOH > > > > > > interspersed with your message. > > > > > > > > > > > > Sincerely, > > > > > > Trevor Hammonds > > > > > > > > > > > > > > > > > > ChB wrote on Monday, 29 August 2005 6:18 PM: > > > > > > > > > > > > > well, problem is that the sound file contains the information > > > > > > > "please > > > > > > > hold the line, were right with you" so the called person should be > > > > > > > able to pick up the call and stop the playback of the file, > > > > > > > basically > > > > > > > i want the m-feature, just for _every_ call, from the beginning. > > > > > > > > > > > > > > regards > > > > > > > christian > > > > > > > > > > > > > > > > > > > > > On Monday Aug 2005 11:45:21 -0400 "Tony Fontoura" <[EMAIL > > > > > > > PROTECTED]> > > > > > > > wrote: > > > > > > > > > > > > > >> Suggestion: > > > > > > >> Use "play" to answer the call with your sound file and only then > > > > > > >> dial > > > > > > >> the extension. > > > > > > >> > > > > > > >> > > > > > > >> -----Original Message----- > > > > > > >> From: Christian Benke > > > > > > >> Sent: Monday, August 29, 2005 11:36 AM > > > > > > >> To: [email protected] > > > > > > >> Subject: [Asterisk-biz] text till answer > > > > > > >> > > > > > > >> hello! > > > > > > >> > > > > > > >> i'm looking for a feature to play a sound-file containing a text > > > > > > >> until the called party picks up the phone. i've already tried > > > > > > >> with > > > > > > >> the 'special' musiconhold-feature by adding the m-option at the > > > > > > >> end > > > > > > >> of DIAL but it > > > > > > >> is not exactly what i want. the proble m with the m-option is > > > > > > >> that > > > > > > >> the file is played to a second caller at the same position as it > > > > > > >> was > > > > > > >> played to the first caller, so when the second person calls, the > > > > > > >> text > > > > > > >> is played somewhere in the middle of the track instead of the > > > > > > >> beginning. i only works when the file has already been fully > > > > > > >> played(e.g. when there was enough time between the first and the > > > > > > >> second call). i want to play a text for every caller(that is > > > > > > >> played > > > > > > >> from the beginning) until the called party picks up the phone, is > > > > > > >> that possible? th ank you for all suggestions! > > > > > > >> > > > > > > >> regards > > > > > > >> chris > > > > > > > > > > > > _______________________________________________ > > > > > > Asterisk-Biz mailing list > > > > > > [email protected] > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-biz > > > > > > > > > > > > > > > _______________________________________________ > > > > Asterisk-Biz mailing list > > > > [email protected] > > > > http://lists.digium.com/mailman/listinfo/asterisk-biz > > > > > > > _______________________________________________ > > > Asterisk-Biz mailing list > > > [email protected] > > > http://lists.digium.com/mailman/listinfo/asterisk-biz > > > > > _______________________________________________ > > Asterisk-Biz mailing list > > [email protected] > > http://lists.digium.com/mailman/listinfo/asterisk-biz > > > _______________________________________________ > Asterisk-Biz mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-biz _______________________________________________ Asterisk-Biz mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-biz
