]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Set hangup cause for RTP timeouts
authorSean Bright <sean.bright@gmail.com>
Fri, 24 Mar 2017 16:29:10 +0000 (12:29 -0400)
committerSean Bright <sean.bright@gmail.com>
Fri, 24 Mar 2017 16:31:34 +0000 (10:31 -0600)
commit701a03738b30205601258559aa7bbf98bcd08a5f
tree12abf124076fca700a7b29b05855abb5a4c7dd89
parentaa7b60ecc7aa9ae379fb5fe16739f139dd991d5d
res_pjsip_sdp_rtp: Set hangup cause for RTP timeouts

chan_sip sets the hangup cause code to AST_CAUSE_REQUESTED_CHAN_UNAVAIL
(44) when a channel is hung up due to an RTP timeout. So do the same
when it happens with PJSIP for parity.

Change-Id: I3546ebbde6460c22a27c9da1bf321711b5961ab8
res/res_pjsip_sdp_rtp.c