Module: kamailio Branch: master Commit: 734fd2910cd437205da870ad1e329eaefe2f043a URL: https://github.com/kamailio/kamailio/commit/734fd2910cd437205da870ad1e329eae...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-03-31T18:24:24+02:00
sca: updates for the new t field names
---
Modified: src/modules/sca/sca_notify.c
---
Diff: https://github.com/kamailio/kamailio/commit/734fd2910cd437205da870ad1e329eae... Patch: https://github.com/kamailio/kamailio/commit/734fd2910cd437205da870ad1e329eae...
---
diff --git a/src/modules/sca/sca_notify.c b/src/modules/sca/sca_notify.c index 04638ba7675..271e549f5c6 100644 --- a/src/modules/sca/sca_notify.c +++ b/src/modules/sca/sca_notify.c @@ -74,8 +74,8 @@ static void sca_notify_reply_cb( } return;
- if(sca_uri_extract_aor(&t->to, &to_aor) < 0) { - LM_ERR("Failed to extract AoR from %.*s\n", STR_FMT(&t->to)); + if(sca_uri_extract_aor(&t->to_hdr, &to_aor) < 0) { + LM_ERR("Failed to extract AoR from %.*s\n", STR_FMT(&t->to_hdr)); return; } // t->to is the entire To header: "To: sip:....", so move to_aor.s ahead