lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

April 2024

  • 1 participants
  • 1128 discussions
[L] Change in osmo-trx[master]: doc: Introduce documentation for osmo-trx-ipc and its IPC interface
by pespin 02 Apr '24

02 Apr '24
Attention is currently required from: Hoernchen, fixeria, laforge. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36465?usp=email ) Change subject: doc: Introduce documentation for osmo-trx-ipc and its IPC interface ...................................................................... Patch Set 3: (1 comment) Patchset: PS3: ping -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36465?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: Id6863731f9398720030b16efaaf559e05f2444ed Gerrit-Change-Number: 36465 Gerrit-PatchSet: 3 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Tue, 02 Apr 2024 09:14:35 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
1 0
0 0
[M] Change in docker-playground[master]: Introduce asterisk-master docker image
by pespin 02 Apr '24

02 Apr '24
pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email ) Change subject: Introduce asterisk-master docker image ...................................................................... Introduce asterisk-master docker image This Docker image allows building and running Asterisk from git. Default config is to build the sysmocom fork used to develop new features (hence pointing to sysmocom/master branch in that repo. Related: SYS#6782 Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238 --- A asterisk-master/Dockerfile A asterisk-master/Makefile M make/Makefile 3 files changed, 81 insertions(+), 0 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/asterisk-master/Dockerfile b/asterisk-master/Dockerfile new file mode 100644 index 0000000..cd64b2f --- /dev/null +++ b/asterisk-master/Dockerfile @@ -0,0 +1,64 @@ +ARG REGISTRY=docker.io +ARG USER +ARG DISTRO +FROM $USER/$DISTRO-build +# Arguments used after FROM must be specified again +ARG DISTRO + +RUN apt-get update && \ + apt-get upgrade -y && \ + DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends \ + vim \ + sudo \ + iproute2 \ + iputils-ping \ + libcap2-bin \ + net-tools \ + libedit-dev \ + libnewt-dev \ + libssl-dev \ + libncurses5-dev \ + subversion \ + libsqlite3-dev \ + build-essential \ + libjansson-dev \ + libxml2-dev \ + uuid-dev \ + wget && \ + apt-get clean + +# create a user +ARG username=asterisk +RUN useradd -m ${username} && \ + echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \ + chmod 0440 /etc/sudoers.d/${username} + +WORKDIR /home/${username} + + +# clone asterisk +ARG ASTERISK_REMOTE=https://gitea.sysmocom.de/sysmocom/asterisk.git +RUN git clone $ASTERISK_REMOTE + +RUN cd asterisk && \ + git fetch && git checkout -f -B sysmocom/master origin/sysmocom/master + +RUN cd asterisk && \ + ./bootstrap.sh && \ + ./configure && \ + make "-j$(nproc)" + +ARG ASTERISK_BRANCH=sysmocom/master + +ADD https://gitea.sysmocom.de/api/v1/repos/sysmocom/asterisk/git/refs/heads/$AS… /tmp/asterisk-ver + +# update the source code (if needed) +RUN cd asterisk && \ + git fetch && git checkout -B $ASTERISK_BRANCH origin/$ASTERISK_BRANCH + +RUN cd asterisk && \ + make "-j$(nproc)" && \ + make install && \ + make samples && \ + ldconfig diff --git a/asterisk-master/Makefile b/asterisk-master/Makefile new file mode 100644 index 0000000..8d0e10b --- /dev/null +++ b/asterisk-master/Makefile @@ -0,0 +1 @@ +include ../make/Makefile diff --git a/make/Makefile b/make/Makefile index 7266662..74efbff 100644 --- a/make/Makefile +++ b/make/Makefile @@ -17,6 +17,7 @@ USERNAME?=$(USER) UID=$(shell id -u) NAME?=$(shell basename $(CURDIR)) +ASTERISK_BRANCH?=sysmocom/master LIBOSMOCORE_BRANCH?=master OSMO_TTCN3_BRANCH?=master OSMO_BB_BRANCH?=master @@ -100,6 +101,7 @@ --build-arg OSMOCOM_REPO_PATH=$(OSMOCOM_REPO_PATH) \ --build-arg OSMOCOM_REPO_VERSION=$(OSMOCOM_REPO_VERSION) \ --build-arg OSMOCOM_REPO_TESTSUITE_MIRROR=$(OSMOCOM_REPO_TESTSUITE_MIRROR) \ + --build-arg ASTERISK_BRANCH=$(ASTERISK_BRANCH) \ --build-arg LIBOSMOCORE_BRANCH=$(LIBOSMOCORE_BRANCH) \ --build-arg OSMO_BB_BRANCH=$(OSMO_BB_BRANCH) \ --build-arg OSMO_BSC_BRANCH=$(OSMO_BSC_BRANCH) \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238 Gerrit-Change-Number: 36491 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
[L] Change in docker-playground[master]: Introduce ttcn3-asterisk-ims-ue-test
by pespin 02 Apr '24

02 Apr '24
pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36492?usp=email ) ( 1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: Introduce ttcn3-asterisk-ims-ue-test ...................................................................... Introduce ttcn3-asterisk-ims-ue-test This dockerized setup allows running the Asterisk_Tests ttcn3 testsuite against Asterisk from the asterisk-master docker image, in order to test the IMS UE feature which will be developed soon. Related: SYS#6782 Depends: osmo-ttcn3-hacks.git Change-Id I66f776d5df6fb5dc488d9e589b84a6b2385406e8 Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba --- A ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg A ttcn3-asterisk-ims-ue-test/Dockerfile A ttcn3-asterisk-ims-ue-test/Makefile A ttcn3-asterisk-ims-ue-test/asterisk/asterisk.conf A ttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh A ttcn3-asterisk-ims-ue-test/asterisk/extensions.conf A ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf A ttcn3-asterisk-ims-ue-test/jenkins.sh 8 files changed, 361 insertions(+), 0 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve diff --git a/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg b/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg new file mode 100644 index 0000000..c8744bb --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg @@ -0,0 +1,22 @@ +[ORDERED_INCLUDE] +"/osmo-ttcn3-hacks/Common.cfg" +"/osmo-ttcn3-hacks/asterisk/Asterisk_Tests.default" + +[LOGGING] + +[TESTPORT_PARAMETERS] +*.SIP.default_local_address := "172.18.11.103" +*.SIP.local_sip_port := "5060" +*.SIP.default_dest_address := "172.18.11.10" +*.SIP.default_dest_port := "5094" + +[MODULE_PARAMETERS] +Asterisk_Tests.mp_local_sip_host := "172.18.11.103" +Asterisk_Tests.mp_remote_sip_host := "172.18.11.10" +Asterisk_Tests.mp_local_sip_port := 5060 +Asterisk_Tests.mp_remote_sip_port := 5094 + +[MAIN_CONTROLLER] + +[EXECUTE] +Asterisk_Tests.control diff --git a/ttcn3-asterisk-ims-ue-test/Dockerfile b/ttcn3-asterisk-ims-ue-test/Dockerfile new file mode 100644 index 0000000..1a2f8aa --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/Dockerfile @@ -0,0 +1,13 @@ +ARG REGISTRY +ARG USER +FROM $REGISTRY/$USER/debian-bookworm-titan +ARG OSMO_TTCN3_BRANCH="master" + +ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_B… /tmp/commit +RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" asterisk + +VOLUME /data + +COPY Asterisk_Tests.cfg /data/Asterisk_Tests.cfg + +CMD ttcn3-docker-run asterisk Asterisk_Tests diff --git a/ttcn3-asterisk-ims-ue-test/Makefile b/ttcn3-asterisk-ims-ue-test/Makefile new file mode 100644 index 0000000..8d0e10b --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/Makefile @@ -0,0 +1 @@ +include ../make/Makefile diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.conf b/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.conf new file mode 100644 index 0000000..a17d606 --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.conf @@ -0,0 +1,142 @@ +[directories](!) +astcachedir => /var/cache/asterisk +astetcdir => /etc/asterisk +astmoddir => /usr/lib/asterisk/modules +astvarlibdir => /var/lib/asterisk +astdbdir => /var/lib/asterisk +astkeydir => /var/lib/asterisk +astdatadir => /var/lib/asterisk +astagidir => /var/lib/asterisk/agi-bin +astspooldir => /var/spool/asterisk +astrundir => /var/run/asterisk +astlogdir => /data +astsbindir => /usr/sbin + +[options] +;verbose = 3 +;debug = 3 +;trace = 0 ; Set the trace level. +;refdebug = yes ; Enable reference count debug logging. +;alwaysfork = yes ; Same as -F at startup. +;nofork = yes ; Same as -f at startup. +;quiet = yes ; Same as -q at startup. +;timestamp = yes ; Same as -T at startup. +;execincludes = yes ; Support #exec in config files. +;console = yes ; Run as console (same as -c at startup). +;highpriority = yes ; Run realtime priority (same as -p at + ; startup). +;initcrypto = yes ; Initialize crypto keys (same as -i at + ; startup). +;nocolor = yes ; Disable console colors. +;dontwarn = yes ; Disable some warnings. +;dumpcore = yes ; Dump core on crash (same as -g at startup). +;languageprefix = yes ; Use the new sound prefix path syntax. +;systemname = my_system_name ; Prefix uniqueid with a system name for + ; Global uniqueness issues. +;autosystemname = yes ; Automatically set systemname to hostname, + ; uses 'localhost' on failure, or systemname if + ; set. +;mindtmfduration = 80 ; Set minimum DTMF duration in ms (default 80 ms) + ; If we get shorter DTMF messages, these will be + ; changed to the minimum duration +;maxcalls = 10 ; Maximum amount of calls allowed. +;maxload = 0.9 ; Asterisk stops accepting new calls if the + ; load average exceed this limit. +;maxfiles = 1000 ; Maximum amount of openfiles. +;minmemfree = 1 ; In MBs, Asterisk stops accepting new calls if + ; the amount of free memory falls below this + ; watermark. +;cache_media_frames = yes ; Cache media frames for performance + ; Disable this option to help track down media frame + ; mismanagement when using valgrind or MALLOC_DEBUG. + ; The cache gets in the way of determining if the + ; frame is used after being freed and who freed it. + ; NOTE: This option has no effect when Asterisk is + ; compiled with the LOW_MEMORY compile time option + ; enabled because the cache code does not exist. + ; Default yes +;cache_record_files = yes ; Cache recorded sound files to another + ; directory during recording. +;record_cache_dir = /tmp ; Specify cache directory (used in conjunction + ; with cache_record_files). +;transmit_silence = yes ; Transmit silence while a channel is in a + ; waiting state, a recording only state, or + ; when DTMF is being generated. Note that the + ; silence internally is generated in raw signed + ; linear format. This means that it must be + ; transcoded into the native format of the + ; channel before it can be sent to the device. + ; It is for this reason that this is optional, + ; as it may result in requiring a temporary + ; codec translation path for a channel that may + ; not otherwise require one. +;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of + ; directly. +;runuser = asterisk ; The user to run as. +;rungroup = asterisk ; The group to run as. +;lightbackground = yes ; If your terminal is set for a light-colored + ; background. +;forceblackbackground = yes ; Force the background of the terminal to be + ; black, in order for terminal colors to show + ; up properly. +;defaultlanguage = en ; Default language +documentation_language = en_US ; Set the language you want documentation + ; displayed in. Value is in the same format as + ; locale names. +;hideconnect = yes ; Hide messages displayed when a remote console + ; connects and disconnects. +;lockconfdir = no ; Protect the directory containing the + ; configuration files (/etc/asterisk) with a + ; lock. +;stdexten = gosub ; How to invoke the extensions.conf stdexten. + ; macro - Invoke the stdexten using a macro as + ; done by legacy Asterisk versions. + ; gosub - Invoke the stdexten using a gosub as + ; documented in extensions.conf.sample. + ; Default gosub. +;live_dangerously = no ; Enable the execution of 'dangerous' dialplan + ; functions and configuration file access from + ; external sources (AMI, etc.) These functions + ; (such as SHELL) are considered dangerous + ; because they can allow privilege escalation. + ; Configuration files are considered dangerous + ; if they exist outside of the Asterisk + ; configuration directory. + ; Default no +;entityid=00:11:22:33:44:55 ; Entity ID. + ; This is in the form of a MAC address. + ; It should be universally unique. + ; It must be unique between servers communicating + ; with a protocol that uses this value. + ; This is currently is used by DUNDi and + ; Exchanging Device and Mailbox State + ; using protocols: XMPP, Corosync and PJSIP. +;rtp_use_dynamic = yes ; When set to "yes" RTP dynamic payload types + ; are assigned dynamically per RTP instance vs. + ; allowing Asterisk to globally initialize them + ; to pre-designated numbers (defaults to "yes"). +;rtp_pt_dynamic = 35 ; Normally the Dynamic RTP Payload Type numbers + ; are 96-127, which allow just 32 formats. The + ; starting point 35 enables the range 35-63 and + ; allows 29 additional formats. When you use + ; more than 32 formats in the dynamic range and + ; calls are not accepted by a remote + ; implementation, please report this and go + ; back to value 96. +;hide_messaging_ami_events = no; This option, if enabled, will + ; suppress all of the Message/ast_msg_queue channel's + ; housekeeping AMI and ARI channel events. This can + ; reduce the load on the manager and ARI applications + ; when the Digium Phone Module for Asterisk is in use. +;sounds_search_custom_dir = no; This option, if enabled, will + ; cause Asterisk to search for sounds files in + ; AST_DATA_DIR/sounds/custom before searching the + ; normal directories like AST_DATA_DIR/sounds/<lang>. + +; Changing the following lines may compromise your security. +;[files] +;astctlpermissions = 0660 +;astctlowner = root +;astctlgroup = apache +;astctl = asterisk.ctl + diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh b/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh new file mode 100755 index 0000000..24a20db --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set +e +set -x + +ASTERISK_CFG_PATH="/etc/asterisk" + +#rm -rf "${ASTERISK_CFG_PATH}" +#mkdir -p "${ASTERISK_CFG_PATH}" + +#cp -r /etc/asterisk/* "${ASTERISK_CFG_PATH}/" +cp /data/asterisk.conf "${ASTERISK_CFG_PATH}/" +#sed -i "s#/etc/asterisk#${ASTERISK_CFG_PATH}#" "${ASTERISK_CFG_PATH}/asterisk.conf" +cp /data/pjsip.conf "${ASTERISK_CFG_PATH}/" +cat /data/extensions.conf >>"${ASTERISK_CFG_PATH}/extensions.conf" + +/usr/sbin/asterisk -C "${ASTERISK_CFG_PATH}/asterisk.conf" -f -g -vvvvv -ddddd diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/extensions.conf b/ttcn3-asterisk-ims-ue-test/asterisk/extensions.conf new file mode 100644 index 0000000..3c78a2d --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/asterisk/extensions.conf @@ -0,0 +1,37 @@ +[get-valid-endpoints] + +exten => s,1,Verbose(5, Entering get-valid-endpoints gosub.) + ; usage: no arguments, returns DIALGROUP object of registered and valid 050x endpoints + same => n,Set(ENDPOINT_1_STATE=${DEVICE_STATE(PJSIP/0501)}) + same => n,Set(ENDPOINT_2_STATE=${DEVICE_STATE(PJSIP/0502)}) + same => n,Set(ENDPOINT_3_STATE=${DEVICE_STATE(PJSIP/0503)}) + same => n,Set(ENDPOINT_4_STATE=${DEVICE_STATE(PJSIP/0504)}) + same => n,Set(ENDPOINT_1_EXPR=$[$["${ENDPOINT_1_STATE}" = "UNAVAILABLE"] | $["${ENDPOINT_1_STATE}" = "UNKNOWN"] | $["${ENDPOINT_1_STATE}" = "INVALID"]]) + same => n,Set(ENDPOINT_2_EXPR=$[$["${ENDPOINT_2_STATE}" = "UNAVAILABLE"] | $["${ENDPOINT_2_STATE}" = "UNKNOWN"] | $["${ENDPOINT_2_STATE}" = "INVALID"]]) + same => n,Set(ENDPOINT_3_EXPR=$[$["${ENDPOINT_3_STATE}" = "UNAVAILABLE"] | $["${ENDPOINT_3_STATE}" = "UNKNOWN"] | $["${ENDPOINT_3_STATE}" = "INVALID"]]) + same => n,Set(ENDPOINT_4_EXPR=$[$["${ENDPOINT_4_STATE}" = "UNAVAILABLE"] | $["${ENDPOINT_4_STATE}" = "UNKNOWN"] | $["${ENDPOINT_4_STATE}" = "INVALID"]]) + same => n,Set(DIALGROUP(CALL_VALID_LIST)=) ; clear list + same => n,ExecIf($[${ENDPOINT_1_EXPR} = 0]?Set(DIALGROUP(CALL_VALID_LIST,add)=PJSIP/0501)) + same => n,ExecIf($[${ENDPOINT_2_EXPR} = 0]?Set(DIALGROUP(CALL_VALID_LIST,add)=PJSIP/0502)) + same => n,ExecIf($[${ENDPOINT_3_EXPR} = 0]?Set(DIALGROUP(CALL_VALID_LIST,add)=PJSIP/0503)) + same => n,ExecIf($[${ENDPOINT_4_EXPR} = 0]?Set(DIALGROUP(CALL_VALID_LIST,add)=PJSIP/0504)) + same => n,Return(${DIALGROUP(CALL_VALID_LIST)}) + +[from-phone] + +exten => 0500,1,Verbose(5,${EXTEN}: Call all registered pjsips from ${CALLERID(num)}) + same => n,Gosub(get-valid-endpoints,s,1()) + same => n,Set(DIALGROUP(CALL_EVERYONE_LIST)=${GOSUB_RETVAL}) + same => n,Set(DIALGROUP(CALL_EVERYONE_LIST,del)=PJSIP/${CALLERID(num)}) ; remove the caller + same => n,Dial(${DIALGROUP(CALL_EVERYONE_LIST)}) + same => n,Hangup(16) + +exten => _050X,1,Verbose(5,${EXTEN}: Call pjsip endpoint from ${CALLERID(num)}) + same => n,Dial(PJSIP/${EXTEN}) + same => n,Hangup(16) + +exten => _X,1,Verbose(5,${EXTEN}: Call external number from ${CALLERID(num)}) + same => n,Dial(PJSIP/${EXTEN}@973171) + same => n,Hangup(16) + + diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf new file mode 100644 index 0000000..39cf9bb --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf @@ -0,0 +1,71 @@ + +[transport-udp] +type=transport +protocol=udp +bind=172.18.11.10:5094 +local_net=172.18.11.0/24 +;external_media_address=[obfuscated] +;external_signaling_address=[obfuscated] + + +[endpoint_phone_template] +type=endpoint +transport=transport-udp +context=from-phone +disallow=all +allow=alaw +allow=ulaw + +[auth_phone_template] +type=auth +auth_type=userpass + +[aor_phone_template] +type=aor +max_contacts=1 +remove_existing=yes + +[0501](endpoint_phone_template) +auth=0501 +aors=0501 +callerid=0501 + +[0501](auth_phone_template) +username=0501 +password=secret + +[0501](aor_phone_template) + +[0502](endpoint_phone_template) +auth=0502 +aors=0502 +callerid=0502 + +[0502](auth_phone_template) +username=0502 +password=secret + +[0502](aor_phone_template) + +[0503](endpoint_phone_template) +auth=0503 +aors=0503 +callerid=0503 + +[0503](auth_phone_template) +username=0503 +password=secret + +[0503](aor_phone_template) + +[0504](endpoint_phone_template) +auth=0504 +aors=0504 +callerid=0504 + +[0504](auth_phone_template) +username=0504 +password=secret + +[0504](aor_phone_template) + diff --git a/ttcn3-asterisk-ims-ue-test/jenkins.sh b/ttcn3-asterisk-ims-ue-test/jenkins.sh new file mode 100755 index 0000000..7e5361d --- /dev/null +++ b/ttcn3-asterisk-ims-ue-test/jenkins.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +. ../jenkins-common.sh +IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" +docker_images_require \ + "asterisk-$IMAGE_SUFFIX" \ + "ttcn3-asterisk-ims-ue-test" + +set_clean_up_trap +set -e + +mkdir $VOL_BASE_DIR/asterisk-ims-ue-tester +mkdir $VOL_BASE_DIR/asterisk-ims-ue-tester/unix +cp Asterisk_Tests.cfg $VOL_BASE_DIR/asterisk-ims-ue-tester/ +write_mp_osmo_repo "$VOL_BASE_DIR/asterisk-ims-ue-tester/Asterisk_Tests.cfg" + +mkdir $VOL_BASE_DIR/asterisk +cp asterisk/* $VOL_BASE_DIR/asterisk/ + +network_create +network_replace_subnet_in_configs + +echo Starting container with Asterisk +docker run --rm \ + $(docker_network_params $SUBNET 10) \ + --ulimit core=-1 \ + -v $VOL_BASE_DIR/asterisk:/data \ + --name ${BUILD_TAG}-asterisk -d \ + $DOCKER_ARGS \ + $REPO_USER/asterisk-$IMAGE_SUFFIX \ + /bin/sh -c "/data/asterisk.sh >/data/asterisk.console.log 2>&1" + +# Leave some time for asterisk to start: +sleep 3 + +echo Starting container with Asterisk testsuite +docker run --rm \ + $(docker_network_params $SUBNET 103) \ + --ulimit core=-1 \ + -e "TTCN3_PCAP_PATH=/data" \ + -v $VOL_BASE_DIR/asterisk-ims-ue-tester:/data \ + --name ${BUILD_TAG}-ttcn3-asterisk-ims-ue-test \ + $DOCKER_ARGS \ + $REPO_USER/ttcn3-asterisk-ims-ue-test -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36492?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba Gerrit-Change-Number: 36492 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
[M] Change in docker-playground[master]: Introduce asterisk-master docker image
by fixeria 02 Apr '24

02 Apr '24
Attention is currently required from: laforge, pespin. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email ) Change subject: Introduce asterisk-master docker image ...................................................................... Patch Set 2: Code-Review+2 (1 comment) File asterisk-master/Dockerfile: https://gerrit.osmocom.org/c/docker-playground/+/36491/comment/011d4fd5_ab5… PS1, Line 40: open5gs > `assert(!copy_paste)` failed! Done -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238 Gerrit-Change-Number: 36491 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Tue, 02 Apr 2024 09:09:11 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-MessageType: comment
1 0
0 0
[M] Change in docker-playground[master]: Introduce asterisk-master docker image
by pespin 02 Apr '24

