Module: sip-router Branch: pd/outbound Commit: 2855d20641d171ffcf3e711292cc8648d74ce5b0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2855d206...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Wed Feb 27 14:01:18 2013 +0000
modules/ims_registrar_scscf: updated for parse_supported refactoring
---
modules/ims_registrar_scscf/reply.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/ims_registrar_scscf/reply.c b/modules/ims_registrar_scscf/reply.c index 0dc6a32..70a28c7 100644 --- a/modules/ims_registrar_scscf/reply.c +++ b/modules/ims_registrar_scscf/reply.c @@ -563,7 +563,7 @@ int build_p_associated_uri(ims_subscription* s) { * Send a reply */ int reg_send_reply_transactional(struct sip_msg* _m, contact_for_header_t* contact_header, struct cell* t_cell) { - str unsup = str_init(SUPPORTED_PATH_STR); + str unsup = str_init(OPTION_TAG_PATH_STR); long code; str msg = str_init(MSG_200); /* makes gcc shut up */ char* buf; @@ -582,7 +582,7 @@ int reg_send_reply_transactional(struct sip_msg* _m, contact_for_header_t* conta return -1; if (add_path(_m, &_m->path_vec) < 0) return -1; - } else if (get_supported(_m) & F_SUPPORTED_PATH) { + } else if (get_supported(_m) & F_OPTION_TAG_PATH) { if (add_path(_m, &_m->path_vec) < 0) return -1; } else if (path_mode == PATH_MODE_STRICT) { @@ -656,7 +656,7 @@ int reg_send_reply_transactional(struct sip_msg* _m, contact_for_header_t* conta * Send a reply */ int reg_send_reply(struct sip_msg* _m, contact_for_header_t* contact_header) { - str unsup = str_init(SUPPORTED_PATH_STR); + str unsup = str_init(OPTION_TAG_PATH_STR); long code; str msg = str_init(MSG_200); /* makes gcc shut up */ char* buf; @@ -675,7 +675,7 @@ int reg_send_reply(struct sip_msg* _m, contact_for_header_t* contact_header) { return -1; if (add_path(_m, &_m->path_vec) < 0) return -1; - } else if (get_supported(_m) & F_SUPPORTED_PATH) { + } else if (get_supported(_m) & F_OPTION_TAG_PATH) { if (add_path(_m, &_m->path_vec) < 0) return -1; } else if (path_mode == PATH_MODE_STRICT) {