Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.85 KB

scscf.md

File metadata and controls

37 lines (28 loc) · 1.85 KB

OpenSIPS IMS - Community Edition - S-CSCF

The Serving Call Session Control Function (S-CSCF) handles the UE registrations, manages users authentication, SIP sessions routing and external service integration.

The S-CSCF interacts with I-CSCF for registrations and server assignement, and with P-CSCF and AS (application servers) for calls routing.

Interfaces

The S-CSCF implements the following interfaces:

  • Mw - (defined in 3GPP TS 24.229) describes the SIP messages exchanged between the S-CSCF and I-CSCF, as well as with different AS (application servers).
  • Cx - (defined in 3GPP TS 29.228) - Diameter interface between the S-CSCF and the IMS HSS. Supported Diameter commands are:
    • MAR - Multimedia-Auth-Request sent by the S-CSCF to request security information for a particular user.
    • MAA - Multimedia-Auth-Answer containing information used for digest/AKA authentication

Configuration

The S-CSCF can be configured through the environment variables defined here.

By default, the S-CSCF considers each number dialled as being a USER, and handles it accordingly. Optionally, you can provision custom dialplan rules that the S-CSCF can handle differently. These rules must have be provisioned in the MySQL scscf database dialplan. The required fields in the database are:

  • dpid - dialplan ID, needs to be set to 1
  • match_op - matching operator - 0 if a string match is used, 1 if regex
  • match_exp - the regular expression used to match the dialled number
  • repl_exp - the way the dialled number should be handled. Currently supported values:
    • USER: if the dialplan is a user, the call is routed back to a user, if registered
    • SERVICE: the call is sent to an internal service - currently not handled
    • APPLICATION: the call is sent to an Application Server - currently not handled