[sr-dev] git:master: dialog: fixed adding contact header to REFER generated by dlg_bridge

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 29 12:08:58 CET 2014


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Oct 29 12:07:57 2014 +0100

dialog: fixed adding contact header to REFER generated by dlg_bridge

- reported by Paul Smith

---

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

diff --git a/modules/dialog/dlg_transfer.c b/modules/dialog/dlg_transfer.c
index 1c6de03..b338559 100644
--- a/modules/dialog/dlg_transfer.c
+++ b/modules/dialog/dlg_transfer.c
@@ -195,7 +195,7 @@ static int dlg_refer_callee(dlg_transfer_ctx_t *dtc)
 	memcpy(hdrs.s+23+dlg_bridge_controller.len+CRLF_LEN+dtc->to.len,
 			CRLF, CRLF_LEN);
 	memcpy(hdrs.s+23+dlg_bridge_controller.len+CRLF_LEN+dtc->to.len+CRLF_LEN,
-			dlg_bridge_controller.s, dlg_bridge_controller.len);
+			dlg_bridge_ref_hdrs.s, dlg_bridge_ref_hdrs.len);
 
 	set_uac_req(&uac_r, &met, &hdrs, NULL, dialog_info, TMCB_LOCAL_COMPLETED,
 				dlg_refer_tm_callback, (void*)dtc);




More information about the sr-dev mailing list