Explorar o código

dialog: increase local cseq after REFER generated by dlg_bridge

- otherwise the next BYE can be rejected
Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
c76ee9facb
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      modules/dialog/dlg_transfer.c

+ 3 - 0
modules/dialog/dlg_transfer.c

@@ -140,6 +140,9 @@ void dlg_refer_tm_callback(struct cell *t, int type, struct tmcb_params *ps)
 		goto error;
 	}
 
+	/* after REFER, the CSeq must be increased */
+	dialog_info->loc_seq.value++;
+
 	set_uac_req(&uac_r, &met, NULL, NULL, dialog_info, 0, NULL, NULL);
 	result = d_tmb.t_request_within(&uac_r);