logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

osmo-mslookup-client - osmo-mgw

Description

       Osmocom  Media  Gateway,  to  manage,  connect  and  optionally transcode voice streams between different
       network elements such as BTSs and external entities like  SIP.  It  is  typically  co-located  with  both
       OsmoBSC and OsmoMSC and controlled by them via IETF MGCP (Media Gateway Control Protocol).

       https://osmocom.org/projects/osmo-mgw

       osmo-mslookup-client version 1.9.0

Name

       osmo-mslookup-client - osmo-mgw

Options

       [[delay-][timeout]@]service.number.id

              A service query string with optional individual timeout.  The same format is also used on a daemon
              socket,  if  any.  The timeout consists of the min-delay and the timeout numbers, corresponding to
              the --min-delay and --timeout options, in milliseconds.  These options apply  if  a  query  string
              lacks own numbers.  Examples:

       gsup.hlr.1234567.imsi
              Use cmdline timeout settings

       5000@gsup.hlr.1234567.imsi
              Return N results for 5 seconds

       1000-5000@sip.voice.123.msisdn
              Same, but silent for first second

       10000-@smpp.sms.567.msisdn
              Return 1 result after 10 seconds

       --format-f csv (default)

              Format result lines in CSV format.

       --no-csv-headers-H

              If  the  format  is  'csv',  by default, the first output line prints the CSV headers used for CSV
              output format. This option disables these CSV headers.

       --format-f json

              Format   result   lines   in   json   instead   of   semicolon    separated,    like:    {"query":
              "sip.voice.12345.msisdn", "result": "ok", "v4": ["10.9.8.7", "5060"]}

       --daemon-d

              Keep running after a request has been serviced

       --mdns-ip-m 239.192.23.42 -m ff08::23:42 --mdns-port-M 4266

              Set multicast IP address / port to send mDNS requests and listen for mDNS responses

       --mdns-domain-suffix-D mdns.osmocom.org

              Append  this  suffix  to  each  mDNS  query's domain to avoid colliding with the top-level domains
              administrated by IANA.

       --min-delay-t 1000 (in milliseconds)

              Set minimum delay to wait before returning any results.  When this timeout has elapsed,  the  best
              current  result  is  returned,  if  any  is available.  Responses arriving after the min-delay has
              elapsed which have a younger age than previous results are returned  immediately.   Note:  When  a
              response  with  age  of  zero  comes  in,  the  result  is returned immediately and the request is
              discarded: non-daemon mode exits, daemon mode ignores later results.

       --timeout-T 1000 (in milliseconds)

              Set timeout after which to stop listening for responses.  If this is smaller than  -t,  the  value
              from  -t will be used for -T as well.  Note: When a response with age of zero comes in, the result
              is returned immediately and the request is discarded: non-daemon mode exits, daemon  mode  ignores
              later results.

       --socket-s/path/to/unix-domain-socket

              Listen to requests from and write responses to a UNIX domain socket.

       --send-S <query> <age> <ip1> <port1> <ip2> <port2>

              Do  not  query,  but  send  an  mslookup result. This is useful only for testing. Examples: --send
              foo.123.msisdn 300 23.42.17.11 1234 --send foo.123.msisdn 300 2323:4242:1717:1111::42 1234  --send
              foo.123.msisdn 300 23.42.17.11 1234 2323:4242:1717:1111::42 1234

       --quiet-q

              Do not print errors to stderr, do not log to stderr.

       --help-h

              This help

See Also

       https://osmocom.org/projects/osmo-mgw/wiki

       The full documentation for osmo-mslookup-client is maintained as a Texinfo manual.  If the info and osmo-mslookup-client programs are properly installed at your site, the command

              infoosmo-mslookup-client

       should give you access to the complete manual.

osmo-mslookup-client version 1.9.0                 March 2025                            OSMO-MSLOOKUP-CLIENT(1)

See Also