Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd Milliwatt

Author image

Synopsis:

Generate a Constant 1004 Hz tone at 0dbm ( mu-law )

Description:

Milliwatt()

Generate a Constant 1004 Hz tone at 0dbm (mu-law)

Earlier versions of Asterisk generated a 1000 Hz Tone. If the old behaviour is desired for some reason, use the “o” option. The new behaviour is in 1.4.21 and later; the old behaviour is in 1.4.19.

Details

A “Milliwatt (102 Type) Test Line” is a signal generated from an end office which provides a 1004 (!) Hz tone at 0 dBm0 for one-way transmission measurements towards the customer’s location from the Access Service Provider end office.

Milliwatt test tones are often found at NPA-NXX-0010 or NPA-NXX-9935.

Note that, instead of 1000 Hz, 1004 Hz has been the Telco standard for many a year. The sampling rate on a T1 for a DS0 is 8kHz and 1kHz is a harmonic of 8kHz and harmonic distortion can cause significant measurement errors. So early on engineers tuned the test frequency to be slightly off to keep harmonic distortion to a minimum when taking loss measurements.

You can provide this via simple dialplan logic without using the rather non-standard Milliwatt() application:

exten => 8114,1,Answer
exten => 8114,n,PlayTones(1004/1000)
exten => 8114,n,Wait(300)

See also


Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.