]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channels/chan_pjsip: fix HANGUPCAUSE function bug. 71/3971/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:15 +0000 (14:11 -0500)
commit7bcb1fc940b39adc551aded00fa0fa36327507f1
tree9ab5da368b949723252eea637d75c4d81275a15a
parentd4422a2253b02e3b5a14a1d68afb1612a0e37725
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