]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
logging update (bug #3268)
authorRussell Bryant <russell@russellbryant.com>
Tue, 11 Jan 2005 18:07:42 +0000 (18:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 11 Jan 2005 18:07:42 +0000 (18:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 83b74cd50930686060b75e8aded9c94cd0cd3946..7b541471ec3208ccef7206acd877284497124816 100755 (executable)
@@ -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);