X5368r-P3
User’s Manual Version 1.0
99
7.13
VoIP set endpoint codecs
7.13.1 Syntax
voip set endpoint <index> codecs <codecs>
7.13.2 Description
This command specifies the codec types which can be
used to compress the Voice packets from
the endpoint specified. The codecs are listed in order of
preference to be used for a phone call. The
endpoint will negotiate with the other end to choose a
codec which they can both use.
For example, if the codec order is specified on the local
endpoint as:
PCMU,PCMA,G726-32,G729
and the remote endpoint uses the following codec order:
G726-32,PCMA,G729
then the codec type selected for a call between the two
endpoints will be PCMA. The PCMA codec
is selected as it is the local endpoints’s highest choice that
is also acceptable to the remote
endpoint.
In the Session Description Protocol (SDP), this
information would be sent from the local endpoint
as an invite containing the following list of codecs:
PCMU,PCMA,G726-32,G729
The remote endpoint will issue a response back to the
local endpoint with the following list of
codecs: PCMA,G726-32,G729, ie. the remote endpoint
returns the list of codecs it supports back
to the local endpoint in the order proposed by the local
endpoint and not the order it prefers.
Therefore, it is the local endpoint which issues the invite
request which determines the codec to be
used; the remote endpoint’s preferred order of codec
usage is not considered.
7.13.3 Options
The following table gives the range of values for each
option which can be specified with this
command and a default value (if applicable):
X5368r-P3
User’s Manual Version 1.0
100
Table 8: VoIP set endpoint codecs CLI command
7.13.4 Example
prompt> voip set endpoint 1 codecs
PCMA,PCMU,G726-32,G729
After you have entered this command, you must save the
system configuration and restart the
system for the changes you have made to take affect.
To save the configuration, use the command:
system config save
To restart the system, use the command:
system restart