Registration Pass-Through Modes
Cisco UBE uses the following two modes for registration pass-through:
End-to-End Mode
In the end-to-end mode, Cisco UBE collects the registrar details from the Uniform Resource Identifier (URI) and passes the registration messages to the registrar. The registration information contains the expiry time for rate-limiting, the challenge information from the registrar, and the challenge response from the user.
Cisco UBE also passes the challenge to the user if the register request is challenged by the registrar. The registrar sends the 401 or 407 message to the user requesting for user credentials. This process is known as challenge.
Cisco UBE ignores the local registrar and authentication configuration in the end-to-end mode. It passes the authorization headers to the registrar without the header configuration.
End-to-End Mode--Call Flows
This section explains the following end-to-end pass-through mode call flows:
Register Success Scenario
The register success scenario for the end-to end registration pass-through mode is as follows:
-
The user sends the register request to Cisco UBE.
-
Cisco UBE matches the request with a dial peer and forwards the request to the registrar.
-
Cisco UBE receives a success response message (200 OK message) from the registrar and forwards the message to the endpoint (user).
-
The registrar details and expiry value are passed to the user.
Registrar Challenging the Register Request Scenario
The following scenario explains how the registrar challenges the register request:
-
The user sends the register request to Cisco UBE.
-
Cisco UBE matches the register request with a dial peer and forwards it to the registrar.
-
The registrar challenges the register request.
-
Cisco UBE passes the registrar response and the challenge request, only if the registrar challenges the request to the user.
-
The user sends the register request and the challenge response to the Cisco UBE.
-
Cisco UBE forwards the response to the registrar.
-
Cisco UBE receives success message (200 OK message) from the registrar and forwards it to the user.
Peer-to-Peer Mode
In the peer-to-peer registration pass-through mode, the outgoing register request uses the registrar details from the local Cisco UBE configuration. Cisco UBE answers the challenges received from the registrar using the configurable authentication information. Cisco UBE can also challenge the incoming register requests and authenticate the requests before forwarding them to the network.
In this mode, Cisco UBE sends a register request to the registrar and also handles register request challenges. That is, if the registration request is challenged by the registrar (registrar sends 401 or 407 message), Cisco UBE forwards the challenge to the user and then passes the challenge response sent by the user to the registrar. In the peer-to-peer mode, Cisco UBE can use the authentication command to calculate the authorization header and then challenge the user depending on the configuration.
Note |
The registrar command must be configured in peer-to-peer mode. Otherwise, the register request is rejected with the 503 response message. |
Peer-to-Peer Mode--Call Flows
This section explains the following peer-to-peer pass-through mode call flows:
Register Success Scenario
The register success scenario for a peer-to-peer registration pass-through mode is as follows:
-
The user sends the register request to Cisco UBE.
-
Cisco UBE matches the register request with a dial peer and forwards the register request to the registrar.
-
Cisco UBE receives a success message (200 OK message) from the registrar and forwards it to the endpoint (user). The following functions are performed:
-
Cisco UBE picks up the details about the registrar from the configuration.
-
Cisco UBE passes the registrar details and expiry value to the user.
-
Registrar Challenging the Register Request Scenario
The following scenario explains how the registrar challenges the register request:
-
The user sends the register request to Cisco UBE.
-
Cisco UBE matches the register request with a dial peer and forwards the register request to the registrar.
-
The user responds to the challenge request.
-
Cisco UBE validates the challenge response and forwards the register request to the registrar.
-
Cisco UBE receives a success message from the registrar and forwards it to the endpoint (user).
Registration in Different Registrar Modes
This section explains SIP registration pass-through in the following registrar modes:
Primary-Secondary Mode
In the primary-secondary mode the register message is sent to both the primary and the secondary registrar servers simultaneously.
The register message is processed as follows:
-
The first successful response is passed to the phone as a SUCCESS message.
-
All challenges to the request are handled by Cisco UBE.
-
If the final response received from the primary and the secondary servers is an error response, the error response that arrives later from the primary or the secondary server is passed to the phone.
-
If only one registrar is configured, a direct mapping is performed between the primary and the secondary server.
-
If no registrar is configured, or if there is a Domain Name System (DNS) failure, the "503 service not available" message is sent to the phone.
DHCP Mode
In the DHCP mode the register message is sent to the registrar server using DHCP.
Multiple Register Mode
In the multiple register mode, you can configure a dial peer to select and enable the indexed registrars. Register messages must be sent only to the specified index registrars.
The response from the registrar is mapped the same way as in the primary-secondary mode.