02 Apr '24
Attention is currently required from: fixeria, laforge, pespin. Hello Jenkins Builder, fixeria, laforge, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review+1 by fixeria, Code-Review+1 by laforge, Verified+1 by Jenkins Builder Change subject: Introduce asterisk-master docker image ...................................................................... Introduce asterisk-master docker image This Docker image allows building and running Asterisk from git. Default config is to build the sysmocom fork used to develop new features (hence pointing to sysmocom/master branch in that repo. Related: SYS#6782 Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238 --- A asterisk-master/Dockerfile A asterisk-master/Makefile M make/Makefile 3 files changed, 81 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/91/36491/2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36491?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238 Gerrit-Change-Number: 36491 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newpatchset
1 0
0 0
[L] Change in docker-playground[master]: Introduce ttcn3-asterisk-ims-ue-test
by pespin 02 Apr '24

02 Apr '24
Attention is currently required from: pespin. Hello Jenkins Builder, fixeria, laforge, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/docker-playground/+/36492?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder The change is no longer submittable: Verified is unsatisfied now. Change subject: Introduce ttcn3-asterisk-ims-ue-test ...................................................................... Introduce ttcn3-asterisk-ims-ue-test This dockerized setup allows running the Asterisk_Tests ttcn3 testsuite against Asterisk from the asterisk-master docker image, in order to test the IMS UE feature which will be developed soon. Related: SYS#6782 Depends: osmo-ttcn3-hacks.git Change-Id I66f776d5df6fb5dc488d9e589b84a6b2385406e8 Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba --- A ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg A ttcn3-asterisk-ims-ue-test/Dockerfile A ttcn3-asterisk-ims-ue-test/Makefile A ttcn3-asterisk-ims-ue-test/asterisk/asterisk.conf A ttcn3-asterisk-ims-ue-test/asterisk/asterisk.sh A ttcn3-asterisk-ims-ue-test/asterisk/extensions.conf A ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf A ttcn3-asterisk-ims-ue-test/jenkins.sh 8 files changed, 361 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/92/36492/2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36492?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba Gerrit-Change-Number: 36492 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newpatchset
1 0
0 0
[S] Change in libosmocore[master]: coding: simplify detect_ahs_id_marker()
by fixeria 02 Apr '24

02 Apr '24
fixeria has abandoned this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27939?usp=email ) Change subject: coding: simplify detect_ahs_id_marker() ...................................................................... Abandoned This patch no longer makes sense since we changed the API to operate on soft-bits (see Ibcac395f800bb64150c97fcdaca3523ecfc5fcee). -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27939?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I240bac2725d6544b609f7f288071d3a431132fd8 Gerrit-Change-Number: 27939 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-MessageType: abandon
1 0
0 0
[S] Change in docker-playground[master]: ttcn3-bsc-test-sccplite: osmo-bsc.cfg: remove deprecated 'mgw remote-ip'
by fixeria 02 Apr '24

