Skip to content

Commit

Permalink
topos: allow 183 without contact header
Browse files Browse the repository at this point in the history
- some UAs do not add it, even it can create the session for PRACK,
which requires it
  • Loading branch information
miconda committed Jun 5, 2020
1 parent 974038f commit 785326c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/topos/tps_storage.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 785326c

Please sign in to comment.