]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_t38: T.38 error correction mode selection at 200 ok received
authorSalah Ahmed <txrubel@gmail.com>
Fri, 15 Nov 2019 17:34:26 +0000 (11:34 -0600)
committerSalah Ahmed <txrubel@gmail.com>
Wed, 20 Nov 2019 15:44:39 +0000 (09:44 -0600)
commit9c586e5be7f0f9f91193afb3648736279e63ffe0
tree007ce475da1f2654fca987a7e52a8d6a3790d4bb
parent7a236ed20d884942d266f734b216238296af56a1
res_pjsip_t38: T.38 error correction mode selection at 200 ok received

if asterisk offer T38 SDP with none error correction scheme and
the endpoint respond with redundancy EC scheme, asterisk switch
to that mode. Since we configure the endpoint as none EC mode
we should not switch to any other mode except none.
following logic implemented in code.

1. If asterisk offer none, and anything except none in answer
   will be ignored.
2. If asterisk offer fec, answer with fec, redundancy and none will
   be accepted.
3. If asterisk offer redundancy, answer with redundancy and none
   will be accepted.

ASTERISK-28621

Change-Id: I343c62253ea4c8b7ee17abbfb377a4d484a14b19
res/res_pjsip_t38.c