]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channels/chan_pjsip: fix HANGUPCAUSE function bug. 70/3970/1
authorAaron An <anjb@ti-net.com.cn>
Thu, 22 Sep 2016 06:40:45 +0000 (14:40 +0800)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 23 Sep 2016 19:11:05 +0000 (14:11 -0500)
commita0a17a8c6f92cea38afb234d2f8b6cb4e3883424
tree96273b4ed2a497c261548e930a3a02331fd80391
parent7cce1a781754820ce889426287765df39c60d083
channels/chan_pjsip: fix HANGUPCAUSE function bug.

HANGUPCAUSE not return 'SIP 200 Ok' when dialed channel answered.
This patch change the call order of ast_queue_control_data
and ast_queue_control in chan_pjsip_incoming_response.

ASTERISK-26396 #close
Reported by: AaronAn
Tested by: AaronAn

Change-Id: Ide2d31723d8d425961e985de7de625694580be61
channels/chan_pjsip.c