Module: kamailio
Branch: master
Commit: 6aca846dce4b797a66aaa865fb5a1e81f7806b4c
URL:
https://github.com/kamailio/kamailio/commit/6aca846dce4b797a66aaa865fb5a1e8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-16T12:51:50+02:00
rr: updates for outboud module api
---
Modified: src/modules/rr/record.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6aca846dce4b797a66aaa865fb5a1e8…
Patch:
https://github.com/kamailio/kamailio/commit/6aca846dce4b797a66aaa865fb5a1e8…
---
diff --git a/src/modules/rr/record.c b/src/modules/rr/record.c
index 54da64cf99..0b74356905 100644
--- a/src/modules/rr/record.c
+++ b/src/modules/rr/record.c
@@ -398,7 +398,7 @@ int record_route(struct sip_msg* _m, str *params)
}
}
} else if (use_ob == 1) {
- if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
+ if (rr_obb.encode_flow_token(&user, &_m->rcv) != 0) {
LM_ERR("encoding outbound flow-token\n");
return -1;
}
@@ -529,7 +529,7 @@ int record_route_preset(struct sip_msg* _m, str* _data)
return -1;
}
} else if (use_ob == 1) {
- if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
+ if (rr_obb.encode_flow_token(&user, &_m->rcv) != 0) {
LM_ERR("encoding outbound flow-token\n");
return -1;
}
@@ -781,7 +781,7 @@ int record_route_advertised_address(struct sip_msg* _m, str* _data)
return -1;
}
} else if (use_ob == 1) {
- if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
+ if (rr_obb.encode_flow_token(&user, &_m->rcv) != 0) {
LM_ERR("encoding outbound flow-token\n");
return -1;
}