From fad187f773f6ce7de945f95feecf24c589e985c8 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 2 Jun 2009 08:17:56 +0000 Subject: Ticket #870: Changed the mapping of host resolution failure to SIP status code 502 from 503 (thanks Robert Cichielo for the report) - also fixed client registration to use the reason phrase of the transaction rather than to retrieve the default reason phrase for the status code git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2732 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/pjsip-ua/sip_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip/src/pjsip-ua') diff --git a/pjsip/src/pjsip-ua/sip_reg.c b/pjsip/src/pjsip-ua/sip_reg.c index d08427db..5278ae48 100644 --- a/pjsip/src/pjsip-ua/sip_reg.c +++ b/pjsip/src/pjsip-ua/sip_reg.c @@ -1056,7 +1056,7 @@ static void tsx_callback(void *token, pjsip_event *event) pj_lock_release(regc->lock); call_callback(regc, PJ_SUCCESS, tsx->status_code, (rdata ? &rdata->msg_info.msg->line.status.reason - : pjsip_get_status_text(tsx->status_code)), + : &tsx->status_text), rdata, expiration, contact_cnt, contact); pj_lock_acquire(regc->lock); -- cgit v1.2.3