Merge "pjsip_options: Fix non-qualified contacts showing as unavailable"
authorJoshua Colp <jcolp@digium.com>
Mon, 20 Apr 2015 22:24:04 +0000 (17:24 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Mon, 20 Apr 2015 22:24:04 +0000 (17:24 -0500)
1  2 
res/res_pjsip/pjsip_options.c

@@@ -137,9 -148,9 +148,9 @@@ static void update_contact_status(cons
        ast_test_suite_event_notify("AOR_CONTACT_QUALIFY_RESULT",
                "Contact: %s\r\n"
                        "Status: %s\r\n"
 -                      "RTT: %ld",
 +                      "RTT: %" PRId64,
                ast_sorcery_object_get_id(update),
-               (update->status == AVAILABLE ? "Available" : "Unavailable"),
+               ast_sip_get_contact_status_label(update->status),
                update->rtt);
  
        if (ast_sorcery_update(ast_sip_get_sorcery(), update)) {