Project

General

Profile

Support #4698

osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup

Added by edgard21031969 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
08/08/2020
Due date:
% Done:

0%

Spec Reference:

Description

Hello,

I try to configure DGSM in my lab, but I have difficulte in the osmo-mslookup-client commande line tool. It doesn't work and show me:

root@osmo:/etc/osmocom# osmo-mslookup-client sip.voice.1001.msisdn
osmo-mslookup-client : missing command
root@osmo:/etc/osmocom#

Could you help me please?

Thank a lot


Related issues

Related to Distributed GSM - Support #4732: osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup New08/26/2020

History

#1 Updated by fixeria 2 months ago

  • Tracker changed from Bug to Support

osmo-mslookup-client : missing command

Apparently, this binary is not present in your system.

Are you sure you have installed osmo-hlr (make install)?
What does 'which osmo-mslookup-client' show?

#2 Updated by edgard21031969 2 months ago

Hello,

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

curl -fsSL
https://download.opensuse.org/repositories/network:osmocom:latest/xUbuntu_16.04/Release.key | gpg --dearmor | sudo tee
/etc/apt/trusted.gpg.d/network:osmocom:latest.gpg > /dev/null

sudo apt update

2) Install osmo-hlr
sudo apt install osmo-hlr

after that, I have the foolowing directory that appears : /etc/osmocom/
So if I list /etc/osmocom/, I have osmo-hlr.cfg

root@osmo:/etc/osmocom# ls
osmo-hlr.cfg
root@osmo:/etc/osmocom#

The "osmo-mslookup-client" shows "unknow command"

Best Regards

Le sam. 8 août 2020 à 22:01, fixeria [REDMINE] <>
a écrit :

Issue #4698 has been updated by fixeria.

Tracker changed from Bug to Support

osmo-mslookup-client : missing command

Apparently, this binary is not present in your system.

Are you sure you have installed osmo-hlr (make install)?
What does 'which osmo-mslookup-client' show?

#3 Updated by laforge 2 months ago

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

You may need to check if this functionality is actually part of a tagged release, or if it
is only available in master (and hence the nightly builds).

The code seems introdoced in commit 76328bdc9165ef7355528c86d655d3b5086607d6

At least a first glance (git tag --contains conta76328bdc9165ef7355528c86d655d3b5086607d6)
doens't show up any release tag. So your osmo-hlr is simply too old.

#4 Updated by edgard21031969 2 months ago

Hello,

This is my first time working on osmoscom solutions.

It means that I must use which kind of version (procedure) to install my
osmo-hlr please? because I follow the official documentation but there is
missing configuration.

For xUbuntu 16.04, I executed:
sudo echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list
sudo curl -fsSL
https://download.opensuse.org/repositories/network:osmocom:latest/xUbuntu_16.04/Release.key | gpg --dearmor | sudo tee
/etc/apt/trusted.gpg.d/network:osmocom:latest.gpg > /dev/null
sudo apt update
sudo apt install osmo-hlr

Is there appropriate installation to correct this problem?

I followed this procedure to want to install the programs. I'm stuck when
they're running. Your help could help me to continue my experimentation
especially since I would like to test the DGSM part.

mkdir /root/contrib/
mkdir /root/contrib/dgsm/

cd /root/contrib/dgsm/
wget https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/Makefile.am
wget https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/esme_dgsm.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/osmo-mslookup-pipe.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/osmo-mslookup-socket.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/freeswitch_dialplan_dgsm.py

chmod 755 freeswitch_dialplan_dgsm.py
chmod 755 esme_dgsm.py
chmod 755 osmo-mslookup-pipe.py
chmod 755 osmo-mslookup-socket.py
chmod 644 Makefile.am

But all command osmo-mslookup-client give "unknow command" result.

Thanks.

Le dim. 9 août 2020 à 14:20, laforge [REDMINE] <>
a écrit :

Issue #4698 has been updated by laforge.

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb

http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/

/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

You may need to check if this functionality is actually part of a tagged
release, or if it
is only available in master (and hence the nightly builds).

The code seems introdoced in commit
76328bdc9165ef7355528c86d655d3b5086607d6

At least a first glance (git tag --contains
conta76328bdc9165ef7355528c86d655d3b5086607d6)
doens't show up any release tag. So your osmo-hlr is simply too old.

#5 Updated by laforge 2 months ago

As indicated before, you are using the 'latest' feed which is too old for trying to use
features which are very new. Try the 'nightly' feed instead.

#6 Updated by edgard21031969 2 months ago

Thanks,

I'll try new installation by using following site:

https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-hlr
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-pcu
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-msc
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-sgsn
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-ggsn
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-bsc
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-trx
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-sip-connector
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-pcap
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-mgw
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-abis
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmocore

These packages don't exist for ubuntu, is that true? or is there any way to
install them on ubuntu?
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-iuh
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-bts
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libsmpp34
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-sccp
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-netif

=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libasn1c

Best Regards.

Le mer. 12 août 2020 à 11:10, laforge [REDMINE] <>
a écrit :

Issue #4698 has been updated by laforge.

As indicated before, you are using the 'latest' feed which is too old for
trying to use
features which are very new. Try the 'nightly' feed instead.

#7 Updated by laforge 2 months ago

On Wed, Aug 12, 2020 at 02:57:35PM +0000, edgard21031969 [REDMINE] wrote:

I'll try new installation by using following site:

https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds

correct link. This very page links to, e.g.
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_16.04/

These packages don't exist for ubuntu, is that true? or is there any way to
install them on ubuntu?

Why would there not be? The Nighly_Builds page in the osmocom wiki contains exactly the
information you are asking for.

As the wiki states, we are building for 6 (!) different versions of Ubuntu.

It even contains instructions on how to add the repository. Just replace "Debian_10" with "xUbuntu_16.04" or whatever your distribution version is.

#8 Updated by fixeria about 2 months ago

  • Related to Support #4732: osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup added

#9 Updated by laforge about 2 months ago

  • Priority changed from High to Low

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)