<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Really? This is odd...<br>
<br>
I got a message, that flashed in my face that said something like
'...is full. need room for 51, have 6' or something...<br>
<br>
<br>
Sure enough, I went to looking through the drive to see what was
taking up so freakin' much room (80gig drive) so when I looked at
how much room was left on the drive, I got more confused...<br>
<br>
[root@W5OMR /var/log/asterisk]# df -h<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/hdb1 72G 1.7G 66G 3% /<br>
tmpfs 759M 0 759M 0% /dev/shm<br>
<br>
<br>
I looked.. and looked again. Yeah... that's 3% *currently being
used*.<br>
<br>
But, still, the warning message was still there.<br>
<br>
<br>
WARNING[9667] chan_iax2.c: Out of space for ie 'Unknown IE' (54),
need 51 have 6<br>
<br>
<br>
Sooo... I went to Goggling.<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Index: iax2-parser.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-parser.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- iax2-parser.c 25 May 2004 15:16:45 -0000 1.21
+++ iax2-parser.c 13 Jun 2004 21:25:10 -0000 1.22</pre>
~~~<br>
/\/\/\/\<br>
~~~<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">int iax_ie_append_raw(struct iax_ie_data *ied, unsigned char ie, void *data, int datalen)
{
char tmp[256];
- if (datalen > (sizeof(ied->buf) - ied->pos)) {
- snprintf(tmp, sizeof(tmp), "Out of space for ie '%s' (%d), need %d have %d\n", iax_ie2str(ie), ie, datalen, sizeof(ied->buf) - ied->pos);
+ if (datalen > ((int)sizeof(ied->buf) - ied->pos)) {
+ snprintf(tmp, (int)sizeof(tmp), "Out of space for ie '%s' (%d), need %d have %d\n", iax_ie2str(ie), ie, datalen, (int)sizeof(ied->buf) - ied->pos);
errorf(tmp);
return -1;
}
@@ -325,21 +325,21 @@
int iax_ie_append_addr(struct iax_ie_data *ied, unsigned char ie, struct sockaddr_in *sin)
{
- return iax_ie_append_raw(ied, ie, sin, sizeof(struct sockaddr_in));
+ return iax_ie_append_raw(ied, ie, sin, (int)sizeof(struct sockaddr_in));
}</pre>
<br>
WHAT Buffer is full?<br>
<br>
How can it be emptied?<br>
Is it hurting my system?<br>
<br>
Ok, ok... probably a little paranoid sounding on the last... but it
-is- a [WARNING]...<br>
<br>
Whassup?<br>
<br>
</body>
</html>