Browse code

path: updates for outboud module api

Daniel-Constantin Mierla authored on 15/05/2020 14:51:41
Showing 1 changed files
... ...
@@ -80,7 +80,7 @@ static int handleOutbound(sip_msg_t* _m, str *user, path_param_t *param)
80 80
 	if (path_obb.use_outbound != NULL && path_obb.use_outbound(_m)) {
81 81
 		struct via_body *via;
82 82
 
83
-		if (path_obb.encode_flow_token(user, _m->rcv) != 0) {
83
+		if (path_obb.encode_flow_token(user, &_m->rcv) != 0) {
84 84
 			LM_ERR("encoding outbound flow-token\n");
85 85
 			return -1;
86 86
 		}