소스 검색

topos: allow 183 without contact header

- some UAs do not add it, even it can create the session for PRACK,
which requires it

(cherry picked from commit 785326cdfbee849a8436e7c07003ff0539d259cd)
(cherry picked from commit c09e2190a6e308e3446625afaaed5e9841883476)
Daniel-Constantin Mierla 5 년 전
부모
커밋
5920bc039d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/modules/topos/tps_storage.c

+ 1 - 2
src/modules/topos/tps_storage.c

@@ -355,8 +355,7 @@ int tps_storage_link_msg(sip_msg_t *msg, tps_data_t *td, int dir)
 		}
 		if(msg->first_line.type==SIP_REPLY) {
 			if(msg->first_line.u.reply.statuscode>=100
-					&& msg->first_line.u.reply.statuscode<200
-					&& msg->first_line.u.reply.statuscode!=183) {
+					&& msg->first_line.u.reply.statuscode<200) {
 				/* provisional response with no mandatory contact header */
 				return 0;
 			}