Codec is used for interconnection between wideband and narrowband. On the U1900 series unified gateway, run the show system information command to check the supported codec modes (whose priorities are in descending order).
Assume that the network is as follows:
IP phone -- U1900 -- (Narrowband trunk) -- PSTN
The U1900 supports and has the following codec modes enabled: G711A | G711U | G729 | G723 | AMR_WB | iLBC_1520 | iLBC_1333 | G722 | G7221_24 | G7221_32. The IP phone supports and has the following codec modes enabled: G711U | G711A | G729 | G722.
When the IP phone makes an outgoing call through the narrowband trunk, the U1900 compares its codec modes with those of the IP phone after receiving the call request. The U1900 detects that the G711U | G711A | G729 modes of the IP phone are the common codec modes, and selects G711U with the highest priority to set up the call. (The priority relationship of the IP phone is used, which is called peer preference. The U1900 supports only the peer preference mode.)
When the narrowband trunk side makes an outgoing call to the IP phone, the process is similar. The IP phone compares its codec modes with those of the U1900 after receiving the call request. The IP phone detects that the G711A | G711U | G729 modes of the U1900 are the common codec modes, and selects G711A with the highest priority to set up the call. The IP phone also supports only the peer preference mode.
1. Log in to the CLI of the U1900 and run the show flowlimit information command.
2. In the command output, the values of MinPort and MaxPort for rtp_X indicate the RTP media port range of the U1900.
If you have more questions, you can seek help from following ways: