In article <[EMAIL PROTECTED]>,
Paulo <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I am trying to setup a three party conference using
> the Asterisk Manager API. I am using the Redirect
> action over an established two party call. The
> procedure I am using is to try to redirect the two
> existing channels to a third party. I would expect
> this to connect both channels to the third party.
> However, one of the two parties gets disconnected. Is
> this the expected behavior? Is there any other way to
> setup such a conference?

You have to do it using a MeetMe conference.

for example, in extensions.conf you could have:

[conference]
; single-digit conf numbers
exten => _X,1,MeetMe(${EXTEN}|dq)
exten => _X,2,Hangup
; multi-digit conf numbers
exten => _X.,1,MeetMe(${EXTEN}|dq)
exten => _X.,2,Hangup

and then in the Manager API you redirect both legs of your established
call at once using Channel and ExtraChannel:

Action: Redirect
Channel: <first channel>
ExtraChannel: <second channel>
Context: conference
Exten: <confnum>
Priority: 1

You have to do them both at once, otherwise you would drop one channel
when the other lets go of it to join the conference.

You can then add any other callers to the same conference as required.

Hope this helps
Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to