SIP Settings

The SIP configurations require professional knowledge of SIP protocol, incorrect configuration may cause calling issues on the SIP extensions and SIP trunks.

Go to Settings > PBX > General > SIP to configure the SIP settings.

SIP General Settings

Option Description
UDP Port UDP Port used for SIP registrations. The default is 5060.
TCP Port TCP Port used for SIP registrations. The default is 5060.
Registration Timers
Max Registration Time Maximum duration (in seconds) of incoming registrations and subscriptions. The default is 3600 seconds.
Min Registration Time Minimum duration (in seconds) of incoming registration and subscriptions. The default is 60 seconds.
Qualify Frequency How often to send SIP OPTIONS packet to SIP device to check if the device is up. The default is 30 per second.
Outbound SIP Registrations
Registration Attempts The number of registration attempts before giving up (0 for no limit).
Default Incoming/Outgoing Registration Time

Default duration (in seconds) of incoming/outgoing registration. The default is 120 seconds.

Note: The actual duration needs to minus 10 seconds from the value you filled in.
Subscription Timer
Max Subscription Time Maximum duration (in seconds) of incoming subscriptions. The default is 3600 seconds.
Min Subscription Time Minimum duration (in seconds) of incoming subscriptions. The default is 90 seconds.

SIP Codec

A codec is a compression or decompression algorithm that used in the transmission of voice packets over a network or the Internet.

Codec Selection
Yeastar Cloud PBX supports G711 a-law, u-law, GSM, H261, H263, H263P, H264, SPEEX, G722, G726, ADPCM, G729A, MPEG4, opus and iLBC.
Note:
  • You need to choose at least one same code on the PBX and on your phones, or there may be a problem of the call.
  • If you want to make video calls, you need to select H261, H263, H263P, H264 or MPEG4 codec on the PBX and on your phones.
iLBC Settings
The iLBC codec supports two modes: 20ms and 30ms frame length modes,
To get better voice quality, you need to set the iLBC mode according to your SIP endpoints.
Note: Linkus uses iLBC 20ms mode. When Linkus is enabled, this option is switched to 20ms mode automatically.

TLS Settings

Option Description
Enable TLS Check the checkbox to enable TLS.
TLS Port TLS Port used for SIP registrations. The default is 5061.
TLS Client Method Specify protocol for outbound client connections. The default is sslv2.

Session Timer

A periodic refreshing of a SIP session that allows both the user agent and proxy to determine if the SIP session is still active.

Option Description
Session-timers

Choose the session timers mode on the system:

  • No: Do not include “timer” value in any field
  • Supported: Include “timer” value in Supported header
  • Require: Include “timer” value in Require header
  • Forced: Iclude “timer” value in both pportednd equired header.
The default is Supported.
Session-Expires The max refresh interval in seconds.
Min-SE The min refresh interval in seconds, it must not be less than 90.

Qos

QoS (Quality of Service) is a major issue in VoIP implementations. The issue is how to guarantee that packet traffic for a voice or other media connection will not be delayed or dropped due interference from other lower priority traffic.

When the network capacity is insufficient, QoS could provide priority to users by setting the value.

Option Description
ToS SIP Type of Service for SIP packets.
ToS Audio Type of Service for RTP audio packets.
ToS Video Type of Service for RTP video packets.
Cos SIP Class of Service for SIP packets.
Cos Audio Class of Service for RTP audio packets.
Cos Video Class of Service for RTP video packets.

T.38

Adjust T.38 settings if T.38 Fax don't work.

Option Description
No T.38 Attributes in Re-invite SDP If this option is selected, SDP re-invite packet will not contain T.38 attributes.
Error Correction Enable or disable Error Correction for the fax.
T.38 Max BitRate Adjust the max BitRate for T.38 fax.

Advanced SIP Settings

Option Description
User Agent Change the User-Agent field.
Send Remote Party ID Whether to send Remote-Party-ID in SIP header or not.
Note: This configuration only take effects on internal calls. To set up for external calls, configure the Advance settings of SIP trunk.
Send P Asserted Identify Whether to send P-Asserted-Identify in SIP header or not.
Note: This configuration only take effects on internal calls. To set up for external calls, configure the Advance settings of SIP trunk.
Send Diversion ID Whether to send Diversion in SIP header or not.

If this option is selected, the Diversion value will be extension number.

Note: This configuration only take effects on internal calls. To set up for external calls, configure the Advance settings of SIP trunk.
Support Early Media Whether to support Early Media or not.
All Busy Mode for SIP Forking
  • Check this option: When one of the terminals that register the same extension number is busy in a call, the other terminals will not receive calls.
  • Uncheck this option: When one terminal is busy, the other terminals will still be able to make and receive calls.
Inband Progress This Inband Progress setting applies to all the extensions.
Note: To configure global Inband Progress setting, you need to contact Yeastar support to configure a custom config file.
  • Check this option: PBX will send a 183 Session Progress to the extension when told to indicate ringing and will immediately start sending ringing as audio.
  • Uncheck this option: PBX will send a 180 Ringing to the extension when told to indicate ringing and will NOT send it as audio.
Get Caller ID From Decide the system will retrieve Caller ID from which header field.
Get DID From Decide the system will retrieve DID from which header field.
Note: If Remote-Party-ID is selected but the SIP trunk doesn't support this, the system will retrieve DID fron INVITE header.
100rel Whether to support 100rel or not.
Support Message Request Whether to support SIP Message Request or not.
Maxptime Select or enter the Maxptime value.
Notify Caller ID If checked, when extension A has an inbound call, PBX will send the call's Caller ID information to the extension that has subscribed to the A's call status. Displaying caller ID information can be useful to help an agent decide whether to pickup an incoming call. This option is disabled by default.
DTMF Passthrough

If DTMF Passthrough is enabled, PBX will not process the DMTF tones, and passe DTMF tones transparently to the other end.

Enable uaCSTA connection If this option is enabled, the PBX will use uaCSTA (User Agent Computer Supported Telecommunications Application) to remotely control the IP Phone via Linkus Lite CTI. Your IP Phone needs to support uaCSTA standard to use this function.