A. Install vmware5.5.
B. Install trixbox2.0
1. Download the VMware image file trixbox22.0, which is:
Http://jaist.dl.sourceforge.net/sourceforge/asteriskathome/trixbox-2.0-vmware.zip
2. Unzip the trixbox-2.0-vmware.zip to E: \ trixbox 2.0.
3. Start VMware and select "open existing Vm or term ",
4. Then choose to open E: \ trixbox 2.0 \ Red Hat Enterprise Linux 4. vmx.
5. Start the VM.
6. Create a uuid and click "OK" to confirm the UUID.
7. Click "OK" to confirm. (You can also set the drive of the VM to the correct configuration first)
8. Click the mouse to enter the VM, and press enter to immediately enter Linux (or wait for the system to start it yourself)
9. Press enter to modify the hardware configuration.
10. Remove the original network configuration, select "Remove configuration", and press Enter.
11. New network configuration. Select "Configure" and press ENTER
12. Configure the IP address and press the space to select "use dynamic IP configuration (BOOTP/DHCP )"
13. Press the tab key to switch to "OK" and press enter to confirm.
14. log on to linxu. the user name is root and the password is password.
15. The logon is successful. The URL for trixbox configuration is displayed on the screen.
16. Use hostname to view the Host Name and ifconfig to view IP information.
C. Configure trixbox.
1. Open http: // 10.108.20.188/in the browser/
Click "Switch" in the upper right corner to switch to admin mode.
2. Enter the logon information. The username is Maint and the password is password.
3. Go to the freepbx configuration page.
4. You can also switch from the top menu to freepbx configuration, Asterisk --> freepbx
5. Click "setup ".
6. Go to the configuration page, and click "extensions" on the left to enter the extension number configuration page.
7. Use the default option "generic sip device" for device, and click "Submit ".
8. Enter the extension number and username. The extension number is 300 and the name is 300.
9. Pull the form to the bottom, enter the password, that is, the secret value, and enter 300 here.
10. Pull the form to the bottom and click "submite" to submit the form.
11. The extension is successfully added. Add "301" in the same way"
12. Click "Apply configuration changes" in the upper-left corner to submit the changes.
13. Confirm.
14. So far, the server's extension number has been configured successfully.
D. Configure X-lite 3.0
1. X-lite:
Https://s3.amazonaws.com/0W6GQ7E1ZFEHHTW1F082/downloads/X-Lite_Win32_1006e_34025.exe
2. Run x-lite_win32_1006e_34025.exe to install the tool.
3. Run X-lite.
4. Right-click the main interface and select "sip accounts settiings" from the menu to go to the account configuration page.
5. Click "add" to add an account. The display name is: 300, the user name is: 300, the password is: 300, the authorization user name is: 300, and the domain is: 10.108.20.188. Hook "register with domain and receive incoming CILS", select "Domain" for "Send outbound via", and click "OK ".
6. The default value of this account is enabled ., Click "close ".
300 the logon is successful.
8. Call yourself. Enter the number: 300, and then dial.
9. receive the call.
10. log output on the Linux console:
11. query call logs on the web page.
E. Install the asterisk-im plug-in.
1. download the latest plug-in Asterisk-im 1.2 beta,
Http://www.igniterealtime.org/projects/wildfire/plugins-beta/asterisk-im.jar
2. Install the plug-in, but since the database I use is Oracle, the scripts in the plug-in only update the MySQL
Therefore, you need to manually change the MySQL script to Oracle for execution, mainly to change the field type bigint to number.
Copy the asterisk-im.jar to D: \ XMPP \ wildfire \ plugins (this is a long time ).
3. Start wildfire.
F. Configure asterisk-im Parameters
Add the management account config edit in trixbox and edit manager. conf.
Added:
[Wildfire]
Secret = mypass
Allow = 10.108.20.1.1/255.255.0.0
Read = system, call, log, verbose, command, agent, user
Write = system, call, log, verbose, command, agent, user
Configure in wildfire.
2. Open http: // 10.108.20.198: 9090/plugins/asterisk-im/phone-settings.jsp
Add Server,
The server name must be asterisk1.local (that is, the host name in the VM of the VMware image .)
Server address: 10.108.20.188
Port: 5038
Username: Wildfire
Password: mypass
After successful addition, configure phone Manager
Drop-down device Selection: hook with yes
Asterisk context: From-Internal
Click Save.
The green icon indicates that the connection is successful.
Then map the phone number to phone ings.
You can call the other party in the XMPP client spark, or directly enter the phone number for the call.