瀏覽代碼

dialog: increase local cseq after REFER generated by dlg_bridge

- otherwise the next BYE can be rejected
Daniel-Constantin Mierla 11 年之前
父節點
當前提交
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);