Pārlūkot izejas kodu

imc(k): : set callback type for local requests

- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
Daniel-Constantin Mierla 16 gadi atpakaļ
vecāks
revīzija
9eb765ffc7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      modules_k/imc/imc_cmd.c

+ 1 - 1
modules_k/imc/imc_cmd.c

@@ -491,7 +491,7 @@ int imc_handle_invite(struct sip_msg* msg, imc_cmd_t *cmd,
 	cback_param->inv_uri = member->uri;
 	/*?!?! possible race with 'remove user' */
 
-	set_uac_req(&uac_r, &imc_msg_type, &all_hdrs, &body, 0, 0,
+	set_uac_req(&uac_r, &imc_msg_type, &all_hdrs, &body, 0, TMCB_LOCAL_COMPLETED,
 				imc_inv_callback, (void*)(cback_param));
 	result= tmb.t_request(&uac_r,
 				&member->uri,							/* Request-URI */