浏览代码

topos: allow 183 without contact header

- some UAs do not add it, even it can create the session for PRACK,
which requires it
Daniel-Constantin Mierla 5 年之前
父节点
当前提交
785326cdfb
共有 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;
 			}