Module: sems Branch: master Commit: 436890c44d1c6496b10c39ac8210536344ced791 URL: https://github.com/sems-server/sems/commit/436890c44d1c6496b10c39ac8210536344ced791
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: 2016-04-29T18:02:21+03:00 apps/dsm: in dlg.bye([headers]), replace '\r\n' strings in headers with corresponding control characters --- Modified: apps/dsm/mods/mod_dlg/ModDlg.cpp --- Diff: https://github.com/sems-server/sems/commit/436890c44d1c6496b10c39ac8210536344ced791.diff Patch: https://github.com/sems-server/sems/commit/436890c44d1c6496b10c39ac8210536344ced791.patch --- diff --git a/apps/dsm/mods/mod_dlg/ModDlg.cpp b/apps/dsm/mods/mod_dlg/ModDlg.cpp index cde86b3..4b48445 100644 --- a/apps/dsm/mods/mod_dlg/ModDlg.cpp +++ b/apps/dsm/mods/mod_dlg/ModDlg.cpp @@ -199,7 +199,7 @@ EXEC_ACTION_START(DLGAcceptInviteAction) { } EXEC_ACTION_END; EXEC_ACTION_START(DLGByeAction) { - string hdrs = resolveVars(arg, sess, sc_sess, event_params); + string hdrs = replaceLineEnds(resolveVars(arg, sess, sc_sess, event_params)); if (sess->dlg->bye(hdrs)) { sc_sess->SET_ERRNO(DSM_ERRNO_GENERAL); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
