소스 검색

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);