Browse code

Merge 2579bdf52816d05858ead275882ff2d2de167556 into e8fa2b3e8e5a789ac6d6d35f75ec61d09f487d6c

sergey-safarov authored on 03/06/2021 19:35:29 • GitHub committed on 03/06/2021 19:35:29
Showing 1 changed files
... ...
@@ -147,6 +147,9 @@ int pv_get_method(struct sip_msg *msg, pv_param_t *param,
147 147
 				(int)msg->first_line.u.request.method_value);
148 148
 	}
149 149
 
150
+	if (IS_HTTP_REPLY(msg))
151
+		return pv_get_null(msg, param, res);
152
+
150 153
 	if(msg->cseq==NULL && ((parse_headers(msg, HDR_CSEQ_F, 0)==-1) ||
151 154
 				(msg->cseq==NULL)))
152 155
 	{