From: Russell Bryant Date: Tue, 11 Jan 2005 18:07:42 +0000 (+0000) Subject: logging update (bug #3268) X-Git-Tag: 1.0.11.1~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c69bb181845dd0f94056728c2ef25041ffb8b06a;p=thirdparty%2Fasterisk.git logging update (bug #3268) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4758 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 83b74cd509..7b541471ec 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3392,7 +3392,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p) /* Prefer the codec we were requested to use, first, no matter what */ if (capability & p->prefcodec) { if (debug) - ast_verbose("Answering/Requesting with root capability %d\n", p->prefcodec); + ast_verbose("Answering/Requesting with root capability 0x%x (%s)\n", p->prefcodec, ast_getformatname(p->prefcodec)); codec = ast_rtp_lookup_code(p->rtp, 1, p->prefcodec); if (codec > -1) { snprintf(costr, sizeof(costr), " %d", codec);