]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Handle invocation of callback on outgoing request when error occurs. 68/4868/1
authorJoshua Colp <jcolp@digium.com>
Tue, 31 Jan 2017 17:17:50 +0000 (17:17 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 2 Feb 2017 13:15:16 +0000 (07:15 -0600)
commit107c8a7e19666d2bd9354f964f3685e292cfab44
tree75035363e76794d81563b1e07340779a6867840f
parent0611290911cc0cd646fe970c2ce0a319c7f9434b
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