]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_sofia] on call term optionally ignore Q.850 Reason 1680/head
authorKen <krice@freeswitch.org>
Tue, 7 Jun 2022 16:56:54 +0000 (11:56 -0500)
committerAndrey Volk <andywolk@gmail.com>
Tue, 7 Jun 2022 16:58:43 +0000 (19:58 +0300)
commit04df9c12f7e1a786875a6f3299dc766c314b73c1
treeaa8144eefdcede7e40e6ffbf14615817f4113a04
parent7f0edeafccb6f58b999211f47805cb8547768102
[mod_sofia] on call term optionally ignore Q.850 Reason

Currently SIP termination messages with Q.850 override the SIP
reason. Add chanvar ignore_q850_reason to ignore the Q.850 reason
and keep the SIP Reason Code.

Using the chan var avoids unexpected changes in behavior.

Co-authored-by: Brian West <brian@freeswitch.org>
src/mod/endpoints/mod_sofia/sofia.c