diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-09-22 15:29:24 -0500 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-09-22 15:49:27 -0500 |
commit | 08440df3e35984de2d19c4b70fa8a8c550e10575 (patch) | |
tree | 25099c5f64fb7000df10c09c7e5879155d8aaa4b /channels | |
parent | c96a5ffa6e89a5fec32cf16fe41e978ce9ffd4de (diff) |
res_pjsip_session: Don't end session when receiving a 500 on a reinvite
During a reinvite, if a remote endpoint error occurs and it returns a 500 the
session would end. This patch makes it so the session is not terminated, but
continues as it was.
The reason for this is because some endpoints may send non session terminating
"server errors" like a failed codec negotiation. So in this case instead of
ending the call it can hopefully continue. In the case of a real server error
the session is already "doomed", will be known soon enough and appropriately
ended by Asterisk later.
Change-Id: Ifeedae86b8cb44b92d52c79046522ec5f0aff1d5
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions