IP04: Difference between revisions

From WirelessAfrica
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
## root~> reboot
## root~> reboot
# Remember to set the IP address on your PC host back to the default for use on your lan
# Remember to set the IP address on your PC host back to the default for use on your lan
== Try SIP to client ==
== Try SIP to client ==
# In SIP client (e.g. Ekiga), set SIP account with Registrar=IP address of IP04, user=sipguest, passwd=sipguest
# In SIP client (e.g. Ekiga), set SIP account with Registrar=IP address of IP04, user=sipguest, passwd=sipguest
== Remove defunct public SIP demo account ==
 
# In /etc/asterisk/aix.conf, uncomment [demo] section:
== Remove defunct public AIX demo account ==
## #[demo]
# Comment out [trunk_2] section of /etc/asterisk/users.conf as iaxtel.com is not accepting connections.
## ;type=peer                                                                                                                       
 
## ;username=asterisk                                                                                                              
== View configuration ==
## ;secret=supersecret                                                                                                             
# asterisk -r
## ;host=216.207.245.47
# ip04*CLI> zap show channels
# ip04*CLI> zap show channel 1
For FXS modules (taking handsets), zaptel will show FXO, and for FXO modules (connect to exchange), zaptel will show FXS
 
== Configure location ==
For setting the appropriate frequency and pause set the region code in /etc/zaptel.conf
#  
A list of tone specifications is available at: http://www.itu.int/ITU­T/inr/forms/files/tones­0203.pdf

Latest revision as of 22:56, 28 July 2008

IP04 - Four Port IP-PBX

Collaborating with David Rowe on deploying the IP04 - http://www.rowetel.com/ucasterisk/ip04.html

Assumptions

The IP04 can be configured with a combination of four FXO and/or FXS ports. This page describes how I started using one with 3 FXS (handset) and 1 FXO (linked to our corporate PABX). Assuming the IP04 is also linked on the local LAN.

Setup procedure

  1. Set IP address of your PC host ethernet interface temporarily to 192.168.1.99 (or anything you think think is available on 192.168.1.xx subnet, not 192.168.1.30).
    1. myPC> ifconfig eth0 192.168.1.99/24
  2. Check that the address 192.168.1.30 is not used
    1. myPC> Ping 192.168.1.30 ... no replies. This is the factory default IP address of the IP04.
  3. Unpack IPO4, plug into the LAN, telephone plug, and add 3 x telephone handsets
    1. Check if IP04 work by dialing 6001, 6002, 6003 or 6004 on any one of the handsets
  4. myPC> Telnet 192.168.1.30
  5. Change network parameters to valid settings for your lan in /etc/rc.d/S10network-static
    1. root~> vi /etc/rc.d/S10network-static
    2. ... set the parameters and save
    3. root~> reboot
  6. Remember to set the IP address on your PC host back to the default for use on your lan

Try SIP to client

  1. In SIP client (e.g. Ekiga), set SIP account with Registrar=IP address of IP04, user=sipguest, passwd=sipguest

Remove defunct public AIX demo account

  1. Comment out [trunk_2] section of /etc/asterisk/users.conf as iaxtel.com is not accepting connections.

View configuration

  1. asterisk -r
  2. ip04*CLI> zap show channels
  3. ip04*CLI> zap show channel 1

For FXS modules (taking handsets), zaptel will show FXO, and for FXO modules (connect to exchange), zaptel will show FXS

Configure location

For setting the appropriate frequency and pause set the region code in /etc/zaptel.conf

A list of tone specifications is available at: http://www.itu.int/ITU­T/inr/forms/files/tones­0203.pdf