ATCOM IP-04 User Manual

www.atcom.cn
1/35
IP-04 User Manual
www.atcom.cn
2/35
Version
Date
Author
Description
1.0
2008-April-19
Edwin
Creation
1.1
2008-Jul-11
Edwin
Interlink, backup
www.atcom.cn
3/35
1. Introduce ................................................................................................................ 5
1.1 Related Hardware and software .................................................................................... 5
1.2 System set up ................................................................................................................ 6
2. Install IP04 and make internal calls .................................................................... 7
2.1 Install IP04 .................................................................................................................... 7
2.2 Ways to Access IP04 ..................................................................................................... 7
2.3 Add extensions .............................................................................................................. 8
2.4 Register SIP device ....................................................................................................... 9
2.5 Add Zap extensions ..................................................................................................... 10
2.6 Voice Mail Box ........................................................................................................... 11
2.7 Voice Mail to Email .................................................................................................... 11
3. Make outbound call ............................................................................................ 12
3.1 Make call via PSTN trunk ........................................................................................... 12
3.2 Make call via VoIP trunk ............................................................................................. 14
4. Add Incoming Call operator .............................................................................. 15
4.1 Multiple FXO incoming calls to one extension........................................................... 15
4.2 Ring another extension if operator doesn‟t answer ..................................................... 16
4.3 Time Base Rule ........................................................................................................... 17
5. IVR ....................................................................................................................... 17
5.1 Add Greeting Menu..................................................................................................... 17
5.2 Route incoming route to greeting menu ...................................................................... 19
5.3 Record your voice. ...................................................................................................... 19
6. DISA ..................................................................................................................... 21
7. Ring Group .......................................................................................................... 22
8. Link two IP04 in different office ........................................................................ 23
8.1 Link two IP04 in the same network. ........................................................................... 23
8.2 Link two IP04 in different offices. .............................................................................. 26
FAQ: ............................................................................................................................ 28
HOWTO -- Do files transfer for IP04? ................................................................................... 28
HOWTO -- Change SSH password? ....................................................................................... 28
HOWTO -- Custom your music on hold? ............................................................................... 28
HOWTO -- Upgrade the software packages of IP04? ............................................................. 28
HOWTO -- Set correct country setting for IP04? ................................................................... 28
HOWTO -- Set system time? .................................................................................................. 29
HOWTO -- Change the IP address of IP04? ........................................................................... 31
HOWTO -- Backup the files of IP04? ..................................................................................... 32
HOWTO -- Upgrade the kernel of IP04? ................................................................................ 33
www.atcom.cn
4/35
www.atcom.cn
5/35
1. Introduce
This Article This article is a guide to use IP04 and ATCOM products to build a simple application on small office application. Through this article, we hope that readers can build the IP PBX solution via IP04 for small enterprise
IP04
The IP04 is an open source embedded IP PBX system. It runs uClinux and Asterisk and has a big advantage on its inherent open source and ultra low power consumption ( <5 watt in idle state, environment friendly).
BAPS
BAPS stands for Blackfin Asterisk Package System. Software in Baps system is installed on run time rather than build time. Basically we only need to maintain a kernel with basic functions installed. Different applications (zaptel, asterisk, ntp .etc) are built in different packages and maintain in a remote server. We only need to use some simple commands like:
root:~> ipkg install PACKAGE_NAME to install the needed package root:~> ipkg remove PACKAGE_NAME to remove the useless package root:~> ipkg update to check the up to date package list
1.1 Related Hardware and software
IP04 IP PBX: Open source IP PBX, support four interchangeable FXO/FXS ports. AX-110S: FXS module of IP04 AX-110X: FXO module of IP04 AT-530: Stand along IP phone, can be configured as SIP/IAX2 extensions. X-lite: Softphone run on the PC, can be configured as SIP extensions. Normal phone: Connect to IP04, act as ZAP extensions.
www.atcom.cn
6/35
1.2 System set up
Following devices are used in the structure: 1: IP04 with 2 FXO 2 FXS port loaded: Port 1 and Port2 are configured to FXO ports. Port 3 and port 4 are configured as FXS port. The FXO port is used to connect to PSTN while FXS port is used to connect to your normal phone. 2: Normal phone: connect to the IP04 FXS ports. 3: Working PC, x-lite runs on this computer act as a sip extension. 4: AT-530 IP phone, register to IP04 to act to as SIP or IAX2 extension. We want to provide below function in our simple application. 1: free internal call. 2: Voice Mail. 3: make out bound call 4: IVR system. We will implement these functions step by step.
www.atcom.cn
7/35
2. Install IP04 and make internal calls
2.1 Install IP04
Simply connect the power cable and Ethernet cable to IP04, make sure that the IP04 connects to your local network. The port configuration of IP04 are fxo for port1,2 and fxs for port3,4 as show below:
2.2 Ways to Access IP04
There are two ways to access the IP04 : Web or SSH.
Web:
Use Web browser to open the GUI of IP04.
Default IP address: 192.168.1.100 Default username/password: admin/mysecret
IP04 doesnt support IE well. You need to use Firefox version 2 to configure
it.
SSH:
Use the SSH tool to access the IP04.
Default IP address: 192.168.1.100 Default username/password: root/uClinux or root/12xerXes06
Most of our configure job will be done in the web interface. And we will do some advance configure via SSH tool. Default http of IP04 is 80 port, you can change this port in the file /etc/asterisk/http.conf
www.atcom.cn
8/35
2.3 Add extensions
At first, we need to add some extensions to make internal calls. Each extension acts as an internal number. There are many types of extensions, we will use SIP, IAX2 and ZAP extensions on this article.
Before setting the extensions, we need to go to the option page and set the numbers of digit of each extension. Go to
Option -> Admin Settings
Here we set the number to 4, so each extension will be a four digits number.
Add SIP extensions:
Sip extensions is an SIP account allows you to log on the IP04 via an SIP terminal such as IP phone AT-530 or softphone x-lite.
Go to User Page Add New Exenions:
Extension: 8806 ; Phone number of this extension
Name: Edwin ; Caller ID Name
Password: 8806 ; SIP Log on password Caller ID: 8806 ; Caller ID VM password: 8806 ; password of your mailbox
Users-> User and Phone Configuration:
www.atcom.cn
9/35
Use the same method add two other extensions
Extension: 8047 ; Phone number of this extension
Name: Alice ; Caller ID Name
Password: 8047 ; SIP Log on password Caller ID: 8047 ; Caller ID VM password: 8047 ; password of your mailbox
Extension: 8469 ; Phone number of this extension
Name: Crystal ; Caller ID Name
Password: 8469 ; SIP Log on password Caller ID: 8469 ; Caller ID VM password: 8469 ; password of your mailbox
So far we have created three SIP extensions. Remember to click active change on the right top of the page to active the extensions in Asterisk. Now we can use SIP devices to log on the IP04 use these extensions.
Note: if your IP04 and sip devices is not in the same network, for example, your IP04 uses public ip and sip devices is behind router, you may need to enable “NAT” when set up the extensions.
2.4 Register SIP device
1. Register SIP softphone
Download the x-lite softphone phone from couterpath website www.xten.com
After install the x-ltie, right click the panel and select the SIP Account Setting and then configure it:
Display Name: Edwin
User Name: 8806
www.atcom.cn
10/35
Password: 8806
Authorization User Name: 8806
Domain: 192.168.1.100 (IP address of the IP04)
2. Register IP phone AT-530
a) Connect the AT-530s WAN port to the switch. And it can get the ip from your router. b) Press the sysinfo key on AT-530 to get the IP of AT-530. c) Put the IP on web browser then you can enter the AT-530 configure page through this
IP.
d) Put the SIP extensions info on the AT-530 IP phones.
Register Server Addr: 192.168.1.100 IP address of Trixbox server. Register Username: 8047 Register Password: 8047 Phone Number: 8047
Use the same method register another AT-530 to extension 8469, then you can make free inbound call between these three extensions 8806, 8047, 8469.
2.5 Add Zap extensions
Port 3 and port4 are configure as the fxs ports, so we can add the normal phone to it and the normal will be an extension of our service. We need to assign the numbers for port3 and port4 as below:
www.atcom.cn
11/35
2.6 Voice Mail Box
Voice mail box is enabled when we create the extensions. If somebody calls you on your extension and you are unavailable, he will hear the voice mail greeting message and leave voice message.
Retrieve voice message
To retrieve the voice message, we need to create a voicemail extension in voicemail page. Once user dial to this extension, he will be prompted the greeting message. After dialing the correct username/password, user will hear the old and new voicemail.
Voicemail->VoiceMail Configuration:
2.7 Voice Mail to Email
The ssmtp packages is a simple voicemail to Email application. With this function setting correctly, the ip04 will send the Voicemail to your mail address whenever there is a new voice message. The ssmtp package is installed by default in the IP04.
1/ in the user setting page, we need to put the mail address of each extension.
2/ in the /etc/ssmtp/ssmtp.conf: mailhub=your_mail_host //set the mailhub to your mail host
3/ in the voicemail.conf: format=wav49 serveremail=asterisk@legitimate_mail_domain mailcmd=/bin/ssmtp -t
www.atcom.cn
12/35
3. Make outbound call
To make an outbound call, we need to add trunk/service provider first. There are two types of service provider: Analog Ports: FXO ports of IP04, connect to local PSTN
VoIP: SIP or IAX trunk, connect to remote SIP/IAX server
In the IP04 i am using, the port 1 and port2 are configured as FXO ports, port 3 and port 4 are configured as FXS ports.
When a port is configured as FXO port, the corresponding LED shows RED. When a port is configured as FXS port, the corresponding LED shows GREEN.
What are FXO and FXS?
FXS (Foreign eXchange Station) is an interface which drives a telephone or FAX machine. FXS interfaces get phones plugged into them, delivery battery, and provide ringing. FXS interfaces are signalled with FXO signalling.
FXO (Foreign eXchange Office) is an interface that connects to a phone line. They supply your PBX with access to the public telephone network. FXO interfaces use FXS signalling. FXS interfaces are what allow you to hook telephones to your PBX, and FXO interfaces allow you to connect your PBX to real analog phone lines.
3.1 Make call via PSTN trunk
Add Analog service provider
Service Provider -> Add Service Providers:
Add Calling Rule
www.atcom.cn
13/35
In Calling Rules -> add a new calling rule as below
Calling Rules
We have now added a new calling rule OUT_PSTN in the DialPlan1. As we can see from the dialing rule of OUT_PSTN, all numbers start with 9 will be cut the first digit (9) and sent to PSTN (port1 or port2).
Choose Dial Plan for extensions:
In the User page, edit the extensions to choose DialPlan1.
After we have done above, in the extension we can dial 9 + local number to dial out via PSTN line.
www.atcom.cn
14/35
3.2 Make call via VoIP trunk
Add VoIP service provider
Service Provider -> Add Service Providers:
Add a voip service provider.
Add Calling Rule
In Calling Rules -> add a new calling rule as below
Calling Rules
We have now added a new calling rule OUT_VOIPBUSTER in the DialPlan1. As we can see from the dialing rule of OUT_VOIPBUSTER, all numbers start with 00 will be cut the first two digits (00) and sent to my sip service provide voipbuster.
The OUT_VOIPBUSTER is in the same DialPlan1. Since we have added this dial plan to the extensions in above, we dont need to add dial plan again.
So far when we have added two calling rules, any call start with 9 will be route to PSTN, and call starts with 00 will be route to voipbuster.
www.atcom.cn
15/35
4. Add Incoming Call operator
4.1 Multiple FXO incoming calls to one extension
Purpose: Secretary phone to receive multiple FXO incoming calls , put 1st call on hold pickup 2nd call and then transfer or hang call. Be able to do this for 4 FXO.
In this case, we use the extension, 6000 as operator, and extension 6001,6002 for clerk. Below is the configure page:
Register extension 6000 with eyebeam. And register 6001 and 6002 with IP phone AT-530.
Configure the service provide to add all FXO ports to the same service provider.
Add the incoming and route all the calls from ports 1,2,3,4 to the 6000 extension.
www.atcom.cn
16/35
Make an incoming pstn call to port 1 and you can see 6000 extension will ring. Use the eyebeam to answer the call. Make another incoming call to port 2 and you can see the line2 of 6000 is ringing. You can press
LINE2 to answer the second call; Line1 will be hold and hear the music. To transfer this call to
extension 6001, press XFER in the eyebeam and then press 6001 and then XFER again to transfer the call, after transfer the call, press hang up to return to line1.
4.2 Ring another extension if operator doesnt answer
Purpose: If secretary does not answer FXO CALL pass call to next extensions, If no call answer send call to voicemail. 6000 ext voicemail
Setting a Ring Group as show below:
Put 6000 and 6001 to the ring group. Set the strategy to Ring In Order. And set the timeout to 15 seconds. If not answer, the call will go to the 6000 voicemail box
Set the incoming route to the new one incoming_group
www.atcom.cn
17/35
4.3 Time Base Rule
Purpose: set different rules for office time and close time. If there is incoming call in office time, the call will be route to operator as mentioned above. If there is incoming call in close time, the caller will hear that the company is close at this moment.
First, we need to record a voice menu for the close time (off_time1), refer chapter five for how to record the voice menu
Second, set up the time base rule as below:
In above rule, we have set a time base as required.
Third, we need to point the incoming call to this time base rule.
5. IVR
IVR, means Interactive Voice Response. It is very important for the enterprise application. We can use the IVR to do the auto-attendant job.
5.1 Add Greeting Menu
Go to Voice Menus--> add new voice menu
www.atcom.cn
18/35
We have added a new voice menu:
Name: Greeting
Extension 9999 Then we will need to add how this menu should work. We will set this menu as the greeting menu and when there is incoming call, the caller will hear: thanks for your calling, if you know the extension of the part you wish to reach then dial now during the greeting voice. You can dial the number you wish to reach.
Add two new background steps. The voice we choose are: thank-you-for-calling and if-u-know-ext-dial and remember to enable the dial other extensions.
www.atcom.cn
19/35
5.2 Route incoming route to greeting menu
In the incoming calls menu, route the incoming calls to the greeting extension (9999).
5.3 Record your voice.
You may need also need to record your voice for greeting or other voice menu. Go to Record a Menu -> Record a new voice menu Then you will be prompted as below.
Type the name of your record and choose the extension to record. After that, click the Record button and your extension will ring. Answer the call and make a record.
After recording, you can see the record in the page:
www.atcom.cn
20/35
The record files are stored in the /storage/sounds/record directory, if you have the voice files already, you can use the FTP server to put the files to this directory too.
www.atcom.cn
21/35
6. DISA
DISA (Direct Inward System Access) allows someone calling in from outside the telephone
switch (PBX) to obtain an "internal" system dialtone and dial calls as if from one of the
extensions attached to the telephone switch. Frequently the user calls a number DISA number
with invokes the DISA application. The DISA application in turn requires the user to enter his
passcode, followed by the pound sign (#). If the passcode is correct, the user will hear
dialtone on which a call may be placed. Obviously, this type of access has SERIOUS security
implications, and GREAT care must be taken NOT to compromise your security.
If the password parameter is "no-password", then the DISA application will provide dial tone
without first requiring a password. Obviously, this should only be done if the user's identity
has already been proved by some other means or the set of numbers which can be dialed is
tightly controlled.
DISA(passcode[|context])
DISA(password file)
Below is an simple example guide for DISA:
Voice Menus
Add a new voice menu DISA
After the Answer the Call
Add a new step:
Step name: disa
Step content: no-passoword|numberplan-custom-1 // numberplan-custom-1 means:
DialPlan1.
In the incoming rule, route the incoming call this disa entry.
Then when you dial a call to the your PSTN line, you will be promoted a second dial tone
which indicates you can add as an internal extension and make outbound call.
www.atcom.cn
22/35
7. Ring Group
In a ring group, you can have calls ring multiple user extensions at one time. The first user to
pick up the call gets the call and all other phone stop ringing.
First, we need to set up a ring group specify what extensions need to ring when the call enter
this group.
Ring Groups-->Ring Groups
We have set a group Sales_team in above. This group include the extension 100 and 101
Then we need to link the group with the incoming calls.
Incoming calls --> Incoming calls
Above we set that all the incoming call from port1 will enter the ring group Sales_team. So if
there is any call from port1. the extension 100 and 101 will rings at the same time.
File Edit- MMC card NTP server
www.atcom.cn
23/35
8. Link two IP04 in different office
Purpose of this chapter: show how to link two IP04 in different location. With this function, we can link branches together with IP04.
8.1 Link two IP04 in the same network.
The simplest case to link two ip04 together is in the same network. We start from this and then try to expand it to different network.
Below is the structure of how to link two IP04s in the same LAN:
In above structure:
1) AT-530A registers to IP04A as an extension 6001.
2) AT-530B registers to IP04B as an extension 5001.
3) All the extensions under IP04A are in the format 6XXX.
4) All the extensions under IP04B are in the format 5XXX
5) Extensions under IP04A can make calls to extension under IP04B use format 5XXX.
6) Extensions under IP04B can make calls to extension under IP04A use format 6XXX.
7) The two IP04 links each other via IAX2 trunk.
www.atcom.cn
24/35
Steps to achieve above objects:
1) Set up a peer in IP04A for IP04B
In IP04A Option --> Show advance option --> file Editor--> Edit the iax.conf file and add this context:
Add a new context test: [test] //the name of this peer type=peer context = numberplan-customs-2 // this peer can use the DialPlan2 in IP04A auth=md5 secret = 7777 //password of this peer username = 7777 // username of this peer
www.atcom.cn
25/35
2) Set up a service provider in IP04B to link to IP04A via peer test. In IP04B, Service Provider --> Custom VoIP and set the service provide as per info from 1)
3) Set Calling Rule in IP04B, all calls start with 6 will be sent to IP04A In IP04B Calling Rules --> add a new rule officeA as below.
Active the change and apply the test:
Register an IP phone AT-530B to IP04B with 5001 extension.
Register an IP phone AT-530A to IP04A with 6001 extension.
Use 5001 to dial 6001. And you can see 6001 is ringing and you can pick up the calls.
Above is the way to router IP04Bs call to IP04A, the method to link IP04A to IP04B is the same as above.
www.atcom.cn
26/35
8.2 Link two IP04 in different offices.
The generally environment for two ip04 in different location is: two IP04 are both behind router and using the private IP.
Since the IP04 doesn‟t have the public IP, so we need to do port forwarding in the router and make IP04 is reachable to others.
Below is the port forwarding structure:
1) Set port forwarding in the router for IP04A The IP04A is behind the router, to register to IP04A via the internet, you need to forward the IAX2 port in your router, so all the packets received on the router WAN port (202.8.16.98:4569) will be forwarded to the IP04A (192.168.1.21:4569). Below is the setting page in a linksys router:
www.atcom.cn
27/35
2) Set up the service provider and calling rule in IP04B to make it register to IP04A.
This method is almost the same as in Chapter 8.1 , EXCEPT you need to use the 202.8.16.98 as the service provider instead of 192.168.1.21.
3) Use the same method do port forwarding in routerB for IP04B. Your public address from
network provider maybe a dynamic ip which will be changed periodically. To overcome the problem of dynamic ip, you may need to use the DDNS service , for more info please google the internet.
www.atcom.cn
28/35
FAQ:
HOWTO -- Do files transfer for IP04?
There is a FTP server built in IP04, to transfer files to IP04, we can use a FTP client such as
SmartFTP client to do the job. The FTP user name and password for IP04 is: root/
12xerXes06
You can also use the linux command wget and tftp for file transfers via SSH terminal. The
account/password for SSH are root/ 12xerXes06 or root/uClinux Example:
root:~> tftp -g -r voicemail.tar 192.168.1.235 //get the voicemail.tar file from tftp server
HOWTO -- Change SSH password?
In ssh terminal, Run
root:~> passwd to change the password.
HOWTO -- Custom your music on hold?
First: record your voice as per charter 5.2, Then: put the recorded voice to the file /var/lib/asterisk/moh and active the change.
HOWTO -- Upgrade the software packages of IP04?
The IP04 uses the BAPS structure to maintain the software. The packages link can be found
on /etc/ipkg.conf file. Below are some commands for the software management.
root:~> ipkg update //check available packages.
root:~> ipkg install PACKAGE_NAME //install the needed package
root:~> ipkg remove PACKAGE_NAME //remove the needed package
root:~>ipkg list_installed //list the installed packages information
The /etc/autoinstall describes the needed packages for the system and the ip04 will check if the packages are installed in every reboot. If the specified packages dont exist in the ip04, it will install the package on every reboot. So if you have removed a package, you may also check if the package in mention in the /etc/autoinstall file, if it is there, you need to remove it.
HOWTO -- Set correct country setting for IP04?
Different countries have different tone cadence and impedance. To get the best performance
on your country, you need to set the country setting in the setting page:
Go to Option -->Show Advance Option
Then you can see there is a new box on the right top of the page. You can then set the
network and country setting in this page.
www.atcom.cn
29/35
Also you need to set the opermode of IP04 according to the area you are. For example, if you
are in USA, you need to set the opermode to FCC. If you are in Australia, you need to set the
opermode to AUSTRALIA.
The opermode can be in the in the /etc/init.d/zaptel file
#!/bin/sh
# Start up file for Zaptel
case $1 in start) modprobe wcfxs opermode=AUSTRALIA lowpower=1; zapscan; ztcfg;; stop) modprobe -r wcfxs;; enable) rm -f /etc/rc.d/S40zaptel; ln -s /etc/init.d/zaptel /etc/rc.d/S40zaptel;; disable) rm -f /etc/rc.d/S40zaptel;; *) cat <<EOF;;
Syntax: /etc/init.d/zaptel [command]
Note: The parameter that opermode support can see the fxo_modes.h file in zaptel source.
HOWTO -- Set system time?
The file /etc/TZ specify the timezone of the system. The IP04 will get the date and time from NTP server according to the timezone. If the system is different from your time, you can set the timezone value on the /etc/TZ file. Example time zone values is :
Australia
Melbourne,Canberra,Sydney
AEST-10AEDT-11,M10.5.0/02:00:00,M4.1.0/03:0 0:00
Perth
AWST-8AWDT-9,M10.5.0,M3.5.0/03:00:00
Brisbane
AEST-10
Adelaide
ACST-9:30ACDT-10:30,M10.5.0/02:00:00,M4.1.0 /03:00:00
Darwin
ACST-9:30
Hobart
AEST-10AEDT-11,M10.1.0/02:00:00,M4.1.0/03:0 0:00
Europe
Amsterdam, Netherlands
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Athens, Greece
EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00
Barcelona, Spain
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Berlin, Germany
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Brussels, Belgium
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
www.atcom.cn
30/35
Budapest, Hungary
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Copenhagen, Denmark
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Dublin, Ireland
GMT+0IST-1,M3.5.0/01:00:00,M10.5.0/02:00:00
Geneva, Switzerland
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Helsinki, Finland
EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00
Kyiv, Ukraine
EET-2EEST,M3.5.0/3,M10.5.0/4
Lisbon, Portugal
WET-0WEST-1,M3.5.0/01:00:00,M10.5.0/02:00:0 0
London, Great Britain
GMT+0BST-1,M3.5.0/01:00:00,M10.5.0/02:00:00
Madrid, Spain
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Oslo, Norway
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Paris, France
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Prague, Czech Republic
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Roma, Italy
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Moscow, Russia
MSK-3MSD,M3.5.0/2,M10.5.0/3
Sofia, Bulgaria
EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00
St.Petersburg, Russia
MST-3MDT,M3.5.0/2,M10.5.0/3
Stockholm, Sweden
CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
Tallinn, Estonia
EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00
Warsaw, Poland
CET-1CEST,M3.5.0,M10.5.0 /3
New Zealand2
Auckland, Wellington
NZST-12NZDT-13,M10.1.0/02:00:00,M3.3.0/03:0 0:00
USA &
Canada1
Hawaii Time
HAW10
Alaska Time
AKST9AKDT,M3.2.0,M11.1.0
Pacific Time
PST8PDT,M3.2.0,M11.1.0
Mountain Time
MST7MDT,M3.2.0,M11.1.0
Mountain Time (Arizona, no DST)
MST7 Central Time
CST6CDT,M3.2.0,M11.1.0
Eastern Time
EST5EDT,M3.2.0,M11.1.0
Atlantic Time
AST4ADT
www.atcom.cn
31/35
Atlantic Time (New Brunswick)
AST4ADT,M4.1.0/00:01:00,M10.5.0/00:01:00
Newfoundland Time (Updated DST for 2007)
NST+3:30NDT+2:30,M3.2.0/00:01:00,M11.1.0/0 0:01:00
Asia
Jakarta
WIB-7
Singapore
SGT-8
Hong Kong
HKT-8
Ulaanbaat ar, Mongolia
ULAT-8ULAST,M3.5.0/2,M9 .5.0/2
Central
and South
America
Brazil, São Paulo
BRST+3BRDT+2,M10.3.0,M2.3.0
Colombia
UTC+5
Argentina
UTC+3
Central America
CST+6
HOWTO -- Change the IP address of IP04?
Go to Option -->Show Advance Option
A new box will appear on the Right-top of the page, you can see the network setting here.
www.atcom.cn
32/35
HOWTO -- Backup the files of IP04?
In Backup page
Use Take a Backup to backup the configure files. The file is stored in /storage/gui_configbackups directory
root:/storage/gui_configbackups> ls backup08071102__2008jul11.tar backup080711__2008jul11.tar
Upload the backup files to your tftp server : root:~> tftp -p -r backup080711__2008jul11.tar 192.168.1.235
Download the backup files from tftp server: root:~> tftp -g -r backup080711__2008jul11.tar 192.168.1.235
It is easy to shared the configuration between different IP04 use above method.
www.atcom.cn
33/35
HOWTO -- Upgrade the kernel of IP04?
In the previous version of IP04, the kernel is not the BAPS kernel, it will be not convenient
for the software upgrade (via IPKG) in future. We can use the RS232 console port to upgrade
the kernel to a BAPS base kernel.
1/ Download the latest kernel from http://www.atcom.cn/down/uimage_r2.zip. set up a TFTP
server and put the kernel on the TFTP server boot.
2/ Connect the RS232 console port to the IP04, there is a console port module ship together
with the IP04. Connect the console port to the ip04 as below picture:
Connect Console port to IP04
Running the Hyper Terminal or Minicom in your computer to connect the IP04, the setting of the console port should be:
Bits per second to 115200; Data bits : 8 Parity: None Stop bits: 1 Flow control: None
Power on the IP04 and stop the boot process at the u-boot prompt. Now we are going to write the new uImage to flash. your:mac:address can be found using *print* at the u-boot prompt.
3/ NOTE: Do not cut/paste the steps below into your serial terminal program, as they often cannot respond fast enough and lose characters. Type each line carefully by hand.
Console port
www.atcom.cn
34/35
In u-boot:
ip04>set autostart ip04>setenv serverip your_tftp_server_address ip04>tftp 0x1000000 uImage_r2.ip08 ip04>nand erase clean ip04>nand erase ip04>nand write 0x1000000 0x0 0x300000 ip04>set bootargs ethaddr=your:mac:address console=ttyBF0,115200 root=/dev/mtdblock0 rw ip04>save ip04>bootm 0x1000000
(uClinux will boot.......)
NOTE: If Linux doesn't boot or you experience other problems reboot into uboot, type "print", and carefully check bootargs
4/ Now we have uClinux running, but using a ram-based ext2 file system for root. So we need to copy /root into the yaffs file system: On the IP04: root:~> /bin/copy_rootfs.sh
root:~> reboot
5/ Now set up u-boot to mount root from yaffs (some of these env variables may be set already, use 'print' to check):
ip04>set autostart yes ip04>set bootargs ethaddr=your:mac:address console=ttyBF0,115200 root=/dev/mtdblock2 rw ip04>set nandboot 'nboot 0x2000000 0x0' ip04>set bootcmd run nandboot ip04>save ip04>reset
6/ Boot IP04 to the uClinux root prompt. Use mount to check that root is mounted on mtdblock2 (yaffs file system).
Now we can install some packages using ipkg.
When the system boots with the new kernel, only the network part is available and the IP04 will get the network parameter from your DHCP server. Then you need to install the needed packages for your application. Below is the default packages installed in the IP04.
root:~>ipkg install zaptel-sport
root:~>ipkg install pagecache libtiff spandsp asterisk-spandsp voiptel-gui voiptel-sounds
www.atcom.cn
35/35
dropbear voiptel-ntp ssmtp voiptel-cron
Then it will connect to owetel and VoIPtel website for the latest packages. Please make sure that your IP04 has the internet connection to download the packages. Don't worry if it seems to get stuck on downloading / installing the voiptel-sounds package, as it just needs some time due to it's size.
root:~>/etc/init.d/zaptel enable // load zaptel driver on every booting
root:~>/etc/init.d/asterisk enable // load the asterisk on evert booting.
root:~>reboot
after reboot, you can check the ip address on the console port and check its ip address via
root:~>ifconfig
put this ip address on your firefox browser and configure the IP04.
7/ After the new kernel and new software packages are installed in the ip04 successfully. You may need to remove the console port and close the cover, remember to short the pin2 and pin4 on J8 connector with jumper as below.
Short pin2 and pin4
Loading...