[sr-dev] git:richard.good/diameter_rx_media: modules/ims_qos: uppdate to work with TM API

Richard Good richard.good at smilecoms.com
Tue Jul 16 16:08:11 CEST 2013


Module: sip-router
Branch: richard.good/diameter_rx_media
Commit: 295f5bd8e0d6f810bbc1bc6736ad1c27576a2408
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=295f5bd8e0d6f810bbc1bc6736ad1c27576a2408

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date:   Tue Jul 16 16:06:53 2013 +0200

modules/ims_qos:  uppdate to work with TM API
	-Update to work with merged TM suspend reply functionality

---

 modules/ims_qos/mod.c    |    4 ++--
 modules/ims_qos/rx_aar.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index 16d31e5..16d522e 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -576,7 +576,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* str1, char* bar) {
     }
 
     LM_DBG("Suspending SIP TM transaction\n");
-    if (tmb.t_suspend_reply(msg, &saved_t_data->tindex, &saved_t_data->tlabel) < 0) {
+    if (tmb.t_suspend(msg, &saved_t_data->tindex, &saved_t_data->tlabel) < 0) {
         LM_ERR("failed to suspend the TM processing\n");
         free_saved_transaction_global_data(saved_t_data);
         return CSCF_RETURN_ERROR;
@@ -587,7 +587,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* str1, char* bar) {
 
     if (!ret) {
         LM_ERR("Failed to send AAR\n");
-        tmb.t_cancel_suspend_reply(saved_t_data->tindex, saved_t_data->tlabel);
+        tmb.t_cancel_suspend(saved_t_data->tindex, saved_t_data->tlabel);
         goto error;
 
 
diff --git a/modules/ims_qos/rx_aar.c b/modules/ims_qos/rx_aar.c
index bca0a2d..b5e7293 100644
--- a/modules/ims_qos/rx_aar.c
+++ b/modules/ims_qos/rx_aar.c
@@ -165,7 +165,7 @@ done:
     if (aaa)
         cdpb.AAAFreeMessage(&aaa);
 
-    tmb.t_continue_reply(data->tindex, data->tlabel, data->act);
+    tmb.t_continue(data->tindex, data->tlabel, data->act);
     free_saved_transaction_global_data(data);
 }
 




More information about the sr-dev mailing list