[sr-dev] git:master:1144c2e9: pv: allow xavp_push_dst() in request/branch/failure_rotue

Daniel-Constantin Mierla miconda at gmail.com
Fri May 13 16:07:53 CEST 2022


Module: kamailio
Branch: master
Commit: 1144c2e9bfa99e817acff378967d689d356c216b
URL: https://github.com/kamailio/kamailio/commit/1144c2e9bfa99e817acff378967d689d356c216b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-05-13T16:07:04+02:00

pv: allow xavp_push_dst() in request/branch/failure_rotue

---

Modified: src/modules/pv/pv.c

---

Diff:  https://github.com/kamailio/kamailio/commit/1144c2e9bfa99e817acff378967d689d356c216b.diff
Patch: https://github.com/kamailio/kamailio/commit/1144c2e9bfa99e817acff378967d689d356c216b.patch

---

diff --git a/src/modules/pv/pv.c b/src/modules/pv/pv.c
index 717c8ad530..49d80286a9 100644
--- a/src/modules/pv/pv.c
+++ b/src/modules/pv/pv.c
@@ -695,7 +695,7 @@ static cmd_export_t cmds[]={
 		ANY_ROUTE},
 	{"xavp_push_dst", (cmd_function)w_xavp_push_dst,
 		1, fixup_spve_null, fixup_free_spve_null,
-		ANY_ROUTE},
+		REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE},
 	{"sbranch_set_ruri",  (cmd_function)w_sbranch_set_ruri,  0, 0, 0,
 		ANY_ROUTE },
 	{"sbranch_append",    (cmd_function)w_sbranch_append,    0, 0, 0,




More information about the sr-dev mailing list