Asterisk 16 amI action to do confference

from orginate command called perosn A using xlite and again called to perosn b

now need to put all in confference

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_Redirect

in this case call disconnnect fron xlite

Use the two channel format.

freepbx*CLI> core show channels
Channel Location State Application(Data)
SIP/2005-000000e4 (None) Up AppDial((Outgoing Line))
SIP/4000-000000e2 (None) Up AppDial((Outgoing Line))
SIP/2004-000000e3 s@macro-dial-one:56 Up Dial(SIP/2005,HhTtrb(func-app
SIP/2004-000000e1 s@macro-dialout-trun Up Dial(SIP/4000/8527XXXXXX,300,T

what exaclty the action format for above channle s

Action: Redirect
ActionID: 1234
Channel: SIP/4000-000000e2
ExtraChannel: SIP/2005-000000e4
Exten: 2004
ExtraExten:
Context: from-internal
ExtraContext:
Priority: 1
ExtraPriority:

i m doing this way but no luck

I would either remove the lines with blank parameters or make those parameters explicit.

I’m also confused about the other two channels, that you seem to be using Dial, not originate, and note that this appears to be in the context of FreePBX, which isn’t supported on this forum.

(More precisely, people on this forum cannot be expected to be familiar with the FreePBX dialplan.)

i m using below Orginate command
Action: Originate
Channel: SIP/2004
Context: from-internal
Exten: 85XXXXXXX
Priority: 1
Callerid: 85XXXXXXX
ActionID: ABC45678901234567890

channels

SIP/4000-000000fd (None) Up AppDial((Outgoing Line))
SIP/4000-000000fb (None) Up AppDial((Outgoing Line))
SIP/2004-000000fc s@macro-dialout-trun Up Dial(SIP/4000/85XXXXXX,300,T
SIP/2004-000000fa s@macro-dialout-trun Up Dial(SIP/4000/85XXXXXX,300,T

now what exatly the format to merge and do confference

Which channels do you want to merge and which do you want to hangup?

from line one
SIP/4000-000000fb (None) Up AppDial((Outgoing Line))
SIP/2004-000000fa s@macro-dialout-trun Up Dial(SIP/4000/85XXXXXX,300,T

from line 2
SIP/4000-000000fd (None) Up AppDial((Outgoing Line))

SIP/2004-000000fa s@macro-dialout-trun Up Dial(SIP/4000/85XXXXXX,300,T

just want to put them all in confference

without hangup

The above looks wrong, as you only have three distinct channel names!

You will need two channel redirects, one for each call. Do fb and fa as a pair, and fd, and whatever really dialed it, as a pair.

actually i m new in AMI , i want excalty syntax , could you please note down exaclty syntax

I don’t do consultancy work.

its ok david , i m not asking for write down my dialpla , i m lokkig for exaclty action sytax to do confference
thanks for reply

anyone can help me here

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.