[asterisk-commits] oej: branch oej/pinequality-manager-qos-reports-1.4 r240766 - /team/oej/pineq...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 18 06:03:45 CST 2010
Author: oej
Date: Mon Jan 18 06:03:43 2010
New Revision: 240766
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=240766
Log:
Fix compile time errors
Modified:
team/oej/pinequality-manager-qos-reports-1.4/channels/chan_sip.c
Modified: team/oej/pinequality-manager-qos-reports-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinequality-manager-qos-reports-1.4/channels/chan_sip.c?view=diff&rev=240766&r1=240765&r2=240766
==============================================================================
--- team/oej/pinequality-manager-qos-reports-1.4/channels/chan_sip.c (original)
+++ team/oej/pinequality-manager-qos-reports-1.4/channels/chan_sip.c Mon Jan 18 06:03:43 2010
@@ -11085,7 +11085,7 @@
/*! \brief Add manager headers for QoS to existing manager reply */
static void manager_add_qos(struct mansession *s, char *mediatype, struct sip_pvt *dialog)
{
- char mybuf[SIPBUFSIZE];
+ char buf[SIPBUFSIZE];
get_rtp_quality(dialog, mediatype, "local_ssrc", buf, SIPBUFSIZE );
astman_append(s, "LocalSSRC(%s): %s\r\n", mediatype, buf);
@@ -11137,7 +11137,7 @@
return 0;
}
/* Can we find a channel with that name? */
- chan = ast_get_channel_by_name_locked(name);
+ chan = ast_get_channel_by_name_locked(channel);
if (!chan) {
astman_send_error(s, m, "No such channel");
return 0;
@@ -11163,8 +11163,8 @@
all = TRUE;
}
astman_append(s, "Response: Success\r\n");
- if (!ast_strlen_zero(id)) {
- astman_append(s, "ActionID: %s\r\n",id);
+ if (!ast_strlen_zero(actionid)) {
+ astman_append(s, "ActionID: %s\r\n",actionid);
}
More information about the asterisk-commits
mailing list