Académique Documents
Professionnel Documents
Culture Documents
AC48x
AC48x CPE VoIP Toolkit Demo Guide for PMC Reference Design
Version 2.6.1
Document #: LTRT-77606
Contents
Table of Contents
1 2 3 4 About the AC48x CPE VoIP Toolkit............................................................................ 7
1.1 PMC Reference Design .....................................................................................................7
AC48x CPE VoIP Toolkit Demo Requirements.......................................................... 9 Setting Basic Parameters to PAS6x01 EDK ............................................................ 11 Running the SIP Application .................................................................................... 13
4.1 Preparing the Configuration File ......................................................................................13 4.1.1 Connecting to a Proxy Server ............................................................................................13 4.1.2 Connecting In a Direct Call Mode ......................................................................................15 4.2 Using the Management Sample Application ....................................................................18 4.3 Running the SIP Application Directly with Configuration File ..........................................19 4.4 Setting up a Remote Gateway .........................................................................................19 4.5 Test Environment and Setup ...........................................................................................20 4.6 Demo Procedure..............................................................................................................20 4.6.1 Using Flash-only Key Sequence Style...............................................................................20 4.5.2.1 Making an Outgoing Call ....................................................................................20 4.5.2.1 Making an Incoming Call ....................................................................................21 4.5.2.1 Call Hold .............................................................................................................21 4.5.2.1 Call Transfer .......................................................................................................21 4.5.2.1 Semi Attended Transfer .....................................................................................21 4.5.2.1 Call Waiting ........................................................................................................22 4.5.2.1 Call Forwarding ..................................................................................................22 4.5.2.1 Caller ID ..............................................................................................................22 4.5.2.1 Three Way Conference ......................................................................................23 4.6.2 Using Flash + Digit Key Sequence Style ...........................................................................24 4.5.2.1 Making an Outgoing Call ....................................................................................24 4.5.2.1 Making an Incoming Call ....................................................................................24 4.5.2.1 Call Hold .............................................................................................................24 4.5.2.1 Call Transfer .......................................................................................................25 4.5.2.1 Semi Attended Transfer .....................................................................................25 4.5.2.1 Call Waiting ........................................................................................................25 4.5.2.1 Call Forwarding ..................................................................................................26 4.5.2.1 Caller ID ..............................................................................................................26 4.5.2.1 Three-Way Conference ......................................................................................27
Version 2.6.1
October 2008
List of Figures
Figure 3-1: Setting IP Address and Network Mask .......................................................................................... 11 Figure 3-2: Opening the Marvell Switch ........................................................................................................... 12 Figure 3-3: Setting the Default Gateway .......................................................................................................... 12 Figure 4-1: Downloading VoIPCfgFile_Proxy_cvt_improved_appl.cfg.............................................................15 Figure 4-2: Downloading VoIPCfgFile_Direct_cvt_improved_appl.cfg ............................................................17 Figure 4-3: Layout of Test Site ......................................................................................................................... 20 Figure A-1: Tulip VoIP Gateway Quick Setup Page ........................................................................................ 29 Figure A-2: Tulip VoIP Gateway Remote Administration Page .......................................................................30 Figure A-3: Tulip VoIP Gateway Line Settings Line 1 .................................................................................. 31 Figure A-4: Tulip VoIP Gateway Line Settings Line 2 .................................................................................. 31 Figure A-5: Tulip VoIP Gateway Signaling Protocol ........................................................................................ 32 Figure A-6: Tulip VoIP Gateway Signaling Protocol ........................................................................................ 33 Figure A-7: Tulip VoIP Gateway Speed Dial ................................................................................................... 33
Document #: LTRT-77606
Notices
Notice
This is the AC48x CPE VoIP Toolkit Demo Guide for PMC Reference Design. Information contained in this document is believed to be accurate and reliable at the time of printing. However, due to ongoing product improvements and revisions, AudioCodes cannot guarantee accuracy of printed material after the Date Published nor can it accept responsibility for errors or omissions. Updates to this document and other documents can be viewed by registered customers at www.audiocodes.com/support. Copyright 2008 AudioCodes Ltd. All rights reserved. This document is subject to change without notice. Refer to the current release notes that may be included with your documentation or hardware delivery. Date Published: Oct-26-2008 Date Printed: Oct-28-2008 Tip: When viewing this manual on CD, Web site or on any other electronic copy, all cross-references are hyperlinked. Click on the page or section numbers (shown in blue) to reach the individual cross-referenced item directly. To return back to the point from where you accessed the cross-reference, press Alt + .
Trademarks
AC logo, Ardito, AudioCoded, AudioCodes, AudioCodes logo, CTI, CTI Squared, InTouch, IPmedia, Mediant, MediaPack, MP-MLQ, NetCoder, Netrake, Nuera, Open Solutions Network, OSN, Stretto, 3GX, TrunkPack, VoicePacketizer, VoIPerfect, What's Inside Matters, Your Gateway To VoIP, are trademarks or registered trademarks of AudioCodes Limited. All other products or trademarks are the property of their respective owners.
WEEE EU Directive
Pursuant to the WEEE EU Directive, electronic and electrical waste must not be disposed of with unsorted waste. Please contact your local recycling authority for disposal of this product.
Customer Support
Customer technical support and service are provided by AudioCodes Distributors, Partners, and Resellers from whom the product was purchased. For Customer support for products purchased directly from AudioCodes, contact support@audiocodes.com.
Conventions
The commands viewed after entering help when the standard VT100 terminal emulation program is in monitor mode, are displayed in this document in Courier New font.
Related Documentation
Document # LTRT-77307 LTRT-77706 Document Name VoIPerfect CPE VoIP Toolkit Release Notes VoIPerfect CPE VoIP Toolkit Programmer's Guide
Version 2.6.1
October 2008
Document #: LTRT-77606
1.1
Version 2.6.1
October 2008
Document #: LTRT-77606
AudioCodes Tulip VoIP Gateway. PC connected to the EDK with RS-232 serial cable. At least two regular analog phones connected to the RJ-11 connectors on the EDK and to the RJ-11 connectors on the Tulip VoIP Gateway. An Ethernet hub or switch connected to the RJ-45 connectors on the EDK and the Tulip VoIP Gateway. AC48x CPE VoIP Toolkit Documentation.
Version 2.6.1
October 2008
10
Document #: LTRT-77606
6.
Version 2.6.1
11
October 2008
Guide for PMC Reference Design 7. In the passhell, drag and drop the next script into the terminal: Periph mdio write 0x1a 1 0x203e write 0x1a 4 0x77 write 0x10 4 0x77 write 0x11 4 0x77 write 0x12 4 0x77 write 0x13 4 0x7 exit Figure 3-2: Opening the Marvell Switch
8.
Run the following command: ip route add default via <ipaddr> Figure 3-3: Setting the Default Gateway
12
Document #: LTRT-77606
The demo can be configured using one of the following: A SIP proxy server (refer to Section 4.1.1 on page 13) Direct SIP calls (refer to Section 4.1.2 on page 15)
4.1
4.1.1
Version 2.6.1
13
October 2008
Guide for PMC Reference Design For example: EDK board with IP address: 10.16.2.76. Two analog phones connected to the board: Line 1 phone number is 123, user name for registration is user1, password for registration is 123456. Line 2 phone number is 124, user name for registration is user2, password for registration is 654321.
Registrar IP address is 10.16.2.19, listens on port 5060. Proxy IP address is 10.16.2.19, listens on port 5060. Coders must be prioritized in the following order: 1. G.711 U-law coder 2. G.711 A-law coder 3. G.729 4. G.723 6.3 kbit/s 5. G.726 32 kbit/s Speed dial must be configured: *01 must be directed to 100000@<Proxy IP address>.
# Basic parameters for identifying the users local_ip_address=10.16.10.76 voip/line/0/id=123 voip/line/0/auth_name= user1 voip/line/0/auth_password=123456 voip/line/1/id=124 voip/line/1/auth_name= user2 voip/line/1/auth_password=654321 # Vocoders voip/codec/0/enabled=1 voip/codec/0/name=PCMU voip/codec/0/ptime=20 voip/codec/1/enabled=1 voip/codec/1/name=PCMA voip/codec/1/ptime=20 voip/codec/2/enabled=1 voip/codec/2/name=G729 voip/codec/2/ptime=20 voip/codec/3/enabled=1 voip/codec/3/name=g723 voip/codec/3/bit_rate_hi=1 voip/codec/3/ptime=30 voip/codec/4/enabled=1 voip/codec/4/name=g726-32 voip/codec/4/ptime=20 # Proxy and Registrar Parameters voip/signalling/sip/port=5060 voip/signalling/sip/proxy_address=10.16.2.19 voip/signalling/sip/proxy_port=5060 voip/signalling/sip/proxy_timeout=3600 voip/signalling/sip/sip_registrar/enabled=1 voip/signalling/sip/sip_registrar/port=5060 voip/signalling/sip/sip_registrar/addr=10.16.2.19 # Phone Book Configuration voip/phonebook/0/number=*01 voip/phonebook/0/destination_type=proxy voip/phonebook/0/user_id=100000
14
Document #: LTRT-77606
AC48x CPE VoIP Toolkit Demo 1. 2. Copy this file to your FTP host directory.
In the target terminal, change to directory /var/ftp, and then download the file using an FTP utility. Figure 4-1: Downloading VoIPCfgFile_Proxy_cvt_improved_appl.cfg
4.1.2
Version 2.6.1
15
October 2008
Guide for PMC Reference Design For example: EDK board with IP address 10.16.2.76. Two analog phones connected to the board: Line 1 phone number is 123. Line 2 phone number is 124.
Coders must be prioritized in the following order: 1. G.729 2. G.711 U-law coder 3. G.723 5.3 kbit/s 4. G.726 32 kbit/s 5. G.711 A-law coder Internal calls can be made between the two lines. Calls can be established with remote endpoints: user id 489 located at IP address 10.16.2.50, and user id 777 located at IP address 10.16.2.69.
# Basic parameters for identifying the users local_ip_address=10.16.2.76 voip/line/0/id=123 voip/line/1/id=124 # Vocoders voip/codec/0/enabled=1 voip/codec/0/name=G729 voip/codec/0/ptime=20 voip/codec/1/enabled=1 voip/codec/1/name=PCMU voip/codec/1/ptime=20 voip/codec/2/enabled=1 voip/codec/2/name=g723 voip/codec/2/bit_rate_hi=0 voip/codec/2/ptime=20 voip/codec/3/enabled=1 voip/codec/3/name=g726-32 voip/codec/3/ptime=20 voip/codec/4/enabled=1 voip/codec/4/name=PCMA voip/codec/4/ptime=20 # Proxy and Registrar Parameters voip/signalling/sip/sip_registrar/enabled=0 voip/signalling/sip/use_proxy=0 # Phone Book Configuration voip/phonebook/0/number=489 voip/phonebook/0/destination_type=direct voip/phonebook/0/user_id=489 voip/phonebook/0/user_address=10.16.10.50 voip/phonebook/0/user_port=5060 voip/phonebook/1/number=777 voip/phonebook/1/destination_type=direct voip/phonebook/1/user_id=777 voip/phonebook/1/user_address=10.16.10.69 voip/phonebook/1/user_port=5060 voip/phonebook/2/number=123 voip/phonebook/2/destination_type=local voip/phonebook/2/local_line=0 voip/phonebook/3/number=124 voip/phonebook/3/destination_type=local voip/phonebook/3/local_line=1 1. 2. Copy this file to your FTP host directory. In the target terminal, change to directory /var/ftp, and then download the file using an FTP utility.
16
Document #: LTRT-77606
Version 2.6.1
17
October 2008
4.2
Using the sample application CLI commands: /* Downloading the configuration file via FTP */ ./usr/bin/audiocodes/apps/mng_sample_appl VoIP >> VoIP >> open open connection VoIP >> run var/ftp/VoIPCfgFile.cfg . . /* The VoIP application is loading */ . VoIP >> exit /* Downloading the new configuration file via FTP */ ./usr/bin/audiocodes/apps/mng_sample_appl VoIP >> open open connection VoIP >> config var/ftp/new_VoIPCfgFile.cfg . . /* The VoIP application is reloading */ . VoIP >> VoIP >> get_port_count Number of existing ports is: 2 VoIP >> VoIP >> VoIP >> get_port_status 1 Port status of channel 1 is: PORT_UNLOCK VoIP >> VoIP >> VoIP >> set_port_status 1 0 Setting port status of channel 1 to: PORT_LOCK VoIP >> VoIP >> set_port_status 1 1 Setting port status of channel 1 to: PORT_UNLOCK VoIP >>
18
Document #: LTRT-77606
4.3
Note:
4.4
Version 2.6.1
19
October 2008
4.5
Ethernet
Hub/Switch
PON/Ethernet
EDK Reference Design 2 1
4.6
Demo Procedure
The AC48x CPE VoIP Toolkit supports two key sequence styles: Flash-only Flash + digit The demo procedures for these two styles are described in the following subsections.
4.6.1
4.5.2.1
Step 1. 2. 3. 4.
20
Document #: LTRT-77606
4.5.2.1
Step 1. 2. 3. 4.
4.5.2.1
Step 1. 2. 3. 4.
Call Hold
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. From Tulip Channel 2, dial the number of the EDK Channel 1 to establish a call. Use Flash to switch between the two calls (multi line). On-Hook all phones. Expected Results Call established. Receive an incoming call and establish a call. Successful switching between the calls.
4.5.2.1
Step 1. 2. 3. 4.
Call Transfer
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. Press Flash Dial the number of EDK Channel 2 to establish a call. On-hook EDK Channel 1. Expected Results Call established. Dial tone received. Call established. Call is established between Tulip VoIP Gateway's Channel 1 and EDK Channel 2.
4.5.2.1
Step 1. 2. 3. 4. 5.
Version 2.6.1
21
October 2008
4.5.2.1
Step 1. 2. 3. 4. 5.
Call Waiting
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. On EDK Channel 1, press Flash. Use Flash to switch between the two calls (multi line). On-Hook all phones. Expected Results Call established. A call waiting tone is played on EDK Channel 1. The call is switched to the call waiting. Successful switching between the calls.
4.5.2.1
Call Forwarding
Call forwarding is disabled by default. To enable it, refer to the AC48x CPE VoIP Toolkit Programmer's Guide (Configuring Services Parameters).
Step 1. 2. 3. 4. 5.
Description From EDK Channel 1, dial the call forward key sequence, for example: *72. From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1. On-hook EDK Channel 1. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. From now on, all incoming calls are forwarded. Each time you off-hook EDK Channel 1, the Stutter tone is heard, notifying you that call forwarding is still active. To disable call forwarding, off-hook EDK Channel 1 (Stutter tone is heard) and then dial the call forward key sequence (e.g *72). On-hook EDK Channel 1.
6. 7.
4.5.2.1
Step 1.
Caller ID
Description From Tulip VoIP Gateway's Channel 1, dial the number of EDK Channel 1. Off-hook EDK Channel 1. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. Expected Results Caller ID appears on EDK Channel 1 analog phone screen. Call established. A call waiting tone is played on EDK Channel 1 and Tulip VoIP Gateway's Caller ID is shown on EDK Channel 1 analog phone screen. The call is switched to the waiting call.
2. 3.
4.
22
Document #: LTRT-77606
4.5.2.1
Step 1. 2.
3. 4. 5.
Dial the number of Tulip VoIP Gateway's Channel 2 to establish a call. Press Flash to enable three-way conferencing. On-Hook one of the Tulip VoIP Gateway Channels.
Call remains between EDK Channel 1 and the second Channel of the Tulip VoIP Gateway.
Note:
On AC48802 DSP template, three-way conferencing can only be achieved between a local port and two remote IPs.
Version 2.6.1
23
October 2008
4.6.2
4.5.2.1
Step 1. 2. 3. 4.
4.5.2.1
Step 1. 2. 3. 4.
4.5.2.1
Step 1. 2.
Call Hold
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. On EDK Channel 1, press Flash + '1'. Expected Results Call established. Tulip VoIP Gateway's Channel 1 is on hold and a dial tone is heard on EDK Channel 1. Call established. Successful switching between the calls.
3. 4. 5.
Dial the number of Tulip VoIP Gateway's Channel 2 to establish a call. Use Flash + '1' to switch between the two calls (multi line). On-Hook all phones.
24
Document #: LTRT-77606
4.5.2.1
Step 1. 2. 3. 4.
Call Transfer
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. Press Flash + '1'. Dial the number of EDK Channel 2 to establish a call. Press Flash + '2'. Expected Results Call established. Dial tone received. Call established. Call is established between Tulip VoIP Gateway's Channel 1 and EDK Channel 2.
4.5.2.1
Step 1. 2. 3. 4. 5.
4.5.2.1
Step 1. 2. 3. 4. 5.
Call Waiting
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. On EDK Channel 1 press Flash + '1'. Use Flash + '1' to switch between the two calls (multi line). On-Hook all phones. Expected Results Call established. A call waiting tone is played on EDK Channel 1. The call is switched to the call waiting. Successful switching between the calls.
Version 2.6.1
25
October 2008
4.5.2.1
Call Forwarding
Call forwarding is disabled by default. To enable it, refer to the AC48x CPE VoIP Toolkit Programmer's Guide (Configuring Services Parameters).
Step 1. 2. 3. 4. 5.
Description From EDK Channel 1, dial the call forward key sequence, for example: *72. From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1. On-hook EDK Channel 1. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. From now on, all incoming calls are forwarded. Every time you off-hook EDK Channel 1, the Stutter tone is heard, notifying you that call forwarding is still active. To disable call forwarding, off-hook EDK Channel 1 (Stutter tone is heard) and then dial the call forward key sequence (e.g *72). On-hook EDK Channel 1.
6. 7.
4.5.2.1
Step 1.
Caller ID
Description From Tulip VoIP Gateway's Channel 1, dial the number of EDK Channel 1. Off-hook EDK Channel 1. From Tulip VoIP Gateway's Channel 2, dial the number of EDK Channel 1. Expected Results Caller ID appears on EDK Channel 1 analog phone screen. Call established. A call waiting tone is played on EDK Channel 1 and Tulip VoIP Gateway's Caller ID is shown on EDK Channel 1 analog phone screen. The call is switched to the waiting call.
2. 3.
4.
26
Document #: LTRT-77606
4.5.2.1
Step 1. 2.
Three-Way Conference
Description From EDK Channel 1, dial the number of Tulip VoIP Gateway's Channel 1 to establish a call. On EDK Channel 1, press Flash + '1'. Expected Results Call established. Tulip VoIP Gateway's Channel 1 is on hold and a dial tone is heard on EDK Channel 1. Call established.
3. 4. 5.
Dial the number of Tulip VoIP Gateway's Channel 2 to establish a call. Press Flash + '3 to enable three-way conferencing. On-Hook one of the Tulip VoIP Gateway Channels.
Call remains between EDK Channel 1 and the second Channel of the Tulip VoIP Gateway.
Note:
On AC48802 DSP template, three-way conferencing can only be achieved between a local port and two remote IPs.
Version 2.6.1
27
October 2008
28
Document #: LTRT-77606
A
A.1
3.
In the Advanced page, click Remote Administration, and then configure the following parameters: a. b. c. Check the Using Primary Telnet Port (23) check box. Check the Using Primary HTTP Port (80) check box. Click OK.
Version 2.6.1
29
October 2008
Guide for PMC Reference Design Figure A-2: Tulip VoIP Gateway Remote Administration Page
4. 5.
Disconnect the PC from the Tulip VoIP Gateways LAN/PC port, and then connect it to the hub/switch. In your Web browser, enter the IP address of the Tulip VoIP Gateway.
30
Document #: LTRT-77606
A.2
Version 2.6.1
31
October 2008
A.2.1
3.
Click OK.
32
Document #: LTRT-77606
A.2.2
2.
Click the tab Speed Dial, click the Action icon on the right, and then configure the appropriate parameters for each remote endpoint lines. Figure A-7: Tulip VoIP Gateway Speed Dial
3.
Click OK.
Version 2.6.1
33
October 2008
AC48x
AC48x CPE VoIP Toolkit Demo Guide for PMC Reference Design
Version 2.6.1
www.audiocodes.com