summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-04-20 17:23:56 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-04-20 17:23:56 -0500
commit96e18453f4e14612737c84301fc442ffc53eec46 (patch)
treee6328d36cbfea723c0f897e3f2dd66b31609a23a /include
parentb74b2cdcda5b5c2228e55142ec33d3c16790e233 (diff)
parent63169e00ff21d528e40568dec6dcfd0114b55c48 (diff)
Merge "pjsip_options: Fix non-qualified contacts showing as unavailable" into 13
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_pjsip.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index e6809506b..a15e967b8 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -177,7 +177,8 @@ struct ast_sip_contact {
*/
enum ast_sip_contact_status_type {
UNAVAILABLE,
- AVAILABLE
+ AVAILABLE,
+ UNKNOWN
};
/*!
@@ -2000,5 +2001,13 @@ unsigned int ast_sip_get_keep_alive_interval(void);
*/
unsigned int ast_sip_get_max_initial_qualify_time(void);
+/*!
+ * \brief translate ast_sip_contact_status_type to character string.
+ *
+ * \retval the character string equivalent.
+ */
+
+const char *ast_sip_get_contact_status_label(const enum ast_sip_contact_status_type status);
+const char *ast_sip_get_contact_short_status_label(const enum ast_sip_contact_status_type status);
#endif /* _RES_PJSIP_H */