Roland Zagler
2005-Jul-02 12:19 UTC
[Asterisk-Users] play message to callee before connect toincoming call
Thank you, Robert! The announcementfile plays well, but at Dial-option "m" i have to specify a MoH class, that is something i cannot use (as i wrote in my post). Background command waits for a user input, but the caller should be connected to SIP Phone 100 after it has answered and the announcement has been played. Before connecting to SIP Phone 100 the caller should hear a soundfile... wiki says nothing about an Dial-option to play a soundfile to the caller ;-( Roland Zagler -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Robert Goodyear Sent: Saturday, July 02, 2005 8:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] play message to callee before connect toincoming call On Jul 2, 2005, at 10:23 AM, Roland Zagler wrote:> Hello, > > i try to do the following: > > 1) call comes in on extension 999 > 2) caller should hear music (NOT MoH!!!) > 3) a call should be initiated to SIP Phone 100 > 4) when SIP Phone 100 is answered, a sound file should be played tothe> user at SIP Phone 100 > 5) the incoming call (at extension 999) should be connected to SIP > Phone > 100 >Rough pseudo-code follows, experiment and report your results to the list: 999 dial(SIP/100|20|m(soundfile)A(announcementfile)) OR 999 background(soundfile) 999 dial(SIP/100|20|A(announcementfile)) -- Robert Goodyear Brand Up LLC http://www.brand-up.com _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Robert Goodyear
2005-Jul-02 12:38 UTC
[Asterisk-Users] play message to callee before connect toincoming call
On Jul 2, 2005, at 12:19 PM, Roland Zagler wrote:> Thank you, Robert! > > The announcementfile plays well, but at Dial-option "m" i have to > specify a MoH class, > that is something i cannot use (as i wrote in my post).Noted, which is why I offered option two.> > Background command waits for a user input, but the caller should be > connected to > SIP Phone 100 after it has answered and the announcement has been > played.But it doesn't REQUIRE input. Background completes when then sound file ends. Are you saying you want to move on to announcing the call to the callee as soon as it comes in while the caller is listening to the soundfile? I was following your sequential steps in your post, but if you intend to fork the process and be doing two things at once, then it's more complex.> Before > connecting to SIP Phone 100 the caller should hear a soundfile... > > wiki says nothing about an Dial-option to play a soundfile to the > caller > ;-(Sure it does... BACKGROUND.
Apparently Analagous Threads
- play message to callee before connect toincomingcall
- play message to callee before connect toinco mingcall
- play message to callee before connecttoincomingcall
- play message to callee beforeconnecttoincomingcall
- play message to callee before connect to incomingcall