Hi Asterisk Users,
my apologizes for cross posting.
I'm trying to make the next scenario in Asterisk DialPlan: Alice calls Bob,
Asterisk executes Dial application with G(context^exten^pri), after that Bob
answers the call, Asterisk transfers Alice to pri, Bob to pri+1. It should
be possible for example that in that context Asterisk executes different
scenarios for Bob and Alice and then connects Alice to Bob to let them
communicate. The problem is that I can not connect both sides for
conversation, Asterisk just hangs up after executes the scenarios.
*[AnswerPrompt]
exten => s,1,Goto(10)
exten => s,2,Playback(Announce1)
exten => s,10,Playback(Announce2)
[call-number]
exten => _X.,1,Dial(SIP/${EXTEN}|G(AnswerPrompt^s^1))
exten => _X.,n,Hangup()
*
Is there any solutions? Any help will be appropriate.
On Tue, May 20, 2008 at 3:56 PM, Alexander Olekhnovich <
[EMAIL PROTECTED]> wrote:
> Thanks a lot, that's the answer i could dream of :)
>
>
> On Tue, May 20, 2008 at 3:34 PM, Tony Mountifield <
> [EMAIL PROTECTED]> wrote:
>
>> In article <[EMAIL PROTECTED]>,
>> Alexander Olekhnovich <[EMAIL PROTECTED]> wrote:
>> >
>> > Could anyone please answer my question.
>> >
>> > I want to make the next scenario be possible.
>> > 1. Caller call another user.
>> > 2. Callee (called party) picks up and enters IVR menu. And then
>> depending on
>> > his choice he has variants to: transfer the call to another user,
>> transfer
>> > to voicemail, answer, hangup, etc...
>> >
>> > The problem is in the second part. As I remember Asterisk has an A(x)
>> > parameter of Dial to play the Announce to callee, but is there a
>> possibility
>> > to organize IVR for callee after he picks up the receiver?
>> > Any help will be appropriate.
>>
>> Use the G(context^ext^pri) option to Dial. This will transfer both the
>> calling and called parties into the dialplan when the call is answered.
>> Note that the calling party goes to priority pri and the called party
>> goes to priority pri+1, so that you can do different things for each.
>>
>> Cheers
>> Tony
>> --
>> Tony Mountifield
>> Work: [EMAIL PROTECTED] - http://www.softins.co.uk
>> Play: [EMAIL PROTECTED] - http://tony.mountifield.org
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Best Regards
> Alexander Olekhnovich
--
Best Regards
Alexander Olekhnovich
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users