VoIP gateway Training Guide

Transcription

VoIP gateway Training Guide
AddPac VoIP Products
VoIP gateway Training Guide
Nov. 2005
Technical Support Team
Phone (02) 568 3848 (2000 ~ 2006)
FAX (02) 568 3847
[email protected]
AddPac Technology
www.addpac.com
VoIP Training Guide
1
Index
Chapter
Chapter 11 Introduce
Introduce AddPac
AddPac VoIP
VoIP gateway
gateway
••
••
••
••
••
1.
1. AddPac
AddPac VoIP
VoIP Gateway
Gateway Hardware
Hardware
2.
2. AddPac
AddPac VoIP
VoIP Gateway
Gateway Feature
Feature
3.
3. IP
IP Network
Network Configuration
Configuration
4.
4. VoIP
VoIP Network
Network Configuration
Configuration
5.
Voice
Interface
5. Voice Interface Configuration
Configuration
Chapter
Chapter 22 Basic
Basic and
and Advanced
Advanced Configuration
Configuration
••
••
••
••
••
••
1.
1. Redundant
Redundant Trunk
Trunk Gateway.
Gateway.
2.
2. Policy
Policy for
for poor
poor VoIP
VoIP network
network
3.
Number
Plan
3. Number Plan
4.
4. PSTN
PSTN Backup
Backup by
by busyout
busyout
5.
5. Number
Number Translation
Translation
6.
The
solution
6. The solution for
for FXO
FXO port
port block
block
Chapter
Chapter 33 Trouble
Trouble shooting
shooting
••
••
••
1.
1. Trace
Trace Flow
Flow
2.
2. Debugging
Debugging command.
command.
3.
Call
trace
3. Call trace
Chapter
Chapter 44 Configuration
Configuration Example
Example
••
••
1.
1. IP
IP Telephony
Telephony Network
Network with
with ITSP
ITSP
2.
2. GK
GK routed
routed Call
Call and
and direct
direct call
call with
with ITSP
ITSP between
between Head
Head Quarter
Quarter and
and branch
branch office
office
www.addpac.com
VoIP Training Guide
2
Chapter 1 Introduce AddPac VoIP Gateway
VoIP
VoIP gateway
gateway Function
Function
•• AddPac
AddPac VoIP
VoIP Gateway
Gateway Hardware
Hardware
•• AddPac
AddPac VoIP
VoIP Gateway
Gateway feature
feature
•• IP
IP Network
Network configuration
configuration
•• VoIP
VoIP Network
Network configuration
configuration
•• Voice
Voice Interface
Interface configuration
configuration
www.addpac.com
VoIP Training Guide
3
AddPac VoIP Gateway hardware
- (1/2) -
Common
Common Feature
Feature
22 of
of 10
10 or
or 100
100 Base
Base TT Ethernet
Ethernet Interface
Interface
RJ45
RJ45 Asynchronous
Asynchronous Console
Console Interface
Interface
Native
Native Analog
Analog Port
Port model
model –– FXS/FXO
FXS/FXO only
only
1/2
1/2 port
port gateway
gateway
AP200
AP200 Series
Series (Basic)
(Basic)
AP300
Series
(2
AP300 Series (2 of
of 100M
100M fast
fast Ethernet)
Ethernet)
4/8
port
gateway
4/8 port gateway
AP1000
AP1000 (FXS4)
(FXS4)
AP1002
AP1002 (FXS2O2)
(FXS2O2)
AP1005
(FXO8)
AP1005 (FXO8)
AP1100(F)
AP1100(F)
AP1200
AP1200
www.addpac.com
VoIP Training Guide
4
AddPac VoIP Gateway hardware
- (2/2) -
Slot
Slot type
type model
model (FXO/FXS/E&M/E1/T1)
(FXO/FXS/E&M/E1/T1)
Analog
Analog (FXS/FXO//E&M)
(FXS/FXO//E&M)
11 slot
slot == 44 port
port (( 2120
2120 is
is 11 slot
slot == 88 port)
port)
Digital
Digital
11 slot
slot == 11 port
port (( MG3000
MG3000 is
is 11 slot
slot == 22 E1)
E1)
11 slot
slot
AP2110
AP2110 (1
(1 slot
slot ++ FXS
FXS 44 static)
static)
22 slot
slot
AP2120
AP2120 (8
(8 channel
channel *2
*2 slot)
slot) –– analog
analog only
only
AP2520
AP2520 (Basic)
(Basic)
AP2620
AP2620 (2
(2 of
of 100M
100M fast
fast Ethernet)
Ethernet)
AP2830
(VoIP
gateway
+
AP2830 (VoIP gateway + ATM
ATM router)
router)
44 slot
slot
AP2850
AP2850 (VoIP
(VoIP gateway
gateway ++ ATM
ATM router)
router)
15
15 slot
slot
AP3100
AP3100 (4channel
(4channel ** 15slot)
15slot) –– analog
analog only
only
www.addpac.com
VoIP Training Guide
5
AddPac VoIP Gateway Feature
- WAN/LAN/Routing Service Protocol (1/3) WAN/LAN
WAN/LAN Protocol
Protocol
•• PPPoE
PPPoE Server
Server &
& Client
Client
•• DHCP
DHCP Server
Server &
& Client
Client
•• 802.1Q
802.1Q VLAN
VLAN Tagging
Tagging
•• Transparent
Transparent Bridge
Bridge for
for Ethernet
Ethernet
•• Transparent
Transparent Bridge
Bridge for
for PPPoE
PPPoE
•• PPTP
PPTP
www.addpac.com
VoIP Training Guide
6
AddPac VoIP Gateway Feature
- WAN/LAN/Routing Service Protocol (2/3) Routing
Routing Protocol
Protocol
•• Static
Static Routing
Routing
•• RIP
RIP Version
Version 1,
1, Version
Version 22
•• OSPF
OSPF Version
Version 22
•• Source
Source Based
Based Routing
Routing Supported
Supported
www.addpac.com
VoIP Training Guide
7
AddPac VoIP Gateway Feature
- WAN/LAN/Routing Service Protocol (3/3) Other
Other Scalability
Scalability
•• OoS
OoS Based
Based Priority
Priority &
& Bandwidth
Bandwidth control
control
•• NTP
NTP
•• ProxyDNS
ProxyDNS Server
Server
••
DNS
DNS Client
Client
•• NAT/PAT/IP
NAT/PAT/IP Share
Share Function
Function
•• Stacking
Stacking
•• Auto
Auto Upgrade/Configure
Upgrade/Configure via
via VPMS
VPMS
•• IP
IP TOS
TOS
www.addpac.com
VoIP Training Guide
8
AddPac VoIP Gateway Feature
- Management & Security Functions Management
Management &
& Security
Security
•• Standard/Extended
Standard/Extended Access
Access List
List for
for Packet
Packet filtering
filtering
•• Telnet/FTP
Telnet/FTP Access
Access Control
Control
•• Account
Account List
List
•• Command/Event/Call
Command/Event/Call Logging
Logging and
and support
support Syslog
Syslog
•• SNMP
SNMP Agent
Agent (MIB
(MIB V2)
V2) and
and enterprise
enterprise MIB
MIB
•• Telnet
Telnet Server
Server &
& Client
Client
•• FTP
FTP Server
Server &
& Client
Client
•• WEB
WEB Based
Based Management
Management
•• Multi-Level
Multi-Level User
User account
account management
management
•• Web
Web Base
Base Management
Management
www.addpac.com
VoIP Training Guide
9
AddPac VoIP Gateway Feature
- Analog Voice Interface –
FXS
FXS
•• Ring/Tone
Ring/Tone Generation
Generation cadence
cadence Configuration
Configuration Function
Function
Dial-tone/Reorder-tone/Ring-back-tone/Busy-tone/line-lock
Dial-tone/Reorder-tone/Ring-back-tone/Busy-tone/line-lock
•• Polarity
Polarity inverse
inverse Generation
Generation
•• Caller-ID
Caller-ID Generation
Generation
Bell-core/ETSI/ETSI-DTMF
Bell-core/ETSI/ETSI-DTMF
www.addpac.com
VoIP Training Guide
10
AddPac VoIP Gateway Feature
- Analog Voice Interface –
FXO
FXO
•• Ring
Ring Detect
Detect cadence
cadence Configuration
Configuration Function
Function
•• Tone
Tone Generation
Generation cadence
cadence Function
Function
Dial-tone/Ring-back-tone(virtual-ring-back-tone)
Dial-tone/Ring-back-tone(virtual-ring-back-tone)
•• Clear-down-tone(re-order-tone)
Clear-down-tone(re-order-tone) Function
Function
Clear-down-tone
Clear-down-tone analyzing
analyzing Function
Function
•• voice
voice confirmed
confirmed connection
connection Function
Function
•• Polarity
Polarity detect
detect Function
Function
•• Caller-ID
Caller-ID Generation
Generation
Bell-core/ETSI/ETSI-DTMF
Bell-core/ETSI/ETSI-DTMF
www.addpac.com
VoIP Training Guide
11
AddPac VoIP Gateway Feature
- Analog Voice Interface–
E&M
E&M
•• E&M
E&M Type
Type 11 ~~ 55 supported
supported
By
By Jumper
Jumper Setting
Setting (default
(default == 5)
5)
•• 2/4
2/4 wire
wire method
method supported
supported
By
By Jumper
Jumper Setting
Setting (default
(default == 22 wire)
wire)
www.addpac.com
VoIP Training Guide
12
AddPac VoIP Gateway Feature
- Digital (E1/T1) Voice Interface –
Common
Common
•• E1/T1
E1/T1 Supported
Supported (different
(different Card)
Card)
•• LOS
LOS (Loss
(Loss Of
Of Signal
Signal )) LED
LED
•• clock
clock mode
mode Configuration
Configuration
internal/external
internal/external
•• PCM-A,PCM-U
PCM-A,PCM-U Configuration
Configuration
default
default :: PCMA
PCMA
•• Channel
Channel blocking
blocking
Specific
Specific channel
channel out-bound
out-bound block
block Function
Function
•• channel
channel grouping
grouping
www.addpac.com
VoIP Training Guide
13
AddPac VoIP Gateway Feature
- Digital (E1/T1) Voice Interface –
ISDN
ISDN PRI
PRI
•• Type
Type ETSI
ETSI
•• Over-lap/En-bloc
Over-lap/En-bloc
•• Dial-tone
Dial-tone
R2
R2
•• MFC/DTMF
MFC/DTMF
•• get
get Call
Call ID
ID (( MFC)
MFC)
www.addpac.com
VoIP Training Guide
14
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
General
General Feature
Feature 1/2
1/2
•• G711/G7231/G729/G726
G711/G7231/G729/G726 Codec
Codec Negotiation
Negotiation
•• T38
T38 G3
G3 FAX
FAX Relay
Relay Protocol
Protocol
•• VAD,
VAD, CNG(Comfort
CNG(Comfort Noise
Noise Generation)
Generation)
•• G.168
G.168 echo
echo cancellation
cancellation
•• DTMF
DTMF Relay
Relay
H245,
H245, RTP2833,In-band
RTP2833,In-band
•• Tone
Tone Generation
Generation
Dial-tone/Reorder-tone/Ring-back-tone/Busy-tone
Dial-tone/Reorder-tone/Ring-back-tone/Busy-tone
Clear-down-tone
Clear-down-tone analyzing
analyzing
debug
debug rta
rta voice
voice
•• Specific
Specific call/channel
call/channel out-bound
out-bound block
block function
function
•• Embedded
Embedded Gate-Keeper
Gate-Keeper
www.addpac.com
VoIP Training Guide
15
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
General
General Feature
Feature 2/2
2/2
•• Number
Number Translation
Translation
•• PLAR(Private
PLAR(Private Line
Line Auto
Auto Ring-down)
Ring-down) for
for hot
hot line
line
•• Call
Call Waiting
Waiting with
with FXO
FXO
•• announcement
announcement
•• Support
Support Radius
Radius Accounting
Accounting
•• programmable
programmable H323/SIP
H323/SIP signaling
signaling port
port
•• Backup
Backup and
and hunting
hunting when
when VoIP
VoIP Network
Network failed
failed
•• make
make limit
limit conversation
conversation time
time
•• VoIP
VoIP session
session timer에
timer에 의한
의한 call
call block
block 방지
방지
•• dynamic/static
dynamic/static jitter
jitter buffer
buffer
www.addpac.com
VoIP Training Guide
16
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
H.323
H.323 Feature
Feature 1/2
1/2
•• H.323
H.323 V2,
V2, 33
•• Codec
Codec Negotiation
Negotiation
•• Direct
Direct or
or GK
GK routed
routed Call
Call Support
Support at
at same
same time
time
•• Fast/Slow
Fast/Slow Start
Start Negotiation
Negotiation
•• H245
H245 (No)
(No) Tunneling
Tunneling Negotiation
Negotiation
•• RAI
RAI (Resource
(Resource Available
Available Indicate)
Indicate)
•• announcement
announcement
•• Support
Support Radius
Radius Accounting
Accounting
•• programmable
programmable H323/SIP
H323/SIP signaling
signaling port
port
•• minimize
minimize TCP/UDP
TCP/UDP port
port for
for VoIP
VoIP
www.addpac.com
VoIP Training Guide
17
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
H.323
H.323 Feature
Feature 2/2
2/2
•• controllable
controllable OLC
OLC channel
channel open
open timing
timing
before
before connect,
connect, after
after h245
h245 opened,
opened, after
after connect
connect
•• Selectable
Selectable H323
H323 alerting
alerting message
message
Alerting/progress/None
Alerting/progress/None
www.addpac.com
VoIP Training Guide
18
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
SIP
SIP Feature
Feature 1/2
1/2
•• SIP
SIP Version
Version 22
RFC3261,
RFC3261, RFC2653
RFC2653
•• Codec
Codec Negotiation
Negotiation
•• Direct
Direct or
or Proxy
Proxy routed
routed Call
Call Support
Support at
at same
same time
time
•• Inband/Our
Inband/Our of
of band
band DTMF
DTMF Relay
Relay
RTP2833,
RTP2833, in-band
in-band
•• register
register username
username or
or alias(e.164)
alias(e.164)
register
register each
each dial-peer
dial-peer separately
separately
•• register
register with
with authentication
authentication MD5
MD5 hash
hash algorism
algorism
•• register
register as
as Trunk
Trunk or
or end-point
end-point gateway
gateway
www.addpac.com
VoIP Training Guide
19
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
SIP
SIP Feature
Feature 2/2
2/2
•• Call
Call waiting
waiting (Call
(Call hold)
hold)
•• Call
Call forwarding
forwarding
unconditional/Conditional
unconditional/Conditional
•• Call
Call transfer
transfer
Attended/blind
Attended/blind
•• Conference
Conference call
call
•• SIP
SIP ping
ping for
for operating
operating behind
behind private
private Network.
Network.
www.addpac.com
VoIP Training Guide
20
AddPac VoIP Gateway Feature
- Voice Over IP Service Protocol –
MGCP
MGCP feature
feature
•• MGCP
MGCP Version
Version 1.0
1.0
RFC2705,
RFC2705, RFC3435
RFC3435
•• Codec
Codec Negotiation
Negotiation
•• Call-Agent
Call-Agent (MGC)
(MGC) Redirection
Redirection
•• Call
Call waiting
waiting (Call
(Call hold)
hold)
•• Local
Local Digit-map
Digit-map 저장
저장
•• Inband
Inband // Message
Message (NTFY)
(NTFY) // RTP2833
RTP2833 DTMF-Relay
DTMF-Relay
•• Codec,
Codec, VAD
VAD
•• MGCP
MGCP Service
Service port
port number
number
Local
Local UDP
UDP port
port // Call-Agent
Call-Agent (MGC)
(MGC) UDP
UDP port
port
www.addpac.com
VoIP Training Guide
21
IP Network Configuration
IP
IP Network
Network Configuration
Configuration
•• Dynamic
Dynamic IP
IP via
via ADSL
ADSL modem
modem
•• Dynamic
Dynamic IP
IP via
via Cable
Cable modem
modem
•• Static
Static IP
IP behind
behind Router
Router
•• IP
IP Share
Share
•• NAT/PAT
NAT/PAT
•• Bridge
Bridge
•• STUN
STUN Client
Client
www.addpac.com
VoIP Training Guide
22
IP Network Configuration
- Dynamic IP via ADSL modem (1/2) –
mandatory
mandatory setting
setting
LAN0
LAN0
encapsulation
encapsulation PPPoE
PPPoE
user
user ID
ID &
& password
password
Pots(VoIP)
Peer
Pots(VoIP) Peer
e.164
e.164 related
related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
LAN
LAN 11
NAT/PAT
NAT/PAT
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
23
IP Network Configuration
- Dynamic IP via ADSL modem (2/2) –
Configuration
Configuration Example
Example
!!
interface
interface ether0.0
ether0.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
authentication
ppp authentication pap
pap callin
callin
ppp
pap
sent-username
ppp pap sent-username addpac
addpac password
password addpac
addpac
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 3000
3000
port
0/0
port 0/0
!!
!! Voip
Voip peer
peer configuration.
configuration.
!!
dial-peer
dial-peer voice
voice 900
900 voip
voip
destination-pattern
destination-pattern TT
session
session target
target 61.222.180.155
61.222.180.155
…
…
www.addpac.com
VoIP Training Guide
24
IP Network Configuration
- Dynamic IP via Cable modem (1/2) –
mandatory
mandatory setting
setting
LAN0
LAN0
DHCP
DHCP Client
Client
Pots(VoIP)
Pots(VoIP) Peer
Peer
e.164
related
e.164 related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
LAN
LAN 11
NAT/PAT
NAT/PAT
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
25
IP Network Configuration
- Dynamic IP via Cable modem (2/2) –
!!
interface
interface ether0.0
ether0.0
ip
ip address
address dhcp
dhcp
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 3000
3000
port
port 0/0
0/0
!!
!! Voip
Voip peer
peer configuration.
configuration.
!!
dial-peer
dial-peer voice
voice 900
900 voip
voip
destination-pattern
destination-pattern TT
session
session target
target 61.222.180.155
61.222.180.155
…
…
Configuration
Configuration Example
Example
www.addpac.com
VoIP Training Guide
26
IP Network Configuration
- Static IP behind Router (1/2) –
mandatory
mandatory setting
setting
LAN0
LAN0
encapsulation
encapsulation ethernet
ethernet
ip
ip address
address
Default
Default routing
routing
Pots(VoIP)
Pots(VoIP) Peer
Peer
e.164
e.164 related
related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
LAN
LAN 11
NAT/PAT
NAT/PAT
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
27
IP Network Configuration
- Static IP behind Router (2/2) –
Configuration
Configuration Example
Example
!!
interface
interface ether0.0
ether0.0
ip
ip address
address 192.168.126.2
192.168.126.2 255.255.255.0
255.255.255.0
!!
Route
Route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 192.169.126.1
192.169.126.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 3000
3000
port
0/0
port 0/0
!!
!! Voip
Voip peer
peer configuration.
configuration.
!!
dial-peer
dial-peer voice
voice 900
900 voip
voip
destination-pattern
destination-pattern TT
session
session target
target 61.222.180.155
61.222.180.155
…
…
www.addpac.com
VoIP Training Guide
28
IP Network Configuration
- IP Share (1/7) –
mandatory
mandatory setting
setting
LAN0
LAN0
Dynamic
Dynamic Or
Or Static
Static IP
IP
LAN
LAN 11
PPPoE/DHCP
PPPoE/DHCP Server
Server
or
No
IP
(Static)
or No IP (Static)
Default
Default routing
routing (Static)
(Static)
IP
IP Share
Share
Default
Default routing
routing
Pots(VoIP)
Pots(VoIP) Peer
Peer
e.164
related
e.164 related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
LAN
LAN 11
NAT/PAT
NAT/PAT can
can not
not be
be
configured
configured
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
29
IP Network Configuration
- IP Share (2/7) –
IP Share Configuration Table MAP
Up-Link Interface (LAN 0)
Local Interface (LAN 1)
Configuration Map
DHCP
DHCP Client
DHCP (Server)
O (1)
PPPoE (Server)
O (2)
Static (No IP)
X
DHCP
O (3)
PPPoE
O (4)
Static
X
DHCP
X
PPP
X
Static
O (5)
PPP
PPPoE Client
Static
www.addpac.com
VoIP Training Guide
30
IP Network Configuration
- IP Share (3/7) –
Configuration
Configuration Example
Example 11 (DHCP
(DHCP to
to DHCP)
DHCP)
!!
dhcp-list
dhcp-list 00 address
address server
server interface
interface ether0.0
ether0.0
dhcp-list
dhcp-list 00 option
option dhcp-lease-time
dhcp-lease-time 600
600
!!
ip-share
ip-share enable
enable
ip-share
ip-share interface
interface net-side
net-side ether0.0
ether0.0
ip-share
ip-share interface
interface local-side
local-side ether1.0
ether1.0
!!
interface
interface ether0.0
ether0.0
ip
ip address
address dhcp
dhcp
qos
qos 200
200 150
150
!!
interface
interface ether1.0
ether1.0
no
ip
address
no ip address
ip
ip dhcp-group
dhcp-group 00
!!
www.addpac.com
VoIP Training Guide
31
IP Network Configuration
- IP Share (4/7) –
Configuration
)
Configuration Example
Example 22 (DHCP
(DHCP to
to PPPoE
PPPoE)
!!
ip-share
ip-share enable
enable
ip-share
ip-share interface
interface net-side
net-side ether0.0
ether0.0
ip-share
interface
local-side
ip-share interface local-side ether1.0
ether1.0
!!
interface
interface ether0.0
ether0.0
ip
ip address
address dhcp
dhcp
qos
200
150
qos 200 150
!!
interface
interface ether1.0
ether1.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
authentication
ppp authentication pap
pap callin
callin
ppp
pap
sent-username
addpac
ppp pap sent-username addpac password
password test
test
ppp
ppp echo
echo interval
interval 20
20
ppp
ppp ipcp
ipcp ms-dns
ms-dns
ppp
ipcp
default-route
ppp ipcp default-route
ppp
ppp role
role server
server
!!
www.addpac.com
VoIP Training Guide
32
IP Network Configuration
- IP Share (5/7) –
Configuration
PPPoE to
)
Configuration Example
Example 33 ((PPPoE
to DHCP
DHCP)
!!
dhcp-list
dhcp-list 00 address
address server
server interface
interface ether0.0
ether0.0
dhcp-list
dhcp-list 00 option
option dhcp-lease-time
dhcp-lease-time 600
600
!!
ip-share
ip-share enable
enable
ip-share
ip-share interface
interface net-side
net-side ether0.0
ether0.0
ip-share
ip-share interface
interface local-side
local-side ether1.0
ether1.0
!!
interface
interface ether0.0
ether0.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
ppp authentication
authentication pap
pap callin
callin
ppp
pap
sent-username
addpac
ppp pap sent-username addpac password
password test
test
ppp
echo
interval
20
ppp echo interval 20
ppp
ppp ipcp
ipcp ms-dns
ms-dns
ppp
ppp ipcp
ipcp default-route
default-route
qos
200
150
qos 200 150
!!
interface
interface ether1.0
ether1.0
no
no ip
ip address
address
ip
ip dhcp-group
dhcp-group 00
!!
www.addpac.com
VoIP Training Guide
33
IP Network Configuration
- IP Share (6/7) –
Configuration
PPPoE to
)
Configuration Example
Example 44 ((PPPoE
to PPPoE
PPPoE)
ip-share
ip-share enable
enable
ip-share
ip-share interface
interface net-side
net-side ether0.0
ether0.0
ip-share
ip-share interface
interface local-side
local-side ether1.0
ether1.0
!!
interface
interface ether0.0
ether0.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
authentication
ppp authentication pap
pap callin
callin
ppp
pap
sent-username
addpac
ppp pap sent-username addpac password
password test
test
ppp
ppp echo
echo interval
interval 20
20
ppp
ppp ipcp
ipcp ms-dns
ms-dns
ppp
ppp ipcp
ipcp default-route
default-route
qos
200
150
qos 200 150
!!
interface
interface ether1.0
ether1.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
authentication
ppp authentication pap
pap callin
callin
ppp
pap
sent-username
addpac
ppp pap sent-username addpac password
password test
test
ppp
ppp echo
echo interval
interval 20
20
ppp
ppp ipcp
ipcp ms-dns
ms-dns
ppp
ipcp
default-route
ppp ipcp default-route
ppp
ppp role
role server
server
www.addpac.com
VoIP Training Guide
34
IP Network Configuration
- IP Share (7/7) –
Configuration
)
Configuration Example
Example 55 (Static
(Static to
to Static
Static)
!!
ip-share
ip-share enable
enable
ip-share
ip-share interface
interface net-side
net-side ether0.0
ether0.0
ip-share
interface
local-side
ip-share interface local-side ether1.0
ether1.0
!!
interface
interface ether0.0
ether0.0
ip
ip address
address 192.168.126.2
192.168.126.2 255.255.255.0
255.255.255.0
!!
interface
interface ether1.0
ether1.0
no
no ip
ip address
address
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 192.168.126.1
192.168.126.1
!!
www.addpac.com
VoIP Training Guide
35
IP Network Configuration
- NAT/PAT (1/2) –
mandatory
mandatory setting
setting
LAN0
LAN0
Dynamic
Dynamic Or
Or Static
Static IP
IP
LAN
LAN 11
Private
Private IP
IP
Binding
Binding PAT
PAT pool
pool
PAT
pool
PAT pool
Default
Default routing
routing (Static)
(Static)
or
or No
No IP
IP (Static)
(Static)
Default
routing
Default routing (Static)
(Static)
Default
routing
Default routing
Pots(VoIP)
Pots(VoIP) Peer
Peer
e.164
e.164 related
related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
36
IP Network Configuration
- NAT/PAT (2/2) –
Configuration
Configuration Example
Example
!!
nat-list
nat-list 11 pat
pat static-entry
static-entry tcp
tcp 1720
1720 local
local
nat-list
nat-list 11 pat
pat group-static-entry
group-static-entry udp
udp 22000
22000 30000
30000 local
local
nat-list
nat-list 11 pat
pat group-static-entry
group-static-entry tcp
tcp 10000
10000 22000
22000 local
local
nat-list
nat-list 11 pat
pat static-entry
static-entry tcp
tcp 23
23 local
local
nat-list
nat-list 11 pat
pat group-static-entry
group-static-entry tcp
tcp 20
20 21
21 local
local
nat-list
nat-list 11 pat
pat group-static-entry
group-static-entry udp
udp 67
67 68
68 local
local
nat-list
nat-list 11 pat
pat static-entry
static-entry icmp
icmp ping
ping local
local
!!
interface
interface ether0.0
ether0.0
ip
ip address
address dhcp
dhcp
qos-control
qos-control 200
200 100
100
!!
interface
interface ether1.0
ether1.0
ip
ip address
address 10.1.1.1
10.1.1.1 255.255.255.0
255.255.255.0
ip
ip nat-group
nat-group 11 pat
pat ether0.0
ether0.0
www.addpac.com
VoIP Training Guide
37
IP Network Configuration
- Bridge (1/2) –
mandatory
mandatory setting
setting
LAN0
LAN0
IP
IP address
address (Static
(Static IP
IP only)
only)
bridge
bridge
LAN
LAN 11
no
no IP
IP address
address
bridge
bridge
Default
Default routing
routing
no
no ip
ip routing
routing
No
Bridge
No Bridge Spanning
Spanning Tree
Tree
Pots(VoIP)
Peer
Pots(VoIP) Peer
e.164
e.164 related
related configurations
configurations
Optional
Optional setting
setting
LAN
LAN 00
QoS
QoS
LAN
LAN 11
NAT/PAT
NAT/PAT can
can not
not be
be
configured
configured
VoIP
VoIP Network
Network
GK/SIP/MGCP
GK/SIP/MGCP related
related
configurations
configurations
www.addpac.com
VoIP Training Guide
38
IP Network Configuration
- Bridge (2/2) –
Configuration
Configuration Example
Example
!!
No
No ip
ip routing
routing
interface
interface ether0.0
ether0.0
ip
ip address
address 192.168.126.2
192.168.126.2 255.255.255.0
255.255.255.0
bridge
bridge
!!
interface
interface ether1.0
ether1.0
no
ip
address
no ip address
bridge
bridge
!!
No
No bridge
bridge spanning
spanning tree
tree
route
0.0.0.0
0.0.0.0
route 0.0.0.0 0.0.0.0 192.168.126.1
192.168.126.1
!!
www.addpac.com
VoIP Training Guide
39
IP Network Configuration
- STUN client –
Command
Command
config
config
interface
interface ether
ether 0.0
0.0
ip
stun-server
ip stun-server 61.33.161.111
61.33.161.111
ip
ip stun-server
stun-server retry-time
retry-time 10
10
ip
ip stun-server
stun-server (default
(default == disabled)
disabled)
www.addpac.com
VoIP Training Guide
40
VoIP Network Configuration
VoIP
VoIP Network
Network 설정
설정
•• Direct
Direct Call
Call with
with H323/SIP
H323/SIP
•• H323
H323 GK
GK routed
routed Call
Call
•• SIP
SIP Proxy
Proxy routed
routed Call
Call
•• SIP
SIP Related
Related configuration
configuration
www.addpac.com
VoIP Training Guide
41
VoIP Network Configuration
- direct Call A(1/3)–
www.addpac.com
VoIP Training Guide
42
VoIP Network Configuration
- direct Call A (2/3)–
H323
Head
Head Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0 ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8425683848
8425683848
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
8325683848
destination-pattern 8325683848
session
session target
target 193.168.1.2
193.168.1.2
!!
dial-peer
dial-peer voice
voice 1001
1001 voip
voip
destination-pattern
destination-pattern 82T
82T
session
session target
target 192.168.1.2
192.168.1.2
Branch
Branch Office
Office A
A
!!
hostname
hostname AA
interface
interface ether0.0
ether0.0
ip
ip address
address 193.168.1.2
193.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 193.168.1.1
193.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8325683848
8325683848
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
82……..
destination-pattern 82……..
session
session target
target 192.168.1.2
192.168.1.2
!!
dial-peer
dial-peer voice
voice 1001
1001 voip
voip
destination-pattern
destination-pattern 8425683848
8425683848
session
session target
target 194.168.1.2
194.168.1.2
www.addpac.com
VoIP Training Guide
43
VoIP Network Configuration
- direct Call A (3/3)–
SIP
Head
Head Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
!! Pots
Pots peer
peer configuration.
configuration.
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8425683848
8425683848
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 8325683848
8325683848
session
session target
target 193.168.1.2
193.168.1.2
session
protocol
session protocol sip
sip
dtmf-relay
dtmf-relay rtp-2833
rtp-2833
Branch
Branch Office
Office A
A
!!
hostname
hostname AA
interface
interface ether0.0
ether0.0
ip
ip address
address 193.168.1.2
193.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 193.168.1.1
193.168.1.1
!!
!! Pots
Pots peer
peer configuration.
configuration.
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8325683848
8325683848
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 82……..
82……..
session
session target
target 192.168.1.2
192.168.1.2
session
protocol
session protocol sip
sip
dtmf-relay
dtmf-relay rtp-2833
rtp-2833
www.addpac.com
VoIP Training Guide
44
VoIP Network Configuration
- direct Call B (1/3)–
www.addpac.com
VoIP Training Guide
45
VoIP Network Configuration
- direct Call B (2/3)–
H323
Head
Head Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0 ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 100
100
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 101
101
port
port 0/1
0/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 102
102
port
0/2
port 0/2
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/1
1/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/2
1/2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 2..
2..
session
session target
target 192.168.1.2
192.168.1.2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 88
session
session target
target 192.168.1.2
192.168.1.2
Branch
Branch Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0 ether0.0
ether0.0
ip
ip address
address 192.168.1.2
192.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 200
200
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 201
201
port
port 0/1
0/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 202
202
port
0/2
port 0/2
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/1
1/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/2
1/2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 1..
1..
session
session target
target 194.168.1.2
194.168.1.2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 99
session
session target
target 194.168.1.2
194.168.1.2
www.addpac.com
VoIP Training Guide
46
VoIP Network Configuration
- direct Call B (3/3)–
SIP
Head
Head Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0 ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
voice
0
pots
dial-peer voice 0 pots
destination-pattern
destination-pattern 100
100
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 101
101
port
port 0/1
0/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 102
102
port
port 0/2
0/2
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/1
1/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 99
port
port 1/2
1/2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 2..
2..
session
protocol
sip
session protocol sip
session
session target
target 192.168.1.2
192.168.1.2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 88
session
session protocol
protocol sip
sip
session
session target
target 192.168.1.2
192.168.1.2
Branch
Branch Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0 ether0.0
ether0.0
ip
ip address
address 192.168.1.2
192.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
voice
0
pots
dial-peer voice 0 pots
destination-pattern
destination-pattern 200
200
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 201
201
port
port 0/1
0/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 202
202
port
port 0/2
0/2
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/1
1/1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 88
port
port 1/2
1/2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 1..
1..
session
protocol
sip
session protocol sip
session
session target
target 194.168.1.2
194.168.1.2
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern 99
session
session protocol
protocol sip
sip
session
session target
target 194.168.1.2
194.168.1.2
www.addpac.com
VoIP Training Guide
47
VoIP Network Configuration
- H323 GK routed Call (1/2) –
www.addpac.com
VoIP Training Guide
48
VoIP Network Configuration
- H323 GK routed Call (2/2) –
Head
Head Office
Office
!!
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8425683848
8425683848
port
port 0/0
0/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
8325683848
destination-pattern 8325683848
session
session target
target ras
ras
!!
gateway
gateway
h323-id
h323-id addpac-HQ
addpac-HQ
gkip
gkip 199.168.1.1
199.168.1.1 1719
1719 128
128
register
register
Branch
Branch Office
Office A
A
!!
hostname
hostname AA
interface
interface ether0.0
ether0.0
ip
ip address
address 193.168.1.2
193.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8325683848
8325683848
port
port 1/0
1/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
T
destination-pattern T
session
session target
target ras
ras
!!
gateway
gateway
h323-id
h323-id addpac-A
addpac-A
gkip
gkip 199.168.1.1
199.168.1.1 1719
1719 128
128
register
register
www.addpac.com
VoIP Training Guide
49
VoIP Network Configuration
- SIP Proxy routed Call (1/2) –
www.addpac.com
VoIP Training Guide
50
VoIP Network Configuration
- SIP Proxy routed Call (2/2) –
Head
Head Office
Office
hostname
hostname HO
HO
interface
interface ether0.0
ether0.0
ip
ip address
address 194.168.1.2
194.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 194.168.1.1
194.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8425683848
8425683848
port
0/0
port 0/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern TT
session
session target
target sip-server
sip-server
session
protocol
session protocol sip
sip
dtmf-relay
dtmf-relay rtp-2833
rtp-2833
!!
sip-ua
sip-ua
sip-username
sip-username 8225683848
8225683848
sip-password
sip-password AddPac-HO
AddPac-HO
sip-server
sip-server 199.168.1.1
199.168.1.1
register
e164
register e164
Branch
Branch Office
Office A
A
hostname
hostname AA
interface
interface ether0.0
ether0.0
ip
ip address
address 193.168.1.2
193.168.1.2 255.255.255.0
255.255.255.0
!!
route
route 0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0 193.168.1.1
193.168.1.1
!!
dial-peer
dial-peer voice
voice 00 pots
pots
destination-pattern
destination-pattern 8225683848
8225683848
port
0/0
port 0/0
!!
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
destination-pattern TT
session
session target
target sip-server
sip-server
session
protocol
session protocol sip
sip
dtmf-relay
dtmf-relay rtp-2833
rtp-2833
!!
sip-ua
sip-ua
sip-username
sip-username 8425683848
8425683848
sip-password
sip-password AddPac-A
AddPac-A
sip-server
sip-server 199.168.1.1
199.168.1.1
register
e164
register e164
www.addpac.com
VoIP Training Guide
51
VoIP Network Configuration
- SIP Proxy Related Configuration –
www.addpac.com
VoIP Training Guide
52
VoIP Network Configuration
- SIP Proxy Related Configuration –
Dial-peer Register(1/2)
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:100.1.1.40
sip:100.1.1.40 SIP/2.0
SIP/2.0
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Contact:
Contact: <sip:[email protected]>;expires=3600
<sip:[email protected]>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
Received
Received SIP
SIP PDU
PDU from
from (( 100.100.100.40:5060
100.100.100.40:5060 ))
SIP/2.0
SIP/2.0 401
401 UNAUTHORIZED
UNAUTHORIZED
To:
To: sip:[email protected];tag=10efb2232
sip:[email protected];tag=10efb2232
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea434
61.33.161.71:5060;branch=z9hG4bK5543002ea434
WWW-Authenticate:
Digest
realm="100.1.1.40",
WWW-Authenticate:
Digest
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", algorithm=MD5
algorithm=MD5
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:registrar.100.1.1.40
sip:registrar.100.1.1.40 SIP/2.0
SIP/2.0
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea435
61.33.161.71:5060;branch=z9hG4bK5543002ea435
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Authorization:
Digest
username=“addpac1",
realm="100.1.1.40",
Authorization:
Digest
username=“addpac1",
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", uri=".100.1.1.40",
uri=".100.1.1.40", respon
respon
se="8b72ee2edd93765a8b6ae8896fcb4136",
se="8b72ee2edd93765a8b6ae8896fcb4136", algorithm=MD5
algorithm=MD5
Contact:
<sip:[email protected]>;expires=3600
Contact: <sip:[email protected]>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
Received
Received SIP
SIP PDU
PDU from
from (( 100.100.100.40:5060
100.100.100.40:5060 ))
SIP/2.0
SIP/2.0 200
200 OK
OK
P-Associated-Uri:
P-Associated-Uri: <sip:[email protected]>
<sip:[email protected]>
To:
To: sip:[email protected];tag=2ae655e
sip:[email protected];tag=2ae655e
From:
<sip:[email protected]>;tag=5543002ea4
From: <sip:[email protected]>;tag=5543002ea4
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
REGISTER
REGISTER sip:100.1.1.40
sip:100.1.1.40 SIP/2.0
SIP/2.0
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Contact:
Contact: <sip:[email protected]>;expires=3600
<sip:[email protected]>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
SIP/2.0
SIP/2.0 401
401 UNAUTHORIZED
UNAUTHORIZED
To:
To: sip:[email protected];tag=10efb2232
sip:[email protected];tag=10efb2232
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea434
61.33.161.71:5060;branch=z9hG4bK5543002ea434
WWW-Authenticate:
Digest
realm="100.1.1.40",
WWW-Authenticate:
Digest
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", algorithm=MD5
algorithm=MD5
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:registrar.100.1.1.40
sip:registrar.100.1.1.40 SIP/2.0
SIP/2.0
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea435
61.33.161.71:5060;branch=z9hG4bK5543002ea435
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
Date:
Tue,
Date: Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Authorization:
Authorization: Digest
Digest username=“addpac2",
username=“addpac2", realm="100.1.1.40",
realm="100.1.1.40",
www.addpac.com
VoIP Training Guide
53
VoIP Network Configuration
- SIP Proxy Related Configuration –
user Register(1/2)
www.addpac.com
VoIP Training Guide
54
VoIP Network Configuration
- SIP Proxy Related Configuration –
user Register(2/2)
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:100.1.1.40
sip:100.1.1.40 SIP/2.0
SIP/2.0
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
From:
From: <sip:[email protected]>;tag=5543002ea4
<sip:[email protected]>;tag=5543002ea4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Contact:
Contact: <sip:
<sip: addpac1
addpac1 @100.1.1.2>;expires=3600
@100.1.1.2>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
0
Content-Length: 0
Max-Forwards:
Max-Forwards: 70
70
Received
Received SIP
SIP PDU
PDU from
from (( 100.100.100.40:5060
100.100.100.40:5060 ))
SIP/2.0
SIP/2.0 401
401 UNAUTHORIZED
UNAUTHORIZED
To:
To: sip:
sip: addpac1
addpac1 @100.1.1.40;tag=10efb2232
@100.1.1.40;tag=10efb2232
From:
From: <sip:
<sip: addpac1
addpac1 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea434
61.33.161.71:5060;branch=z9hG4bK5543002ea434
WWW-Authenticate:
Digest
realm="100.1.1.40",
WWW-Authenticate:
Digest
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", algorithm=MD5
algorithm=MD5
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:registrar.100.1.1.40
sip:registrar.100.1.1.40 SIP/2.0
SIP/2.0
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea435
61.33.161.71:5060;branch=z9hG4bK5543002ea435
From:
From: <sip:
<sip: addpac1
addpac1 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
To:
To: sip:
sip: addpac1
addpac1 @100.1.1.40
@100.1.1.40
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Authorization:
Digest
username=“addpac1",
realm="100.1.1.40",
Authorization:
Digest
username=“addpac1",
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", uri=".100.1.1.40",
uri=".100.1.1.40", respon
respon
se="8b72ee2edd93765a8b6ae8896fcb4136",
se="8b72ee2edd93765a8b6ae8896fcb4136", algorithm=MD5
algorithm=MD5
Contact:
<sip:
addpac1
@100.1.1.2>;expires=3600
Contact: <sip: addpac1 @100.1.1.2>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
Received
Received SIP
SIP PDU
PDU from
from (( 100.100.100.40:5060
100.100.100.40:5060 ))
SIP/2.0
SIP/2.0 200
200 OK
OK
P-Associated-Uri:
P-Associated-Uri: <sip:[email protected]>
<sip:[email protected]>
To:
To: sip:
sip: addpac1
addpac1 @100.1.1.40;tag=2ae655e
@100.1.1.40;tag=2ae655e
From:
<sip:
addpac1
From: <sip: addpac1 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
REGISTER
REGISTER sip:100.1.1.40
sip:100.1.1.40 SIP/2.0
SIP/2.0
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
Via:SIP/2.0/100.100.100.1:5060;branch=z9hG4bK5543002ea434
From:
From: <sip:
<sip: addpac1
addpac1 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
To:
To: sip:
sip: addpac1
addpac1 @100.1.1.40
@100.1.1.40
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Date:
Date: Tue,
Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Contact:
Contact: <sip:
<sip: addpac2
addpac2 @61.33.161.71>;expires=3600
@61.33.161.71>;expires=3600
Expires:
Expires: 3600
3600
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
SIP/2.0
SIP/2.0 401
401 UNAUTHORIZED
UNAUTHORIZED
To:
To: sip:
sip: addpac2
addpac2 @100.1.1.40;tag=10efb2232
@100.1.1.40;tag=10efb2232
From:
From: <sip:
<sip: addpac2
addpac2 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
Call-ID:
[email protected]
Call-ID: [email protected]
CSeq:
CSeq: 34
34 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea434
61.33.161.71:5060;branch=z9hG4bK5543002ea434
WWW-Authenticate:
Digest
realm="100.1.1.40",
WWW-Authenticate:
Digest
realm="100.1.1.40",
nonce="33f16bf255ec473dd45911db0d0a9dc1",
nonce="33f16bf255ec473dd45911db0d0a9dc1", algorithm=MD5
algorithm=MD5
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:5060
100.1.1.40:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:registrar.100.1.1.40
sip:registrar.100.1.1.40 SIP/2.0
SIP/2.0
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 61.33.161.71:5060;branch=z9hG4bK5543002ea435
61.33.161.71:5060;branch=z9hG4bK5543002ea435
From:
From: <sip:
<sip: addpac2
addpac2 @100.1.1.40>;tag=5543002ea4
@100.1.1.40>;tag=5543002ea4
To:
To: sip:
sip: addpac2
addpac2 @100.1.1.40
@100.1.1.40
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 35
35 REGISTER
REGISTER
Date:
Tue,
Date: Tue, 01
01 Nov
Nov 2005
2005 16:20:37
16:20:37 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Authorization:
Authorization: Digest
Digest username=“addpac2",
username=“addpac2", realm="100.1.1.40",
realm="100.1.1.40",
www.addpac.com
VoIP Training Guide
55
VoIP Network Configuration
- SIP Proxy Related Configuration –
Media-channel early
www.addpac.com
VoIP Training Guide
56
VoIP Network Configuration
- SIP Proxy Related Configuration –
Timer Related command
(config-sip-ua)#
(config-sip-ua)# timeout
timeout ??
texpires
texpires set
set SIP
SIP INVITE
INVITE request
request timeout
timeout value
value (sec)
(sec)
treg
set
treg
set SIP
SIP REGISTER
REGISTER timeout
timeout value
value (sec)
(sec)
tregtry
set
tregtry
set SIP
SIP REGISTER
REGISTER retry
retry timeout
timeout value
value (sec)
(sec)
tretry
set
tretry
set SIP
SIP retry
retry timeout
timeout value
value (msec)
(msec)
tsipping
tsipping set
set SIP
SIP PING
PING timer
timer
Set
Set
confirm
confirm
(config-sip-ua)#
(config-sip-ua)# show
show sip
sip
Proxyserver
Proxyserver Registration
Registration Information
Information
proxyserver
proxyserver registration
registration option
option == e164
e164
Proxyserver
Proxyserver list
list ::
----------------------------------------------------------------------------------------------------------------------------Server
Port
Priority
Status
Server address
address
Port
Priority
Status
----------------------------------------------------------------------------------------------------------------------------100.1.1.40
5060
128
Trying
100.1.1.40
5060
128
Trying
Proxyserver
Proxyserver registration
registration status
status ::
----------------------------------------------------------------------------------------------UserName
Regist
Status
UserName
Regist
Status
----------------------------------------------------------------------------------------------addpac1
yes
Trying
addpac1
yes
Trying
addpac2
yes
Not
addpac2
yes
Not Registered
Registered
SIP
UA
Timer
counters
SIP UA Timer counters
retry
retry counter
counter == 10
10
SIP
SIP UA
UA Timer
Timer values
values
tretry
tretry (sip
(sip retry
retry timer)
timer) == 500
500 msec.
msec.
treg
treg (sip
(sip register
register timer)
timer) == 60
60 sec.
sec.
tregtry
tregtry (sip
(sip register
register retry
retry timer)
timer) == 20
20 sec.
sec.
texpires
(sip
invite
expire
timer)
texpires (sip invite expire timer) == 180
180 sec.
sec.
tsipping
tsipping (sip
(sip ping
ping timer)
timer) == 30
30 sec.
sec.
SIP
SIP UA
UA MIN-SE
MIN-SE value
value
Min-SE
Min-SE == 1800
1800 sec.
sec.
Registration
Registration Status
Status
Activated
Activated Timer
Timer parameter
parameter
www.addpac.com
VoIP Training Guide
57
VoIP Network Configuration
- SIP Proxy Related Configuration –
Signaling-port/session target <sip-port>
Sending
Sending SIP
SIP PDU
PDU to
to (( 100.1.1.40:3000
100.1.1.40:3000 )) from
from 2000
2000
REGISTER
REGISTER sip:100.1.1.40
sip:100.1.1.40 SIP/2.0
SIP/2.0
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 100.1.1.2:2000;branch=z9hG4bK3e43f100a415
100.1.1.2:2000;branch=z9hG4bK3e43f100a415
From:
From: <sip:[email protected]>;tag=3e43f100a4
<sip:[email protected]>;tag=3e43f100a4
To:
To: sip:[email protected]
sip:[email protected]
Call-ID:
Call-ID: [email protected]
[email protected]
CSeq:
CSeq: 15
15 REGISTER
REGISTER
Date:
Date: Wed,
Wed, 02
02 Nov
Nov 2005
2005 18:06:14
18:06:14 GMT
GMT
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway
Contact:
Contact: <sip:[email protected]:2000>;expires=60
<sip:[email protected]:2000>;expires=60
Expires:
Expires: 60
60
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
www.addpac.com
Caution
Caution
This
system reboot”
”
reboot
This command
command isis needed
needed ““system
reboot”
So
So configure
configure then
then write
write and
and reboot.
reboot.
VoIP Training Guide
58
VoIP Network Configuration
- SIP Proxy Related Configuration –
Response < alert | default | progress >
www.addpac.com
VoIP Training Guide
59
VoIP Network Configuration
- SIP Proxy Related Configuration –
Blind Call Transfer by re-invite
www.addpac.com
VoIP Training Guide
60
VoIP Network Configuration
- SIP Proxy Related Configuration –
Attended Call Transfer by re-invite
www.addpac.com
VoIP Training Guide
61
VoIP Network Configuration
- SIP Proxy Related Configuration –
Call hold by re-invite
www.addpac.com
VoIP Training Guide
62
Voice Interface Configuration
Voice
Voice Interface
Interface Configuration
Configuration
•• Common
Common
gain
gain
CNG
CNG (Comfort
(Comfort Noise
Noise Generation)
Generation)
DTMF
gain
DTMF gain
PLAR
PLAR (Private
(Private Line
Line Auto
Auto Ring-down)
Ring-down)
•• FXS/FXO
FXS/FXO
Pin
Pin Assignment
Assignment
Ring
Ring Cadence/Frequency
Cadence/Frequency
Polarity
Polarity Inverse
Inverse Detect/Generation
Detect/Generation
Caller
ID
Detect/Generation
Caller ID Detect/Generation
•• E&M
E&M
Pin
Pin Assignment
Assignment E1/T1
E1/T1
•• E1/T1
E1/T1
Pin
Pin Assignment
Assignment
www.addpac.com
VoIP Training Guide
63
Voice Interface Configuration
- Common (1/4) –
Gain
www.addpac.com
VoIP Training Guide
64
Voice Interface Configuration
- Common (2/4) –
Comfort Nose Generation
www.addpac.com
VoIP Training Guide
65
Voice Interface Configuration
- Common (3/4) –
DTMF-gain
www.addpac.com
VoIP Training Guide
66
Voice Interface Configuration
- Common (4/4) –
PLAR(Private Line Auto Ring-down)
www.addpac.com
VoIP Training Guide
67
Voice Interface Configuration
- FXS/FXO (1/3) –
Ring cadence/frequency (FXS only)
www.addpac.com
VoIP Training Guide
68
Voice Interface Configuration
- FXS/FXO (2/3) –
Polarity Inverse detect (FXO) / Generation (FXS)
www.addpac.com
VoIP Training Guide
69
Voice Interface Configuration
- FXS/FXO (3/3) –
Caller ID detect (FXO) / Generation (FXS)
www.addpac.com
VoIP Training Guide
70
Voice Interface Configuration
- E1/T1 –
E1/T1 Related Command
ISDN
-PRI
ISDN-PRI
R2/DTMF
R2/DTMF
!!
controller
controller e1(t1)
e1(t1) 0/0
0/0
signalling-type
signalling-type isdn
isdn
channel-group
channel-group timeslots
timeslots <1-31>
<1-31> <0-?>
<0-?>
isdn
protocol-emulate
<network|user>
isdn protocol-emulate <network|user>
Out-boddle
Out-boddle
!!
controller
controller e1(t1)
e1(t1) 0/0
0/0
signalling-type
signalling-type <r2
<r2 || dtmf>
dtmf>
channel-group
channel-group timeslots
timeslots <1-31>
<1-31> <0-?>
<0-?>
R2
get
callid
<R2
MFC
only>
R2 get callid <R2 MFC only>
Out-boddle
Out-boddle
!!
voice-port
voice-port 0/0
0/0
!! E1(t1)
E1(t1)
compand-type
compand-type u-law
u-law
!!
….
….
….
….
HO#
HO# show
show controller
controller 0/0
0/0
Controller
Controller E1
E1 slot(0)/port(0)
slot(0)/port(0)
T1
T1 Link
Link is
is UP
UP
No
Alarm
No Alarm detected.
detected.
Applique
Applique type
type is
is Channelized
Channelized
…………..
…………..
……….
……….
!!
voice-port
voice-port 0/0
0/0
!! E1(t1)
E1(t1)
compand-type
compand-type u-law
u-law
!!
….
….
….
….
HO#
HO# show
show controller
controller 0/0
0/0
Controller
Controller T1
T1 slot(0)/port(0)
slot(0)/port(0)
T1
T1 Link
Link is
is UP
UP
No
Alarm
No Alarm detected.
detected.
Applique
Applique type
type is
is Channelized
Channelized
…………..
…………..
……….
……….
www.addpac.com
VoIP Training Guide
71
Chapter 2 Basic and Advanced Configuration
VoIP
VoIP gateway
gateway Tuning
Tuning
•• Trunk
Trunk Gateway
Gateway Redundancy
Redundancy (RAI)
(RAI)
•• Policy
Policy for
for poor
poor VoIP
VoIP network
network
•• Number
Number Plan
Plan
•• PSTN
PSTN Backup
Backup by
by busyout
busyout
•• number
number Translation
Translation
•• The
The solution
solution for
for FXO
FXO Port
Port block
block
www.addpac.com
VoIP Training Guide
72
Basic and Advanced Configuration
- Trunk Gateway Redundancy Policy(1/2) –
Through GK
GK
GK Operation
Operation Policy
Policy
1.
1. divide
divide call
call traffic
traffic to
to
Gateway
A
and
B
with
Gateway A and B with 50:50
50:50
2.
2. Operate
Operate Gateway
Gateway A
A as
as
primary,
primary,
B
B as
as backup
backup
www.addpac.com
VoIP Training Guide
73
Basic and Advanced Configuration
- Trunk Gateway Redundancy Policy(2/2) –
Traffic dispersion
www.addpac.com
VoIP Training Guide
74
Basic and Advanced Configuration
- Policy for poor VoIP Network (1/2) –
Gateway 내부 QoS
Packet
Packet Loss
Loss
Redundant
Redundant RTP
RTP
Transmit
Transmit delay
delay
Max-frams
Max-frams
Priority
Priority Control
Control
qos-control
qos-control
www.addpac.com
VoIP Training Guide
75
Basic and Advanced Configuration
- Policy for poor VoIP Network (2/2) –
VLAN/IP-TOS Field Tagging
www.addpac.com
VoIP Training Guide
76
Basic and Advanced Configuration
- Number Plan (1/2) –
Private VoIP telepony Network
www.addpac.com
VoIP Training Guide
77
Basic and Advanced Configuration
- Number Plan (2/2) –
Call Re-routing by Dial-peer Hunting
www.addpac.com
VoIP Training Guide
78
Basic and Advanced Configuration
- PSTN backup by busyout –
www.addpac.com
VoIP Training Guide
79
Basic and Advanced Configuration
- number Translation –
www.addpac.com
VoIP Training Guide
80
Basic and Advanced Configuration
- The Solution for FXO port block (1/4) –
Clear Call by Clear down-tone frequency detect
www.addpac.com
VoIP Training Guide
81
Basic and Advanced Configuration
- The Solution for FXO port block (2/4) –
Clear Call by clear down-tone energy level detect(1/2)
www.addpac.com
VoIP Training Guide
82
Basic and Advanced Configuration
- The Solution for FXO port block (3/4) –
Clear Call by clear down-tone energy level detect(2/2)
www.addpac.com
VoIP Training Guide
83
Basic and Advanced Configuration
- The Solution for FXO port block (4/4) –
Clear Call by silence Tone detect
www.addpac.com
VoIP Training Guide
84
Chapter 3 Trouble Shooting
Trouble
Trouble Shooting
Shooting
•• Trace
Trace Flow
Flow
•• Debugging
Debugging Command
Command
•• Call
Call Trace
Trace
www.addpac.com
VoIP Training Guide
85
Trouble Shooting
- VoIP Network or GK (1/3) –
FXO or PSTN backup after playing announcement about Internet fail or signal
www.addpac.com
VoIP Training Guide
86
Trouble Shooting
- VoIP Network or GK (2/3) –
Specific number call fail
www.addpac.com
VoIP Training Guide
87
Trouble Shooting
- VoIP Network or GK (3/3) –
Call Setup miss-operation or abnormal call clear
www.addpac.com
VoIP Training Guide
88
Trouble Shooting
- DTMF Relay or detect –
www.addpac.com
VoIP Training Guide
89
Trouble Shooting
- Voice Quality –
www.addpac.com
VoIP Training Guide
90
Debugging Command
Message
Message display
display control
control
config)#
config)# debug-port
debug-port
Usage
Usage
AP200#
AP200# debug
debug voip
voip call
call
AP200#
AP200# config
config
Enter
Enter configuration
configuration commands,
commands,
one
per
one per line.
line. End
End with
with CNTL/Z
CNTL/Z
AP200(config)#
AP200(config)# debug-port
debug-port
AP200(config)#
<CEP
AP200(config)# 44
<CEP
000000>
:
Call
Received
000000> : Call Received
55
<CEP
<CEP 000000>
000000> :: Call
Call
Initiated
Initiated :: calledNumber()
calledNumber()
callerInfo()
callerInfo() crv(0)
crv(0) total(0)
total(0)
66
<Call
286>
<Call 286> ::
******************
****************** Call
Call Created
Created
status(InitiatedByFXS)
status(InitiatedByFXS)
******************
******************
**
77
<CEP
<CEP 000000>
000000> :: Call
Call
id(cc47e640-6a2b-67ca-8183id(cc47e640-6a2b-67ca-81830002a400380d)
0002a400380d) callNum(286)
callNum(286)
88
<Call
286>
<Call 286>
www.addpac.com
VoIP Training Guide
91
call Trace
- RAS brief/detail (1/2)–
AP200#
AP200#
AP200#
AP200# debug
debug voip
voip call
call
AP200(config-gateway)#
AP200(config-gateway)# register
register
66
<GK
:: Try
<GK 0>
0>
Try registration
registration to
to All
All candidated
candidated GKs
GKs exclude()
exclude() exclusi
exclusi
ve()
ve()
77
<Gk
:: Try
<Gk 0>
0>
Try registration
registration to
to gk
gk host(172.19.1.248)
host(172.19.1.248) port(1719)
port(1719)
88
<GK
:: Send
<GK 0>
0>
Send RRQ.
RRQ.
AP200(config-gateway)#
<GK
:: Received
AP200(config-gateway)# 99
<GK 0>
0>
Received RCF
RCF from
from 'addpa
'addpa
c-private-gk1'.
c-private-gk1'.
10
<GK
:: Success
10
<GK 0>
0>
Success registration
registration to
to GK
GK host(172.19.1.248)
host(172.19.1.248) port
port
(1719)
(1719)
AP200#
AP200# debug
debug voip
voip ras
ras
AP200(config-gateway)#
AP200(config-gateway)# regis
regis
<>
<> PDU
PDU Encoding
Encoding ...
...
value
value RasMessage
RasMessage ::=
::= registrationRequest
registrationRequest ::
{{
requestSeqNum
requestSeqNum 1,
1,
protocolIdentifier
protocolIdentifier {{ 00 00 88 2250
2250 00 22 },
},
discoveryComplete
FALSE,
discoveryComplete FALSE,
callSignalAddress
callSignalAddress
{{
ipAddress
ipAddress ::
{{
ip
ip 'AC1301C8'H,
'AC1301C8'H,
port
port 1720
1720
}}
},
},
rasAddress
rasAddress
{{
ipAddress
ipAddress ::
{{
ip
ip 'AC1301C8'H,
'AC1301C8'H,
port
port 22000
22000
}}
},
},
terminalType
terminalType
{{
gateway
gateway
{{
},
},
mc
mc FALSE,
FALSE,
www.addpac.com
VoIP Training Guide
92
call Trace
- RAS brief/detail (2/2)–
undefinedNode
undefinedNode FALSE
FALSE
},
},
terminalAlias
terminalAlias
{{
h323-ID
h323-ID :: "jykim-2000",
"jykim-2000",
e164
e164 :: "2000"
"2000"
},
},
endpointVendor
endpointVendor
{{
vendor
vendor
{{
t35CountryCode
t35CountryCode 97,
97,
t35Extension
t35Extension 0,
0,
manufacturerCode
manufacturerCode 22
22
},
},
productId
productId '41646450616320566F4950'H,
'41646450616320566F4950'H,
versionId
versionId '382E3130'H
'382E3130'H
},
},
timeToLive
timeToLive 60,
60,
keepAlive
keepAlive FALSE,
FALSE,
willSupplyUUIEs
willSupplyUUIEs FALSE
FALSE
}}
1088942155
1088942155 :: Sending
Sending RAS
RAS PDU
PDU to
to (172.19.1.248:1719)
(172.19.1.248:1719) from
from 22000
22000
0e
80
00
00
06
00
08
91
4a
00
02
00
01
00
ac
13
........J.......
0e 80 00 00 06 00 08 91 4a 00 02 00 01 00 ac 13 ........J.......
01
01 c8
c8 06
06 b8
b8 01
01 00
00 ac
ac 13
13 01
01 c8
c8 55
55 f0
f0 08
08 00
00 02
02 40
40 ..........U....@
..........U....@
09
09 00
00 6a
6a 00
00 79
79 00
00 6b
6b 00
00 69
69 00
00 6d
6d 00
00 2d
2d 00
00 32
32 00
00 ..j.y.k.i.m.-.2.
..j.y.k.i.m.-.2.
30
30 00
00 30
30 00
00 30
30 01
01 80
80 53
53 33
33 60
60 61
61 00
00 00
00 16
16 0a
0a 41
41 0.0.0..S3`a....A
0.0.0..S3`a....A
64
64 64
64 50
50 61
61 63
63 20
20 56
56 6f
6f 49
49 50
50 03
03 38
38 2e
2e 31
31 30
30 0e
0e ddPac
ddPac VoIP.8.10.
VoIP.8.10.
8a
8a 02
02 00
00 3b
3b 01
01 00
00 01
01 00
00
...;....
...;....
AP200(config-gateway)#
AP200(config-gateway)# <>
<> RasMessage
RasMessage Decoding
Decoding ...
... -- Buffer(size:119)
Buffer(size:119)
value
value RasMessage
RasMessage ::=
::= registrationConfirm
registrationConfirm ::
{{
requestSeqNum
requestSeqNum 1,
1,
protocolIdentifier
protocolIdentifier {{ 00 00 88 2250
2250 00 22 },
},
callSignalAddress
callSignalAddress
{{
ipAddress
ipAddress ::
{{
ip
ip 'AC1301C8'H,
'AC1301C8'H,
port
port 1720
1720
}}
},
},
terminalAlias
terminalAlias
{{
h323-ID
h323-ID :: "jykim-2000",
"jykim-2000",
e164
e164 :: "2000"
"2000"
},
},
gatekeeperIdentifier
gatekeeperIdentifier "addpac-private-gk1",
"addpac-private-gk1",
endpointIdentifier
endpointIdentifier "40ae783c000081",
"40ae783c000081",
timeToLive
timeToLive 60,
60,
willRespondToIRR
willRespondToIRR FALSE
FALSE
}}
1088942155
1088942155 :: Received
Received RAS
RAS PDU
PDU from
from (172.19.1.248:1719)
(172.19.1.248:1719)
12
12 c0
c0 00
00 00
00 06
06 00
00 08
08 91
91 4a
4a 00
00 02
02 01
01 00
00 ac
ac 13
13 01
01 ........J.......
........J.......
c8
c8 06
06 b8
b8 02
02 40
40 09
09 00
00 6a
6a 00
00 79
79 00
00 6b
6b 00
00 69
69 00
00 6d
6d [email protected]
[email protected]
00
00 2d
2d 00
00 32
32 00
00 30
30 00
00 30
30 00
00 30
30 01
01 80
80 53
53 33
33 22
22 00
00 .-.2.0.0.0..S3".
.-.2.0.0.0..S3".
61
61 00
00 64
64 00
00 64
64 00
00 70
70 00
00 61
61 00
00 63
63 00
00 2d
2d 00
00 70
70 00
00 a.d.d.p.a.c.-.p.
a.d.d.p.a.c.-.p.
72
72 00
00 69
69 00
00 76
76 00
00 61
61 00
00 74
74 00
00 65
65 00
00 2d
2d 00
00 67
67 00
00 r.i.v.a.t.e.-.g.
r.i.v.a.t.e.-.g.
....;..
....;..
www.addpac.com
VoIP Training Guide
93
call Trace
- H323 Call Setup brief (1/2)–
AP200#
AP200# debug
debug voip
voip call
call
AP200#
<CEP
AP200# 11
<CEP 000000>
000000> :: Call
Call Received
Received
22
<CEP
<CEP 000000>
000000> :: Call
Call Initiated
Initiated :: calledNumber()
calledNumber() callerInfo()
callerInfo() crv(0)
crv(0)
total(0)
total(0)
33
<Call
<Call 346>
346> :: ******************
****************** Call
Call Created
Created
status(InitiatedByFXS)
status(InitiatedByFXS) ******************
******************
**
44
<CEP
<CEP 000000>
000000> :: Call
Call id(50f3e740-9c8f-bbcc-81cb-0002a400380d)
id(50f3e740-9c8f-bbcc-81cb-0002a400380d)
callNum(346)
callNum(346)
55
<Call
<Call 346>
346> :: MatchAllProcess
MatchAllProcess After
After Sorted
Sorted
<0>
id(4000)
dest(....)
<0> id(4000) dest(....) prefer(0)
prefer(0) selected(120)
selected(120)
<1>
<1> id(1000)
id(1000) dest(T)
dest(T) prefer(0)
prefer(0) selected(109)
selected(109)
66
<Call
<Call 346>
346> :: Initiate
Initiate callee
callee with
with dial-peer(....)
dial-peer(....)
status(CalleeDeterminedAll)
status(CalleeDeterminedAll) id(50f3e74
id(50f3e74
0-9c8f-bbcc-81cb-0002a400380d)
0-9c8f-bbcc-81cb-0002a400380d)
77
<NetEP
<NetEP 346>
346> :: InitiateOutCall:
InitiateOutCall: calledNum(#2000)
calledNum(#2000) callingNum(2000)
callingNum(2000)
target(ras)
target(ras)
88
<NetEP
<NetEP 346>
346> :: DoCall:
DoCall: calledAddr(#2000@)
calledAddr(#2000@) callingAddr(2000)
callingAddr(2000)
99
<GK
346>
:
Send
ARQ.
<GK
346> : Send ARQ.
10
<GK
10
<GK 346>
346> :: Received
Received ACF.
ACF.
11
<H225
346>
:
11
<H225 346> : Try
Try signalling
signalling TCP
TCP connect
connect (172.19.1.250:1720)
(172.19.1.250:1720)
12
<H225
12
<H225 346>
346> :: Signalling
Signalling TCP
TCP connect
connect success
success (346)
(346)
13
<H323
13
<H323 346>
346> :: local
local capabilities.
capabilities.
number
number of
of capabilities
capabilities == 55
11 :: g7231A-6.3k
g7231A-6.3k
22 :: g729-8k
g729-8k
33 :: T.38
T.38
44 :: UserInput/basicString
UserInput/basicString
55 :: UserInput/hookflash
UserInput/hookflash
14
<Q931
14
<Q931 346>
346> :: Send
Send SETUP
SETUP
15
<Q931
15
<Q931 346>
346> :: Received
Received CALL
CALL PROCEEDING
PROCEEDING
16
16
.250)
.250)
17
17
18
18
19
19
20
20
21
21
22
22
23
23
24
24
25
25
26
26
27
27
28
28
<Chan
<Chan 346>
346> :: Open
Open -- number(101)
number(101) direction(receive)
direction(receive)
session(voice)
session(voice) codec(g7231A-6.3k)
codec(g7231A-6.3k)
-- Local
Local :: Data(23002)
Data(23002) Cont(23003)
Cont(23003) Addr(172.19.1.200)
Addr(172.19.1.200)
-- Remote
:
Data(23900)
Remote : Data(23900) Cont(23901)
Cont(23901)
DataAddr(172.19.1.250)
DataAddr(172.19.1.250) ContAddr(172.19.1
ContAddr(172.19.1
<Q931
<Q931 346>
346> :: Received
Received PROGRESS
PROGRESS
<Q931
346>
:
Received
<Q931 346> : Received Progress
Progress Indicator
Indicator :: desc(8),
desc(8), coding(0),
coding(0),
location(0)
location(0)
<H245
<H245 346>
346> :: Send
Send TCS
TCS request.
request.
<Q931
346>
:
Send
FACILITY
<Q931 346> : Send FACILITY
<H245
<H245 346>
346> :: Send
Send MSD
MSD request.
request.
<Q931
346>
:
Send
FACILITY
<Q931 346> : Send FACILITY
<Call
<Call 346>
346> :: Progress
Progress from(ffffffff)
from(ffffffff)
<Q931
<Q931 346>
346> :: Received
Received CONNECT
CONNECT
<H225
<H225 346>
346> :: Remote
Remote Endpoint
Endpoint (AddPac
(AddPac VoIP,8.00,97,0,22)
VoIP,8.00,97,0,22)
<Call
<Call 346>
346> :: Connected
Connected from(ffffffff)
from(ffffffff)
<NetEP
<NetEP 346>
346> :: Call
Call with
with voip.172.19.1.250
voip.172.19.1.250 established
established
<Chan
346>
:
Open
number(101)
<Chan 346> : Open - number(101) direction(transmit)
direction(transmit)
session(voice)
session(voice) codec(g7231A-6.3k)
codec(g7231A-6.3k)
-- Local
Local :: Data(23002)
Data(23002) Cont(23003)
Cont(23003) Addr(172.19.1.200)
Addr(172.19.1.200)
-- Remote
Remote :: Data(23900)
Data(23900) Cont(23901)
Cont(23901)
DataAddr(172.19.1.250)
DataAddr(172.19.1.250) ContAddr(172.19.1
ContAddr(172.19.1
.250)
.250)
29
<Q931
29
<Q931 346>
346> :: Received
Received FACILITY
FACILITY
30
<H245
30
<H245 346>
346> :: Received
Received TCS
TCS request.
request.
www.addpac.com
VoIP Training Guide
94
call Trace
- H323 Call Setup brief (2/2) –
31
31
32
32
33
33
34
34
35
35
36
36
37
37
38
38
39
39
40
40
41
41
42
42
43
43
44
44
45
45
46
46
47
47
48
48
49
49
<H245
<H245 346>
346> :: remote
remote capabilities
capabilities matching
matching to
to local
local capabilities.
capabilities.
number
number of
of capabilities
capabilities == 55
11 :: g7231A-6.3k
g7231A-6.3k
22 :: g729-8k
g729-8k
33 :: T.38
T.38
44 :: UserInput/basicString
UserInput/basicString
55 :: UserInput/hookflash
UserInput/hookflash
<H245
<H245 346>
346> :: Send
Send TCS
TCS ack.
ack.
<Q931
<Q931 346>
346> :: Send
Send FACILITY
FACILITY
<Q931
<Q931 346>
346> :: Received
Received FACILITY
FACILITY
<H245
<H245 346>
346> :: Received
Received MSD
MSD request.
request.
<H245
<H245 346>
346> :: Send
Send MSD
MSD ack.
ack.
<Q931
<Q931 346>
346> :: Send
Send FACILITY
FACILITY
<Q931
346>
:
Received
<Q931 346> : Received FACILITY
FACILITY
<H245
<H245 346>
346> :: Received
Received TCS
TCS ack..
ack..
<Q931
<Q931 346>
346> :: Received
Received FACILITY
FACILITY
<H245
<H245 346>
346> :: Received
Received MSD
MSD ack.
ack.
<CEP
<CEP 000000>
000000> :: Disconnected(16)
Disconnected(16)
<Call
<Call 346>
346> :: Terminated
Terminated from(0)
from(0) this(Local:CallClear)
this(Local:CallClear)
before(NULL)
before(NULL) forced(0)
forced(0)
<Chan
<Chan 346>
346> :: Close
Close -- number(101)
number(101) direction(receive)
direction(receive)
<Chan
<Chan 346>
346> :: Close
Close -- number(101)
number(101) direction(transmit)
direction(transmit)
<Q931
<Q931 346>
346> :: Send
Send RELEASE
RELEASE COMPLETE
COMPLETE
<GK
<GK 346>
346> :: Send
Send DRQ.
DRQ.
<GK
<GK 346>
346> :: Received
Received DCF.
DCF.
<NetEP
<NetEP 346>
346> :: Call
Call TO
TO <voip.172.19.1.250>
<voip.172.19.1.250> terminated
terminated
reason(Local:CallClear)
reason(Local:CallClear)
www.addpac.com
BLANK
BLANK
VoIP Training Guide
95
call Trace
- h245 DTMF Relay brief/detail–
AP200#
AP200# debug
debug voip
voip call
call
55
<H245
55
<H245 347>
347> :: Send
Send UserInputIndication(1)
UserInputIndication(1)
56
<Q931
56
<Q931 347>
347> :: Send
Send FACILITY
FACILITY
57
<Call
57
<Call 347>
347> :: Digit(2)
Digit(2) s(Established)
s(Established)
58
<H245
58
<H245 347>
347> :: Send
Send UserInputIndication(2)
UserInputIndication(2)
59
<Q931
59
<Q931 347>
347> :: Send
Send FACILITY
FACILITY
60
<Call
347>
:
Digit(3)
60
<Call 347> : Digit(3) s(Established)
s(Established)
61
<H245
61
<H245 347>
347> :: Send
Send UserInputIndication(3)
UserInputIndication(3)
62
<Q931
62
<Q931 347>
347> :: Send
Send FACILITY
FACILITY
63
<Call
63
<Call 347>
347> :: Digit(4)
Digit(4) s(Established)
s(Established)
64
<H245
64
<H245 347>
347> :: Send
Send UserInputIndication(4)
UserInputIndication(4)
65
<Q931
65
<Q931 347>
347> :: Send
Send FACILITY
FACILITY
66
<Call
66
<Call 347>
347> :: Digit(5)
Digit(5) s(Established)
s(Established)
67
<H245
67
<H245 347>
347> :: Send
Send UserInputIndication(5)
UserInputIndication(5)
68
<Q931
68
<Q931 347>
347> :: Send
Send FACILITY
FACILITY
AP200#
AP200# debug
debug voip
voip h245
h245
AP200#
AP200# <>
<> MultimediaSystemControlMessage(choice:4)]
MultimediaSystemControlMessage(choice:4)] Encoding
Encoding ...
...
value
value MultimediaSystemControlMessage
MultimediaSystemControlMessage ::=
::= indication
indication :: userInput
userInput ::
alphanumeric
alphanumeric :: "1"
"1"
1088944039
1088944039 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
<>
<> MultimediaSystemControlMessage(choice:4)]
MultimediaSystemControlMessage(choice:4)] Encoding
Encoding ...
...
value
value MultimediaSystemControlMessage
MultimediaSystemControlMessage ::=
::= indication
indication :: userInput
userInput ::
alphanumeric
alphanumeric :: "2"
"2"
1088944040
1088944040 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
<>
<> MultimediaSystemControlMessage(choice:4)]
MultimediaSystemControlMessage(choice:4)] Encoding
Encoding ...
...
value
value MultimediaSystemControlMessage
MultimediaSystemControlMessage ::=
::= indication
indication :: userInput
userInput ::
alphanumeric
alphanumeric :: "3"
"3"
1088944041
1088944041 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
<>
<> MultimediaSystemControlMessage(choice:4)]
MultimediaSystemControlMessage(choice:4)] Encoding
Encoding ...
...
value
value MultimediaSystemControlMessage
MultimediaSystemControlMessage ::=
::= indication
indication :: userInput
userInput ::
alphanumeric
alphanumeric :: "4"
"4"
1088944042
1088944042 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
<>
<> MultimediaSystemControlMessage(choice:4)]
MultimediaSystemControlMessage(choice:4)] Encoding
Encoding ...
...
value
MultimediaSystemControlMessage
::=
indication
value MultimediaSystemControlMessage ::= indication :: userInput
userInput ::
alphanumeric
alphanumeric :: "5"
"5"
1088944042
1088944042 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
<>
<> MultimediaSystemControlMessage(choice:3)]
MultimediaSystemControlMessage(choice:3)] Encoding
Encoding ...
...
value
MultimediaSystemControlMessage
::=
command
value MultimediaSystemControlMessage ::= command ::
endSessionCommand
endSessionCommand :: disconnect
disconnect :: NULL
NULL
1088944045
1088944045 :: Sent
Sent H245
H245 PDU
PDU to
to (172.19.1.250:10091)
(172.19.1.250:10091) from
from 18001
18001
www.addpac.com
VoIP Training Guide
96
call Trace
- SIP Register(1/2)–
AP1100#
AP1100# debug
debug voip
voip sip
sip
AP1100#
AP1100# debug
debug voip
voip call
call
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
REGISTER
REGISTER sip:test.sip.0038.net
sip:test.sip.0038.net SIP/2.0
SIP/2.0
Date:
Date: Sun,27
Sun,27 Jul
Jul 2003
2003 03:06:10
03:06:10 GMT
GMT
CSeq:
1
REGISTER
CSeq: 1 REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 100.1.1.40:5060;branch=z9hG4bKa23f2000a41
100.1.1.40:5060;branch=z9hG4bKa23f2000a41
Expires:
Expires: 3600
3600
From:
From: sip:[email protected];tag=a23f2000a4
sip:[email protected];tag=a23f2000a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: sip:[email protected]
sip:[email protected]
Contact:
Contact: sip:[email protected]
sip:[email protected]
Content-Length:
Content-Length: 00
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway ver
ver 6.06
6.06
Max-Forwards:
70
Max-Forwards: 70
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
SIP/2.0 401
401 Unauthorized
Unauthorized
CSeq:
CSeq: 11 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 100.1.1.40:5060;branch=z9hG4bKa23f2000a41
100.1.1.40:5060;branch=z9hG4bKa23f2000a41
From:
From: sip:[email protected];tag=a23f2000a4
sip:[email protected];tag=a23f2000a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: sip:[email protected]
sip:[email protected]
Content-Length:
Content-Length: 00
Server:
Server: LMAP-LongBoard
LMAP-LongBoard Inc.
Inc.
WWW-Authenticate:
WWW-Authenticate: Digest
Digest realm="Registered
realm="Registered
Users",qop="auth",opaque="12510306183816
Users",qop="auth",opaque="12510306183816
29",nonce="1251030618381629"
29",nonce="1251030618381629"
99
<SIP
<SIP
1>
1>
:: Receive
Receive 401
401 Unauthorized
Unauthorized
10
10
11
11
12
12
<SIP
<SIP
<SIP
<SIP
<SIP
<SIP
1>
1>
0>
0>
2>
2>
:: Transaction
Transaction (1
(1 REGISTER)
REGISTER) completed
completed
:: Adding
Adding authentication
authentication information
information
:: Send
Send REGISTER
REGISTER Request
Request
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
REGISTER
sip:test.sip.0038.net
SIP/2.0
REGISTER sip:test.sip.0038.net SIP/2.0
Date:
Date: Sun,27
Sun,27 Jul
Jul 2003
2003 03:06:12
03:06:12 GMT
GMT
CSeq:
CSeq: 22 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 100.1.1.40:5060;branch=z9hG4bKa23f2000a42
100.1.1.40:5060;branch=z9hG4bKa23f2000a42
Expires:
Expires: 3600
3600
Authorization:
Authorization: Digest
Digest username="815000380100",
username="815000380100", realm="Registered
realm="Registered Users",
Users",
nonce="125
nonce="125
1030618381629",
1030618381629", opaque="1251030618381629",
opaque="1251030618381629", uri="sip:test.sip.0038.net",
uri="sip:test.sip.0038.net",
response="f
response="f
36127731b8062c0dfb0f146c97651ee",
36127731b8062c0dfb0f146c97651ee", algorithm=MD5
algorithm=MD5
From:
From: sip:[email protected];tag=a23f2000a4
sip:[email protected];tag=a23f2000a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: sip:[email protected]
sip:[email protected]
Contact:
Contact: sip:[email protected]
sip:[email protected]
Content-Length:
Content-Length: 00
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway ver
ver 6.06
6.06
Max-Forwards:
70
Max-Forwards: 70
www.addpac.com
VoIP Training Guide
97
call Trace
- SIP Register (2/2) –
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
SIP/2.0 200
200 Ok
Ok
CSeq:
CSeq: 22 REGISTER
REGISTER
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 100.1.1.40:5060;branch=z9hG4bKa23f2000a42
100.1.1.40:5060;branch=z9hG4bKa23f2000a42
From:
From: sip:[email protected];tag=a23f2000a4
sip:[email protected];tag=a23f2000a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: sip:[email protected]
sip:[email protected]
Content-Length:
Content-Length: 00
Server:
Server: LMAP-LongBoard
LMAP-LongBoard Inc.
Inc.
Contact:
Contact: <sip:[email protected]>;q=0.500;expires=3600
<sip:[email protected]>;q=0.500;expires=3600
13
13
<SIP
<SIP
2>
2>
:: Receive
Receive 200
200 Ok
Ok
14
14
<SIP
<SIP
2>
2>
:: Transaction
Transaction (2
(2 REGISTER)
REGISTER) completed
completed
www.addpac.com
Blank
Blank
VoIP Training Guide
98
call Trace
- SIP Setup (1/2)–
68
68
69
69
70
70
71
71
72
72
73
73
74
74
68
68
68
68
79
79
80
80
81
81
AP1100#
AP1100# debug
debug voip
voip sip
sip
AP1100#
AP1100# debug
debug voip
voip call
call
AP1100#
<Time
:: Inter
AP1100# 11
<Time 7>
7>
Inter digit
digit timer
timer timeout.
timeout.
22
<Call
:: Digit(#)
<Call 7>
7>
Digit(#)
33
<Call
:: MatchAllProcess
<Call 7>
7>
MatchAllProcess After
After Sorted
Sorted
<0>
id(1000)
dest(T)
<0> id(1000) dest(T) prefer(0)
prefer(0) selected(1)
selected(1)
44
<Call
:: Initiate
<Call 7>
7>
Initiate callee
callee with
with dial-peer(T)
dial-peer(T)
status(CalleeDetermined
status(CalleeDetermined
All)
All)
55
<NetEP
:: InitiateOutCall:
<NetEP 7>
7>
InitiateOutCall: calledNum(011177)
calledNum(011177)
callingNum(81500038010
callingNum(81500038010
0)
0) target(sip-server)
target(sip-server)
66
<NetEP
:: DoCall:
<NetEP 7>
7>
DoCall:
calledAddr(sip:[email protected])
calledAddr(sip:[email protected]) callingA
callingA
ddr(815000380100)
ddr(815000380100)
77
<SIP
:: No
<SIP 0>
0>
No authentication
authentication information
information available
available
88
<SIP
:: Send
<SIP 7>
7>
Send INVITE
INVITE Request
Request
82
82
83
83
84
84
85
85
86
86
87
87
88
88
89
89
90
90
91
91
92
92
93
93
94
94
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
INVITE
sip:[email protected]
SIP/2.0
INVITE sip:[email protected] SIP/2.0
Date:
Date: Sun,27
Sun,27 Jul
Jul 2003
2003 02:18:55
02:18:55 GMT
GMT
CSeq:
CSeq: 33 INVITE
INVITE
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>
<sip:[email protected]>
Contact:
Contact: sip:[email protected]
sip:[email protected]
Content-Type:
Content-Type: application/sdp
application/sdp
Content-Length:
Content-Length: 145
145
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway ver
ver 6.06
6.06
Max-Forwards:
Max-Forwards: 70
70
75
75
76
76
77
77
78
78
69
69
70
70
71
71
72
72
v=0
v=0
o=AddpacTechSIP-GW-UserAgent
o=AddpacTechSIP-GW-UserAgent 1059272335
1059272335 1059272335
1059272335 IN
IN
IP4
IP4 218.47.24.3
218.47.24.3
s=SIP
s=SIP Session
Session
t=0
t=0 00
c=IN
c=IN IP4
IP4 218.47.24.3
218.47.24.3
m=audio
m=audio 23010
23010 RTP/AVP
RTP/AVP 00
73
73
74
74
75
75
76
76
77
77
78
78
79
79
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
100
Trying
SIP/2.0 100 Trying
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
CSeq:
CSeq: 33 INVITE
INVITE
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>
<sip:[email protected]>
80
80
99
<SIP
<SIP
7>
7>
:: Receive
Receive 100
100 Trying
Trying
81
81
10
10
<SIP
<SIP
7>
7>
:: Transaction
Transaction (3
(3 INVITE)
INVITE) proceeding
proceeding
82
82
www.addpac.com
VoIP Training Guide
99
call Trace
- SIP Setup (2/2)–
68
68
69
69
70
70
71
71
72
72
73
73
74
74
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
SIP/2.0 100
100 Trying
Trying
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
CSeq:
CSeq: 44 INVITE
INVITE
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>
<sip:[email protected]>
68
68
69
69
75
75
15
15
<SIP
<SIP
7>
7>
:: Receive
Receive 100
100 Trying
Trying
71
71
72
72
76
76
16
16
<SIP
<SIP
7>
7>
:: Transaction
Transaction (4
(4 INVITE)
INVITE) proceeding
proceeding
73
73
77
77
78
78
79
79
80
80
81
81
82
82
83
83
84
84
85
85
86
86
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
180
Ringing
SIP/2.0 180 Ringing
CSeq:
CSeq: 44 INVITE
INVITE
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>;tag=apsd57595u1-7881812
<sip:[email protected]>;tag=apsd57595u1-7881812
Content-Length:
Content-Length: 159
159
Content-Disposition:
Content-Disposition: signal;handling=required
signal;handling=required
Content-Type:
Content-Type: application/sdp
application/sdp
87
87
88
88
89
89
90
90
91
91
92
92
93
93
94
94
v=0
v=0
o=Sonus_UAC
o=Sonus_UAC 32590
32590 29093
29093 IN
IN IP4
IP4 100.1.1.228
100.1.1.228
s=SIP
s=SIP Media
Media Capabilities
Capabilities
c=IN
c=IN IP4
IP4 100.1.1.228
100.1.1.228
t=0
t=0 00
m=audio
m=audio 10008
10008 RTP/AVP
RTP/AVP 00
a=sendrecv
a=sendrecv
a=ptime:10
a=ptime:10
68
68
69
69
70
70
74
74
75
75
76
76
77
77
78
78
79
79
80
80
81
81
82
82
83
83
84
84
85
85
86
86
87
87
a=sendrecv
a=sendrecv
a=ptime:10
a=ptime:10
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
17
<SDP
:: Malformed
17
<SDP 0>
0>
Malformed media
media attribute
attribute :: sendrecv
sendrecv
18
<SDP
:: Malformed
18
<SDP 0>
0>
Malformed media
media attribute
attribute :: ptime:10
ptime:10
19
<SIP
7>
:
Receive
180
Ringing
19
<SIP 7>
: Receive 180 Ringing
20
<SIP
20
<SIP 7>
7>
21
<Call
21
<Call 7>
7>
status(CalleeIni
status(CalleeIni
tiated)
tiated)
:: Transaction
Transaction (4
(4 INVITE)
INVITE) proceeding
proceeding
:: Alert
Alert from(fffffffe)
from(fffffffe) pseudo(0)
pseudo(0) inband(0)
inband(0)
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
SIP/2.0 200
200 OK
OK
CSeq:
CSeq: 44 INVITE
INVITE
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>;tag=apsd57595u1-7881812
<sip:[email protected]>;tag=apsd57595u1-7881812
Contact:
Contact: <sip:011177-bco<sip:[email protected]:5060;transport=udp>
[email protected]:5060;transport=udp>
Allow:
Allow: OPTIONS,INVITE,
OPTIONS,INVITE, CANCEL,
CANCEL, ACK,
ACK, PRACK,
PRACK, INFO,
INFO, BYE
BYE
Accept:
multipart/mixed,
application/sdp,
application/isup,
Accept: multipart/mixed, application/sdp, application/isup,
application/dtmf,
application/dtmf, appli
appli
cation/dtmf-relay
cation/dtmf-relay
Content-Length:
Content-Length: 159
159
Content-Disposition:
Content-Disposition: signal;handling=required
signal;handling=required
Content-Type:
Content-Type: application/sdp
application/sdp
www.addpac.com
VoIP Training Guide
100
call Trace
- SIP Setup (2/2)–
68
68
69
69
70
70
71
71
72
72
73
73
74
74
75
75
v=0
v=0
o=Sonus_UAC
o=Sonus_UAC 32590
32590 29093
29093 IN
IN IP4
IP4 100.1.1.228
100.1.1.228
s=SIP
s=SIP Media
Media Capabilities
Capabilities
c=IN
c=IN IP4
IP4 100.1.1.228
100.1.1.228
t=0
t=0 00
m=audio
m=audio 10008
10008 RTP/AVP
RTP/AVP 00
a=sendrecv
a=sendrecv
a=ptime:10
a=ptime:10
76
76
77
77
78
78
22
22
23
23
24
24
<SDP
<SDP 0>
0>
<SDP
<SDP 0>
0>
<SIP
<SIP 7>
7>
:: Malformed
Malformed media
media attribute
attribute :: sendrecv
sendrecv
:: Malformed
Malformed media
media attribute
attribute :: ptime:10
ptime:10
:: Receive
Receive 200
200 OK
OK
79
79
25
25
<SIP
<SIP
:: Send
Send ACK
ACK Request
Request
7>
7>
68
68
69
69
70
70
71
71
72
72
73
73
74
74
75
75
76
76
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
ACK
ACK sip:[email protected]
sip:[email protected] SIP/2.0
SIP/2.0
CSeq:
CSeq: 44 ACK
ACK
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>;tag=apsd57595u1-7881812
<sip:[email protected]>;tag=apsd57595u1-7881812
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
77
77
78
78
79
79
26
<SIP
:: Get
26
<SIP 7>
7>
Get SIP
SIP MediaFormat
MediaFormat :: 00
27
<Call
:: Connected
27
<Call 7>
7>
Connected from(fffffffe)
from(fffffffe)
28
<NetEP
:: Call
28
<NetEP 7>
7>
Call with
with sip:[email protected]
sip:[email protected]
established
established
29
<SIP
:: Received
29
<SIP 7>
7>
Received INVITE
INVITE OK
OK response
response
30
<Time
:: SIP_TCOMP_LONG
30
<Time 7>
7>
SIP_TCOMP_LONG timer
timer timeout.
timeout.
(transactionID
(transactionID :: 185270320)
185270320)
31
<Time
:: SIP_TCOMP_LONG
31
<Time 7>
7>
SIP_TCOMP_LONG timer
timer timeout.
timeout.
(transactionID
(transactionID :: 185270336
185270336
80
80
81
81
82
82
80
80
www.addpac.com
VoIP Training Guide
101
call Trace
- SIP Setup (2/2)–
68
68
69
69
70
70
71
71
72
72
73
73
74
74
78
78
Received
Received SIP
SIP PDU
PDU from
from (( 100.1.1.228:5060
100.1.1.228:5060 ))
SIP/2.0
SIP/2.0 407
407 Proxy
Proxy Authentication
Authentication Required
Required
CSeq:
CSeq: 33 INVITE
INVITE
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>;tag=aprqngfrt-apsd57595u1<sip:[email protected]>;tag=aprqngfrt-apsd57595u1z9hG4bK219842720
z9hG4bK219842720
Content-Length:
Content-Length: 00
Server:
Server: LMAP-LongBoard
LMAP-LongBoard Inc.
Inc.
Proxy-Authenticate:
Proxy-Authenticate: Digest
Digest realm="Registered
realm="Registered
Users",qop="auth",opaque="109103060351
Users",qop="auth",opaque="109103060351
1529",nonce="1091030603511529"
1529",nonce="1091030603511529"
79
79
11
11
<SIP
<SIP
7>
7>
:: Receive
Receive 407
407 Proxy
Proxy Authentication
Authentication Required
Required
80
80
12
12
<SIP
<SIP
7>
7>
:: Send
Send ACK
ACK Request
Request
81
81
82
82
83
83
84
84
85
85
86
86
87
87
88
88
89
89
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
ACK
ACK sip:[email protected]
sip:[email protected] SIP/2.0
SIP/2.0
CSeq:
CSeq: 33 ACK
ACK
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
218.47.24.3:5060;branch=z9hG4bK8f3f5910a43
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>;tag=aprqngfrt-apsd57595u1<sip:[email protected]>;tag=aprqngfrt-apsd57595u1z9hG4bK219842720
z9hG4bK219842720
Content-Length:
Content-Length: 00
Max-Forwards:
Max-Forwards: 70
70
90
90
91
91
13
13
14
14
75
75
76
76
77
77
68
68
69
69
70
70
71
71
72
72
73
73
74
74
75
75
76
76
77
77
78
78
<SIP
<SIP
<SIP
<SIP
0>
0>
7>
7>
79
79
80
80
81
81
82
82
83
83
84
84
85
85
86
86
87
87
88
88
Sending
Sending SIP
SIP PDU
PDU to
to (( test.sip.0038.net:5060
test.sip.0038.net:5060 )) from
from 5060
5060
INVITE
INVITE sip:[email protected]
sip:[email protected] SIP/2.0
SIP/2.0
Date:
Date: Sun,27
Sun,27 Jul
Jul 2003
2003 02:18:55
02:18:55 GMT
GMT
CSeq:
CSeq: 44 INVITE
INVITE
Via:
Via: SIP/2.0/UDP
SIP/2.0/UDP 218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
218.47.24.3:5060;branch=z9hG4bK8f3f5910a44
From:
From: <sip:[email protected]>;tag=8f3f5910a4
<sip:[email protected]>;tag=8f3f5910a4
Call-ID:
Call-ID: [email protected]
[email protected]
To:
To: <sip:[email protected]>
<sip:[email protected]>
Contact:
Contact: sip:[email protected]
sip:[email protected]
Proxy-Authorization:
Proxy-Authorization: Digest
Digest username="815000380100",
username="815000380100",
realm="Registered
realm="Registered Users",
Users", nonc
nonc
e="1091030603511529",
e="1091030603511529", opaque="1091030603511529",
opaque="1091030603511529",
uri="sip:[email protected]"
uri="sip:[email protected]"
,, response="2077b54acf82b8ed35967199bf38023e",
response="2077b54acf82b8ed35967199bf38023e",
algorithm=MD5
algorithm=MD5
Content-Type:
Content-Type: application/sdp
application/sdp
Content-Length:
Content-Length: 145
145
User-Agent:
User-Agent: AddPac
AddPac SIP
SIP Gateway
Gateway ver
ver 6.06
6.06
Max-Forwards:
70
Max-Forwards: 70
v=0
v=0
o=AddpacTechSIP-GW-UserAgent
o=AddpacTechSIP-GW-UserAgent 1059272335
1059272335 1059272335
1059272335 IN
IN
IP4
IP4 218.47.24.3
218.47.24.3
s=SIP
s=SIP Session
Session
t=0
t=0 00
c=IN
c=IN IP4
IP4 218.47.24.3
218.47.24.3
m=audio
m=audio 23010
23010 RTP/AVP
RTP/AVP 00
:: Adding
Adding authentication
authentication information
information
:: Send
Send INVITE
INVITE Request
Request
www.addpac.com
VoIP Training Guide
102
call Trace
- T38 FAX Relay (1/4) –
AP200#
AP200# debug
debug voip
voip call
call
AP200#
AP200# debug
debug rta
rta ipc
ipc
AP200#
AP200# debug
debug rta
rta t38
t38
AP200#
AP200# [1268.205]
[1268.205] VM(0/0/0)
VM(0/0/0) vmOffHook
vmOffHook
[1268.265]
[1268.265] VM(0/0/0)
VM(0/0/0) vmTmoOffHook
vmTmoOffHook
[1268.265]
[1268.265] VM(0/0/0)
VM(0/0/0) Rx
Rx OffHook
OffHook
[1268.265]
VM(0/0/0)
Tx
[1268.265] VM(0/0/0) Tx OFFHOOK_IND
OFFHOOK_IND
[1268.265]
[1268.265] VM(0/0/0)
VM(0/0/0) play
play Dial
Dial tone
tone
11
<CEP
<CEP 000000>
000000> :: Call
Call Received
Received
22
<CEP
<CEP 000000>
000000> :: Call
Call Initiated
Initiated :: calledNumber()
calledNumber() callerInfo()
callerInfo() crv(0)
crv(0)
total(0)
total(0)
33
<Call
:: ******************
<Call 4>
4>
****************** Call
Call Created
Created status(InitiatedByFXS)
status(InitiatedByFXS)
****************
****************
***
***
44
<CEP
<CEP 000000>
000000> :: Call
Call id(b06eec40-e399-77ad-8007id(b06eec40-e399-77ad-80070002a400e070)
0002a400e070) callNum(4)
callNum(4)
[1271.575]
[1271.575] VM(0/0/0)
VM(0/0/0) Tx
Tx DIGIT_IND
DIGIT_IND '1'
'1'
[1271.575]
[1271.575] VM(0/0/0)
VM(0/0/0) play
play mute
mute
55
<Call
:: Digit(1)
<Call 4>
4>
Digit(1) s(InitiatedByFXS)
s(InitiatedByFXS)
66
<Call
4>
:
Digit
<Call 4>
: Digit match
match checked(MatchedPartially)
checked(MatchedPartially)
[1271.755]
[1271.755] VM(0/0/0)
VM(0/0/0) Tx
Tx DIGIT_IND
DIGIT_IND '0'
'0'
77
<Call
:: Digit(0)
<Call 4>
4>
Digit(0) s(CalleeUndetermined)
s(CalleeUndetermined)
88
<Call
:: Digit
<Call 4>
4>
Digit match
match checked(MatchedPartially)
checked(MatchedPartially)
[1271.935]
[1271.935] VM(0/0/0)
VM(0/0/0) Tx
Tx DIGIT_IND
DIGIT_IND '0'
'0'
99
<Call
:: Digit(0)
<Call 4>
4>
Digit(0) s(CalleeUndetermined)
s(CalleeUndetermined)
10
<Call
:: Digit
10
<Call 4>
4>
Digit match
match checked(MatchedPartially)
checked(MatchedPartially)
[1272.115]
VM(0/0/0)
Tx
DIGIT_IND
[1272.115] VM(0/0/0) Tx DIGIT_IND '0'
'0'
11
<Call
:: Digit(0)
11
<Call 4>
4>
Digit(0) s(CalleeUndetermined)
s(CalleeUndetermined)
12
<Call
:: Digit
12
<Call 4>
4>
Digit match
match checked(MatchedPerfect)
checked(MatchedPerfect)
13
<Call
:: MatchAllProcess
13
<Call 4>
4>
MatchAllProcess After
After Sorted
Sorted
<0>
<0> id(1000)
id(1000) dest(1000)
dest(1000) prefer(0)
prefer(0) selected(2)
selected(2)
14
14
<Call
:: Initiate
<Call 4>
4>
Initiate callee
callee with
with dial-peer(1000)
dial-peer(1000)
status(CalleeDeterminedAll)
status(CalleeDeterminedAll) id(b06ee
id(b06ee
c40-e399-77ad-8007-0002a400e070)
c40-e399-77ad-8007-0002a400e070)
15
<NetEP
:: InitiateOutCall:
15
<NetEP 4>
4>
InitiateOutCall: calledNum(1000)
calledNum(1000) callingNum(2000)
callingNum(2000)
target(172.17.180.3)
target(172.17.180.3)
16
<NetEP
:: DoCall:
16
<NetEP 4>
4>
DoCall: calledAddr([email protected])
calledAddr([email protected])
callingAddr(2000)
callingAddr(2000)
[1272.120]
[1272.120] VM(0/0/0)
VM(0/0/0) Fax
Fax rate
rate 9600
9600
17
<H225
:: Try
17
<H225 4>
4>
Try signalling
signalling TCP
TCP connect
connect (172.17.180.3:1720)
(172.17.180.3:1720)
18
<H225
:: Signalling
18
<H225 4>
4>
Signalling TCP
TCP connect
connect success
success (4)
(4)
19
<H323
:: local
19
<H323 4>
4>
local capabilities.
capabilities.
number
number of
of capabilities
capabilities == 55
11 :: g7231A-6.3k
g7231A-6.3k
22 :: g729-8k
g729-8k
33 :: T.38
T.38
44 :: UserInput/basicString
UserInput/basicString
55 :: UserInput/hookflash
UserInput/hookflash
20
<Q931
:: Send
20
<Q931 4>
4>
Send SETUP
SETUP
[1272.140]
[1272.140] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_LISTEN_REQ
RS_LISTEN_REQ callId=4
callId=4 ssId=1
ssId=1 G729A
G729A
peer=0.0.0.0
mp=23006/23007
hp=0/0
peer=0.0.0.0 mp=23006/23007 hp=0/0
[1272.140]
[1272.140] VM(0/0/0)
VM(0/0/0) codec
codec replace
replace later
later
21
<Q931
:: Received
21
<Q931 4>
4>
Received CALL
CALL PROCEEDING
PROCEEDING
22
<Chan
:: Open
22
<Chan 4>
4>
Open -- number(101)
number(101) direction(receive)
direction(receive)
session(voice)
session(voice) codec(g7231A-6.3k)
codec(g7231A-6.3k)
-- Local
Local :: Data(23006)
Data(23006) Cont(23007)
Cont(23007) Addr(172.17.180.2)
Addr(172.17.180.2)
-- Remote
Remote :: Data(23006)
Data(23006) Cont(23007)
Cont(23007)
DataAddr(172.17.180.3)
DataAddr(172.17.180.3) ContAddr(172.17
ContAddr(172.17
.180.3)
.180.3)
23
<Q931
:: Received
23
<Q931 4>
4>
Received ALERTING
ALERTING
24
<H245
:: Send
24
<H245 4>
4>
Send TCS
TCS request.
request.
25
<Q931
:: Send
25
<Q931 4>
4>
Send FACILITY
FACILITY
www.addpac.com
VoIP Training Guide
103
call Trace
- T38 FAX Relay (2/4) –
26
26
27
27
28
28
<H245
:: Send
<H245 4>
4>
Send MSD
MSD request.
request.
<Q931
:: Send
<Q931 4>
4>
Send FACILITY
FACILITY
<Call
:: Alert
<Call 4>
4>
Alert from(ffffffff)
from(ffffffff) pseudo(0)
pseudo(0) inband(0)
inband(0)
status(CalleeInitiated)
status(CalleeInitiated)
[1272.225]
[1272.225] RTA(0/0/0)
RTA(0/0/0) Rx
Rx CC_ALERT_RSP
CC_ALERT_RSP peerId(0/0/0)
peerId(0/0/0)
[1272.225]
[1272.225] VM(0/0/0)
VM(0/0/0) play
play RingBack
RingBack tone
tone
29
<Q931
:: Received
29
<Q931 4>
4>
Received FACILITY
FACILITY
30
<H245
:: Received
30
<H245 4>
4>
Received TCS
TCS request.
request.
31
<H245
:: remote
31
<H245 4>
4>
remote capabilities
capabilities matching
matching to
to local
local capabilities.
capabilities.
number
of
capabilities
=
5
number of capabilities = 5
11 :: g7231A-6.3k
g7231A-6.3k
22 :: g729-8k
g729-8k
33 :: T.38
T.38
44 :: UserInput/basicString
UserInput/basicString
55 :: UserInput/hookflash
UserInput/hookflash
32
<H245
:: Send
32
<H245 4>
4>
Send TCS
TCS ack.
ack.
33
<Q931
:: Send
33
<Q931 4>
4>
Send FACILITY
FACILITY
34
<Q931
:: Received
34
<Q931 4>
4>
Received FACILITY
FACILITY
35
<H245
4>
:
Received
35
<H245 4>
: Received TCS
TCS ack..
ack..
36
<Q931
:: Received
36
<Q931 4>
4>
Received FACILITY
FACILITY
37
<H245
:: Received
37
<H245 4>
4>
Received MSD
MSD ack.
ack.
38
<H245
:: Send
38
<H245 4>
4>
Send MSD
MSD ack.
ack.
39
<Q931
:: Send
39
<Q931 4>
4>
Send FACILITY
FACILITY
40
<Q931
:: Received
40
<Q931 4>
4>
Received CONNECT
CONNECT
41
<H225
:: Remote
41
<H225 4>
4>
Remote Endpoint
Endpoint (AddPac
(AddPac VoIP,7.00,97,0,22)
VoIP,7.00,97,0,22)
42
<Call
4>
:
Connected
from(ffffffff)
42
<Call 4>
: Connected from(ffffffff)
[1279.375]
[1279.375] RTA(0/0/0)
RTA(0/0/0) Rx
Rx CC_CONNECT_RSP
CC_CONNECT_RSP peerId(0/0/0)
peerId(0/0/0)
[1279.375]
VM(0/0/0)
Fax
enable
[1279.375] VM(0/0/0) Fax enable
[1279.375]
[1279.375] VM(0/0/0)
VM(0/0/0) play
play mute
mute
43
<NetEP
:: Call
43
<NetEP 4>
4>
Call with
with voip.172.17.180.3
voip.172.17.180.3 established
established
44
44
<Chan
:: Open
<Chan 4>
4>
Open -- number(101)
number(101) direction(transmit)
direction(transmit)
session(voice)
session(voice) codec(g7231A-6.3k)
codec(g7231A-6.3k)
-- Local
Local :: Data(23006)
Data(23006) Cont(23007)
Cont(23007) Addr(172.17.180.2)
Addr(172.17.180.2)
-- Remote
:
Data(23006)
Remote : Data(23006) Cont(23007)
Cont(23007)
DataAddr(172.17.180.3)
DataAddr(172.17.180.3) ContAddr(172.17
ContAddr(172.17
.180.3)
.180.3)
[1279.375]
[1279.375] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_OPEN_REQ
RS_OPEN_REQ callId=4
callId=4 ssId=1
ssId=1 G7236
G7236
peer=172.17.180.3
mp=23006/23007
hp=23006/23007
peer=172.17.180.3 mp=23006/23007 hp=23006/23007
[1279.380]
[1279.380] VM(0/0/0)
VM(0/0/0) vopp
vopp idle
idle
[1279.380]
[1279.380] VM(0/0/0)
VM(0/0/0) codec
codec replace
replace timer
timer start
start
[1279.385]
[1279.385] VM(0/0/0)
VM(0/0/0) discard
discard voice
voice under
under codec
codec replace
replace
[1279.395]
[1279.395] VM(0/0/0)
VM(0/0/0) discard
discard voice
voice under
under codec
codec replace
replace
[1279.400]
[1279.400] VM(0/0/0)
VM(0/0/0) under
under codec
codec replace
replace
[1279.440]
[1279.440] VM(0/0/0)
VM(0/0/0) codec
codec replaced
replaced to
to G7236
G7236
[1279.440]
VM(0/0/0)
Fax
enable
[1279.440] VM(0/0/0) Fax enable
[1279.440]
[1279.440] VM(0/0/0)
VM(0/0/0) play
play mute
mute
45
<Q931
:: Received
45
<Q931 4>
4>
Received FACILITY
FACILITY
46
<H245
:: Received
46
<H245 4>
4>
Received RM
RM request.
request.
47
<Q931
:: Send
47
<Q931 4>
4>
Send FACILITY
FACILITY
48
<H245
:: Send
48
<H245 4>
4>
Send CLC
CLC request.
request.
[1284.370]
[1284.370] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_CLOSE_REQ
RS_CLOSE_REQ callId=4
callId=4 ssId=1
ssId=1 dir=forw
dir=forw
49
<Chan
4>
:
Close
number(101)
direction(transmit)
49
<Chan 4>
: Close - number(101) direction(transmit)
50
<Q931
:: Send
50
<Q931 4>
4>
Send FACILITY
FACILITY
51
<H245
4>
:
Send
51
<H245 4>
: Send OLC
OLC request.
request.
52
<Q931
:: Send
52
<Q931 4>
4>
Send FACILITY
FACILITY
53
<Q931
:: Received
53
<Q931 4>
4>
Received FACILITY
FACILITY
54
<H245
:: Received
54
<H245 4>
4>
Received CLC
CLC request.
request.
55
<H245
:: Send
55
<H245 4>
4>
Send CLC
CLC ack.
ack.
56
<Q931
:: Send
56
<Q931 4>
4>
Send FACILITY
FACILITY
[1284.395]
RTA(0/0/0)
Rx
[1284.395] RTA(0/0/0) Rx RS_CLOSE_REQ
RS_CLOSE_REQ callId=4
callId=4 ssId=1
ssId=1 dir=reve
dir=reve
www.addpac.com
VoIP Training Guide
104
call Trace
- T38 FAX Relay (3/4) –
57
57
58
58
59
59
60
60
<Chan
:: Close
<Chan 4>
4>
Close -- number(101)
number(101) direction(receive)
direction(receive)
<Q931
:: Received
<Q931 4>
4>
Received FACILITY
FACILITY
<H245
:: Received
<H245 4>
4>
Received OLC
OLC request.
request.
<Chan
:: Open
<Chan 4>
4>
Open -- number(102)
number(102) direction(receive)
direction(receive) session(data)
session(data)
codec(T.38)
codec(T.38)
-- Local
Local :: Data(23006)
Data(23006) Cont(23007)
Cont(23007) Addr(172.17.180.2)
Addr(172.17.180.2)
-- Remote
Remote :: Data(23006)
Data(23006) Cont(23007)
Cont(23007)
DataAddr(172.17.180.3)
DataAddr(172.17.180.3) ContAddr(172.17
ContAddr(172.17
.180.3)
.180.3)
[1284.405]
[1284.405] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_LISTEN_REQ
RS_LISTEN_REQ callId=4
callId=4 ssId=3
ssId=3 G711A
G711A
peer=172.17.180.3
peer=172.17.180.3 mp=23006/23007
mp=23006/23007 hp=23006/23007
hp=23006/23007
61
<H245
:: Send
61
<H245 4>
4>
Send OLC
OLC ack.
ack.
62
<Q931
:: Send
62
<Q931 4>
4>
Send FACILITY
FACILITY
63
<Q931
:: Received
63
<Q931 4>
4>
Received FACILITY
FACILITY
64
<H245
4>
:
Received
64
<H245 4>
: Received CLC
CLC ack.
ack.
65
<Q931
:: Received
65
<Q931 4>
4>
Received FACILITY
FACILITY
66
<H245
:: Received
66
<H245 4>
4>
Received OLC
OLC ack.
ack.
67
<Chan
:: Open
67
<Chan 4>
4>
Open -- number(103)
number(103) direction(transmit)
direction(transmit) session(data)
session(data)
codec(T.38)
codec(T.38)
-- Local
Local :: Data(23006)
Data(23006) Cont(23007)
Cont(23007) Addr(172.17.180.2)
Addr(172.17.180.2)
-- Remote
:
Data(23006)
Remote : Data(23006) Cont(23007)
Cont(23007)
DataAddr(172.17.180.3)
DataAddr(172.17.180.3) ContAddr(172.17
ContAddr(172.17
.180.3)
.180.3)
[1284.450]
[1284.450] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_OPEN_REQ
RS_OPEN_REQ callId=4
callId=4 ssId=3
ssId=3 G711A
G711A
peer=172.17.180.3
mp=23006/23007
hp=23006/23007
peer=172.17.180.3 mp=23006/23007 hp=23006/23007
[1284.495]
[1284.495] T38(0/0/0)
T38(0/0/0) Rx
Rx T30I
T30I CED
CED
[1291.185]
[1291.185] T38(0/0/0)
T38(0/0/0) Rx
Rx T30I
T30I FLAG
FLAG
[ff]
[ff] [c0]
[c0] [02]
[02] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04]
[04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04] [04]
[04]
[1e]
[1e] [86]
[86] [62]
[62] [1293.520]
[1293.520] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 OK
OK
[ff]
[ff] [c8]
[c8] [01]
[01] [00]
[00] [73]
[73] [1e]
[1e] [1293.730]
[1293.730] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 OK
OK
[1293.760]
[1293.760] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 END
END
[1294.390]
[1294.390] T38(0/0/0)
T38(0/0/0) Tx
Tx T30I
T30I FLAG
FLAG
[1296.010]
[1296.010] T38(0/0/0)
T38(0/0/0) Tx
Tx HDLC
HDLC L=23:
L=23: ffff c0
c0 c2
c2 04
04 04
04 04
04 04
04 04
04 04
04 04
04 04
04 04
04
04
04 04
04 04
04 04
04 04
04 04
04 04
04 04
04 04
04
04
04 04
04
[1296.015]
[1296.015] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V21
V21 OK
OK
[1296.285]
[1296.285] T38(0/0/0)
T38(0/0/0) Tx
Tx HDLC
HDLC L=6:
L=6: ffff c8
c8 c1
c1 00
00 61
61 18
18
[1296.290]
[1296.290] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V21
V21 OK
OK
[1296.370]
[1296.370] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V21
V21 END
END
[1296.490]
[1296.490] T38(0/0/0)
T38(0/0/0) Tx
Tx T30I
T30I V29_9600
V29_9600
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1298.190]
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1298.190] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V29_9600
V29_9600 T4_E
T4_E
[1299.370]
T38(0/0/0)
Rx
T30I
FLAG
[1299.370] T38(0/0/0) Rx T30I FLAG
[ff]
[ff] [c8]
[c8] [21]
[21] [1300.600]
[1300.600] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 OK
OK
[1300.630]
[1300.630] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 END
END
[1301.530]
[1301.530] T38(0/0/0)
T38(0/0/0) Tx
Tx T30I
T30I V29_9600
V29_9600
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1309.115]
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1309.115] TT
38(0/0/0)
38(0/0/0) Tx
Tx T30D
T30D V29_9600
V29_9600 T4_E
T4_E
[1309.270]
T38(0/0/0)
[1309.270] T38(0/0/0) Tx
Tx T30I
T30I FLAG
FLAG
[1310.375]
[1310.375] T38(0/0/0)
T38(0/0/0) Tx
Tx HDLC
HDLC L=3:
L=3: ffff c8
c8 f4
f4
[1310.375]
T38(0/0/0)
Tx
T30D
V21
OK
[1310.375] T38(0/0/0) Tx T30D V21 OK
[1310.440]
[1310.440] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V21
V21 END
END
[1311.130]
[1311.130] T38(0/0/0)
T38(0/0/0) Rx
Rx T30I
T30I FLAG
FLAG
[ff]
[ff] [c8]
[c8] [31]
[31] [1312.360]
[1312.360] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 OK
OK
[1312.390]
[1312.390] T38(0/0/0)
T38(0/0/0) Rx
Rx T30D
T30D V21
V21 END
END
[1312.990]
[1312.990] T38(0/0/0)
T38(0/0/0) Tx
Tx T30I
T30I FLAG
FLAG
[1314.085]
T38(0/0/0)
Tx
HDLC
[1314.085] T38(0/0/0) Tx HDLC L=3:
L=3: ffff c8
c8 df
df
[1314.085]
T38(0/0/0)
Tx
T30D
V21
OK
[1314.085] T38(0/0/0) Tx T30D V21 OK
[1314.160]
[1314.160] T38(0/0/0)
T38(0/0/0) Tx
Tx T30D
T30D V21
V21 END
END
68
<Q931
:: Received
68
<Q931 4>
4>
Received RELEASE
RELEASE COMPLETE
COMPLETE
[1315.030]
[1315.030] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_CLOSE_REQ
RS_CLOSE_REQ callId=4
callId=4 ssId=3
ssId=3 dir=reve
dir=reve
69
<Chan
:: Close
69
<Chan 4>
4>
Close -- number(102)
number(102) direction(receive)
direction(receive)
www.addpac.com
VoIP Training Guide
105
call Trace
- T38 FAX Relay (4/4) –
[1315.030]
[1315.030] RTA(0/0/0)
RTA(0/0/0) Rx
Rx RS_CLOSE_REQ
RS_CLOSE_REQ callId=4
callId=4 ssId=3
ssId=3 dir=forw
dir=forw
70
<Chan
:: Close
70
<Chan 4>
4>
Close -- number(103)
number(103) direction(transmit)
direction(transmit)
71
<Call
:: Terminated
71
<Call 4>
4>
Terminated from(ffffffff)
from(ffffffff) this(Remote:CallClear)
this(Remote:CallClear)
before(NULL)
before(NULL) forced(0)
forced(0)
72
<CEP
72
<CEP 000000>
000000> :: Disconnect
Disconnect (0)
(0)
[1315.085]
[1315.085] RTA(0/0/0)
RTA(0/0/0) Rx
Rx CC_DISCONN_REQ
CC_DISCONN_REQ CZ=0,
CZ=0, peerId(0/0/0)
peerId(0/0/0)
[1315.085]
[1315.085] VM(0/0/0)
VM(0/0/0) play
play Reorder
Reorder tone
tone
73
<NetEP
:: Call
73
<NetEP 4>
4>
Call TO
TO <voip.172.17.180.3>
<voip.172.17.180.3> terminated
terminated
reason(Remote:CallClear)
reason(Remote:CallClear)
[1315.185]
[1315.185] VM(0/0/0)
VM(0/0/0) vmOnHook
vmOnHook
[1315.245]
[1315.245] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.305]
[1315.305] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.365]
[1315.365] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.425]
[1315.425] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.485]
[1315.485] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.545]
[1315.545] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.605]
[1315.605] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.665]
[1315.665] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.725]
[1315.725] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.785]
[1315.785] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.845]
[1315.845] VM(0/0/0)
VM(0/0/0) vmTmoOnHook
vmTmoOnHook
[1315.845]
[1315.845] VM(0/0/0)
VM(0/0/0) Rx
Rx OnHook
OnHook
[1315.845]
VM(0/0/0)
vopp
[1315.845] VM(0/0/0) vopp idle
idle
[1315.845]
[1315.845] VM(0/0/0)
VM(0/0/0) Tx
Tx DISCONN_CNF
DISCONN_CNF
74
<CEP
74
<CEP 000000>
000000> :: Disconnected(16)
Disconnected(16)
www.addpac.com
BLANK
BLANK
VoIP Training Guide
106
call Trace
- E&M –
AP2520#
AP2520# debug
debug voip
voip call
call
AP2520#
AP2520# debug
debug rta
rta ipc
ipc
AP2520#
AP2520# [76.030]
[76.030] VM(1/0/0)
VM(1/0/0) vmOffHook
vmOffHook
[76.030]
[76.030] VM(1/0/0)
VM(1/0/0) Rx
Rx OffHook
OffHook
[76.030]
[76.030] VM(1/0/0)
VM(1/0/0) Tx
Tx CALL_RECEIVED
CALL_RECEIVED
11
<CEP
010000>
<CEP 010000> :: Call
Call Received
Received
[76.230]
VM(1/0/0)
WinkWait
[76.230] VM(1/0/0) WinkWait timeout
timeout
[76.230]
[76.230] VM(1/0/0)
VM(1/0/0) E&M
E&M OffHook
OffHook
[76.430]
[76.430] VM(1/0/0)
VM(1/0/0) WinkDura
WinkDura timeout,
timeout, Tx
Tx OFFHOOK_IND
OFFHOOK_IND
[76.430]
[76.430] VM(1/0/0)
VM(1/0/0) E&M
E&M OnHook
OnHook
[76.430]
[76.430] VM(1/0/0)
VM(1/0/0) play
play Dial
Dial tone
tone
22
<CEP
<CEP 010000>
010000> :: Call
Call Initiated
Initiated :: calledNumber()
calledNumber() crv(0)
crv(0) total(0)
total(0)
33
<Call
:: ******************
<Call 1>
1>
****************** Call
Call Created
Created
status(InitiatedByE&M)
status(InitiatedByE&M) *******
*******
www.addpac.com
BLANK
BLANK
VoIP Training Guide
107
call Trace
- ISDN PRI (1/3)–
AP2520#
AP2520# debug
debug voip
voip call
call
AP2520#
AP2520# debug
debug rta
rta ipc
ipc
AP2520#
AP2520# debug
debug rta
rta q931
q931
AP2520#
AP2520# [6425.650]
[6425.650] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=37
len=37
[6425.650]
[6425.650] Q931[0]
Q931[0] Rx
Rx [SETUP]
[SETUP] 08
08 02
02 0e
0e a3
a3 05
05 a1
a1 04
04 03
03 80
80 90
90 a3
a3 18
18 03
03
a9
a9 83
83 8b
8b 6c
6c 05
05 c9
c9 32
32 33
00 30
30 33
33 70
70 0c
0c 80
80 35
35 36
36 36
36 34
34 37
37 37
37 35
35 31
31 30
30 30
30 30
30
SendingCom
SendingCom :: a1
a1
Bearer_Cap
Bearer_Cap :: 04
04 03
03 80
80 90
90 a3
a3
ChannelId
:
18
03
a9
83
ChannelId : 18 03 a9 83 8b
8b
CallingNum
CallingNum :: 6c
6c 05
05 c9
c9 32
32 30
30 30
30 33
33
CalledNum
:
70
0c
80
35
36
36
CalledNum : 70 0c 80 35 36 36 34
34 37
37 37
37 35
35 31
31 30
30 30
30 30
30
11
<Dev
<Dev 000000>
000000> :: CCC_GetBchannel
CCC_GetBchannel :: bChNo(11)
bChNo(11) exclusive(1)
exclusive(1)
[6425.655]
[6425.655] Q931[0]
Q931[0] Tx
Tx PCC_SETUP_IND
PCC_SETUP_IND CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=0
CZ=0 PG=0
PG=0
Cd='56647751000'
Cd='56647751000' Cg='2003'
Cg='2003'
[6425.655]
[6425.655] Q931[0]
Q931[0] Tx
Tx [CALL_P]
[CALL_P] 08
08 02
02 8e
8e a3
a3 02
02 18
18 03
03 a9
a9 83
83 8b
8b
ChannelId
ChannelId :: 18
18 03
03 a9
a9 83
83 8b
8b
22
<CEP
<CEP 00000b>
00000b> :: Call
Call Received
Received
33
<Call
<Call 34>
34> :: ******************
****************** Call
Call Created
Created status(InitiatedByE1)
status(InitiatedByE1)
*********
*********
**********
**********
44
<CEP
<CEP 00000b>
00000b> :: Calling
Calling number(2003)
number(2003)
55
<CEP
<CEP 00000b>
00000b> :: Call
Call id(3b06ec40-73f5-7768-8033-0002a4005670)
id(3b06ec40-73f5-7768-8033-0002a4005670)
callNum(34)
callNum(34)
66
<Call
<Call 34>
34> :: Match
Match check
check (MatchedPerfect)
(MatchedPerfect)
77
<Call
<Call 34>
34> :: MatchAllProcess
MatchAllProcess After
After Sorted
Sorted
<0>
<0> id(0)
id(0) dest(5664775....)
dest(5664775....) prefer(0)
prefer(0) selected(15)
selected(15)
88
<CGrp
<CGrp 000000>
000000> :: GetAvailableChannel
GetAvailableChannel (15)
(15)
99
<Call
<Call 34>
34> :: Initiate
Initiate callee
callee with
with dial-peer(5664775....)
dial-peer(5664775....)
status(CalleeDetermin
status(CalleeDetermin
edAll)
edAll) id(3b06ec40-73f5-7768-8033-0002a4005670)
id(3b06ec40-73f5-7768-8033-0002a4005670)
10
<CEP
10
<CEP 00000f>
00000f> :: InitiateOutCall
InitiateOutCall :: calledNum(1000),
calledNum(1000),
callingNum(2003),
callingNum(2003), callerPort(
callerPort(
b)
b) type(E1)
type(E1)
[6425.665]
[6425.665] RTA(0/0/11)
RTA(0/0/11) Rx
Rx PCC_BCH_CONN
PCC_BCH_CONN peerId(0/0/15)
peerId(0/0/15)
[6425.665]
[6425.665] VM(0/0/11)
VM(0/0/11) Fax
Fax disable
disable
[6425.665]
[6425.665] VM(0/0/15)
VM(0/0/15) Fax
Fax disable
disable
[6425.665]
[6425.665] VM(0/0/11)
VM(0/0/11) play
play mute
mute
[6425.665]
[6425.665] Q931[0]
Q931[0] Rx
Rx PCC_SETUP_REQ
PCC_SETUP_REQ CR=16
CR=16 B=15
B=15 Excl
Excl CZ=128
CZ=128 PG=0
PG=0
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
[6425.665]
[6425.665] Q931[0]
Q931[0] Tx
Tx [SETUP]
[SETUP] 08
08 02
02 00
00 10
10 05
05 04
04 03
03 80
80 90
90 a3
a3 18
18 03
03 a9
a9
83
83 8f
8f 6c
6c 05
05 80
80 32
32 30
30 33
00 33
33 70
70 05
05 80
80 31
31 30
30 30
30 30
30 7d
7d 02
02 91
91 81
81 a1
a1
Bearer_Cap
:
04
03
80
90
a3
Bearer_Cap : 04 03 80 90 a3
ChannelId
ChannelId :: 18
18 03
03 a9
a9 83
83 8f
8f
CallingNum
CallingNum :: 6c
6c 05
05 80
80 32
32 30
30 30
30 33
33
CalledNum
CalledNum :: 70
70 05
05 80
80 31
31 30
30 30
30 30
30
HighLayerC
HighLayerC :: 7d
7d 02
02 91
91 81
81
SendingCom
SendingCom :: a1
a1
11
<CEP
11
<CEP 00000f>
00000f> :: Outbound
Outbound call
call to
to CEP
CEP callId(3b06ec40-73f5callId(3b06ec40-73f57768-8033-0002a4005670)
7768-8033-0002a4005670)
callNum(34)
callNum(34)
[6425.840]
[6425.840] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=10
len=10
[6425.840]
Q931[0]
Rx
[CALL_P]
[6425.840] Q931[0] Rx [CALL_P] 08
08 02
02 80
80 10
10 02
02 18
18 03
03 a9
a9 83
83 8f
8f
ChannelId
:
18
03
a9
83
8f
ChannelId : 18 03 a9 83 8f
[6425.840]
[6425.840] Q931[0]
Q931[0] Tx
Tx PCC_SETUP_CNF
PCC_SETUP_CNF CR=16
CR=16 B=15
B=15 Excl
Excl CZ=0
CZ=0 PG=0
PG=0
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
[6425.840]
[6425.840] RTA(0/0/15)
RTA(0/0/15) Rx
Rx PCC_BCH_CONN
PCC_BCH_CONN peerId(0/0/11)
peerId(0/0/11)
[6425.840]
VM(0/0/15)
Fax
disable
[6425.840] VM(0/0/15) Fax disable
[6425.840]
[6425.840] VM(0/0/11)
VM(0/0/11) Fax
Fax disable
disable
[6425.845]
[6425.845] VM(0/0/15)
VM(0/0/15) play
play mute
mute
[6425.855]
[6425.855] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=10
len=10
www.addpac.com
VoIP Training Guide
108
call Trace
- ISDN PRI (2/3)–
[6425.855]
[6425.855] Q931[0]
Q931[0] Rx
Rx [ALERT]
[ALERT] 08
08 02
02 80
80 10
10 01
01 18
18 03
03 a9
a9 83
83 8f
8f
ChannelId
ChannelId :: 18
18 03
03 a9
a9 83
83 8f
8f
[6425.855]
[6425.855] Q931[0]
Q931[0] Tx
Tx PCC_ALERT_IND
PCC_ALERT_IND CR=16
CR=16 B=15
B=15 Excl
Excl CZ=0
CZ=0 PG=0
PG=0
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
12
<Call
12
<Call 34>
34> :: Alert
Alert from(f)
from(f) pseudo(0)
pseudo(0) inband(0)
inband(0)
status(CalleeInitiated)
status(CalleeInitiated)
[6425.855]
[6425.855] RTA(0/0/11)
RTA(0/0/11) Rx
Rx CC_ALERT_RSP
CC_ALERT_RSP peerId(0/0/0)
peerId(0/0/0)
[6425.855]
VM(0/0/11)
play
RingBack
[6425.855] VM(0/0/11) play RingBack tone
tone
[6425.855]
[6425.855] Q931[0]
Q931[0] Rx
Rx PCC_ALERT_RSP
PCC_ALERT_RSP CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=128
CZ=128
PG=0
PG=0
[6425.860]
[6425.860] Q931[0]
Q931[0] Tx
Tx [ALERT]
[ALERT] 08
08 02
02 8e
8e a3
a3 01
01
[6429.685]
Q931[0]
Rx
DL_DATA_IND
len=5
[6429.685] Q931[0] Rx DL_DATA_IND len=5
[6429.685]
[6429.685] Q931[0]
Q931[0] Rx
Rx [CONNECT]
[CONNECT] 08
08 02
02 80
80 10
10 07
07
[6429.685]
[6429.685] Q931[0]
Q931[0] Tx
Tx PCC_CONN_CNF
PCC_CONN_CNF CR=16
CR=16 B=15
B=15 Excl
Excl CZ=0
CZ=0 PG=0
PG=0
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
[6429.685]
[6429.685] Q931[0]
Q931[0] Tx
Tx [CONN_ACK]
[CONN_ACK] 08
08 02
02 00
00 10
10 0f
0f
13
<Call
34>
:
Connected
from(f)
13
<Call 34>
: Connected from(f)
[6429.685]
[6429.685] Q931[0]
Q931[0] Rx
Rx PCC_CONN_REQ
PCC_CONN_REQ CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=128
CZ=128 PG=0
PG=0
[6429.690]
[6429.690] Q931[0]
Q931[0] Tx
Tx [CONNECT]
[CONNECT] 08
08 02
02 8e
8e a3
a3 07
07
[6429.690]
[6429.690] Q931[0]
Q931[0] Tx
Tx PCC_CONN_CNF
PCC_CONN_CNF CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=0
CZ=0 PG=0
PG=0
Cd='56647751000'
Cd='56647751000' Cg='2003'
Cg='2003'
14
<Call
14
<Call 34>
34> :: Connected
Connected from(b)
from(b)
[6429.765]
[6429.765] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=5
len=5
[6429.765]
[6429.765] Q931[0]
Q931[0] Rx
Rx [CONN_ACK]
[CONN_ACK] 08
08 02
02 0e
0e a3
a3 0f
0f
[6431.405]
[6431.405] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=13
len=13
[6431.405]
[6431.405] Q931[0]
Q931[0] Rx
Rx [DISCONN]
[DISCONN] 08
08 02
02 0e
0e a3
a3 45
45 08
08 02
02 81
81 90
90 1e
1e 02
02 81
81
88
88
Cause
Cause :: 08
08 02
02 81
81 90
90
ProgressIn
ProgressIn :: 1e
1e 02
02 81
81 88
88
[6431.405]
[6431.405] Q931[0]
Q931[0] Tx
Tx [RELEASE]
[RELEASE] 08
08 02
02 8e
8e a3
a3 4d
4d 08
08 02
02 80
80 90
90
Cause
:
08
02
80
90
Cause : 08 02 80 90
[6431.410]
[6431.410] Q931[0]
Q931[0] Tx
Tx PCC_DISC_IND
PCC_DISC_IND CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=16
CZ=16 PG=8
PG=8
Cd='56647751000'
Cd='56647751000' Cg='2003'
Cg='2003'
[6431.485]
[6431.485] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=5
len=5
[6431.485]
Q931[0]
Rx
[REL_COM]
[6431.485] Q931[0] Rx [REL_COM] 08
08 02
02 0e
0e a3
a3 5a
5a
[6431.485]
[6431.485] Q931[0]
Q931[0] Tx
Tx PCC_DISC_CNF
PCC_DISC_CNF CR=3747
CR=3747 B=11
B=11 Excl
Excl CZ=16
CZ=16 PG=8
PG=8
Cd='56647751000'
Cd='56647751000' Cg='2003'
Cg='2003'
15
<CEP
15
<CEP 00000b>
00000b> :: Disconnected(16)
Disconnected(16)
[6431.485]
RTA(0/0/11)
[6431.485] RTA(0/0/11) Rx
Rx PCC_BCH_DISC
PCC_BCH_DISC peerId(0/0/0)
peerId(0/0/0)
[6431.485]
[6431.485] VM(0/0/11)
VM(0/0/11) vopp
vopp idle
idle
16
<Call
16
<Call 34>
34> :: Terminated
Terminated from(b)
from(b) this(Local:CallClear)
this(Local:CallClear)
before(NULL)
before(NULL) forced(0)
forced(0)
17
<CEP
17
<CEP 00000f>
00000f> :: StopSignal
StopSignal
[6431.490]
RTA(0/0/15)
[6431.490] RTA(0/0/15) Rx
Rx AP_SVC_REQ
AP_SVC_REQ nSvcElem=1
nSvcElem=1 rawDataLen=0
rawDataLen=0
DTMF_STOP
DTMF_STOP
[6431.490]
[6431.490] VM(0/0/15)
VM(0/0/15) play
play mute
mute
18
<CEP
18
<CEP 00000f>
00000f> :: Disconnect
Disconnect (0)
(0)
[6431.490]
[6431.490] RTA(0/0/15)
RTA(0/0/15) Rx
Rx PCC_BCH_DISC
PCC_BCH_DISC peerId(0/0/0)
peerId(0/0/0)
[6431.490]
[6431.490] VM(0/0/15)
VM(0/0/15) vopp
vopp idle
idle
[6431.490]
[6431.490] Q931[0]
Q931[0] Rx
Rx PCC_DISC_REQ
PCC_DISC_REQ CR=16
CR=16 B=15
B=15 Excl
Excl CZ=144
CZ=144 PG=0
PG=0
[6431.490]
Q931[0]
Tx
[DISCONN]
08
02
00
10
45
08
02
80
[6431.490] Q931[0] Tx [DISCONN] 08 02 00 10 45 08 02 80 90
90
Cause
Cause :: 08
08 02
02 80
80 90
90
[6431.560]
[6431.560] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=13
len=13
[6431.560]
[6431.560] Q931[0]
Q931[0] Rx
Rx [DISCONN]
[DISCONN] 08
08 02
02 80
80 10
10 45
45 08
08 02
02 81
81 90
90 1e
1e 02
02 81
81
88
88
Cause
Cause :: 08
08 02
02 81
81 90
90
ProgressIn
ProgressIn :: 1e
1e 02
02 81
81 88
88
[6431.560]
[6431.560] Q931[0]
Q931[0] Tx
Tx [RELEASE]
[RELEASE] 08
08 02
02 00
00 10
10 4d
4d 08
08 02
02 80
80 90
90
Cause
Cause :: 08
08 02
02 80
80 90
90
[6431.560]
[6431.560] Q931[0]
Q931[0] Tx
Tx PCC_DISC_IND
PCC_DISC_IND CR=16
CR=16 B=15
B=15 Excl
Excl CZ=16
CZ=16 PG=8
PG=8
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
[6431.585]
[6431.585] Q931[0]
Q931[0] Rx
Rx DL_DATA_IND
DL_DATA_IND len=17
len=17
www.addpac.com
VoIP Training Guide
109
call Trace
- ISDN PRI (3/3)–
[6431.585]
[6431.585] Q931[0]
Q931[0] Rx
Rx [RELEASE]
[RELEASE] 08
08 02
02 80
80 10
10 4d
4d 00
00 01
01 08
08 08
08 02
02 00
00 10
10 45
45
08
08 02
02 80
80 90
90
InfoElemId
InfoElemId :: 00
00 01
01 08
08
Cause
:
08
02
Cause : 08 02 00
00 10
10
InfoElemId
InfoElemId :: 45
45 08
08 02
02 80
80 90
90 50
50 3d
3d 08
08 00
00 00
00
[6431.585]
[6431.585] Q931[0]
Q931[0] Tx
Tx PCC_DISC_CNF
PCC_DISC_CNF CR=16
CR=16 B=15
B=15 Excl
Excl CZ=100
CZ=100 PG=8
PG=8
Cd='1000'
Cd='1000' Cg=80
Cg=80 80
80 '2003'
'2003'
[6431.590]
[6431.590] Q931[0]
Q931[0] Tx
Tx [REL_COM]
[REL_COM] 08
08 02
02 00
00 10
10 5a
5a 08
08 03
03 80
80 e4
e4 08
08
Cause
Cause :: 08
08 03
03 80
80 e4
e4 08
08
19
<CEP
19
<CEP 00000f>
00000f> :: Disconnected(100)
Disconnected(100)
BLANK
BLANK
www.addpac.com
VoIP Training Guide
110
call Trace
- R2 (1/2) –
AP2520#
AP2520# debug
debug vv cc
AP2520#
AP2520# debug
debug rta
rta r2
r2
AP2520#
AP2520# debug
debug rta
rta ipc
ipc
AP2520#
AP2520# [4032.500]
[4032.500] R2(0/0/12)
R2(0/0/12) Rx
Rx CAS
CAS A=0
A=0 B=0
B=0
[4032.500]
[4032.500] R2(0/0/12)
R2(0/0/12) Tx
Tx CAS
CAS A=1
A=1 B=1
B=1
[4032.500]
[4032.500] VM(0/0/12)
VM(0/0/12) Tx
Tx OFFHOOK_IND
OFFHOOK_IND
11
<CEP
00000c>
:
<CEP 00000c> : Call
Call Received
Received
22
<CEP
<CEP 00000c>
00000c> :: Call
Call Initiated
Initiated :: calledNumber()
calledNumber() crv(0)
crv(0) total(0)
total(0)
33
<Call
:: ******************
<Call 7>
7>
****************** Call
Call Created
Created status(InitiatedByE1)
status(InitiatedByE1)
********
********
***********
***********
44
<CEP
<CEP 00000c>
00000c> :: Calling
Calling number()
number()
[4032.505]
[4032.505] VM(0/0/12)
VM(0/0/12) play
play mute
mute
55
<CEP
<CEP 00000c>
00000c> :: Call
Call id(5405ec40-4b08-e229-800did(5405ec40-4b08-e229-800d0002a400aca6)
0002a400aca6) callNum(7)
callNum(7)
[4035.700]
[4035.700] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-5:
I-5: Digit
Digit 55
[4035.700]
[4035.700] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '5'
'5'
[4035.700]
[4035.700] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
66
<Call
:: Digit(5)
<Call 7>
7>
Digit(5) at
at InitiatedByE1
InitiatedByE1
77
<Call
:: MatchedPartially
<Call 7>
7>
MatchedPartially
[4035.880]
[4035.880] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4035.880]
VM(0/0/12)
play
mute
[4035.880] VM(0/0/12) play mute
[4035.980]
[4035.980] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4036.000]
R2(0/0/12)
Rx
[4036.000] R2(0/0/12) Rx FW
FW I-6:
I-6: Digit
Digit 66
[4036.000]
[4036.000] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '6'
'6'
[4036.000]
[4036.000] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
88
<Call
:: Digit(6)
<Call 7>
7>
Digit(6) at
at CalleeUndetermined
CalleeUndetermined
99
<Call
:: MatchedPartially
<Call 7>
7>
MatchedPartially
[4036.180]
[4036.180] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4036.180]
VM(0/0/12)
play
mute
[4036.180] VM(0/0/12) play mute
[4036.280]
[4036.280] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-6:
I-6: Digit
Digit 66
[4036.280]
[4036.280] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '6'
'6'
[4036.280]
[4036.280] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
[4036.280]
[4036.280] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
10
<Call
:: Digit(6)
10
<Call 7>
7>
Digit(6) at
at CalleeUndetermined
CalleeUndetermined
11
<Call
:: MatchedPartially
11
<Call 7>
7>
MatchedPartially
[4036.460]
[4036.460] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4036.460]
VM(0/0/12)
play
mute
[4036.460] VM(0/0/12) play mute
[4036.560]
[4036.560] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4036.580]
[4036.580] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-4:
I-4: Digit
Digit 44
[4036.580]
[4036.580] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '4'
'4'
[4036.580]
[4036.580] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
12
<Call
:: Digit(4)
12
<Call 7>
7>
Digit(4) at
at CalleeUndetermined
CalleeUndetermined
13
<Call
:: MatchedPartially
13
<Call 7>
7>
MatchedPartially
[4036.760]
R2(0/0/12)
[4036.760] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4036.760]
VM(0/0/12)
play
mute
[4036.760] VM(0/0/12) play mute
[4036.860]
[4036.860] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4036.880]
[4036.880] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-7:
I-7: Digit
Digit 77
[4036.880]
[4036.880] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '7'
'7'
[4036.880]
[4036.880] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
14
<Call
:: Digit(7)
14
<Call 7>
7>
Digit(7) at
at CalleeUndetermined
CalleeUndetermined
15
<Call
:: MatchedPartially
15
<Call 7>
7>
MatchedPartially
[4037.060]
R2(0/0/12)
[4037.060] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4037.060]
VM(0/0/12)
play
mute
[4037.060] VM(0/0/12) play mute
[4037.160]
[4037.160] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4037.170]
[4037.170] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-7:
I-7: Digit
Digit 77
[4037.170]
[4037.170] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '7'
'7'
[4037.170]
[4037.170] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
16
<Call
:: Digit(7)
16
<Call 7>
7>
Digit(7) at
at CalleeUndetermined
CalleeUndetermined
17
<Call
:: MatchedPartially
17
<Call 7>
7>
MatchedPartially
[4037.350]
R2(0/0/12)
[4037.350] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4037.350]
VM(0/0/12)
play
mute
[4037.350] VM(0/0/12) play mute
www.addpac.com
VoIP Training Guide
111
call Trace
- R2 (2/2) –
[4037.450]
[4037.450] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4037.470]
[4037.470] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-5:
I-5: Digit
Digit 55
[4037.470]
[4037.470] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '5'
'5'
[4037.470]
[4037.470] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
18
<Call
:: Digit(5)
18
<Call 7>
7>
Digit(5) at
at CalleeUndetermined
CalleeUndetermined
19
<Call
:: MatchedPartially
19
<Call 7>
7>
MatchedPartially
[4037.650]
R2(0/0/12)
[4037.650] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4037.650]
VM(0/0/12)
play
mute
[4037.650] VM(0/0/12) play mute
[4037.750]
[4037.750] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4037.770]
[4037.770] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-1:
I-1: Digit
Digit 11
[4037.770]
[4037.770] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '1'
'1'
[4037.770]
[4037.770] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
20
<Call
:: Digit(1)
20
<Call 7>
7>
Digit(1) at
at CalleeUndetermined
CalleeUndetermined
21
<Call
:: MatchedPartially
21
<Call 7>
7>
MatchedPartially
[4037.950]
R2(0/0/12)
[4037.950] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4037.950]
VM(0/0/12)
play
mute
[4037.950] VM(0/0/12) play mute
[4038.050]
[4038.050] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4038.070]
[4038.070] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-10:
I-10: Digit
Digit 00
[4038.070]
[4038.070] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '0'
'0'
[4038.070]
[4038.070] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
22
<Call
:: Digit(0)
22
<Call 7>
7>
Digit(0) at
at CalleeUndetermined
CalleeUndetermined
23
<Call
:: MatchedPartially
23
<Call 7>
7>
MatchedPartially
[4038.250]
R2(0/0/12)
[4038.250] R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4038.250]
VM(0/0/12)
play
mute
[4038.250] VM(0/0/12) play mute
[4038.350]
[4038.350] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4038.360]
[4038.360] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-10:
I-10: Digit
Digit 00
[4038.360]
[4038.360] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '0'
'0'
[4038.360]
[4038.360] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
24
<Call
:: Digit(0)
24
<Call 7>
7>
Digit(0) at
at CalleeUndetermined
CalleeUndetermined
25
<Call
:: MatchedPartially
25
<Call 7>
7>
MatchedPartially
[4038.540]
[4038.540] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4038.540]
[4038.540] VM(0/0/12)
VM(0/0/12) play
play mute
mute
[4038.640]
[4038.640] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4038.670]
[4038.670] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-10:
I-10: Digit
Digit 00
[4038.670]
[4038.670] VM(0/0/12)
VM(0/0/12) Tx
Tx DIGIT_IND
DIGIT_IND '0'
'0'
[4038.670]
[4038.670] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A1:
A1: Send
Send Next
Next Digit
Digit
26
<Call
7>
:
Digit(0)
at
CalleeUndetermined
26
<Call 7>
: Digit(0) at CalleeUndetermined
27
<Call
:: MatchedPerfect
27
<Call 7>
7>
MatchedPerfect
[4038.670]
[4038.670] RTA(0/0/12)
RTA(0/0/12) Rx
Rx RCC_ADDR_CMP
RCC_ADDR_CMP peerId(0/0/0)
peerId(0/0/0)
[4038.670]
[4038.670] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A5:
A5: Send
Send Calling
Calling Category
Category and
and Number
Number
[4038.850]
[4038.850] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4038.850]
[4038.850] VM(0/0/12)
VM(0/0/12) play
play mute
mute
[4038.950]
[4038.950] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4039.130]
[4039.130] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4039.130]
VM(0/0/12)
play
mute
[4039.130] VM(0/0/12) play mute
[4039.230]
[4039.230] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4039.250]
[4039.250] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW II-1:
II-1: Subscriber
Subscriber without
without priority
priority
[4039.250]
[4039.250] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A5:
A5: Send
Send Calling
Calling Category
Category and
and Number
Number
[4039.430]
[4039.430] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4039.430]
[4039.430] VM(0/0/12)
VM(0/0/12) play
play mute
mute
[4039.530]
[4039.530] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-2:
I-2: Digit
Digit 22
[4039.530]
R2(0/0/12)
Tx
BW
A5:
Send
[4039.530] R2(0/0/12) Tx BW A5: Send Calling
Calling Category
Category and
and Number
Number
[4039.530]
R2(0/0/12)
mute
timeout
[4039.530] R2(0/0/12) mute timeout
[4039.710]
[4039.710] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4039.710]
[4039.710] VM(0/0/12)
VM(0/0/12) play
play mute
mute
[4039.810]
[4039.810] R2(0/0/12)
R2(0/0/12) mute
mute timeout
timeout
[4039.820]
[4039.820] R2(0/0/12)
R2(0/0/12) Rx
Rx FW
FW I-10:
I-10: Digit
Digit 00
[4039.820]
[4039.820] R2(0/0/12)
R2(0/0/12) Tx
Tx BW
BW A5:
A5: Send
Send Calling
Calling Category
Category and
and Number
Number
[4040.000]
[4040.000] R2(0/0/12)
R2(0/0/12) MFC
MFC signal
signal OFF,
OFF, mute
mute ON
ON
[4040.000]
[4040.000] VM(0/0/12)
VM(0/0/12) play
play mute
mute
www.addpac.com
VoIP Training Guide
112
call Trace
- Analog Event –
Hook
Hook off/on
off/on
AP200#
AP200# debug
debug rta
rta ipc
ipc
AP200#
[2935.900]
AP200# [2935.900] VM(0/1/0)
VM(0/1/0) vmOffHook
vmOffHook
[2935.960]
[2935.960] VM(0/1/0)
VM(0/1/0) vmTmoOffHook
vmTmoOffHook
[2935.960]
[2935.960] VM(0/1/0)
VM(0/1/0) Rx
Rx OffHook
OffHook
[2935.960]
[2935.960] VM(0/1/0)
VM(0/1/0) Tx
Tx OFFHOOK_IND
OFFHOOK_IND
[2935.960]
[2935.960] VM(0/1/0)
VM(0/1/0) play
play Dial
Dial tone
tone
[2935.960]
[2935.960] RTA(0/1/0)
RTA(0/1/0) Rx
Rx CC_DISCONN_REQ
CC_DISCONN_REQ CZ=0,
CZ=0, peerId(0/0/0)
peerId(0/0/0)
[2935.960]
VM(0/1/0)
play
Reorder
tone
[2935.960] VM(0/1/0) play Reorder tone
[2937.375]
[2937.375] VM(0/1/0)
VM(0/1/0) vmOnHook
vmOnHook
[2937.475]
VM(0/1/0)
[2937.475] VM(0/1/0) vmTmoOnHook
vmTmoOnHook
[2937.575]
[2937.575] VM(0/1/0)
VM(0/1/0) vmTmoOnHook
vmTmoOnHook
[2937.675]
[2937.675] VM(0/1/0)
VM(0/1/0) vmTmoOnHook
vmTmoOnHook
[2937.675]
[2937.675] VM(0/1/0)
VM(0/1/0) Rx
Rx OnHook
OnHook
[2937.675]
[2937.675] VM(0/1/0)
VM(0/1/0) vopp
vopp idle
idle
[2937.675]
[2937.675] VM(0/1/0)
VM(0/1/0) Tx
Tx DISCONN_CNF
DISCONN_CNF
BLANK
BLANK
Ring
Ring
AP200#
AP200# debug
debug rta
rta ipc
ipc
AP200#
AP200# [12484.065]
[12484.065] VM(0/0/0)
VM(0/0/0) Rx
Rx FXO
FXO Ring
Ring Actv
Actv
[12484.065]
VM(0/0/0)
Tx
RING_IND
[12484.065] VM(0/0/0) Tx RING_IND
[12485.075]
[12485.075] VM(0/0/0)
VM(0/0/0) Rx
Rx FXO
FXO Ring
Ring Idle
Idle
[12485.075]
VM(0/0/0)
FXO
OffHook
[12485.075] VM(0/0/0) FXO OffHook
[12485.075]
[12485.075] VM(0/0/0)
VM(0/0/0) play
play Dial
Dial tone
tone
[12485.075]
[12485.075] VM(0/0/0)
VM(0/0/0) Tx
Tx OFFHOOK_IND
OFFHOOK_IND
[12491.260]
[12491.260] VM(0/0/0)
VM(0/0/0) listen
listen Reorder
Reorder tone
tone
[12491.260]
[12491.260] VM(0/0/0)
VM(0/0/0) vopp
vopp idle
idle
[12491.260]
[12491.260] VM(0/0/0)
VM(0/0/0) FXO
FXO OnHook
OnHook
[12491.265]
VM(0/0/0)
Tx
[12491.265] VM(0/0/0) Tx DISCONN_CNF
DISCONN_CNF
www.addpac.com
VoIP Training Guide
113
Chapter 4 Configuration Example
Configuration
Configuration Example
Example
••
••
IP
IP telephony
telephony Network
Network with
with ITSP
ITSP
GK
GK routed
routed and
and direct
direct call
call with
with ITSP
ITSP between
between branch
branch and
and Head
Head Quarter
Quarter
www.addpac.com
VoIP Training Guide
114
Configuration Example
- IP Telephony Network with ITSP (1/10)–
www.addpac.com
VoIP Training Guide
115
Configuration Example
- IP Telephony Network with ITSP (2/10) –
Requirement
Requirement
••
••
••
••
routing
routing via
via GK
GK Local
Local Area/long-distance/International/Mobile
Area/long-distance/International/Mobile Call
Call
Specific
Specific number
number which
which has
has below
below prefix1566
prefix1566 should
should be
be routed
routed via
via PSTN
PSTN
1566,
1566, 1588,
1588, 100,
100, 106,
106, 060,
060, 080,
080, 012,
012, 015
015
Inbound
Inbound Call
Call scenario
scenario should
should be
be the
the same
same with
with old
old
redirect
redirect PSTN
PSTN call(FXO)
call(FXO) to
to local
local PABX(FXS).
PABX(FXS).
•• PSTN
PSTN Backup
Backup ifif internet
internet line
line has
has some
some problem.
problem.
www.addpac.com
VoIP Training Guide
116
Configuration Example
- IP Telephony Network with ITSP (3/10) –
Configuration
!!
version
version 6.24
6.24
!!
hostname
hostname L-ele
L-ele
!!
!!
no
no ip-share
ip-share enable
enable
!!
!Ethernet
!Ethernet Interface
Interface is
is ADSL
ADSL
interface
ether0.0
interface ether0.0
no
no ip
ip address
address
encapsulation
encapsulation pppoe
pppoe
ppp
authentication
ppp authentication pap
pap callin
callin
ppp
ppp pap
pap sent-username
sent-username addpac
addpac password
password addpac
addpac
ppp
ipcp
ms-dns
ppp ipcp ms-dns
ppp
ppp ipcp
ipcp default-route
default-route
!!
interface
interface ether1.0
ether1.0
no
no ip
ip address
address
!!
snmp
snmp name
name AP2520
AP2520
!!
no
no arp
arp reset
reset
!!
!!
!!
!! Voice
Voice service
service voip
voip configuration.
configuration.
!!
voice
voice service
service voip
voip
fax
fax protocol
protocol t38
t38 redundancy
redundancy 00
fax
fax rate
rate 9600
9600
h323
h323 call
call start
start fast
fast
announcement
announcement element
element pstn-reroute
pstn-reroute
!! Announcement
Announcement play
play when
when Call
Call is
is re-routed
re-routed to
to
PSTN
by
internet
fail
PSTN by internet fail
www.addpac.com
VoIP Training Guide
117
Configuration Example
- IP Telephony Network with ITSP (4/10) –
Configuration
!!
!! Voice
Voice port
port configuration.
configuration.
!!
voice-port
voice-port 0/0
0/0
!! FXS
FXS
!!
!!
voice-port
voice-port 0/1
0/1
!! FXS
FXS
!!
!!
voice-port
voice-port 0/2
0/2
!! FXO
FXO
connection
connection plar
plar 9999
9999
!Redirect
PSTN
call(FXO)
!Redirect PSTN call(FXO) to
to Leyphone(FXS),
Leyphone(FXS),
each
each FXS
FXS is
is assigned
assigned number
number with
with 9999
9999
!!
voice-port
voice-port 0/3
0/3
!! FXO
FXO
connection
connection plar
plar 9999
9999
!!
!!
voice-port
voice-port 1/0
1/0
!! FXS
FXS
!!
!!
voice-port
voice-port 1/1
1/1
!! FXS
FXS
!!
!!
voice-port
voice-port 1/2
1/2
!! FXO
FXO
connection
connection plar
plar 9999
9999
!!
!!
voice-port
voice-port 1/3
1/3
!! FXO
FXO
connection
connection plar
plar 9999
9999
!!
www.addpac.com
VoIP Training Guide
118
Configuration Example
- IP Telephony Network with ITSP (5/10) –
Configuration
!! Pots
Pots peer
peer configuration.
configuration.
!Assign
!Assign e.164
e.164 number
number for
for each
each FXS
FXS ports.
ports.
dial-peer
voice
0
pots
dial-peer voice 0 pots
destination-pattern
destination-pattern 31082141000000
31082141000000
port
0/0
port 0/0
!!
dial-peer
dial-peer voice
voice 11 pots
pots
destination-pattern
destination-pattern 31082141000001
31082141000001
port
port 0/1
0/1
!!
dial-peer
dial-peer voice
voice 44 pots
pots
destination-pattern
destination-pattern 31082140000002
31082140000002
port
1/0
port 1/0
!!
dial-peer
dial-peer voice
voice 55 pots
pots
destination-pattern
destination-pattern 31082140000003
31082140000003
port
1/1
port 1/1
!!
!! Set
Set private
private number
number for
for connection
connection PLAR
PLAR
PLAR
is
used
for
call
redirection
FXO
PLAR is used for call redirection FXO to
to FXS,
FXS, so
so e.164
e.164 9999
9999
should
not
be
registered.
should not be registered.
All
All of
of FXO
FXO is
is same
same numnber
numnber 9999,
9999, so
so you
you should
should set
set «« hunthuntstop
stop »» to
to end
end of
of hunting
hunting port
port which
which you
you want.
want.
!!
dial-peer
dial-peer voice
voice 10
10 pots
pots
destination-pattern
destination-pattern 9999
9999
port
0/0
port 0/0
no
no register
register e164
e164
!!
dial-peer
dial-peer voice
voice 11
11 pots
pots
destination-pattern
destination-pattern 9999
9999
port
0/1
port 0/1
no
no register
register e164
e164
preference
1
preference 1
!!
dial-peer
dial-peer voice
voice 14
14 pots
pots
destination-pattern
destination-pattern 9999
9999
port
port 1/0
1/0
no
no register
register e164
e164
preference
preference 22
!!
dial-peer
dial-peer voice
voice 15
15 pots
pots
destination-pattern
destination-pattern 9999
9999
port
1/1
port 1/1
no
no register
register e164
e164
preference
3
preference 3
huntstop
huntstop
www.addpac.com
VoIP Training Guide
119
Configuration Example
- IP Telephony Network with ITSP (6/10) –
Configuration
!Prefix
!Prefix 060,
060, 080
080 call
call is
is routed
routed to
to PSTN(FXO)
PSTN(FXO) (Telco
(Telco Provider).
Provider).
dial-peer
dial-peer voice
voice 42
42 pots
pots
destination-pattern
destination-pattern 0[6-8]0.......
0[6-8]0.......
port
port 0/2
0/2
forward-digits
forward-digits last
last 99
99
!!
dial-peer
dial-peer voice
voice 43
43 pots
pots
destination-pattern
destination-pattern 0[6-8]0.......
0[6-8]0.......
port
port 0/3
0/3
forward-digits
forward-digits last
last 99
99
preference
preference 11
!!
dial-peer
dial-peer voice
voice 46
46 pots
pots
destination-pattern
destination-pattern 0[6-8]0.......
0[6-8]0.......
port
port 1/2
1/2
forward-digits
forward-digits last
last 99
99
preference
2
preference 2
!!
dial-peer
dial-peer voice
voice 47
47 pots
pots
destination-pattern
destination-pattern 0[6-8]0.......
0[6-8]0.......
port
port 1/3
1/3
forward-digits
forward-digits last
last 99
99
preference
3
preference 3
huntstop
huntstop
!! Prefix
Prefix 1566,1588
1566,1588 call
call is
is routed
routed to
to PSTN(FXO)
PSTN(FXO) (Telco
(Telco
Provider)..
Provider)..
dial-peer
dial-peer voice
voice 22
22 pots
pots
destination-pattern
destination-pattern 1[5-6][68][68]....
1[5-6][68][68]....
port
port 0/2
0/2
forward-digits
forward-digits last
last 99
99
!!
dial-peer
dial-peer voice
voice 23
23 pots
pots
destination-pattern
destination-pattern 1[5-6][68][68]....
1[5-6][68][68]....
port
port 0/3
0/3
forward-digits
forward-digits last
last 99
99
preference
preference 11
!!
dial-peer
dial-peer voice
voice 26
26 pots
pots
destination-pattern
destination-pattern 1[5-6][68][68]....
1[5-6][68][68]....
port
port 1/2
1/2
forward-digits
forward-digits last
last 99
99
preference
2
preference 2
!!
dial-peer
dial-peer voice
voice 27
27 pots
pots
destination-pattern
destination-pattern 1[5-6][68][68]....
1[5-6][68][68]....
port
port 1/3
1/3
forward-digits
forward-digits last
last 99
99
preference
3
preference 3
huntstop
huntstop
www.addpac.com
VoIP Training Guide
120
Configuration Example
- IP Telephony Network with ITSP (7/10) –
Configuration
!10X,11X
!10X,11X number
number is
is routed
routed to
to PSTN(FXO)
PSTN(FXO) (Telco
(Telco Provider).
Provider).
dial-peer
dial-peer voice
voice 32
32 pots
pots
destination-pattern
destination-pattern 1[0-1].
1[0-1].
port
port 0/2
0/2
forward-digits
forward-digits last
last 99
99
!!
dial-peer
dial-peer voice
voice 33
33 pots
pots
destination-pattern
destination-pattern 1[0-1].
1[0-1].
port
port 0/3
0/3
forward-digits
forward-digits last
last 99
99
preference
1
preference 1
!!
dial-peer
dial-peer voice
voice 36
36 pots
pots
destination-pattern
destination-pattern 1[0-1].
1[0-1].
port
port 1/2
1/2
forward-digits
forward-digits last
last 99
99
preference
preference 22
!!
dial-peer
dial-peer voice
voice 37
37 pots
pots
destination-pattern
destination-pattern 1[0-1].
1[0-1].
port
port 1/3
1/3
forward-digits
forward-digits last
last 99
99
preference
preference 33
huntstop
huntstop
!the
!the configuration
configuration Hunting
Hunting for
for PSTN
PSTN Backup.
Backup.
dial-peer
dial-peer voice
voice 102
102 pots
pots
destination-pattern
T
destination-pattern T
port
port 0/2
0/2
preference
preference 11
!!
dial-peer
dial-peer voice
voice 103
103 pots
pots
destination-pattern
T
destination-pattern T
port
port 0/3
0/3
preference
preference 22
!!
dial-peer
dial-peer voice
voice 106
106 pots
pots
destination-pattern
T
destination-pattern T
port
port 1/2
1/2
preference
preference 33
!!
dial-peer
dial-peer voice
voice 107
107 pots
pots
destination-pattern
T
destination-pattern T
port
port 1/3
1/3
preference
preference 44
huntstop
huntstop
www.addpac.com
VoIP Training Guide
121
Configuration Example
- IP Telephony Network with ITSP (8/10) –
Configuration
!making
!making phone-book(number-ring
phone-book(number-ring plan)
plan) for
for all
all of
of number
number ..
dial-peer
dial-peer voice
voice 1000
1000 voip
voip
destination-pattern
T
destination-pattern T
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 00
!!
dial-peer
dial-peer voice
voice 1010
1010 voip
voip (local
(local area)
area)
destination-pattern
destination-pattern 0[3-6][1-5][2-9]......
0[3-6][1-5][2-9]......
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1011
1011 voip
voip (local
(local area)
area)
destination-pattern
destination-pattern 0[3-6][1-5]1.T
0[3-6][1-5]1.T
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1020
1020 voip
voip
destination-pattern
destination-pattern 1[2-9].T
1[2-9].T
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 00
dial-peer
dial-peer voice
voice 1021
1021 voip
voip
destination-pattern
destination-pattern 2.......
2.......
session
target
ras
session target ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 00
!!
dial-peer
dial-peer voice
voice 1022
1022 voip
voip
destination-pattern
[45789]......
destination-pattern [45789]......
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 00
!!
dial-peer
dial-peer voice
voice 1023
1023 voip
voip
destination-pattern
destination-pattern [36].....T
[36].....T
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 00
!!
dial-peer
dial-peer voice
voice 1030
1030 voip
voip (mobile)
(mobile)
destination-pattern
011[19].......
destination-pattern 011[19].......
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
www.addpac.com
VoIP Training Guide
122
Configuration Example
- IP Telephony Network with ITSP (9/10) –
Configuration
dial-peer
dial-peer voice
voice 1031
1031 voip
voip (mobile)
(mobile)
destination-pattern
destination-pattern 011[2-8]......
011[2-8]......
session
target
ras
session target ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1032
1032 voip
voip (mobile)
(mobile)
destination-pattern
destination-pattern 01[6-9]9.......
01[6-9]9.......
session
target
ras
session target ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1033
1033 voip
voip (mobile)
(mobile)
destination-pattern
01[6-9][2-8]......
destination-pattern 01[6-9][2-8]......
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1034
1034 voip
voip (114
(114 service
service by
by SK
SK Telecom)
Telecom)
destination-pattern
01[17]114F
destination-pattern 01[17]114F
session
session target
target ras
ras
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
!!
!!
dial-peer
dial-peer voice
voice 1035
1035 voip
voip (114
(114 Service
Service by
by KTF,LG
KTF,LG Telecom)
Telecom)
destination-pattern
01[689]114
destination-pattern 01[689]114
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1040
1040 voip
voip
destination-pattern
082.T
destination-pattern 082.T
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1041
1041 voip
voip
destination-pattern
0808[5-6].....
destination-pattern 0808[5-6].....
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1042
1042 voip
voip
destination-pattern
060.......
destination-pattern 060.......
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
www.addpac.com
VoIP Training Guide
123
Configuration Example
- IP Telephony Network with ITSP (10/10) –
Configuration
!!
dial-peer
dial-peer voice
voice 1043
1043 voip
voip
destination-pattern
0505.......
destination-pattern 0505.......
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1044
1044 voip
voip
destination-pattern
0303[25].......
destination-pattern 0303[25].......
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1045
1045 voip
voip
destination-pattern
1544....
destination-pattern 1544....
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
dial-peer
dial-peer voice
voice 1050
1050 voip
voip (International)
(International)
destination-pattern
00.........T
destination-pattern 00.........T
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
!!
!! Gateway
Gateway configuration.
configuration.
!!
gateway
gateway
h323-id
h323-id 12345678
12345678 (H323-ID)
(H323-ID)
gkip
1.2.3.4
(GK
ip)
gkip 1.2.3.4 (GK ip)
register
register (register
(register to
to GK)
GK)
!!
!!
!! Translation
Translation Rule
Rule configuration.
configuration.
!!
translation-rule
translation-rule 00
rule
[1-9]
02%01%99
rule 00
[1-9]
02%01%99
(forlocal
area
code
adding
to
destination
(forlocal area code adding to destination number
number -- Number
Number
Translation
)
Translation )
!!
www.addpac.com
VoIP Training Guide
124
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (1/6) –
www.addpac.com
VoIP Training Guide
125
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (2/6) –
Requirement
Requirement
•• Direct
Direct Internal
Internal call
call not
not through
through GK
GK
for
for this,
this, assign
assign virtual
virtual area
area code
code to
to each
each branch
branch
•• routing
routing via
via GK
GK Local
Local Area/long-distance/International/Mobile
Area/long-distance/International/Mobile Call
Call
•• PSTN
PSTN back-up
back-up when
when VoIP
VoIP network
network fail
fail
Head
Head Quarter
Quarter
PSTN
PSTN backup
backup by
by E1
E1 link
link down
down using
using PABX
PABX
Branch
Branch
PSTN
PSTN backup
backup by
by FXO
FXO hunting(directly
hunting(directly connected
connected telco
telco line
line with
with FXO)
FXO)
enable
enable Announcement
Announcement to
to notify
notify user.
user.
•• Inbound
Inbound call
call
Head
Head Quarter
Quarter is
is the
the same
same with
with old
old
Branch
Branch is
is redirected
redirected by
by AddPac
AddPac gateway
gateway (PSTN(FXO)
(PSTN(FXO) to
to FXS
FXS re-routing)
re-routing)
www.addpac.com
VoIP Training Guide
126
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (3/6) –
Configuration (HQ)
!! PRI
PRI controller
controller configuration.
configuration.
!! !! ISDN
ISDN PRI
PRI Configuration.
Configuration.
controller
e1
controller e1 1/0
1/0
channel-group
channel-group timeslots
timeslots 1-31
1-31 00
isdn
protocol-emulate
user
isdn protocol-emulate user
!!
!! Voice
Voice service
service voip
voip configuration.
configuration.
!! !VoIP
related
configuration.
!VoIP related configuration.
voice
voice service
service voip
voip
fax
protocol
t38
fax protocol t38 redundancy
redundancy 00
fax
fax rate
rate 9600
9600
h323
call
h323 call start
start fast
fast
timeout
tttl
600
timeout tttl 600
timeout
timeout tterm
tterm 1800
1800
!! !set
PSTN
backup
!set PSTN backup condition.
condition.
busyout
busyout monitor
monitor gatekeeper
gatekeeper
busyout
busyout monitor
monitor voip-interface
voip-interface
!!
!! !Set
!Set Action
Action when
when busyout
busyout status->
status-> action
action == E1
E1 interface
interface
Link
Link down.
down.
!!
voice-port
voice-port 1/0
1/0 00
!! E1
E1
busyout
busyout action
action port-down
port-down
!!
!!
!!
!!
www.addpac.com
VoIP Training Guide
127
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (4/6) –
Configuration (HQ)
!! Pots
Pots peer
peer configuration.
configuration.
!! !! !! !! Set
Set e.164
e.164 number
number for
for registration
registration to
to GK.
GK.
dial-peer
voice
1
pots
dial-peer voice 1 pots
destination-pattern
destination-pattern 12345678
12345678
port
1/0
0
port 1/0 0
preference
preference 99
huntstop
huntstop
!! !! !! !! !! set
set virtual
virtual area
area code(local)
code(local) for
for internal
internal call
call branch
branch to
to
branch
.
branch .
!!
dial-peer
dial-peer voice
voice 11
11 pots
pots
destination-pattern
destination-pattern *10T
*10T
port
1/0
0
port 1/0 0
huntstop
huntstop
!!
dial-peer
dial-peer voice
voice 21
21 pots
pots
destination-pattern
destination-pattern [0-9].T
[0-9].T
port
1/0
0
port 1/0 0
translate-outgoing
translate-outgoing called-number
called-number 2001
2001
preference
preference 11
huntstop
huntstop
!!
!!
dial-peer
dial-peer voice
voice 22
22 pots
pots
destination-pattern
destination-pattern *1[1-9]T
*1[1-9]T
port
port 1/0
1/0 00
translate-outgoing
translate-outgoing called-number
called-number 2001
2001
preference
preference 11
huntstop
huntstop
!!
dial-peer
dial-peer voice
voice 23
23 pots
pots
destination-pattern
destination-pattern *2[0-9]T
*2[0-9]T
port
port 1/0
1/0 00
translate-outgoing
translate-outgoing called-number
called-number 2001
2001
preference
1
preference 1
huntstop
huntstop
!!
……
……
………
………
…………….
…………….
www.addpac.com
VoIP Training Guide
128
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (5/6) –
Configuration (HQ)
!!
!! Voip
Voip peer
peer configuration.
configuration.
!! !! set
dial-number
set dial-number plan
plan for
for through
through GK(RAS)
GK(RAS)
!!
dial-peer
dial-peer voice
voice 1001
1001 voip
voip
destination-pattern
destination-pattern [0-9].T
[0-9].T
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
translate-outgoing
translate-outgoing called-number
called-number 1001
1001
huntstop
huntstop
!!
dial-peer
dial-peer voice
voice 1002
1002 voip
voip
destination-pattern
01.........
destination-pattern 01.........
session
session target
target ras
ras
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
huntstop
huntstop
!!
!! !! set
set virtual
virtual area
area code(remote)
code(remote) for
for internal
internal call
call branch
branch to
to
branch
branch ..
!!
dial-peer
dial-peer voice
voice 2011
2011 voip
voip
destination-pattern
destination-pattern *11T
*11T
session
session target
target 1.0.0.1
1.0.0.1
dtmf-relay
dtmf-relay h245-alphanumeric
h245-alphanumeric
translate-outgoing
translate-outgoing calling-number
calling-number 2000
2000
!!
dial-peer
dial-peer voice
voice 2012
2012 voip
voip
destination-pattern
*12T
destination-pattern *12T
session
session target
target 1.0.0.2
1.0.0.2
dtmf-relay
h245-alphanumeric
dtmf-relay h245-alphanumeric
translate-outgoing
translate-outgoing calling-number
calling-number 2000
2000
!!
……
……
……..
……..
………
………
www.addpac.com
VoIP Training Guide
129
Configuration Example
- GK routed and direct call with ITSP between branch and head Quarter (6/6) –
Configuration (HQ)
!! !! !! GK
GK related
related parameter
parameter
!!
!! Gateway
Gateway configuration.
configuration.
!!
gateway
gateway
h323-id
h323-id addpac
addpac
gkip
1.2.3.4
gkip 1.2.3.4
register
register
!! !! Number
Number Translation
Translation Rule
Rule
!!
translation-rule
translation-rule 2000
2000
rule
T
rule 00
T
!!
translation-rule
translation-rule 2001
2001
rule
[0-9].T
rule 00
[0-9].T
rule
10
rule 10 *10T
*10T
rule
rule 11
11 *11T
*11T
rule
12
*12T
rule 12
*12T
*10%99
*10%99
70%01%99
70%01%99
7030161%04%99
7030161%04%99
7003232618%04%99
7003232618%04%99
7003190691%04%99
7003190691%04%99
Configuration (Branch)
Skip
Skip
www.addpac.com
VoIP Training Guide
130

Similar documents