[Asterisk-Users] Music on Hold restart at beginning for each call

Matt mhoppes at gmail.com
Mon May 15 13:35:59 MST 2006


Why not use background?

On 5/15/06, Tim Sharp <TSharp at infoviewsystems.com> wrote:
> Chris,
> I have it working now using Playback but I am looking for a way to reduce the wait time.
>
> The system can hold up to four numbers per each DID number.  When a call comes in the first message says
> "Please wait while I attempt to connect you.  At any time during this call you may press 1 to go straight
> to voice mail."  And the first of four numbers is dialed.  If the call is not answered then the second
> message says "Thank you for your patience.  I am trying an alternate number.  Remember you can always
> press 1 to go staight to voice mail."  And the next number is dialed.  This can continue for two more
> numbers.  If there is no answer and all numbers have been tried the message "I am sorry I was unable to
> locate your party.  I will transfer you to their voice mail."  And the system transfers the call to voice mail.
>
> The best case would be to dial the number while playing the message.  I have this working except that the
> sound file is played in a loop when using the m option with dial.  The first call works great, every call after
> the message will start where the prior call ended.  I am looking for a way to have the sound file start at the
> begining with each call.
>
> Thanks,
> Tim
>
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Chris
> Hastie
> Sent: Sunday, May 14, 2006 5:37 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] Music on Hold restart at beginning for
> each call
>
>
> On Fri, 12 May 2006, Tim Sharp <TSharp at infoviewsystems.com> wrote
> >I am using the m option on the dial command to play a message instead
> >of ringing.  The message is something like "please wait while I try to
> >locate your party" so I need it to start at the beginning for each
> >call.  I think there might be a way in 1.2.x be we are not ready to
> >upgrade yet so a solution for 1.0.9 is what I am after.  Thanks.
>
> The 'm' option is for music on hold, not really announcements. Wouldn't
> it be simpler to play the announcement first, then dial? eg
>
> exten => s,1,Playback(local/please_hold_locate)
> exten => s,2,Dial(${FOO},20,tm)
> --
> Chris Hastie
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list