Section E.4. iax2

E.4. iax2

Subsets of this command allow you to manage your IAX connections.

iax2 debug

Enables IAX debugging.

iax2 no debug

Disables IAX debugging.

iax2 provision

 iax2 provision   host template   [forced] 

Used to configure an IAX device, such as Digium's IAXy. Provisions the given peer or IP address using a template matching either template or * ' (if the template is not found). Templates are configured in the iaxprov.conf file, usually located in /etc/asterisk/ . If forced is specified, empty provisioning fields will be provisioned as empty fields.

 iax2 provision 192.168.1.100 default 

iax2 show cache

Displays currently cached IAX dialplan results. Related to the switch => statement for remote dialplans. Remote dialplans are cached for a period of time (600 seconds); they then expire and must be requeried if used again.

iax2 show channels

Displays detailed information about active IAX channels.

iax2 show firmware

Shows available IAX firmware.

iax2 show peer

 iax2 show peer   peer_name   

Shows details on a specific IAX peer.

 iax2 show peer iaxfwd 

iax2 show peers

 iax2 show peers [registered] [like   pattern   ] 

Lists all known IAX2 peers. The optional registered argument causes only peers with known addresses to be listed. The optional regular expression pattern is used to filter the peer list.

 iax2 show peers registered like iax* 

iax2 show provisioning

 iax2 show provisioning [   template   ] 

Lists all known IAX provisioning templates, or the details of a specific template.

iax2 show registry

Lists details and status of all registration requests .

iax2 show stats

Displays statistics for the IAX channel driver.

iax2 show users

 iax2 show users [like   pattern   ] 

Lists all known IAX2 users. The optional regular expression pattern is used to filter the user list.

 iax2 show users like iax* 

iax2 trunk debug

Requests the current status of IAX trunking. Trunking is enabled for a peer with trunk=yes in iax.conf .

include context

 include   context   in   context   

Includes the specified context in another context.

 include local-users in incoming 



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net