freeswitch plugin: Changed channels to fs_channels in freeswitch.c and tyeps.db
authorLeon de Rooij <leon@scarlet-internet.nl>
Tue, 21 Apr 2009 11:37:06 +0000 (13:37 +0200)
committerFlorian Forster <sifnfors@informatik.stud.uni-erlangen.de>
Thu, 16 Jul 2009 08:54:11 +0000 (10:54 +0200)
src/freeswitch.c
src/types.db

index dc013fe..c666e8b 100644 (file)
@@ -100,7 +100,9 @@ static int freeswitch_read (void)
        esl_disconnect(&handle);
 */
 
-       freeswitch_submit ("res-public", "channels", 3, 5);
+DEBUG ("FreeSWITCH SUBMIT: res-public fs_channels 3 5");
+
+       freeswitch_submit ("res-public", "fs_channels", 3, 5);
 
        return (0);
 } /* int freeswitch_read */
index 04292e9..5e89da1 100644 (file)
@@ -7,7 +7,6 @@ bitrate                 value:GAUGE:0:4294967295
 bytes                  value:GAUGE:0:U
 cache_result           value:COUNTER:0:4294967295
 cache_size             value:GAUGE:0:4294967295
-channels                inbound:GAUGE:0:U, outbound:GAUGE:0:U
 charge                 value:GAUGE:0:U
 compression_ratio      value:GAUGE:0:2
 connections            value:COUNTER:0:U
@@ -49,6 +48,7 @@ files                 value:GAUGE:0:U
 frequency              frequency:GAUGE:0:U
 frequency_offset       ppm:GAUGE:-1000000:1000000
 fscache_stat           value:COUNTER:0:4294967295
+fs_channels             inbound:GAUGE:0:U, outbound:GAUGE:0:U
 gauge                  value:GAUGE:U:U
 http_request_methods   count:COUNTER:0:134217728
 http_requests          count:COUNTER:0:134217728