Browse Source

Merge pull request #1246 from kamailio/timer-xavp

timer: reset xavp using common function
Daniel-Constantin Mierla 8 years ago
parent
commit
7261ac9fd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/timer/timer.c

+ 1 - 1
src/modules/timer/timer.c

@@ -189,7 +189,7 @@ static ticks_t timer_handler(ticks_t ticks, struct timer_ln* tl, void* data) {
 		/* execute post request-script callbacks */
 		exec_post_script_cb(msg, REQUEST_CB_TYPE);
 	end:
-		reset_avps();
+		ksr_msg_env_reset();
 		DEBUG(MODULE_NAME": handler: cleaning up\n");
 	err:
 		free_sip_msg(msg);