Browse code

topos: no processing needed for 100 responses

Daniel-Constantin Mierla authored on 18/03/2016 15:05:18
Showing 2 changed files
... ...
@@ -292,6 +292,10 @@ int tps_msg_received(void *data)
292 292
 		}
293 293
 	} else {
294 294
 		/* reply */
295
+		if(msg->first_line.u.reply.statuscode==100) {
296
+			/* nothing to do - it should be absorbed */
297
+			return 0;
298
+		}
295 299
 		tps_response_received(&msg);
296 300
 	}
297 301
 
... ...
@@ -491,6 +491,11 @@ int tps_response_received(sip_msg_t *msg)
491 491
 	tps_data_t btsd;
492 492
 	str lkey;
493 493
 
494
+	if(msg->first_line.u.reply.statuscode==100) {
495
+		/* nothing to do - it should be absorbed */
496
+		return 0;
497
+	}
498
+
494 499
 	memset(&mtsd, 0, sizeof(tps_data_t));
495 500
 	memset(&stsd, 0, sizeof(tps_data_t));
496 501
 	memset(&btsd, 0, sizeof(tps_data_t));