-2

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]

1 Answers1

0

Redirect will do only legs you specified.

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

arheops
  • 15,544
  • 1
  • 21
  • 27
  • Actually it worked.In an old version (we used asterisk 11) of asterisk this issue handled by itself. So was confused what could be reason.Thanks for help friend – Süleyman Qasımov Jul 16 '19 at 06:30