[Asterisk-Users] Standard messages instead of MOH during dial

Brian West brian at bkw.org
Mon Nov 15 16:16:01 MST 2004


http://bugs.digium.com/bug_view_page.php?bug_id=0002639

That’s what you want.

bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Régis MARTIN
> Sent: Monday, November 15, 2004 4:36 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Standard messages instead of MOH during dial
> 
> Hi,
> 
> 
> 
> I know the question was already asked but I never found an answer to this
> problem. So, I try again
 (things changes :-))
> 
> Is there a way to play a specific message or sound from the start during
> the dial command.
> 
> I want to do exactly the same thing that the “m” option of Dial command
> but with a music that start from the beginning for each new caller.
> 
> 
> 
> Caller 1 hears “hello, please hold we’re looking for your friend, lalalal
> (music)”
> 
> Caller 2 (2 seconds after the first caller) hears “hello, please hold
> we’re looking for your friend, lalalal (music)”
> 
> Caller 3 (1 seconds after the second caller) hears “hello, please hold
> we’re looking for your friend, lalalal (music)”
> 
> 
> 
> Each time, the message starts from the beginning and was diffused during
> the dial.
> 
> 
> 
> As what I read, Background could do the thing because Background must
> return immediately. But, It’s not what happens.
> 
> My Background command stay at background priority and go to the next
> priority (the dial) only when the sound is finish.
> 
> 
> 
> s,1,Background(sound)
> 
> s,2,Dial(channel)
> 
> 
> 
> If the sound takes 3 minutes, the dial start only after the 3 minutes. I
> want to start the Dial immediately and stop background when caller answer.
> 
> 
> 
> Is there a way to do this ?
> 
> Does someone as ever modified to dial or background command to do this ?
> 
> 
> 
> Thanks in advance,
> 
> 
> 
> Régis
> 
> 





More information about the asterisk-users mailing list