Usage of Asterisk Server to include IMS Configuration in OAI CN (OpenAirInterface Core Network)

Hi, all.

I have read that the OpenAirInterface team has used the Asterisk Server in their 5G setup to include the IMS configuration. Does anybody have any information on how this setup was done? I don’t seem to be able to find much information on it online.

In their OAI 2022 Winter Edition Newsletter, they printed the following:
Testing with Commercial UEs
We successfully tested OAI core network and OAI gNB with below COTS-UE and testing modules:

  • IPhone 14, Huawei P40Pro, OnePlus 8, Google Pixel 5, Quectel RM520N (Rel16), Quectel RM500Q (Rel 15)

Note: Iphone 14 and Huawei P40 pro both needs an IMS configured in SMF configuration file. For IMS we are using an asterisk server.

First, does IMS mean IP Media Server ? Not that it matters much - that sounds like something Asterisk can be :slight_smile:

Anyhow…

Took some digging… looks like they are (still ?) using a Docker-ized Asterisk 18 inside Ubuntu 22, by way of standard upstream Debian package repo from early 2022, with minimal chan_sip configuration…

Newsletter you mentioned (WARNING, PDF!):

One pertinent part of their GitLab is their docker-compose.yaml file:

Snippet from that docker-compose.yaml file:

    ims:
        container_name: "ims"
        image: oaisoftwarealliance/ims:latest
        volumes:
            - ./conf/sip.conf:/etc/asterisk/sip.conf
            - ./conf/users.conf:/etc/asterisk/users.conf
        healthcheck:
            test: /bin/bash -c "pgrep asterisk"
            interval: 5s
            timeout: 2s
            retries: 10
        networks:
            public_net:
                ipv4_address: 192.168.70.139

A place to pull their Docker image:

https://hub.docker.com/r/oaisoftwarealliance/ims

Which is described as:

Simple IMS server implementation based on the Ubuntu asterisk package

Sailing in to the docker pull a little bit:

[Jul 12 16:55:26] Asterisk 18.10.0~dfsg+~cs6.10.40431411-2 built by nobody @ buildd.debian.org on a unknown running Linux on 2022-02-12 18:24:51 UTC

And:

$ cat os-release
PRETTY_NAME=“Ubuntu 22.04.3 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.3 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/
SUPPORT_URL=“https://help.ubuntu.com/
BUG_REPORT_URL=“Bugs : Ubuntu
PRIVACY_POLICY_URL=“https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
UBUNTU_CODENAME=jammy

Their upstream only appears to modify a couple of Asterisk configuration files (sip.conf and users.conf) but these weren’t in the docker pull - it looks like Debian stock Asterisk config, instead of the below files hmm:

sip.conf:

[general]
language=fr
tcpenable=yes
tcpbindaddr=0.0.0.0
tcpbindport=5060
srvlookup=yes

Et, users.conf:

[001010000000001]
fullname = user1
hassip = yes
context = users
host = dynamic
transport=udp

[001010000000002]
fullname = user2
hassip = yes
context = users
host = dynamic
transport=udp

[001010000000003]
fullname = user3
hassip = yes
context = users
host = dynamic
transport=udp

[001010000000004]
fullname = user4
hassip = yes
context = users
host = dynamic
transport=udp

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.