]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_t38: Decline T.38 stream on failure case.
authorJoshua Colp <jcolp@digium.com>
Thu, 5 Jul 2018 20:43:35 +0000 (20:43 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 5 Jul 2018 20:43:35 +0000 (20:43 +0000)
commit76f2699d2d3903b56e88f4daaa2af969618efa26
tree53722fffeeb310bf60b12ae5ff7f213bc66a2597
parent43dc9c3d5f1bddbb7d2c8081422c65ecc9abe3f8
res_pjsip_t38: Decline T.38 stream on failure case.

When negotiating an incoming T.38 stream the code incorrectly
returned failure instead of a decline for the stream when a
problem occurred or the configuration didn't allow it. This
resulted in SDP offers being rejected with a 488 response
in all cases, even when another valid stream was present.

This change makes it so the stream is now declined. If no
streams are accepted a 488 response is sent while if at least
one stream is accepted all the declined streams are, well,
declined.

ASTERISK-27763

Change-Id: I88bcf793788c412a9839d111a5c736bf6867807c
res/res_pjsip_t38.c