]> 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>
Fri, 6 Jul 2018 09:21:25 +0000 (04:21 -0500)
commitc7ee75ced4b2957ea6cd5166c828b2b96c481a63
treed15f9202e792f782d7f252caa56c3e82b4f5f0e5
parentf248ab4c24244718ae86177e0fe2660a426a6d29
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