diff options
author | Joshua Colp <jcolp@digium.com> | 2015-08-27 14:26:09 -0300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-08-28 06:44:21 -0500 |
commit | 229b95d253e7e3bf51cd431f021cff7993655dc7 (patch) | |
tree | 63d0e5a4ffc307a2434d791e5c4fe693340f5f58 /codecs/codec_lpc10.c | |
parent | 388e628120d5d9adeaaf1a4002bf10c3ed27530e (diff) |
res_pjsip_session: Don't invoke session supplements twice for BYE requests.
When a BYE request is received the PJSIP invite session implementation
creates and sends a 200 OK response before we are aware of it. This
causes the INVITE session state callback to be called into and ultimately
the session supplements run on the BYE request. Once this response has
been sent the normal transaction state callback is invoked which
invokes the session supplements on the BYE request again. This can
be problematic in particular with res_pjsip_rfc3326 as it may
attempt to update the hangup cause code on the channel while it is
in the process of being hung up.
This change makes it so the session supplements are only invoked
once by the INVITE session state callback.
ASTERISK-25318 #close
Change-Id: I69c17df55ccbb61ef779ac38cc8c6b411376c19a
Diffstat (limited to 'codecs/codec_lpc10.c')
0 files changed, 0 insertions, 0 deletions