Testing the Connection
Asterisk has several ways to test your extension.
- Monitoring via Asterisk CLI
Asterisk will display all activity that occurs on the Asterisk server as verbose (text) messages on the Asterisk CLI (command line) as they happen. You will see information about the extensions as they connect each time you use it. It is an excellent troubleshooting tool!

In the above example, extension 1001 (Softphone1) has pressed feature code *65 (speak your extension), you can see the messages being played: your, extension, number, is, 1001 then it performs a hangupcall.
- Test Options
- Dial 7777, you should receive a message that the number is not in service
- Dial *43, this is an echo test
- Dial *60, a nice lady will tell you the time
- Dial *65, this will return your extension number
- Dial 1234, this will tell you that you've installed Asterisk successfully - wahoo!
Note: If you are unable to use the feature codes - nothing happens, you may need to upgrade your firmware on your VOIP phone. I ran into this problem with older Snom phones - they didn't generate the DTMF tones properly.
- Monitor FreePBX Reports
FreePBX has a call detail report that provides basic information on whether or not your extension connects.


- Dial another local extension
- Dial another local extension and see if you can connect. Verify that you can both receive and send audio.
- Have the local extension dial you. See if you can answer. Verify that you can both receive and send audio.
The reason for testing the sending and receiving of audio is to check for an error condition called one way audio. This can occur when the voice traffic passes through a firewall and the firewall is doing port translation of the RTP protocol. See configuring a Firewall for details on how to configure a firewall to pass VOIP traffic.
|