6.Voip services and Troubleshooting
6.Voip services and Troubleshooting
6.Voip services and Troubleshooting
V2.0
VoIP(SIP) Services
and Troubleshooting
02 SIP Application
03 VoIP Troubleshooting
www.vsolcn.com
01 Sip protocol
Welcome to VSOL VCIP Training
3 www.vsolcn.com
Objectives
4 www.vsolcn.com
Session Initiation
Protocol
n The Session Initiation Protocol(SIP)is an application layer control
protocol for multimedia communication on the IP network.It is used to
create,modify,and terminate session processes of one or more participants.
5 www.vsolcn.com
SIP Functions
6 www.vsolcn.com
SIP Principles-Basic Network Model
7 www.vsolcn.com
SIP registration
Each time when the SIP client is powered on, the SIP client needs to register with the SIP server.
When the IP address of the SIP client changes, the SIP client also needs to register with the SIP
server again. The registration information must be updated periodically.
The following takes the registration of a SIP phone with the SIP server as an example to describe
the registration of a SIP subscriber.
8 www.vsolcn.com
SIP registration
9 www.vsolcn.com
SIP Call Flow between SIP Entities(1)
n Create a SIP call
10 www.vsolcn.com
SIP Call Flow between SIP Entities(2)
n conversation and Release call
11 www.vsolcn.com
SIP Call Flow between SIP Entities(2)
12 www.vsolcn.com
02 SIP Application
13 www.vsolcn.com
Objectives
Training
Objectives
n Understand the SIP configuration of GPON/EPON OLT.
14 www.vsolcn.com
VoIP Service Networking
ONT voice service:
The ONU connects to a common phone through its
POTS port, converts analog signals into
digital signals through internal digital-to-
analog conversion, and packs protocols. The
ONU supports SIP protocol. The ONU can also
be connected to the SIP phone of the user
through the Ethernet port. In this case, the
SIP phone uses the SIP protocol to complete
the packaging of user data, and transparently
transmits the data to the upper-layer
softswitch for processing through the ONT and
OLT.
15 www.vsolcn.com
VoIP Service Configuration of ONU
16 www.vsolcn.com
VoIP Service Configuration of ONU
17 www.vsolcn.com
VoIP Service Configuration of ONU
18 www.vsolcn.com
VoIP Service Configuration of ONU
19 www.vsolcn.com
VoIP Service Configuration of GPON OLT
20 www.vsolcn.com
VoIP Service Configuration of GPON OLT
21 www.vsolcn.com
VoIP Service Configuration of GPON OLT
22 www.vsolcn.com
VoIP Service Configuration of GPON OLT
23 www.vsolcn.com
VoIP Service Configuration of EPON OLT
24 www.vsolcn.com
VoIP Service Configuration of EPON OLT
25 www.vsolcn.com
VoIP Service Configuration of EPON OLT
26 www.vsolcn.com
VoIP Service Configuration of EPON OLT
27 www.vsolcn.com
Introduction of VoIP Server
After knowing how to configure VoIP Services,let’s learn about the functions of VoIP
28 www.vsolcn.com
Introduction of VoIP Server
29 www.vsolcn.com
Introduction of VoIP Server
30 www.vsolcn.com
Introduction of VoIP Server
31 www.vsolcn.com
Introduction of VoIP Server
Call waiting is a telephone
service that sends you a signal
if another call arrives while
youWhen
are you
already
pick on
up the
the phone.
phone,
will dial the designated number
automatically
33 www.vsolcn.com
Objectives
34 www.vsolcn.com
3.1 Data traffic Mirror and Capture
First of all, we will introduce a common debugging method, ONU data mirroring and packet capture.
Realtek series ONU's data image and Wireshark tool capture can record the communication data in the engineering
problem environment, and provide it to senior technical support personnel or R&D personnel to analyze problems.
Please understand this method. We will often use this method later。
The following describes the steps of data mirroring and packet capturing (taking HG323DAC as an example)
35 www.vsolcn.com
3.1 Data traffic Mirror and Capture
Step2:Telnet to ONU , and type these commands in the following:
After input the username/password, then type command: enterlinuxshell enter shell mode, type command: diag enter
debug mode of onu.
This command: port get status port all will list the onu current port list, then easy to know which port id to make m
different ONU model , there is different port id list.
36 www.vsolcn.com
Like this example: make mirror from PON to Lan1 both direction data traffic.
3.1 Data traffic Mirror and Capture
Step3:Start/Stop capture and save:
37 www.vsolcn.com
3.2 Registeration failure
n phenomenon:When you fill in the SIP registration parameters ,the VoIP
registration indicator does not work
38 www.vsolcn.com
3.2 Registration failure
Analysis:
Case 1: Check the registration status of ONU, If the registration status is “Registered”, we
think the phone indicator was broken.
Solution:
It's just light problem, it doesn't affect the ONU using,or you can replace the phone indicator light.
39 www.vsolcn.com
3.2 Registration failure
Case 2: Check the registration status of ONU, If the registration status is “Registering”,
need to continue to check.
Solution:
41 www.vsolcn.com
3.2 Registration failure
Case 3: Check the registration status of ONU, If the registration status is “Registering”
and the number has a suffix,the suffix has a special meaning and cannot be placed inside the
number
Solution:
42 www.vsolcn.com
3.2 Registration failure
If the ONU sip number does not have a configured suffix, the ONU will send a SIP
registration message, in which you can view the SIP number information,If the ONU
SIP number is configured with a suffix, it will not send SIP registration messages.
So,the solution is removing the suffix from the number.
43 www.vsolcn.com
3.2 Registration failure
Failed Case 1 : VoIP VLAN is incorrect
If the VoIP Wan uses an incorrect VLAN, the VoIP Wan cannot transmit data normally, resulting in
registration failure. At this time, you need to confirm whether the VLAN information filled in is
correct.
You can ask the VoIP service provider, or you can check the packet by yourself.
44 www.vsolcn.com
3.2 Registration failure
This is the correct packet,both sides use the same VLAN for communication
45 www.vsolcn.com
3.2 Registration failure
Failed Case 2: There is a problem with the SIP server.
the SIP service of the server is not enabled or server system failure. it can see the
destination port cannot be reached
46 www.vsolcn.com
3.2 Registration failure
Failed Case 3: The registration port of the server is incorrect.
e.g. the server requires registration port is 5061, but 5060 is used to ONU initiate registration
47 www.vsolcn.com
3.2 Registration failure
The above is a normal SIP registration packet capture, you can compare your packet capture to check which
step is abnormal. Or you can provide it to VSOL technical support team for analysis.
Successfully registered.pcapng
48 www.vsolcn.com
3.2 Registration failure
Failed Case 4 :The SIP 403 error,the account is incorrect,it may be account error or
password error
49 www.vsolcn.com
3.3 No dial tone when off hook
n phenomenon:When you off hook the telephone, you can’t hear dial tone
n Analysis:
First, check whether the port status of VoIP is registered. If the registration is
“Registering”. please refer to 3.1 for check.If the registration status is “Registered”, but
there is no dial tone, please follow the steps below
Solution:
case 1、Check if you can see the telephone indicator light is on when off hook (As
shown in the picture) . If not, please replace the telephone line or telephone for test.
When you replace the telephone or line, you still can't see the telephone indicator
light on. we judge that the Phone port is faulty.
Please contact the ONU supplier for check.
50 www.vsolcn.com
3.3 No dial tone when off hook
Case 2、If the telephone indicator light is on, but you still can't hear the dial tone, please
enable the ONU debugging for check.
51 www.vsolcn.com
3.3 No dial tone when off hook
Step2:Telnet to ONU , and type these commands in the following:
After input the username/password, then type command: enterlinuxshell enter shell mode, type command: diag enter
debug mode of onu.
This command: echo t > /var/run/solar_control.fifo
The function of this command is to print the action detection of the telephone
52 www.vsolcn.com
3.3 No dial tone when off hook
Step3: Check the difference between your printed information and this picture, Or you
can provide it to VSOL technical support team.
53 www.vsolcn.com
3.4 Ring of the phone is not from your area
nphenomenon:When you use the VoIP phone, you find that the dial tone, ring tone and ring
back tone are not consistent with your area.
n Analysis:
You can choose the ring tone standard you need on the ONU web
Solution:
login ONU web , choose the regional ring tone standard you need.
54 www.vsolcn.com
3.4 Ring of the phone is not from your area
55 www.vsolcn.com
3.5 ONU can make calls but cannot be called
nphenomenon:When you use the VoIP phone, you find that make calls successfully but can not
be called
n Analysis:
ONU does not send heartbeat packets, MAC address is aging, and the server does not know where
to reply
Solution:
56 www.vsolcn.com
3.5 ONU can make calls but cannot be called
57 www.vsolcn.com
3.6 Can’t hear other side voice in a call
n phenomenon:When you make a call, the called answers, but you can't hear his voices
n Analysis:
Case 1: The two ONUs are under the same OLT PON port
Solution:
Onus under the same PON port are isolated by default, you need to
enable the P2P function or proxy function of PON.
58 www.vsolcn.com
3.6 Can’t hear other side voice in a call
59 www.vsolcn.com
GPON OLT P2P function configuration
3.6 Can’t hear other side voice in a call
Case 2:The two onus use different voice codes
During the use of VoIP phone, We don't know what voice code is used by the other party.
If the voice code of both parties is different, it will cause the problem that both
parties can't hear the voice.
By default, VSOL ONU will automatically negotiate the other party's voice code, but sometimes, The
calling device asks the VSOL ONU to negotiate one code, but it sends another code. Two different
codes in a call cause problems.
Step 1: Please refer to chapter 3.1 Data traffic Mirror and Capture.
60 www.vsolcn.com
3.6 Can’t hear other side voice in a call
Step 2: Check capture packet. you can filter keywords “sip || rtp”
61 www.vsolcn.com
3.6 Can’t hear other side voice in a call
You will find that the caller requests to send G.711 PCMA code(refer to point 1 of the screenshot),
The called ONU will communicate with the G.711 PCMA code according to the requirements of the caller
ONU, but caller ONU sends G.711 PCMU code itself (refer to point 2 of the screenshot).
At this time, the two voice codes will be inconsistent and normal calls will not be possible.
Solution:
Contact your VoIP service provider and tell them your captured information
62 www.vsolcn.com
3.7 There was a lot of noise in a call
nphenomenon:When you are talking, you find that the called is talking intermittently or
there was a lot of noise in a call .
n Analysis:
This may be affected by the quality of the network, other services affect the transmission of
voice services. You need to set the priority of voice data transmission to the highest
Solution:
63 www.vsolcn.com
3.7 There was a lot of noise in a call
2. Check whether the VoIP wan connection is normal
If Ping result is abnormal, you need to check whether the VoIP WAN connection configuration information
is correct. If Ping is normal, proceed to the next step
64 www.vsolcn.com
3.7 There was a lot of noise in a call
3. Configure the 802.1p value of voice to the highest
level
65 www.vsolcn.com
3.8 VoIP Phone cannot talk normally
n phenomenon:This is a common problem in VOIP applications(topology is as follows)
At this time, The voice will not be heard by the VoIP phone on the ONU LAN side.
PSTN
OLT
ONU
66 www.vsolcn.com
3.8 VoIP Phone cannot talk normally
n Analysis:VOIP phone is in the intranet of ONU, It uses NAT technology for address
translation, When communicating with the external network, the signaling address has been
converted to the public network IP, but the media IP is not converted, it keep the private
IP of the Intranet ,As a result, the data from the external network cannot directly reach
the internal network address, so it caused this issue.
Step 1: Please refer to chapter 3.1 Data traffic Mirror and Capture.
67 www.vsolcn.com
3.8 VoIP Phone cannot talk normally
It can be seen from the interactive signaling that the ONU tells the SIP server the media address
68 is wrong address www.vsolcn.com
3.8 VoIP Phone cannot talk normally
RTP send to Private network address, so the media data can't reach voip phone
69 www.vsolcn.com
3.8 VoIP Phone cannot talk normally
Solution:
enable ALG function on ONU web
70 www.vsolcn.com
3.8 VoIP Phone cannot talk normally
Both the caller and the called can hear each other enable_alg.pcapng
71 www.vsolcn.com
VoIP Trouble Shooting
The above troubleshooting is the analysis idea of VoIP related issues ,may be some issues that
are not among them.
If you encounter VoIP related issues , you can refer to this tutorial ,and refer to chapter 3.1
Data traffic Mirror and Capture. Analyze the capture or provide it to VSOL technical support
team.
72 www.vsolcn.com
Thank You
73 WWW.VSOLCN.COM | SUPPORT@VSOLCN.COM
www.vsolcn.com
ACCESS THE WORLD