Skip to content
Success

Changes

Summary

  1. asterisk: extensions.conf: Route non-local extensions towards IMS side (details)
  2. ttcn3-asterisk: Add extra IP addr in ttcn3 docker for IMS Core (details)
  3. asterisk: extensions.conf: Forward call from VoLTE to all registered (details)
Commit 55d6ae49e17ca6b8a2e26e932c3f688d70c5b01d by Pau Espin Pedrol
asterisk: extensions.conf: Route non-local extensions towards IMS side

Previous config had only 1 digit extensions being routed, plus the fact
that the endpoint name was incorrect (now "volte_ims").

Change-Id: Icce5e55ab75c0c9fdacc4d8504e6714b99d385b4
The file was modifiedttcn3-asterisk-ims-ue-test/asterisk/extensions.conf
Commit 29f355720d9509ebfcec9422a607031d02cb904e by Pau Espin Pedrol
ttcn3-asterisk: Add extra IP addr in ttcn3 docker for IMS Core

TTCN-3 docker container is emulating both the SIP UAs and the IMS Core.
So far all the components being emulated there were running under the
only local IP address available in the docker container.
This means, both the SIP UAs and the IMS Core were using the same IP
address.

This is actually causing problems for Asterisk, since on the VoLTE side
it needs to be configured to identify the endpoint based on the IMS Core
domain name.
Since the default identify matching ordered in Asterisk is:
"endpoint_identifier_order=ip,username,anonymous"
That means it always first checks the source IP address, which means
messages coming from local SIP UAs are misunderstood to be coming from
the IMS Core (since ims.mnc001.mcc238.3gppnetwork.org resolves to same
IP address).

The issue can be fixed by swapping the order to "username,ip", because
then the well-known 50X extensions are matched before attempting to
match by IP address.
However, this is all deviating config for the expected usual network
configuration, since the local IP network will be different than the IP
address coming from VoLTE.
Hence, let's instead properly separate the local SIP and VoLTE networks
with different IP addresses, which then solves the issue.

Change-Id: I6e5a261748ec61bb1cfa4aafee8c748d0f46aa9e
The file was modifiedttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg
The file was modifiedttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh
The file was modifiedttcn3-asterisk-ims-ue-test/jenkins.sh
The file was modifiedttcn3-asterisk-ims-ue-test/dnsmasq/dnsmasq.conf
The file was modifiedttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
The file was addedttcn3-asterisk-ims-ue-test/ttcn3.sh
Commit 8542e153df8235b576f01bbf632b17cd2a70fc05 by Pau Espin Pedrol
asterisk: extensions.conf: Forward call from VoLTE to all registered local UAs

Change-Id: Id3e14ca660f0aa4ed685a90f527feb8732a83806
The file was modifiedttcn3-asterisk-ims-ue-test/asterisk/extensions.conf