You are here: CSP Developer’s Guide: Internet Protocol > 6 Call Agent > Sample Configuration File for Call Agent
Sample Configuration File for Call Agent
Overview
The sample configuration file in this section accomplishes the following.
• Assigns logical node ID
• Deletes existing spans
• Enables a virtual span license
• Enables a SIP license
• Enables a Call Agent license
• Enable an RFC 2833 multi-unicast license
• Deletes VDAC IP address
• Assigns a VDAC IP address
• Assigns VDAC-based logical spans
• Configures route and resource tables
• Brings spans into service
• Brings channels into service
• Makes virtual spans operational
• Configures the SIP protocol with Call Agent mode
• Enables local registration lookup
• Configure RFC 2833 VoIP protocol
Spans in this file
This file configures three spans for Call Agent as follows.
• Span 6 - VDAC
• Span 7 - Virtual VDAC
• Span 8 - Virtual T-ONE
Fifteen channels are made routable on each span.
Configuration File
(Best viewed in PDF file)
'---------------------------------------------------------------------------
'---------------------------------------------------------------------------
' Assign Logical Node ID
'---------------------------------------------------------------------------
' _logical_node_id
' |
'00 0e 00 10 00 00 ff 00 01 10 05 00 00 1a df ff
'---------------------------------------------------------------------------
' Delete currently assigned spans
'---------------------------------------------------------------------------
00 0d 00 a8 00 00 ff 00 01 11 04 ff ff ff ff
'---------------------------------------------------------------------------
' Enable software license for Virtual Spans (for shelf serial # 00 00 02 3b)
'---------------------------------------------------------------------------
00 19 00 79 00 00 ff 01 02 24 10 30 37 42 4a 43 34 38 49 30 41 33 55 58 4f 36 53
'---------------------------------------------------------------------------
' Enable software license for SIP (for shelf serial # 00 00 02 3b)
'---------------------------------------------------------------------------
00 19 00 79 00 00 ff 01 02 24 10 30 38 42 4a 43 34 38 49 30 42 32 34 54 50 4f 4b
'---------------------------------------------------------------------------
' Enable software license for Call Agent (for shelf serial # 00 00 02 3b)
'---------------------------------------------------------------------------
00 19 00 79 00 00 ff 01 02 24 10 30 39 42 4a 43 34 38 49 30 41 33 44 4c 4e 36 38
'---------------------------------------------------------------------------
' Enable software license for 2833 multi-unicast (for shelf serial # 00 00 02 3b)
'---------------------------------------------------------------------------
00 19 00 79 00 00 ff 01 02 24 10 30 41 42 4a 43 34 38 49 30 42 34 31 35 54 4d 53
'---------------------------------------------------------------------------
' Delete IP addresses assigned to VDAC-1 modules and mother board
'---------------------------------------------------------------------------
' _ VDAC slot #
' |
00 45 00 e7 00 00 ff 00 01 01 01 02 00 06 \
01 09 ff ff ff ff ff ff ff ff 00 \ ' mother board; IP address, Subnet mask
01 09 00 ff ff ff ff ff ff ff 00 \ ' module 0
01 09 01 ff ff ff ff ff ff ff 00 \ ' module 1
01 09 02 ff ff ff ff ff ff ff 00 \ ' module 2
01 09 03 ff ff ff ff ff ff ff 00 \ ' module 3
02 00 ' engage IP action
'---------------------------------------------------------------------------
' Assign IP addresses to VDAC-1 modules and mother board
'---------------------------------------------------------------------------
' _ VDAC slot #
' |
00 4c 00 e7 00 00 ff 00 01 01 01 02 00 07 \
01 09 ff 10 10 10 02 ff ff ff 00 \ ' mother board; IP address, Subnet mask
01 09 00 10 10 10 03 ff ff ff 00 \ ' module 0
01 09 01 10 10 10 04 ff ff ff 00 \ ' module 1
01 09 02 10 10 10 05 ff ff ff 00 \ ' module 2
01 09 03 10 10 10 06 ff ff ff 00 \ ' module 3
05 05 05 10 10 10 01 \ ' IP gateway for all boards
02 00 ' engage IP action
'---------------------------------------------------------------------------
' Assign VDAC-1 based logical spans
'---------------------------------------------------------------------------
' logical_span_id_msb_ _lsb
' | | _slot
' | | | _physical_span_offset
' | | | |
00 0d 00 a8 00 00 ff 00 01 11 04 00 06 02 04
'---------------------------------------------------------------------------
' Assign VDAC and T1 virtual spans
' - assign virtual slot
' - assign a logical span on the virtual slot
'---------------------------------------------------------------------------
' board type = d2 = 16 span virtual T1
' board type = 80 = 32 Span Virtual VoIP
'
' VIRTUAL VDAC
'
virtual slot
' TLVs /
' null To TLV Len /
AIB flw Len Type / / board type
__|__ | | | / / /
00 0d 00 e0 00 00 ff 00 00 01 01 01 02 40 80
'
' _slot
' |
00 0d 00 a8 00 00 ff 00 01 11 04 00 07 40 00
'
' VIRTUAL T1
' _virtual slot
' | _board type
' | |
00 0d 00 e0 00 00 ff 00 00 01 01 01 02 41 d2
'
' _slot
' |
00 0d 00 a8 00 00 ff 00 01 11 04 00 08 41 00
'---------------------------------------------------------------------------
' Configure route and resource tables
'---------------------------------------------------------------------------
' Route_Table
00 21 00 d5 00 00 ff 00 64 03 01 00 00 00 67 72 6f 75 74 65 72 5f 74 61 62 6c 65 00 00 00 00 00 00 00 00
00 30 00 d6 00 00 ff 00 64 03 01 00 01 80 02 00 01 00 04 27 17 03 00 09 03 06 00 00 00 00 00 09 0f 00 02 00 0d 00 15 00 02 00 02 00 63 00 03 01 00 01
00 29 00 d6 00 00 ff 00 64 03 01 00 02 c0 01 00 01 00 01 00 65 01 00 02 00 00 00 02 00 0d 00 15 00 02 00 01 00 63 00 03 01 00 02
00 29 00 d6 00 00 ff 00 64 03 01 00 03 c0 01 00 01 00 02 00 71 01 00 02 00 00 00 02 00 0d 00 15 00 02 00 02 00 63 00 03 01 00 03
' Resource_Group_Table
00 21 00 d5 00 00 ff 00 64 04 01 00 00 00 48 72 65 73 2f 67 72 6f 75 70 20 74 61 62 6c 65 00 00 00 00 00
00 37 00 d6 00 00 ff 00 64 04 01 00 01 00 01 00 01 00 01 00 0c 01 02 0d 03 00 06 00 0d 03 00 06 0f 00 03 00 14 01 68 00 04 10 10 10 03 01 00 00 02 00 01 01 01 00 02 00 01
00 23 00 d6 00 00 ff 00 64 04 01 00 02 00 01 00 01 00 01 00 0c 01 02 0d 03 00 07 00 0d 03 00 07 0f 00 00 00 00
'---------------------------------------------------------------------------
' Bring logical spans in service
'---------------------------------------------------------------------------
00 0b 00 0a 00 00 ff 00 01 0c 02 00 06 f0
00 0b 00 0a 00 00 ff 00 01 0c 02 00 07 f0
00 0b 00 0a 00 00 ff 00 01 0c 02 00 08 f0
'---------------------------------------------------------------------------
' Bring channels in service
'---------------------------------------------------------------------------
00 12 00 0a 00 00 ff 01 02 0d 03 00 06 00 0d 03 00 06 1f f0
00 12 00 0a 00 00 ff 01 02 0d 03 00 07 00 0d 03 00 07 0f f0
00 12 00 0a 00 00 ff 01 02 0d 03 00 08 00 0d 03 00 08 0f f0
'---------------------------------------------------------------------------
' Make virtual spans operational
'---------------------------------------------------------------------------
' ____virtual_span_id
' | |
00 0e 00 e2 00 00 ff 00 01 0c 02 00 07 00 01 00
00 0e 00 e2 00 00 ff 00 01 0c 02 00 08 00 01 00
'---------------------------------------------------------------------------
' Configure VoIP protocol (SIP)
' w/ call agent mode turned on
'---------------------------------------------------------------------------
00 1e 00 ee 00 00 ff 00 00 00 00 04 01 c8 00 01 04 02 6a 00 01 04 02 6b 00 \
01 02 01 15 00 01 01
'---------------------------------------------------------------------------
' Configure local registration lookup
'---------------------------------------------------------------------------
00 14 00 ee 00 00 ff 00 00 00 00 02 01 c8 00 01 04 02 79 00 01 01
'---------------------------------------------------------------------------
' Configure RFC 2833 for Call Agent
'---------------------------------------------------------------------------
00 2c 00 ee 00 00 ff 00 00 00 00 \ 'voip config
06 \ 'number of tlvs
01 c8 00 01 06 \ 'protocol type (2833)
01 ed 00 02 00 80 \ 'jitter buffer size (80 milliseconds)
01 ee 00 02 00 10 \ 'invalid packet limit
01 ef 00 02 27 10 \ 'initial udp port #
01 f0 00 02 00 10 \ 'num udp ports = 16
01 f1 00 01 65 'dynamic payload type