Browse Source

topos: detect direction for early dialog NOTIFY

Daniel-Constantin Mierla 1 year ago
parent
commit
06ce65a2bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/topos/tps_msg.c

+ 1 - 1
src/modules/topos/tps_msg.c

@@ -915,7 +915,7 @@ int tps_request_received(sip_msg_t *msg, int dialog)
 					   | METHOD_NOTIFY))
 			&& stsd.b_contact.len <= 0) {
 		/* no B-side contact, look for INVITE transaction record */
-		if(metid & (METHOD_BYE | METHOD_UPDATE)) {
+		if(metid & (METHOD_BYE | METHOD_UPDATE | METHOD_NOTIFY)) {
 			/* detect direction - via from-tag */
 			if(tps_dlg_detect_direction(msg, &stsd, &direction) < 0) {
 				goto error;