diff options
author | Mark Spencer <markster@digium.com> | 2004-05-01 20:59:37 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-05-01 20:59:37 +0000 |
commit | 1dbc8e3f0ee98d6b2e0b560512ad5a2e9370c33a (patch) | |
tree | 2ca4bd93b82d6165897888ad66209df5ea194ee1 | |
parent | 3d775d9286cfd3659dbc912f6a86b231e31f1b41 (diff) |
Rid compiler warning, make information meaningful in sip debug for codecs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | apps/app_hasnewvoicemail.c | 1 | ||||
-rwxr-xr-x | channels/chan_sip.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c index a345d0f83..ff660dc7e 100755 --- a/apps/app_hasnewvoicemail.c +++ b/apps/app_hasnewvoicemail.c @@ -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 = diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ad9c53a4f..62468ddfe 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 */ |