Amarisoft

How to run VoLTE/VoNR call using a SIP trunk

 

Our IMS server can be used for running VoLTE/VoNR locally (between users connected to Amarisoft network).

For running call through a SIP trunk and reach users connected to commercial networks as instance , it's possible to use a SIP trunk and an external SIP server (based on Asterisk)

In that case, Amarisoft IMS server must be configured to route IMS messages to this external SIP server instead of handling them locally.

Note that the SIP trunk must handle audio transcoding. VoLTE devices will use AMR-NB or AMR-WB so it is up to the SIP trunk to transcode any incoming codec to those codecs.

 

Configure Amarisoft IMS server

In ims.cfg file , add "trunk" parameters . See example below:

{ //log_options: "all.level=debug,all.max_size=32", log_options: "all.level=error,sip.level=debug,sip.max_size=1,ims.level=debug,rx.level=debug,rx.max_size=1,cx.level=debug,cx.max_size=1", log_filename: "/tmp/ims.log", /* SIP bind address */ sip_addr: [ {addr: "192.168.4.1", bind_addr: "192.168.4.1", port_min: 10000, port_max: 20000, trunk: true}, "2001:468:3000:1::", {addr: "192.168.5.1", bind_addr: "192.168.5.1", port_min: 10000, port_max: 20000}, "2001:468:4000:1::" ], trunk: { addr: "x.x.x.x", // SIP server IP address name: "xxx", // SIP account username, used for contact/from headers // domain: "xxx", // If not set, SIP uri domain will use addr }, /* MME connection for SMS over SG */ sctp_addr: "127.0.0.1",