]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Handle invocation of callback on outgoing request when error occurs. 48/4848/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:26 +0000 (13:15 -0600)
commitaeea634bc0304736f41f440768f50105844a5dda
tree1702c55633c3c397a3216212ed7d3b616655d4ad
parente252aff9ad9e8448ec0bdcd031b3833dd460d7db
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