summaryrefslogtreecommitdiff
path: root/xpp/README.metering
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-18 14:31:07 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-18 14:31:07 +0000
commitcfd61537b47387b0fb5c8228baad6cec16d8f6e6 (patch)
tree108deea65c09c7c273a9b981f8783efcd433eaea /xpp/README.metering
parent4391b4a6ee42bdfd8e097c5ee5485e9eb13f19a0 (diff)
xpp r5151:
* xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3506 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/README.metering')
-rw-r--r--xpp/README.metering50
1 files changed, 0 insertions, 50 deletions
diff --git a/xpp/README.metering b/xpp/README.metering
deleted file mode 100644
index 751d74f..0000000
--- a/xpp/README.metering
+++ /dev/null
@@ -1,50 +0,0 @@
-Astribank Metering Interface
-""""""""""""""""""""""""""""
-
-In analog phone lines, some PBX'es can generate/detect special tones
-used for billing the call (phone metering).
-
-Astribank FXS and FXO drivers now support these features if compiled
-with -DWITH_METERING
-
-Software interface:
- FXS - To generate a metering pulse, write the channel number (0-7) into
- the file:
-
- /proc/xpp/XBUS-nn/XPD-mm/metering_gen
-
- Where:
- nn = XBUS number
- mm = XPD number
-
- Writing channel number 31 signifies a broadcast -- i.e: generate
- metering pulse on all channels.
-
- Example:
-
- echo 31 > /proc/xpp/XBUS-00/XPD-00/metering_gen
-
- FXO - To read current metering counters from an FXO, simply read:
-
- /proc/xpp/XBUS-nn/XPD-mm/metering_read
-
- The format is self documenting:
-
- # Chan Meter (since last read)
- 0 5
- 1 0
- 2 12
- ...
-
- Reading this file reset the counters. So the numbers always show
- the meters since last read.
-
- The metering register should be sampled at a rate which is double
- than the highest expected metering pulses. This rate is adjustable
- via a module parameter "poll_metering_interval". The current default
- is 500ms which is good if the metering pulses are sent not more
- often than once per second.
-
-Remark: The FXS hardware can generate maximum 0.85 volt RMS, while the FXO
- needs a minimum of 1.1 volt RMS for detection. Therefore, this
- feature cannot be tested in a loopback (Astribank-FXS to Astribank-FXO).