]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Handle invocation of callback on outgoing request when error occurs. 47/4847/5
authorJoshua Colp <jcolp@digium.com>
Tue, 31 Jan 2017 17:17:50 +0000 (17:17 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 1 Feb 2017 19:15:18 +0000 (13:15 -0600)
commitdcea8f13ceaaa4d2e554bf2399c60711f09243ee
tree580889a4673580979dc24973dcccbde5df6ea2e5
parent9882639f371d8cdeed868837bf026b0371e2af0a
res_pjsip: Handle invocation of callback on outgoing request when error occurs.

There are some error cases in PJSIP when sending a request that will
result in the callback for the request being invoked.  The code did not
handle this case and assumed on every error case that the callback was not
invoked.

The code has been changed to check whether the callback has been invoked
and if so to absorb the error and treat it as a success.

ASTERISK-26679
ASTERISK-26699

Change-Id: I563982ba204da5aa1428989a11c06dd9087fea91
res/res_pjsip.c