Ssequence of events

Hi, I upgrade Asterisk from 11.18.0 to 16.1.2.
After upgrade in queue_log table seens uncorrespoings.
Example: Firstly the call entering queue_1 then redirecting into queue_2.

In Astersik 11 table looks in this form.

"3543208"	"2019-03-05 09:13:27"	"1551762778.111112"		"qanun"	"NONE"		"ENTERQUEUE"		""		"125660034"				"1"	""	""
"3543209"	"2019-03-05 09:13:29"	"1551762778.111112"		"qanun"	"SIP/188"	"CONNECT"			"2"		"1551762807.111117"		"2"	""	""
"3543210"	"2019-03-05 09:13:43"	"1551762778.111112"		"qanun"	"SIP/188"	"COMPLETECALLER"	"2"		"14"					"1"	""	""
"3543211"	"2019-03-05 09:13:43"	"1551762778.111112"		"rus"	"NONE"		"ENTERQUEUE"		""		"125660034"				"1"	""	""
"3543213"	"2019-03-05 09:13:55"	"1551762778.111112"		"rus"	"SIP/121"	"CONNECT"			"12"	"1551762833.111122"		"1"	""	""
"3543259"	"2019-03-05 09:19:19"	"1551762778.111112"		"rus"	"SIP/121"	"COMPLETEAGENT"		"12"	"324"					"1"	""	""

But in Asterisk 16 table looks in this form.

"7207698"	"2019-07-09 09:16:22"	"1562649366.233"	"qanun"	"NONE"		"ENTERQUEUE"		""	"125668028"			"1"	""	""
"7207699"	"2019-07-09 09:16:24"	"1562649366.233"	"qanun"	"SIP/123"	"CONNECT"			"2"	"1562649382.237"	"1"	""	""
"7207703"	"2019-07-09 09:16:33"	"1562649366.233"	"rus"	"NONE"		"ENTERQUEUE"		""	"125668028"			"1"	""	""
"7207704"	"2019-07-09 09:16:35"	"1562649366.233"	"rus"	"SIP/184"	"CONNECT"			"2"	"1562649392.240"	"1"	""	""
"7207727"	"2019-07-09 09:18:34"	"1562649366.233"	"rus"	"SIP/184"	"COMPLETECALLER"	"2"	"120"				"1"	""	""
"7207728"	"2019-07-09 09:18:34"	"1562649366.233"	"qanun"	"SIP/123"	"COMPLETECALLER"	"2"	"130"				"1"	""	""

Pay attention to the sequence of events.
Why i Asterisk 11 COMPLETECALLER occur before call entering in a new queue but in Asterisk 16 it occur when call is fully complete?

May be is it optionally? May be managed with ?parameter

I need as like Asterisk 13.
How can i change in Asterisk 16 ?
Anyone know it?

I solved the problem with set the extracontext to the hangup context and extrachannel to the sip channel which generated on first queue as mentioned here https://stackoverflow.com/questions/57006978/asterisk-version-16-redirect-action-possible-bug/57013201#57006978
Note: I carefully looked at Asterisk 13 there are also no events is invalid. Because after entering second queue must be generated COMPLETEAGENT not COMPLETECALLER. Therefore in Asterisk 13 also must be set extracontext and extrachannel like above i meintoned

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