]> 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>
Thu, 21 Nov 2019 21:10:17 +0000 (16:10 -0500)
commit4ac0299bfbdfc851040ab2e8136e0078378ea19a
tree5d2f9b2472a38c690442585cef3add95e649a84b
parente9b9141d092da93f10fd8e482fcdf4d19ae38ae9
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