[sr-dev] git:4.2: dialog: fixed adding contact header to REFER generated by dlg_bridge
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 29 12:09:45 CET 2014
Module: sip-router
Branch: 4.2
Commit: 97cab82e1217776b248a424b6d0ee6aaf9b092de
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=97cab82e1217776b248a424b6d0ee6aaf9b092de
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
(cherry picked from commit ab7519006b6a53792d66b6903a4b0694083179b6)
---
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