Asterisk (version 16) Redirect action does not complete 1st leg of call

After redirect action sent to Asterisk AMI, first leg of call is not completed until 2 leg of call completed, 1 leg completes as well at the same time with 2nd leg. This forces first sip member to be hang up for a some period of time not static though /n Asterisk v 16 Asterisk-java lib version = 3.0.0 SNAP-shot

org.asteriskjava.manager.action.RedirectAction[action='Redirect',extraexten='null',extrapriority='null',context='queue',channel='SIP/8227-00000003',actionid='null',extrachannel='null',extracontext='null',priority='1',exten='78888*',systemHashcode=1972526562]

Upvotes: -2

Views: 516

Answers (1)

arheops
arheops

Reputation: 15247

Redirect will do only legs you specified.

If you want hangup second leg - send it via extrachannel/extracontext to hangup extension.

Upvotes: 0

Related Questions