Module: kamailio
Branch: master
Commit: 67da7301f1eb74b6fff9e6e73b43f08dbc9c53bf
URL:
https://github.com/kamailio/kamailio/commit/67da7301f1eb74b6fff9e6e73b43f08…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-04-28T09:36:09+02:00
topos: catch INFO requests during early dialog phase
---
Modified: src/modules/topos/tps_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/67da7301f1eb74b6fff9e6e73b43f08…
Patch:
https://github.com/kamailio/kamailio/commit/67da7301f1eb74b6fff9e6e73b43f08…
---
diff --git a/src/modules/topos/tps_msg.c b/src/modules/topos/tps_msg.c
index cd781328e5..83d5f5fddf 100644
--- a/src/modules/topos/tps_msg.c
+++ b/src/modules/topos/tps_msg.c
@@ -837,7 +837,7 @@ int tps_request_received(sip_msg_t *msg, int dialog)
goto error;
}
metid = get_cseq(msg)->method_id;
- if((metid & (METHOD_BYE|METHOD_PRACK|METHOD_UPDATE))
+ if((metid & (METHOD_BYE|METHOD_INFO|METHOD_PRACK|METHOD_UPDATE))
&& stsd.b_contact.len <= 0) {
/* no B-side contact, look for INVITE transaction record */
if(metid & (METHOD_BYE|METHOD_UPDATE)) {