Module: kamailio Branch: master Commit: b056aed3db849d54ad5b7cd04e016bbd969a57c6 URL: https://github.com/kamailio/kamailio/commit/b056aed3db849d54ad5b7cd04e016bbd...
Author: jaybeepee jason.penton@gmail.com Committer: jaybeepee jason.penton@gmail.com Date: 2015-11-19T17:32:17+02:00
modules/ims_qos: do not free auth session on failure to send STR
---
Modified: modules/ims_qos/rx_str.c
---
Diff: https://github.com/kamailio/kamailio/commit/b056aed3db849d54ad5b7cd04e016bbd... Patch: https://github.com/kamailio/kamailio/commit/b056aed3db849d54ad5b7cd04e016bbd...
---
diff --git a/modules/ims_qos/rx_str.c b/modules/ims_qos/rx_str.c index 2451266..136ea56 100644 --- a/modules/ims_qos/rx_str.c +++ b/modules/ims_qos/rx_str.c @@ -106,7 +106,8 @@ int rx_send_str(str *rx_session_id) { // If we are in DISCON is because an STR was already sent // so just wait for STA or for Grace Timout to happen LM_DBG("Hmmm, auth session already in disconnected state\n"); - goto error; + cdpb.AAASessionsUnlock(auth->hash); + CSCF_RETURN_FALSE; }
LM_DBG("Creating STR\n");