[sr-dev] git:master: dialog: increase local cseq after REFER generated by dlg_bridge

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 31 12:37:00 CET 2014


Module: sip-router
Branch: master
Commit: c76ee9facb771d2eae792214e6d4cef39c94a9eb
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c76ee9facb771d2eae792214e6d4cef39c94a9eb

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Oct 31 12:35:56 2014 +0100

dialog: increase local cseq after REFER generated by dlg_bridge

- otherwise the next BYE can be rejected

---

 modules/dialog/dlg_transfer.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/dialog/dlg_transfer.c b/modules/dialog/dlg_transfer.c
index b338559..b4d8be8 100644
--- a/modules/dialog/dlg_transfer.c
+++ b/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);
 




More information about the sr-dev mailing list