Commit Graph

148 Commits

Author SHA1 Message Date
Neels Hofmeyr a5506fb91e neels_config
Change-Id: I17c605d181a058b5b480a3eb8cf7d4fa8e290414
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 2e627d5678 two BSC, two MSC
Change-Id: Id63238983379408b55eee16f05ee92ff5252f0ae
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 177a837823 3 hlrs
Change-Id: Ia3f08fe8c56983d56f7954899576be7c1a65ad5f
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 669d72824c hlr proxy
Change-Id: Ief64d1fe98c90f2839e48aa9612ed0c5f4cdda18
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 8404f6046f config_neels: public SIP IP
Change-Id: Iec42ea2b9737a51738c69249d405563437b798ff
2019-11-14 05:59:56 +01:00
Neels Hofmeyr a95fec0873 neels cfg
Change-Id: I706fb7f14c1e1984cd34bf9cf452f43d5e2e9b49
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 18ed92f676 sysmobts-calib attempt at nonblocking shell output
Change-Id: I94dca825203920804367d66cda13e49c2927faab
2019-11-14 05:59:56 +01:00
Neels Hofmeyr c1698ebc54 amr rates
Change-Id: I77b1e06d2bd73d638d96034e4c80dd827053d759
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 825fd35fe3 neels ips
Change-Id: I2ee2800de5bed6b88331cf161b8d4bdc7007491d
2019-11-14 05:59:56 +01:00
Neels Hofmeyr a90911bea2 codecs
Change-Id: I18032b7fbdaf486adec35e7de7d79b7a730ce1cb
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 70ac1bf8fd neels
Change-Id: I7a5d604fb62926d35ca5fb8beb423c0158766cff
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 8274c2d83d neels
Change-Id: Ice316d8c0589e2b5d31ee60e6de95776950ca6f0
2019-11-14 05:59:56 +01:00
Neels Hofmeyr f0f9101ea5 ARFCNs 512 and 514
Change-Id: Ie55fd66f769de75fc8733562757f083e80b2741c
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 4f1e4666fb new sysmobts 95
Change-Id: Ia6d32afb204281080150e37adcda4eeb7cc374be
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 2c2ab3a0fd neels: msc udtrace
Change-Id: Id96543b30c3f87da7fadcb3c476688f4b3f7da80
2019-11-14 05:59:56 +01:00
Neels Hofmeyr a476fb7192 config_neels: external MNCC
Change-Id: I044d8a7a62adc75c72b273f3efb711304912ef85
2019-11-14 05:59:56 +01:00
Neels Hofmeyr bd92c80fe7 config_neels
Change-Id: Ia801ca94a519ee4a80d94dd52e8998ed481c4796
2019-11-14 05:59:56 +01:00
Neels Hofmeyr 1033813ea4 use osmo-mslookup-client instead of mslookup.py
Change-Id: I452c3be872aa0bcec10410af45a517b8fdf10bc9
2019-11-14 05:59:56 +01:00
Oliver Smith 347003cb22 dialplan-dgsm: start mslookup.py in separate python process
Workaround for the segfault when calling twice in a row.

Change-Id: I0cc0d31daab8fe64a424170672b49e7cc4286977
2019-11-13 16:56:53 +01:00
Oliver Smith 3629cb177f Revert "(not for master) add debug prints"
This reverts commit 905759294a.
2019-11-13 16:29:39 +01:00
Oliver Smith 905759294a (not for master) add debug prints
Attempt to debug why dialplan crashes when calling twice.
It crashes in lib.osmo_select_main_ctx(0) for some reason.

Change-Id: Ifdfd68a22ded19178b2bd29bf3546663ca934699
2019-11-12 16:52:41 +01:00
Oliver Smith 0acb2b38f7 dialplan-dgsm: various fixes
* fix crash when hlr does not return a result
* set default timeout to 200ms for mslookup.py (because with 100 it
  never works)
* only do function init once, and remove the assert (causes segfault)
* various cosmetics

Change-Id: Iea2f481dddbe149cc156e0461a7831eac25d4702
2019-11-12 16:37:34 +01:00
Oliver Smith 1270d9e419 WIP: Add freeswitch and mslookup dialplan 2019-11-11 15:01:44 +01:00
Oliver Smith c6cfb6596d fill_config.py: copy subdirs
Change-Id: I010336d1ab2bb8abb69f38b3b5630ec9c47c77ed
2019-11-08 16:03:09 +01:00
Oliver Smith 37b2856844 net: properly kill osmo-sip-connector
Change-Id: I3160f9fd87ed7307a7664d489560683665944e66
2019-11-08 16:03:05 +01:00
Oliver Smith e398564bdd ttcn3: run ttcn3 testsuites from osmo-dev
Build testsuite, SUT and dependencies and run everything with one
command. Example usage:

