Module: kamailio Branch: master Commit: ab27f988cffcbd060ca84abd118050cb3c5c923f URL: https://github.com/kamailio/kamailio/commit/ab27f988cffcbd060ca84abd118050cb3c5c923f
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2016-07-19T15:36:43+02:00 topos: skip options from contact header check - reported by Daren Crew, GH #715 --- Modified: modules/topos/tps_storage.c --- Diff: https://github.com/kamailio/kamailio/commit/ab27f988cffcbd060ca84abd118050cb3c5c923f.diff Patch: https://github.com/kamailio/kamailio/commit/ab27f988cffcbd060ca84abd118050cb3c5c923f.patch --- diff --git a/modules/topos/tps_storage.c b/modules/topos/tps_storage.c index 8951ee1..9d59e5a 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; } _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev