Redirect channels on conference issue

Hi Guys,

Need your help,
I have two channels bridged together and i want to pass both channels to a conference room, so i decided to send a Redirect in the AMI console:

asterisk - asterisk-1.6.2.4
dahdi - dahdi-linux-complete-2.4.1.2
chan_ss7 - chan_ss7-2.0.0

When i send below AMI message calls are going immediately hangs up. Please help me out where i am doing wrong.

Action: Redirect
Channel: SS7/siuc/90
ExtraChannel: SS7/siuc/23
Exten: 1001
ExtraExten: 1001
Context: my_conf
ExtraContext: my_conf
Priority: 1
ExtraPriority: 1
ActionID: XXXX

Dialplan:
[from_siuc]
exten => _XX.,1,NoOp(${CALLERID(num)})
exten => _XX.,n,NoOp(${EXTEN})
exten => _XX.,n,NoOp(${EXTEN:4})
exten => _XX.,n,Dial(SS7/siuc:63-124/${EXTEN:4})
exten => _XX.,n,hangup()

[my_conf]
exten => _X.,1,MeetMe(${EXTEN})

Console Logs:
– Recv IAM CIC=23 ANI=3235577998 DNI=007703002146332 RNI= redirect=no/0 complete=1
– Executing [007703002146332@from_siuc:1] NoOp(“SS7/siuc/23”, “3235577998”) in new stack
– Executing [007703002146332@from_siuc:2] NoOp(“SS7/siuc/23”, “007703002146332”) in new stack
– Executing [007703002146332@from_siuc:3] NoOp(“SS7/siuc/23”, “03002146332”) in new stack
– Executing [007703002146332@from_siuc:4] Dial(“SS7/siuc/23”, “SS7/siuc:63-124/03002146332”) in new stack
– Sent IAM CIC=90 ANI=3235577998 DNI=03002146332 RNI=
– Called siuc:63-124/03002146332
– SS7/siuc/90 is ringing
– SS7/siuc/90 is making progress passing it to SS7/siuc/23
– SS7/siuc/90 answered SS7/siuc/23
– Executing [1001@my_conf:1] MeetMe(“SS7/siuc/90”, “1001”) in new stack
== Parsing ‘/etc/asterisk/meetme.conf’: == Found
== Spawn extension (my_conf, 1001, 1) exited non-zero on ‘SS7/siuc/90’
– SS7 hangup ‘SS7/siuc/90’ CIC=90 Cause=0 (state=5)
== Spawn extension (my_conf, 1001, 1) exited non-zero on ‘SS7/siuc/23’
– Executing [1001@my_conf:1] MeetMe(“SS7/siuc/23”, “1001”) in new stack
== Parsing ‘/etc/asterisk/meetme.conf’: == Found
== Spawn extension (my_conf, 1001, 1) exited non-zero on ‘SS7/siuc/23’
– SS7 hangup ‘SS7/siuc/23’ CIC=23 Cause=0 (state=5)

AMI Events:
Event: Newchannel
Privilege: call,all
Channel: SS7/siuc/90
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum:
CallerIDName:
AccountCode:
Exten: 03002146332
Context: from_siuc
Uniqueid: 1382753447.1100

Event: Dial
Privilege: call,all
SubEvent: Begin
Channel: SS7/siuc/23
Destination: SS7/siuc/90
CallerIDNum: 3235577998
CallerIDName:
UniqueID: 1382753447.1099
DestUniqueID: 1382753447.1100
Dialstring: siuc:63-124/03002146332

Event: NewCallerid
Privilege: call,all
Channel: SS7/siuc/90
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753447.1100
CID-CallingPres: 3 (Presentation Allowed, Network Number)

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/90
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753447.1100

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/23
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 3235577998
CallerIDName:
Uniqueid: 1382753447.1099

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/90
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753447.1100

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/90
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753447.1100

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/23
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 3235577998
CallerIDName:
Uniqueid: 1382753447.1099