02 Apr '24
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36494?usp=email ) Change subject: ttcn3-bsc-test-sccplite: osmo-bsc.cfg: remove deprecated 'mgw remote-ip' ...................................................................... ttcn3-bsc-test-sccplite: osmo-bsc.cfg: remove deprecated 'mgw remote-ip' Change-Id: Ie322315dd1608636002d4003e5f8629925041476 --- M ttcn3-bsc-test/sccplite/osmo-bsc.cfg 1 file changed, 9 insertions(+), 2 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg index 1e293f0..10ed346 100644 --- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg +++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg @@ -481,8 +481,6 @@ amr-config 4_75k forbidden codec-list fr1 fr2 fr3 hr1 hr3 asp-protocol ipa - ! REMOVE after OsmoBSC > 1.8.0 is released - mgw remote-ip 172.18.12.203 bsc mid-call-timeout 0 no missing-msc-text -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36494?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ie322315dd1608636002d4003e5f8629925041476 Gerrit-Change-Number: 36494 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
[M] Change in docker-playground[master]: */osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-bts
by fixeria 02 Apr '24

02 Apr '24
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36493?usp=email ) Change subject: */osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-bts ...................................................................... */osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-bts Change-Id: I98ea9e96d490473efbbe189842ed9f547060dc7d --- M osmo-bsc-latest/osmo-bsc.cfg M osmo-bsc-master/osmo-bsc.cfg M osmo-dev-on-debian-sid/cfg/osmo-bsc.cfg M osmo-nitb-latest/openbsc.cfg M osmo-nitb-master/openbsc.cfg M osmo-ran/osmocom/osmo-bsc.cfg M osmo-ran/split/ran-bsc_mgw/osmocom/osmo-bsc.cfg M ttcn3-bsc-test-vamos/osmo-bsc.cfg M ttcn3-bsc-test/osmo-bsc.cfg M ttcn3-bsc-test/sccplite/osmo-bsc.cfg 10 files changed, 30 insertions(+), 21 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve diff --git a/osmo-bsc-latest/osmo-bsc.cfg b/osmo-bsc-latest/osmo-bsc.cfg index 79d765f..3d5a3d3 100644 --- a/osmo-bsc-latest/osmo-bsc.cfg +++ b/osmo-bsc-latest/osmo-bsc.cfg @@ -64,7 +64,7 @@ timer t3113 10 timer t3212 30 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 1 @@ -153,7 +153,7 @@ phys_chan_config PDCH hopping enabled 0 bts 1 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 2 @@ -242,7 +242,7 @@ phys_chan_config PDCH hopping enabled 0 bts 2 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 1 diff --git a/osmo-bsc-master/osmo-bsc.cfg b/osmo-bsc-master/osmo-bsc.cfg index 4d331de..6af6d2a 100644 --- a/osmo-bsc-master/osmo-bsc.cfg +++ b/osmo-bsc-master/osmo-bsc.cfg @@ -67,7 +67,7 @@ timer t3113 10 timer t3212 30 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 1 diff --git a/osmo-dev-on-debian-sid/cfg/osmo-bsc.cfg b/osmo-dev-on-debian-sid/cfg/osmo-bsc.cfg index 8b72dee..19bde95 100644 --- a/osmo-dev-on-debian-sid/cfg/osmo-bsc.cfg +++ b/osmo-dev-on-debian-sid/cfg/osmo-bsc.cfg @@ -8,7 +8,7 @@ mgw remote-ip 127.0.0.1 mgw remote-port 12427 bts 0 - type sysmobts + type osmo-bts band GSM-1800 location_area_code 23 ip.access unit_id 1800 0 diff --git a/osmo-nitb-latest/openbsc.cfg b/osmo-nitb-latest/openbsc.cfg index 6166d7e..980a5d6 100644 --- a/osmo-nitb-latest/openbsc.cfg +++ b/osmo-nitb-latest/openbsc.cfg @@ -95,7 +95,7 @@ dyn_ts_allow_tch_f 0 subscriber-keep-in-ram 0 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 20960 location_area_code 13135 diff --git a/osmo-nitb-master/openbsc.cfg b/osmo-nitb-master/openbsc.cfg index 6166d7e..980a5d6 100644 --- a/osmo-nitb-master/openbsc.cfg +++ b/osmo-nitb-master/openbsc.cfg @@ -95,7 +95,7 @@ dyn_ts_allow_tch_f 0 subscriber-keep-in-ram 0 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 20960 location_area_code 13135 diff --git a/osmo-ran/osmocom/osmo-bsc.cfg b/osmo-ran/osmocom/osmo-bsc.cfg index bfc23f5..265960e 100644 --- a/osmo-ran/osmocom/osmo-bsc.cfg +++ b/osmo-ran/osmocom/osmo-bsc.cfg @@ -23,7 +23,7 @@ mgw remote-ip 127.0.0.1 mgw remote-port 2427 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 5 diff --git a/osmo-ran/split/ran-bsc_mgw/osmocom/osmo-bsc.cfg b/osmo-ran/split/ran-bsc_mgw/osmocom/osmo-bsc.cfg index b105ead..dbdaece 100644 --- a/osmo-ran/split/ran-bsc_mgw/osmocom/osmo-bsc.cfg +++ b/osmo-ran/split/ran-bsc_mgw/osmocom/osmo-bsc.cfg @@ -20,7 +20,7 @@ handover1 maximum distance 9999 periodic location update 30 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 5 diff --git a/ttcn3-bsc-test-vamos/osmo-bsc.cfg b/ttcn3-bsc-test-vamos/osmo-bsc.cfg index 98f1304..48f756a 100644 --- a/ttcn3-bsc-test-vamos/osmo-bsc.cfg +++ b/ttcn3-bsc-test-vamos/osmo-bsc.cfg @@ -82,7 +82,7 @@ mgw 0 mgw remote-ip 172.18.31.203 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 1 @@ -172,7 +172,7 @@ phys_chan_config PDCH hopping enabled 0 bts 1 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 1 @@ -262,7 +262,7 @@ phys_chan_config PDCH hopping enabled 0 bts 2 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 2 @@ -352,7 +352,7 @@ phys_chan_config PDCH hopping enabled 0 bts 3 - type sysmobts + type osmo-bts band DCS1800 cell_identity 3 location_area_code 3 diff --git a/ttcn3-bsc-test/osmo-bsc.cfg b/ttcn3-bsc-test/osmo-bsc.cfg index 5902b1d..7cd8e1d 100644 --- a/ttcn3-bsc-test/osmo-bsc.cfg +++ b/ttcn3-bsc-test/osmo-bsc.cfg @@ -92,7 +92,7 @@ mgw 0 mgw remote-ip 172.18.2.203 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 1 @@ -194,7 +194,7 @@ phys_chan_config PDCH hopping enabled 0 bts 1 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 1 @@ -284,7 +284,7 @@ phys_chan_config PDCH hopping enabled 0 bts 2 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 2 @@ -464,7 +464,7 @@ phys_chan_config PDCH hopping enabled 0 bts 3 - type sysmobts + type osmo-bts band DCS1800 cell_identity 3 location_area_code 3 diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg index 423f6d9..1e293f0 100644 --- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg +++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg @@ -81,7 +81,7 @@ mgw 0 mgw remote-ip 172.18.12.203 bts 0 - type sysmobts + type osmo-bts band DCS1800 cell_identity 0 location_area_code 1 @@ -171,7 +171,7 @@ phys_chan_config PDCH hopping enabled 0 bts 1 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 1 @@ -261,7 +261,7 @@ phys_chan_config PDCH hopping enabled 0 bts 2 - type sysmobts + type osmo-bts band DCS1800 cell_identity 1 location_area_code 2 @@ -441,7 +441,7 @@ phys_chan_config PDCH hopping enabled 0 bts 3 - type sysmobts + type osmo-bts band DCS1800 cell_identity 3 location_area_code 3 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36493?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I98ea9e96d490473efbbe189842ed9f547060dc7d Gerrit-Change-Number: 36493 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: SIP: generate seq_nr within allowed range
by pespin 02 Apr '24

