Module: kamailio Branch: master Commit: 785326cdfbee849a8436e7c07003ff0539d259cd URL: https://github.com/kamailio/kamailio/commit/785326cdfbee849a8436e7c07003ff05...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-06-05T09:47:32+02:00
topos: allow 183 without contact header
- some UAs do not add it, even it can create the session for PRACK, which requires it
---
Modified: src/modules/topos/tps_storage.c
---
Diff: https://github.com/kamailio/kamailio/commit/785326cdfbee849a8436e7c07003ff05... Patch: https://github.com/kamailio/kamailio/commit/785326cdfbee849a8436e7c07003ff05...
---
diff --git a/src/modules/topos/tps_storage.c b/src/modules/topos/tps_storage.c index 8583f1b37c..9cdd9ff3d5 100644 --- a/src/modules/topos/tps_storage.c +++ b/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; }