SIP Extension Registration Introduction

Introduction

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:3009@192.168.9.208>;tag=1569518026

To: "3009" sip:3009@192.168.9.208

Call-ID: 727890672@192.168.9.39

CSeq: 1 REGISTER

Contact: sip:3009@192.168.9.39:5065

Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE

Max-Forwards: 70

User-Agent: Yealink SIP-T28P 2.72.0.85

Expires: 3600

Header

Description

From

Get the username and IP address of registration source

To

Get the username and IP address of registration destination

Contact

Contains the URI at which the UA would like to receive request.

User-Agent

The authentication name of the endpoint.

Expires

An integral number of seconds, measured from the receipt of the request.

 

Important Configurations

In the following, we would introduce the configuration that would be related with the SIP registration.

Extension settings

  1. 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

     For example:

From: "display3009" sip:caller3009@192.168.9.198

 

  1. 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.

 

  1. 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.

 

  1. 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

Port.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.