TT#34900 Fix notify after BYE in case of shared line

This is a revert of what fixed in upstream commit
57c4ec824fdd6c6c797bd7d6bfb3d65159a8d7c6
Exchanging from and to tag was causing a missed notification
to the subscribers.

Change-Id: If10597c4df3927c6fbbbe21c4a585acbbd94a673
changes/70/20670/1
Marco Capetta 8 years ago
parent 04cb118b78
commit 5534178c3c

@ -25,6 +25,7 @@ sipwise/sca-rr-is-direction.patch
sipwise/sca-fix-pickup-when-upstream-flow.patch
sipwise/sca-fix-on-hold-detection-when-upstream-flow.patch
sipwise/sca-debug.patch
sipwise/sca-fix-notify-after-bye.patch
## Ongoing Patches
sipwise/fix_db_redis_time_schema.patch
sipwise/fix_db_redis_free_memory.patch

@ -0,0 +1,16 @@
# Revert of upstream commit 57c4ec824fdd6c6c797bd7d6bfb3d65159a8d7c6
# sca: reversed the from_tag and to_tag variables in the function call
--- a/src/modules/sca/sca_call_info.c
+++ b/src/modules/sca/sca_call_info.c
@@ -704,8 +704,8 @@ static int sca_call_info_uri_update(str
}
dialog.id.s = dlg_buf;
- if (sca_dialog_build_from_tags(&dialog, sizeof(dlg_buf), call_id, from_tag,
- to_tag) < 0) {
+ if (sca_dialog_build_from_tags(&dialog, sizeof(dlg_buf), call_id, to_tag,
+ from_tag) < 0) {
LM_ERR("sca_call_info_uri_update: Failed to build dialog from tags\n");
return (-1);
}
Loading…
Cancel
Save