]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2021-007 - res_pjsip_session: Don't offer if no channel exists.
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 28 Apr 2021 12:36:35 +0000 (09:36 -0300)
committerGerrit <noreply@gerrit.asterisk.org>
Thu, 22 Jul 2021 18:26:01 +0000 (13:26 -0500)
commitec16d2ecbd70df3d99edb7c05bb390e020c738c4
tree49c34bc10f7d10ad3c7ed0cb3bdbcc5d4cb0922a
parente6ddbe09220e5b6b8025de9fbfc50af55b2953cb
AST-2021-007 - res_pjsip_session: Don't offer if no channel exists.

If a re-INVITE is received after we have sent a BYE request then it
is possible for no channel to be present on the session. If this
occurs we allow PJSIP to produce the offer instead. Since the call
is being hung up if it produces an incorrect offer it doesn't
actually matter. This also ensures that code which produces SDP
does not need to handle if a channel is not present.

ASTERISK-29381

Change-Id: I673cb88c432f38f69b2e0851d55cc57a62236042
res/res_pjsip_session.c