$ ./ttcn3/ttcn3.sh msc

So far, it works at least with:
hlr, mgw, msc, pcu, pcu-sns, sgsn

Change-Id: I6b4bf2743adeec1a950d5f090a690182b991cf49
2019-10-18 11:32:51 +02:00
Neels Hofmeyr c65901cf09 fill_config.py: sort foreach items numerically, not alphabetically
Make sure that BTS 11 doesn't get sorted between BTS 1 and 2, because osmo-bsc
requires the BTS to be configured in numerical order.

Also makes sense as foreach loop ordering in general.

Change-Id: Ib06052fd71def3d4c869ee9b3dc4d02ba06267af
2019-08-21 04:07:41 +02:00
Neels Hofmeyr fecf156c11 kamailio: fixes and tweaks
This is what I did to get external MNCC with kamailio to work.

(As before, only change MSC_MNCC from "internal" to "external ..." in config_*
to enable use of kamailio as external MNCC.)

Change-Id: I18c991bf914dedeb69cb8a2fcde117633e51a899
2019-08-08 15:43:54 +02:00
Neels Hofmeyr 768303432f osmo-bsc.cfg: remove 'as' config from cs7
It's not needed and causes confusion with routing-keys when more BSCs show up.

Change-Id: I6b3717a29ae832d61710abc58d922c00ae8f4dc0
2019-08-08 15:43:54 +02:00
Neels Hofmeyr 0dc7326b0f run.sh: drop -M mncc-socket option from osmo-msc cmdline
Since commit [1], the MNCC socket path is configured in the .cfg file. There is
no need to pass the -M option to osmo-msc on the cmdline anymore.

Also, the udtrace example to launch osmo-msc in run.sh includes a '| tee' so
that the -M would be passed as option to tee and breaks that example.

[1] cbdd7180a6 / Ie6352c584c0fce57c617387160c285abf40a5f90

Change-Id: Id5c177a7fe98b752881ddd0d98152a2e30380d0e
2019-08-08 15:43:54 +02:00
Neels Hofmeyr 8e4948421c run.sh: add comment to show how to enable MNCC udtrace
Change-Id: I94fdc87e8adea345ad735449558b75a56953fcc5
2019-08-08 15:20:38 +02:00
Neels Hofmeyr eb446fe27f add sysmobts-calib.py
Change-Id: I0cb372bddd115246ad1822dc06d318815387e8a4
2019-08-08 15:13:46 +02:00
Neels Hofmeyr 0ec459258a don't trigger rebuild on config.h.in
Lately I'm seeing unecessary rebuilds because config.h.in is newer than the
./configure file. The rule to trigger on *.in files is intended for "manual"
.in files, not those from autoconf/automake. Exclude config.h.in.
2019-07-12 01:22:50 +02:00
Neels Hofmeyr 7f46be3a0d gits: dont ask to push -f to None
Change-Id: I5edf0abff1b01a3d85e4bf2d77c8ab964e0bf2f0
2019-03-29 15:43:04 +01:00
Neels Hofmeyr efa34acc59 gits: also rebase onto origin/master
Change-Id: Icb331d225e8ec1b75d199e40c61c741a44c9a87c
2019-03-15 15:35:38 +01:00
Neels Hofmeyr 94e0aec3f6 gits: tweak "Rebasing" output
Change-Id: I81d57481650c6f94a3816f04d7b93e28bbc7f9c3
2019-03-15 15:35:38 +01:00
Neels Hofmeyr 3cf904ac68 fill_config.py: expand ${FOOn} outside of ${foreach} blocks
Change-Id: Icd724218afac86e04d1c1030ff982d9b7c3ab6cb
2019-03-15 15:35:38 +01:00
Oliver Smith 2490f69804 run.sh: fix $TO_RAN_IP and $TO_RAN_IU_IP usage
Add curly braces around both variables, so they get replaced properly
again.

