This guide introduces SIP registration with Yeastar VoIP PBX.
- Understanding SIP registration basic
- Troubleshoot extension registration issues
SIP Extension Registration
Registration associates a user’s identification, or Address of Record (AOR), with one or more locations. It is simply a mechanism where a phone communicates "Hey, I'm Bob's phone... here's my username and password. Oh, and if you get any calls for me, I'm at this particular IP address." Here is the SIP registration flow:
Here is an example of SIP extension registration packet:
REGISTER sip:192.168.9.208:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.9.39:5065;branch=z9hG4bK68669670
From: "3009" <sip:email@example.com>;tag=1569518026
To: "3009" sip:firstname.lastname@example.org
CSeq: 1 REGISTER
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
User-Agent: Yealink SIP-T28P 22.214.171.124
Get the username and IP address of registration source
Get the username and IP address of registration destination
Contains the URI at which the UA would like to receive request.
The authentication name of the endpoint.
An integral number of seconds, measured from the receipt of the request.
In the following, we would introduce the configuration that would be related with the SIP registration.
- Basic settings
- Concurrent Registrations decides how many SIP devices can register this extension, the maximum is up to 5.
- Register Name: digest username parameter of Authoriztaion field in the SIP REGISTER packet. For example:
Authorization: Digest username="3009", realm="YSAsterisk"
- Caller ID: username parameter of From URI
- Caller ID name: display parameter of From URI
From: "display3009" sip:email@example.com
- Advanced settings
- Register Remotely：When endpoint is locate in a different network segment with PBX, Register Remotely is needed for register.
- Transport: UDP, TCP, TLS
- IP Restriction: This option is for specific IP address register the extension.
- User Agent: When registering, package sent by SIP phones will contain the User Agent string. If the string doesn’t match the value here, registration will fail.
- SIP Settings
- UDP Port: The UDP Port is used to monitor the port flux for PBX, the default value is 5060. Allow UDP port 5060 traffic received from other device.
- TCP Port: Port traffic of TCP will also be allowed to access and registration. The default value is 5060.
- Local SIP Port: The port that flows out the local will be random port range from 5062 to 5082.
- Registration Timers: The registration duration for SIP extension, the default is 3600.
- TLS: Encrypt data during data transmission. The default value is 5061.
*Note: Usage scenario of Local SIP Port
1) Sometimes local device with port 5060 register provider or other device is so frequency cause registration capped or blocking by router.
2) When there are multiple trunks on your device, provider/ end device can’t distinguish the traffic from same port. This option could help them use different port to distinguish the registration flow.
- Linkus Settings
- Linkus Local Port: Local port of the Linkus server and the default port is 8111.
- Linkus External Port: The external port for connection with Linkus client
- SIP Remote Registration Port: External port of SIP UDP port that you forwarded on the router.
Note: 8111 is a port for Linkus Client login and also some other data pass through the