Просмотр исходного кода

dialog: increase local cseq after REFER generated by dlg_bridge

- otherwise the next BYE can be rejected
Daniel-Constantin Mierla 11 лет назад
Родитель
Сommit
c76ee9facb
1 измененных файлов с 3 добавлено и 0 удалено
  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);