Change-Id: I1f0f749b74fe5fd3982e045283735151f69c2487
2019-03-13 15:16:16 +01:00
Neels Hofmeyr 44543a98b0 gen_makefile: fix deps: add *.map (for e.g. libosmogsm.map)
Change-Id: I7bc2b5889213a1c635d039d4c6b577f6b4766d7f
2019-03-10 21:08:46 +01:00
Neels Hofmeyr cbdd7180a6 net/: refactor cfg templates
Adopt "foreach" and "common_" features and generally take in the improved
templates as used at 35c3.

If your config file relies on the tmpl_std that is now removed, you can locally
resurrect it with

  git checkout 2c6a55baa7 -- tmpl_std

but it's probably better to make a new copy of config_2g3g and insert your
local config there.

Change-Id: Ie6352c584c0fce57c617387160c285abf40a5f90
2019-03-07 16:28:06 +01:00
Neels Hofmeyr 3ad6817cd1 add manuals.opts, no_doxygen.opts, no_optimization.opts
Change-Id: Ief9e6865eaff587dbd1f1f73f2fecac470e77a81
2019-03-06 16:49:10 +01:00
Oliver Smith 2136f52ddf Add .gitreview
Allows downloading patches quickly with 'git review -d 1308' and other
shortcurts. We also have this in the other Osmocom repositories.

Change-Id: I18712cf0779ec65389736132ad6b40e629c37dc6
2019-03-04 11:09:35 +01:00
Neels Hofmeyr 2c6a55baa7 fix osmo-uninstall.sh: do not clear the entire pkgconfig
Change-Id: Iac0652c4284ee8303596772765e1a5f467a9b1ea
2019-02-12 15:12:56 +01:00
Neels Hofmeyr a61b9223ef drop mgw endpoint-range
Change-Id: Ia662b1a7e1737d6cc522b6b8a5c7d4ebbe419f21
2019-02-12 15:11:41 +01:00
Neels Hofmeyr c3adf3e6f4 readme on osmo-trx and address sanitizer
Change-Id: I6fc9469ddb148651286cde3b0ce70913f99a7a0d
2019-02-12 15:10:08 +01:00
Neels Hofmeyr a4fefee68d gen_makefile: add *.tpl to dependency file list
libosmocore has some *.tpl files to generate source files. Add *.tpl to
dependencies.

Change-Id: Id12fa34e58ef223820528c47e23f9d4bdb2dd3bc
2019-02-12 15:08:30 +01:00
Neels Hofmeyr 6257d9ec79 gen_makefile: fix dependency file list
The configure step naturally depends on Makefile.am and *.in files. However,
the automake process also generates Makefile.in files: exclude those from *.in.

This fixes spurious unnecessary rebuilds: especially when libosmocore had
modifications, it often rebuilt *twice* after this (causing all of the other
source trees to rebuild as well).

Change-Id: Ia6f48ac9a8b300440d23c9b495fb39b5e40b59d8
2019-02-12 15:08:22 +01:00
Oliver Smith 24ddf9c941 run.sh: more userfriendly "stale configs" message
Make the message easy to understand at first glance, print what needs to
be done to regenerate the configs. Add an empty line before listing the
stale file that has been found, so it stands out from the (at this
point) less relevant path listings. It looks like the following now:

$ ./run.sh
using config file '/home/user/code/osmo-dev/net/config_2g3g_osmith'
on templates '/home/user/code/osmo-dev/net/tmpl_std'
with NET_DIR '/home/user/code/osmo-dev/net/osmith'

Stale: '/home/user/code/osmo-dev/net/tmpl_std/run.sh' is newer than 'run.sh'

WARNING: STALE CONFIGS - your net configs are older than the templates they should be based on!
 * Hit enter to continue, and use the stale config files
 * Hit ^C and run 'make regen' to regenerate your configs

Change-Id: If225e094619a07a228e0e2f337153ee18cdb420c
2019-01-30 17:56:22 +01:00
Oliver Smith 0a5dd920ad net/tmpl_std: add Makefile for 'make regen'
Allow using "make regen" in the net dir to regenerate the configs, just
like it is possible to type "make regen" in the make dir.

This is a minor usability improvement, so one does not need to remember
to type ../fill_config.py in the net dir.

Change-Id: I8b23f8ae1f1d6ade597a30a222dfc82ea890d207
2019-01-30 16:35:59 +01:00
Oliver Smith 8d86dba01f net: enable saving IMEI in HLR by default
Related: OS#2541
Change-Id: I12ab66b5ff2147918e2cb4e9beab8d6a730fdc5a
2019-01-30 16:35:56 +01:00