Skip to main content

Setting Up the SIP Bridge

Configuring SIP bridge

Basic config

  • Copy sample file from config-sample/sipbridge/sipbridge.yml to

    From the sipbridgeInstaller's sub-directoryIntegrations withinpage, yourclick config"Install" folder

  • under
  • Edit"SIP Bridge"

    For the fileprovided withsipbridge.yml, please see the following valuesdocumentation:

    - `postgres_create_in_cluster`: 
    • postgres_create_in_cluster: true`true` to create the postgres db into the k8s cluster. On a standalone deployment, it is necessary to define the postgres_data_path`postgres_data_path`.
    • - postgres_fqdn`postgres_fqdn`: The fqdn of the postgres server. If using postgres_create_in_cluster`postgres_create_in_cluster`, you can choose the name of the workload.
    • - postgres_data_path`postgres_data_path`: "/mnt/data/sipbridge-postgres"
    • - postgres_port`postgres_port`: 5432
    • - postgres_user`postgres_user`: The user to connect to the db.
    • - postgres_db`postgres_db`: The name of the db.
    • - postgres_password`postgres_password`: A password to connect to the db.
    • - port_type`port_type`: HostPort`HostPort` or NodePort`NodePort` depending on which kind of deployment you want to use. On standalone deployment, we advise you to use HostPort`HostPort` mode.
    • - port`port`: The port on which to configure the SIP protocol. On NodePort`NodePort` mode, it should be in kubernetes range:
    • - enable_tcp`enable_tcp`: true`true` to enable TCP SIP.
    • - pstn_gateway`pstn_gateway`: The hostname of the PSTN Gateway.
    • - external_address`external_address`: The external address of the SIP Bridge
    • - proxy`proxy` : The address of the SIP Proxy
    • - user_agent`user_agent`: A user agent for the sip bridge.
    • - user_avatar`user_avatar`: An MXC url to the sip bridge avatar. Don't define it if you have not uploaded any avatar.
    • - encryption_key`encryption_key`: A 32 character long secret used for encryption. Generate this with `pwgen 32 11`