Rid compiler warning, make information meaningful in sip debug for codecs
authorMark Spencer <markster@digium.com>
Sat, 1 May 2004 20:59:37 +0000 (20:59 +0000)
committerMark Spencer <markster@digium.com>
Sat, 1 May 2004 20:59:37 +0000 (20:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_hasnewvoicemail.c
channels/chan_sip.c

index a345d0f..ff660dc 100755 (executable)
@@ -56,7 +56,6 @@ static char *hasvoicemail_descrip =
 "  Optionally sets <varname> to the number of messages in that folder."
 "  Assumes folder of INBOX if not specified.\n";
 
-static char *newtdesc = "Indicator for whether there are messages in INBOX.";
 static char *app_hasnewvoicemail = "HasNewVoicemail";
 static char *hasnewvoicemail_synopsis = "Conditionally branches to priority + 101";
 static char *hasnewvoicemail_descrip =
index ad9c53a..62468dd 100755 (executable)
@@ -2155,7 +2155,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
                                        return -1;
                                }
                                if (sipdebug)
-                                       ast_verbose("Found audio format %s\n", ast_getformatname(codec));
+                                       ast_verbose("Found RTP audio format %d\n", codec);
                                ast_rtp_set_m_type(p->rtp, codec);
                                codecs += len;
                                /* Skip over any whitespace */