I have an incoming call from a dadhi channel connected to a queue, the queue has as members several softphone.
I want to connect the incoming call to a member of the queue from an external application using AMI commands.
I Try to do it using the BRIDGE command but did not work.
AMI events shows:
Action: Bridge
ActionID: 1
Channel1: DAHDI/3-1
Channel2: SIP/1001-0000004c
Response: Error
ActionID: 1
Message: Unable to masquerade channel SIP/1001-0000004c!
Event: Masquerade
Privilege: call,all
Clone: DAHDI/3-1
CloneState: Up
Original: Bridge/DAHDI/3-1
OriginalState: Up
Event: Hangup
Privilege: call,all
Channel: SIP/1001-0000004c
Uniqueid: 1377901844.116
CallerIDNum: 1001
CallerIDName: device
ConnectedLineNum:
ConnectedLineName:
Cause: 16
Cause-txt: Normal Clearing
is there any way to do this ?
Thanks in advance.