Event: Bridge
Privilege: call,all
Bridgestate: Link
Bridgetype: core
Channel1: SS7/siuc/23
Channel2: SS7/siuc/90
Uniqueid1: 1382753447.1099
Uniqueid2: 1382753447.1100
CallerID1: 3235577998
CallerID2: 007703002146332

Event: Newstate
Privilege: call,all
Channel: SS7/siuc/90
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753447.1100

Event: Unlink
Privilege: call,all
Channel1: SS7/siuc/23
Channel2: SS7/siuc/90
Uniqueid1: 1382753447.1099
Uniqueid2: 1382753447.1100
CallerID1: 3235577998
CallerID2: 007703002146332

Event: Bridge
Privilege: call,all
Bridgestate: Link
Bridgetype: core
Channel1: SS7/siuc/23
Channel2: SS7/siuc/90
Uniqueid1: 1382753447.1099
Uniqueid2: 1382753447.1100
CallerID1: 3235577998
CallerID2: 007703002146332

Action: Redirect
Channel: SS7/siuc/90
ExtraChannel: SS7/siuc/23
Exten: 1001
ExtraExten: 1001
Context: my_conf
ExtraContext: my_conf
Priority: 1
ExtraPriority: 1
ActionID: XXXX

Response: Success
ActionID: XXXX
Message: Dual Redirect successful

Event: Newchannel
Privilege: call,all
Channel: AsyncGoto/SS7/siuc/90
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum:
CallerIDName:
AccountCode:
Exten:
Context: from_siuc
Uniqueid: 1382753487.1101

Event: Masquerade
Privilege: call,all
Clone: SS7/siuc/90
CloneState: Up
Original: AsyncGoto/SS7/siuc/90
OriginalState: Up

Event: Rename
Privilege: call,all
Channel: SS7/siuc/90
Newname: SS7/siuc/90
Uniqueid: 1382753447.1100

Event: Rename
Privilege: call,all
Channel: AsyncGoto/SS7/siuc/90
Newname: SS7/siuc/90
Uniqueid: 1382753487.1101

Event: Rename
Privilege: call,all
Channel: SS7/siuc/90
Newname: AsyncGoto/SS7/siuc/90
Uniqueid: 1382753447.1100

Event: NewCallerid
Privilege: call,all
Channel: SS7/siuc/90
CallerIDNum: 007703002146332
CallerIDName:
Uniqueid: 1382753487.1101
CID-CallingPres: 3 (Presentation Allowed, Network Number)

Event: Unlink
Privilege: call,all
Channel1: SS7/siuc/23
Channel2: AsyncGoto/SS7/siuc/90
Uniqueid1: 1382753447.1099
Uniqueid2: 1382753447.1100
CallerID1: 3235577998
CallerID2: (null)

Event: Hangup
Privilege: call,all
Channel: AsyncGoto/SS7/siuc/90
Uniqueid: 1382753447.1100
CallerIDNum:
CallerIDName:
Cause: 0
Cause-txt: Unknown

Event: Hangup
Privilege: call,all
Channel: SS7/siuc/90
Uniqueid: 1382753487.1101
CallerIDNum: 007703002146332
CallerIDName:
Cause: 0
Cause-txt: Unknown

Event: Dial
Privilege: call,all
SubEvent: End
Channel: SS7/siuc/23
UniqueID: 1382753447.1099
DialStatus: ANSWER

Event: Hangup
Privilege: call,all
Channel: SS7/siuc/23
Uniqueid: 1382753447.1099
CallerIDNum: 3235577998
CallerIDName:
Cause: 0
Cause-txt: Unknown

That set of parameters for Redirect is different from 1.6.1.x. Are you sure that there really was a change between 1.6.1 and 1.6.2?

Hi David,

I don’t get ur point, can you please elaborate more.

I’m suggesting that you have coded your (not ur) AMI script to a more recent version of the documentation than that for the obsolete version of Asteirsk that you are using.

Thanks david,

Issue is resloved by using latest version of asterisk-1.6.2.24.