Module: sip-router Branch: master Commit: f44dad86621685cf7fde45e4ad36f0f0bbcfb15a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f44dad86...
Author: Richard Good richard.good@smilecoms.com Committer: Richard Good richard.good@smilecoms.com Date: Thu Aug 14 10:46:59 2014 +0200
modules/ims_qos: Support Rx_AAR on AAR update Previously if Rx_AAR was called for an AAR update the function returned true Now this function gets the previous Rx session and sends an AAR update
---
modules/ims_qos/mod.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c index c3d8d81..e87af76 100644 --- a/modules/ims_qos/mod.c +++ b/modules/ims_qos/mod.c @@ -552,10 +552,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* str1, char* bar) { LM_DBG("Attached CDP auth session [%.*s] for Rx to dialog in %s mode\n", auth_session->id.len, auth_session->id.s, direction); } else { LM_DBG("Update AAR session for this dialog in mode %s\n", direction); - if (saved_t_data) - free_saved_transaction_global_data(saved_t_data); //only free global data if no AARs were sent. if one was sent we have to rely on the callback (CDP) to free - create_return_code(CSCF_RETURN_TRUE); - return CSCF_RETURN_TRUE; + auth_session = cdpb.AAAGetAuthSession(*rx_session_id); }
LM_DBG("Suspending SIP TM transaction\n");