]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Handle invocation of callback on outgoing request when error occurs. 46/4846/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:11:56 +0000 (13:11 -0600)
commite371e13b9eb6ce1f60bf31a8d25c7d4bdcd01d8d
treecba44e8bad926372fbf39edfa78e855a8217ee6d
parent7fd28cefdb2a41308b22b6e29d9a10ff38acb2e5
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