• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
Back to Tutorials

6.1.2.26. DumpChan (dialplan application) - NEW

1. DumpChan - this application allows you to dump an information about the calling channel

NOTE: This application is valid for Asterisk version 1.2.0 and above.

 


Syntax:

DumpChan(verbose)

 


List of the possible options

verbose - specify the minimum level of verbosity. Please pay attention - if you set this parameter then the information about the calling channel will be shown on the Asterisk console only if the set level of verbosity is equal to the one you specify as parameter of the application

 


Purpose and usage

The purpose of this application is to dump information about the calling channel. You could see this information on the Asterisk console. The dump includes information about the channel and a complete list of all the channel variables.

So, this application could be useful for debugging.

Below, we will give you an example.

 


Prerequisites

In order to use this application you will need a working Asterisk PBX with registered users in iax.conf, sip.conf or mgcp.conf(It depends on which protocol you would like to use) and made extensions in the extensions.conf file.

To see how this application works, we recommend you to use our IAX softphone - Idefisk. You could download it from here. Please, take a look also at our tutorial - to learn how to configure it to work with Asterisk PBX.

 


Asterisk PBX configurations

NOTE: This is an example of what for you could use the application.


iax.conf Configurations

We need one registered user in the iax.conf file (we are going to use the IAX2 protocol). If you want to use other protocol such as SIP or MGCP, you have to do the configurations below respectively in the sip.conf or mgcp.conf.

iax.conf.jpg

So, we have registered the user idefisk

Type=friend means that this user is allowed to make and receive calls. Host=dynamic means that the IP is not statically assigned but dynamically through DHCP server. Allow=all means that the line, which this user will use, could support all audio codecs. Context=test - this shows that the user will be allowed to work only with the extensions in this context in the configuration file extensions.conf.


extensions.conf Configurations

Now lets take a look at the extensions.conf file.

extensions.conf.jpg

On the picture above you could see our test extensions.conf file.

So we have and extension 100, which we will use for the test.

First we use the Answer application to answer the channel.

Then it is time for the DumpChan application. We will set it without arguments. In this way the dump information will be always shown on the Asterisk console, independently of the set level of verbosity. If we set as argument for example 4 the information will be shown if only the level of verbosity is changed to 4. You could see an example for the dumped information on the screenshot below in section 2. Screenshots of what you can see on your Idefisk and on the CLI of the Asterisk PBX. As you could see the application is useful for debugging because it shows you all the channel variables.

The third used application is Echo. It is used just for the test. ou could use whatever you want on its place.

Finally, in order to be sure that the Asterisk PBX will hang up the line, when the conversation is over, it is a good idea to make an extension for hanging up the line using the Hangup application.

 


2. Screenshots of what you can see on your Idefisk and on the CLI of the Asterisk PBX

cli.jpg

 


3. Additional information

More information about the extensions.conf file you could find here.
For more information about the iax.conf file, check here.

The application is tested with our IAX softphone Idefisk. You could download it from here. A manual about this softphone could be found here.

If you would like to test the application with the SIP channel you could take a look at our tutorials about the SIP Softphones, where you could pick up the one which suits your needs and learn how to configure it to work with the Asterisk PBX

 


4. Uploaded files

iax.conf
extensions.conf

 

 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • Sending Fax from Zoiper to Zoiper using T.38
    added 08/Dec/2008 18:16
  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53

Latest Comments:

  • nice...
    tutorial: X-Lite - SIP softphone
  • Badly need your help. Things are only im...
    tutorial: Grandstream HandyTone-486 - SIP Analog Telephone Adapter (ATA)
  • how do i rectify this problem? all incom...
    tutorial: Troubleshooting
  • How are you. Summer afternoon - Summer a...
    tutorial: Cisco 7960 IP Phone - SIP firmware version
  • where is the tar file you mention above ...
    tutorial: Cisco 7960 IP Phone - SIP firmware version
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™