From ab27f988cffcbd060ca84abd118050cb3c5c923f Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 19 Jul 2016 15:36:43 +0200 Subject: [PATCH] topos: skip options from contact header check - reported by Daren Crew, GH #715 --- modules/topos/tps_storage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/topos/tps_storage.c b/modules/topos/tps_storage.c index 8951ee10ee1..9d59e5adcfd 100644 --- a/modules/topos/tps_storage.c +++ b/modules/topos/tps_storage.c @@ -298,7 +298,8 @@ int tps_storage_link_msg(sip_msg_t *msg, tps_data_t *td, int dir) /* extract the contact address */ if(parse_headers(msg, HDR_CONTACT_F, 0)<0 || msg->contact==NULL) { - if(td->s_method_id == METHOD_MESSAGE) { + if(td->s_method_id == METHOD_MESSAGE + || td->s_method_id == METHOD_OPTIONS) { /* no contact required for MESSAGE - done */ return 0; }