summaryrefslogtreecommitdiff
path: root/res/res_pjsip/location.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip/location.c')
-rw-r--r--res/res_pjsip/location.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip/location.c b/res/res_pjsip/location.c
index f784cb40f..21650417f 100644
--- a/res/res_pjsip/location.c
+++ b/res/res_pjsip/location.c
@@ -747,8 +747,8 @@ static int cli_contact_print_body(void *obj, void *arg, int flags)
"Contact",
flexwidth, flexwidth,
wrapper->contact_id,
- (status ? (status->status == AVAILABLE ? "Avail" : "Unavail") : "Unknown"),
- (status ? ((long long) status->rtt) / 1000.0 : NAN));
+ ast_sip_get_contact_short_status_label(status->status),
+ (status->status != UNKNOWN ? ((long long) status->rtt) / 1000.0 : NAN));
return 0;
}