02 Apr '24
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36488?usp=email ) Change subject: SIP: generate seq_nr within allowed range ...................................................................... SIP: generate seq_nr within allowed range Change-Id: Iea5f4568af1bd795db57d2b77e82d976edc9e337 --- M library/SIP_Templates.ttcn M sip/SIP_Tests.ttcn 2 files changed, 20 insertions(+), 2 deletions(-) Approvals: laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/library/SIP_Templates.ttcn b/library/SIP_Templates.ttcn index 75681a9..f57b524 100644 --- a/library/SIP_Templates.ttcn +++ b/library/SIP_Templates.ttcn @@ -1,6 +1,7 @@ module SIP_Templates { import from SIPmsg_Types all; +import from Osmocom_Types all; /* wrapper type to encapsulate the Addr_Union + parameter list used in From, To. ... */ type record SipAddr { @@ -409,5 +410,13 @@ } +/* RFC 3261 8.1.1.5: + * "The sequence number value MUST be expressible as a 32-bit unsigned integer + * and MUST be less than 2**31." + */ +function f_sip_rand_seq_nr() return integer { + /* 2**31 = 2147483648 */ + return f_rnd_int(2147483648) +} } diff --git a/sip/SIP_Tests.ttcn b/sip/SIP_Tests.ttcn index 9d92b87..ab33af7 100644 --- a/sip/SIP_Tests.ttcn +++ b/sip/SIP_Tests.ttcn @@ -101,13 +101,13 @@ if (cp.is_mo) { cp.comp.sip_url_ext := valueof(ts_SipAddr(cp.called, mp_local_host, 5060)); cp.comp.sip_url_gsm := valueof(ts_SipAddr(cp.calling, mp_osmosip_host, 5060)); - cp.mncc_call_id := f_rnd_int(429496725); + cp.mncc_call_id := f_sip_rand_seq_nr(); } else { cp.comp.sip_url_ext := valueof(ts_SipAddr(cp.calling, mp_local_host, 5060)); cp.comp.sip_url_gsm := valueof(ts_SipAddr(cp.called, mp_osmosip_host, 5060)); cp.comp.sip_call_id := hex2str(f_rnd_hexstring(15)); } - cp.comp.sip_seq_nr := f_rnd_int(4294967295); + cp.comp.sip_seq_nr := f_sip_rand_seq_nr(); cp.comp.sip_body := ""; } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36488?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Iea5f4568af1bd795db57d2b77e82d976edc9e337 Gerrit-Change-Number: 36488 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 109
  • 110
  • 111
  • 112
  • 113
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.