Skip to content

Commit

Permalink
topos: skip options from contact header check
Browse files Browse the repository at this point in the history
- reported by Daren Crew, GH #715
  • Loading branch information
miconda committed Jul 19, 2016
1 parent 966513b commit ab27f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/topos/tps_storage.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit ab27f98

Please sign in to comment.