chan_misdn updates (bug #5597)
[asterisk/asterisk.git] / channels / misdn / isdn_lib.c
index 6c508e2..62b321a 100755 (executable)
@@ -16,7 +16,7 @@
 
 int misdn_ibuf_freecount(void *buf)
 {
-       return ibuf_usedcount( (ibuffer_t*)buf);
+       return ibuf_freecount( (ibuffer_t*)buf);
 }
 
 int misdn_ibuf_usedcount(void *buf)