Native Stir/Shaken Support Released

246 views
Skip to first unread message

Mack Hendricks

unread,
Jun 16, 2022, 2:27:02 PM6/16/22
to dSIPRouter
Hi All,

We are happy to release dSIPRouter v0.644 with native support for Stir/Shaken.  We haven't merged it with master as of yet.  We would like some people to test out this new feature.  We have a video being created.  But, here are the basics:

1) Must use Debian 11 to install 
2) Have to enable the Stir/Shaken feature under Settings -> STIR/SHAKEN
3) Place certificate for STIR/SHAKEN at this location: /etc/dsiprouter/certs/stirshaken-key.pem
4) Click the Reload button in the UI




dsiprouter_stirshakin_ui.png

V

unread,
Jun 23, 2022, 9:49:37 PM6/23/22
to dSIPRouter
Attempted to test out the 0.644 branch installation fails to start Kamailio, below are the repeatable commands.

Clean install of Debian 11.

apt install git
cd /opt
cd dsiprouter
bash dsiprouter.sh install -all -servernat

At end of install:
writing new private key to '/etc/dsiprouter/certs/dsiprouter-key.pem'
-----
success
success
The Kamailio user already exists in the database - not creating again
ERROR 1133 (28000) at line 1: Can't find any matching row in the user table
kamailio.address: Records: 75  Deleted: 0  Skipped: 0  Warnings: 79
kamailio.dr_gw_lists: Records: 10  Deleted: 0  Skipped: 0  Warnings: 10
kamailio.dr_gateways: Records: 55  Deleted: 0  Skipped: 0  Warnings: 55
kamailio.dr_rules: Records: 1  Deleted: 0  Skipped: 0  Warnings: 2
The Kamailio mpath has been updated to: /usr/lib/x86_64-linux-gnu/kamailio/modules/
SERVERNAT is enabled - Restarting Kamailio is required
You can restart it by executing: systemctl restart kamailio
Job for kamailio.service failed because the control process exited with error code.
See "systemctl status kamailio.service" and "journalctl -xe" for details.
Kamailio install failed

Checking status of kamailio....
root@sip1:/opt/dsiprouter# systemctl status kamailio.service
● kamailio.service - Kamailio - the Open Source SIP Server
     Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-06-23 18:32:21 PDT; 6min ago
    Process: 25247 ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PK>
        CPU: 222ms

Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 5.
Jun 23 18:32:21 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Start request repeated too quickly.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:21 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.

Checking jounralctl -xe
root@sip1:/opt/dsiprouter# journalctl -xe
Jun 23 18:32:20 sip1 kamailio[25247]: WARNING: <core> [core/cfg.y:3660]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 2219, column 6-60: constant value in if(...)
Jun 23 18:32:20 sip1 kamailio[25247]: WARNING: <core> [core/cfg.y:3660]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 2284, column 6-45: constant value in if(...)
Jun 23 18:32:20 sip1 kamailio[25247]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:20 sip1 kamailio[25247]: INFO: stirshaken [stirshaken_mod.c:373]: mod_destroy(): mod stirshaken destroy
Jun 23 18:32:20 sip1 kamailio[25247]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit kamailio.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 255.
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit kamailio.service has entered the 'failed' state with result 'exit-code'.
Jun 23 18:32:20 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
░░ Subject: A start job for unit kamailio.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit kamailio.service has finished with a failure.
░░
░░ The job identifier is 1388 and the job result is failed.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit kamailio.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jun 23 18:32:21 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
░░ Subject: A stop job for unit kamailio.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit kamailio.service has finished.
░░
░░ The job identifier is 1450 and the job result is done.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Start request repeated too quickly.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit kamailio.service has entered the 'failed' state with result 'exit-code'.
Jun 23 18:32:21 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
░░ Subject: A start job for unit kamailio.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit kamailio.service has finished with a failure.
░░
░░ The job identifier is 1450 and the job result is failed.
lines 2171-2227/2227 (END)

Debain version:
cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"


When looking at install/build output only things that stand out are:

make[1]: Entering directory '/tmp/kamailio/src'
target architecture <x86_64>, host architecture <x86_64>
making config...
make[1]: Leaving directory '/tmp/kamailio/src'
CC (gcc) [M dsiprouter.so]        mod_dsiprouter.o
CC (gcc) [M dsiprouter.so]        mod_funcs.o
mod_funcs.c: In function ‘strsplit’:
mod_funcs.c:86:9: warning: unused variable ‘sub_count’ [-Wunused-variable]
   86 |  size_t sub_count = 0;    /* number of substrings */
      |         ^~~~~~~~~
mod_funcs.c: In function ‘validate_license’:
mod_funcs.c:241:17: warning: pointer targets in passing argument 1 of ‘verifyRSA’ differ in signedness [-Wpointer-sign]
  241 |  if (!verifyRSA(license, strlen(license), signature, sig_len, licensing_public_key)) {
      |                 ^~~~~~~
      |                 |
      |                 char *
mod_funcs.c:189:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
  189 | int verifyRSA(const unsigned char *msg, size_t msglen, unsigned char *sig, size_t siglen, unsigned char *pubkey) {
      |               ~~~~~~~~~~~~~~~~~~~~~^~~
mod_funcs.c:241:63: warning: pointer targets in passing argument 5 of ‘verifyRSA’ differ in signedness [-Wpointer-sign]
  241 |  if (!verifyRSA(license, strlen(license), signature, sig_len, licensing_public_key)) {
      |                                                               ^~~~~~~~~~~~~~~~~~~~
      |                                                               |
      |                                                               char *
mod_funcs.c:189:106: note: expected ‘unsigned char *’ but argument is of type ‘char *’
  189 | SA(const unsigned char *msg, size_t msglen, unsigned char *sig, size_t siglen, unsigned char *pubkey) {
      |                                                                                ~~~~~~~~~~~~~~~^~~~~~

CC (gcc) [L libsrdb2.so.1.0]        db.o
CC (gcc) [L libsrdb2.so.1.0]        db_cmd.o
CC (gcc) [L libsrdb2.so.1.0]        db_con.o
CC (gcc) [L libsrdb2.so.1.0]        db_ctx.o
CC (gcc) [L libsrdb2.so.1.0]        db_drv.o
CC (gcc) [L libsrdb2.so.1.0]        db_fld.o
CC (gcc) [L libsrdb2.so.1.0]        db_gen.o
CC (gcc) [L libsrdb2.so.1.0]        db_pool.o
CC (gcc) [L libsrdb2.so.1.0]        db_rec.o
CC (gcc) [L libsrdb2.so.1.0]        db_res.o
CC (gcc) [L libsrdb2.so.1.0]        db_uri.o
LD (gcc) [L libsrdb2.so.1.0]        libsrdb2.so.1.0
LD (gcc) [M dsiprouter.so]        dsiprouter.so
Selecting previously unselected package cmake-data.

Syslog tailed
Jun 23 18:30:25 sip1 systemd[1]: Stopping System Logging Service...
Jun 23 18:30:25 sip1 systemd[1]: rsyslog.service: Succeeded.
Jun 23 18:30:25 sip1 systemd[1]: Stopped System Logging Service.
Jun 23 18:30:25 sip1 systemd[1]: Starting System Logging Service...
Jun 23 18:30:25 sip1 systemd[1]: Started System Logging Service.
Jun 23 18:30:25 sip1 rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2102.0]
Jun 23 18:30:25 sip1 rsyslogd: [origin software="rsyslogd" swVersion="8.2102.0" x-pid="15505" x-info="https://www.rsyslog.com"] start
Jun 23 18:32:18 sip1 systemd[1]: Reloading.
Jun 23 18:32:18 sip1 systemd[1]: Reloading.
Jun 23 18:32:18 sip1 systemd[1]: Stopping Kamailio - the Open Source SIP Server...
Jun 23 18:32:18 sip1 systemd[1]: kamailio.service: Succeeded.
Jun 23 18:32:18 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:18 sip1 systemd[1]: Starting Kamailio - the Open Source SIP Server...
Jun 23 18:32:18 sip1 kamailio[25241]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:18 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 23 18:32:18 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:18 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 1.
Jun 23 18:32:19 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:19 sip1 systemd[1]: Starting Kamailio - the Open Source SIP Server...
Jun 23 18:32:19 sip1 kamailio[25244]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:19 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 2.
Jun 23 18:32:19 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:19 sip1 systemd[1]: Starting Kamailio - the Open Source SIP Server...
Jun 23 18:32:19 sip1 kamailio[25245]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 23 18:32:19 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:19 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 3.
Jun 23 18:32:20 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:20 sip1 systemd[1]: Starting Kamailio - the Open Source SIP Server...
Jun 23 18:32:20 sip1 kamailio[25246]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:20 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 4.
Jun 23 18:32:20 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:20 sip1 systemd[1]: Starting Kamailio - the Open Source SIP Server...
Jun 23 18:32:20 sip1 kamailio[25247]: ERROR: bad config file (1 errors) (parsing code: 0)
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 23 18:32:20 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:20 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 5.
Jun 23 18:32:21 sip1 systemd[1]: Stopped Kamailio - the Open Source SIP Server.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Start request repeated too quickly.
Jun 23 18:32:21 sip1 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jun 23 18:32:21 sip1 systemd[1]: Failed to start Kamailio - the Open Source SIP Server.



V

unread,
Jun 23, 2022, 10:45:13 PM6/23/22
to dSIPRouter
Additionally looking in kamailio.log it seems the install did not build the json module

JJun 23 18:32:18 sip1 kamailio: ERROR: <core> [core/sr_module.c:507]: ksr_locate_module(): could not find module <json> in </usr/lib/x86_64-linux-gnu/kamailio/modules/>
Jun 23 18:32:18 sip1 kamailio: CRITICAL: <core> [core/cfg.y:3683]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 324, column 12-20: failed to load module
Jun 23 18:32:18 sip1 kamailio: WARNING: <core> [core/cfg.y:3660]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 2223, column 12-66: constant value in if(...)
Jun 23 18:32:18 sip1 kamailio: WARNING: <core> [core/cfg.y:3660]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 2219, column 6-60: constant value in if(...)
Jun 23 18:32:18 sip1 kamailio: WARNING: <core> [core/cfg.y:3660]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 2284, column 6-45: constant value in if(...)
Jun 23 18:32:18 sip1 kamailio: INFO: stirshaken [stirshaken_mod.c:373]: mod_destroy(): mod stirshaken destroy
Jun 23 18:32:18 sip1 kamailio: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized

Looking in the modules dir, there does not appear to be a json.so module

ls  /usr/lib/x86_64-linux-gnu/kamailio/modules/
acc_diameter.so   blst.so       db_mysql.so        evrexec.so          log_custom.so     pdb.so            pua_reginfo.so  rtjson.so       smsops.so      tls.so       userblocklist.so
acc_json.so      call_control.so  db_text.so        exec.so          lrkproxy.so        pdt.so            pua_rpc.so        rtpengine.so   sms.so      tmrec.so       usrloc.so
acc.so          call_obj.so       debugger.so        group.so          mangler.so        permissions.so        pua.so        rtpproxy.so    speeddial.so   tm.so           uuid.so
alias_db.so      carrierroute.so  dialog.so        gzcompress.so      matrix.so        pike.so            pua_usrloc.so   sanity.so       sqlops.so      tmx.so       websocket.so
app_jsdt.so      cfg_db.so       dialplan.so        htable.so          maxfwd.so        pipelimit.so        pua_xmpp.so     sca.so       ss7ops.so      topoh.so       xcap_client.so
app_sqlang.so      cfg_rpc.so       dispatcher.so    http_async_client.so  mediaproxy.so     prefix_route.so        p_usrloc.so     sdpops.so       sst.so      topos.so       xcap_server.so
async.so      cfgt.so       diversion.so     imc.so          mohqueue.so        presence_conference.so  pv_headers.so   seas.so       statistics.so  tsilo.so       xhttp_prom.so
auth_db.so      cfgutils.so       dmq.so        ipops.so          mqueue.so        presence_dialoginfo.so  pv.so        secfilter.so   statsc.so      uac_redirect.so  xhttp_rpc.so
auth_diameter.so  corex.so       dmq_usrloc.so    janssonrpcc.so      msilo.so        presence_mwi.so        qos.so        sipcapture.so  statsd.so      uac.so       xhttp.so
auth_identity.so  counters.so       domainpolicy.so  jansson.so          msrp.so        presence_profile.so     ratelimit.so    sipdump.so       stirshaken.so  uid_auth_db.so   xlog.so
auth.so          crypto.so       domain.so        jsonrpcs.so          mtree.so        presence_reginfo.so     regex.so        sipjson.so       stun.so      uid_avp_db.so    xprint.so
auth_xkeys.so      ctl.so       drouting.so        keepalive.so      nathelper.so        presence.so            registrar.so    siptrace.so    tcpops.so      uid_domain.so
avpops.so      db2_ops.so       dsiprouter.so    kemix.so          nat_traversal.so  presence_xml.so        rls.so        sipt.so       textops.so      uid_gflags.so
avp.so          db_cluster.so    enum.so        kex.so          nosip.so        pua_bla.so            rr.so        siputils.so    textopsx.so      uid_uri_db.so
benchmark.so      db_flatstore.so  evapi.so        lcr.so          path.so        pua_dialoginfo.so        rtimer.so        sl.so       timer.so      uri_db.so

V

unread,
Jun 24, 2022, 1:32:43 PM6/24/22
to dSIPRouter
Switching back to the master branch Kamailio installs but rtpengine fails.

cd /opt/dsiprouter
./dsiprouter.sh uninstall -all
git switch master
./dsiprouter.sh install -debug -all -servernat

The following errors at the end of installation:
dpkg-buildpackage: info: source package bcg729
dpkg-buildpackage: info: source version 1.1.1-0osso0+REL
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Walter Doekes <wjdoeke...@osso.nl>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
dpkg-source: info: using options from bcg729-1.0.4/debian/source/options: --extend-diff-ignore=^test/testCampaign(All)?$|^test/bcg729-patterns\.zip$
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying codebookqLSF-1.0.4+1.patch
dpkg-source: info: applying bestIntPitchDelay-1.0.4+2.patch
dpkg-source: info: applying patterns-md5-1.0.4+3.patch
dpkg-source: info: applying enable-subdir-objects.patch
dpkg-source: info: applying version.patch
dpkg-source: info: applying fix-tests.patch
dpkg-checkbuilddeps: error: Unmet build dependencies: bcg729-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
+ '[' 3 -ne 0 ']'
+ printerr 'Problem installing G729 Codec'
+ [[ Problem installing G729 Codec == \-\n ]]
+ printf '%b%s%b\n' '\033[1;31m' 'Problem installing G729 Codec' '\033[39;49;00m'
Problem installing G729 Codec
+ exit 1
+ ret=1
+ ((  1 == 0  ))
+ '[' 1 -eq 2 ']'
+ printerr 'RTPEngine install failed'
+ [[ RTPEngine install failed == \-\n ]]
+ printf '%b%s%b\n' '\033[1;31m' 'RTPEngine install failed' '\033[39;49;00m'
RTPEngine install failed
+ cleanupAndExit 1
+ rm -f /etc/apt/apt.conf.d/local
+ set +x

I can see on the master branch Kamailio can install, and starts
root@sip1:/opt/dsiprouter# netstat -tunap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      66537/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      560/sshd: /usr/sbin
tcp        0      0 172.31.10.107:4443      0.0.0.0:*               LISTEN      73246/kamailio
tcp        0      0 127.0.0.1:5060          0.0.0.0:*               LISTEN      73246/kamailio
tcp        0      0 172.31.10.107:5060      0.0.0.0:*               LISTEN      73246/kamailio
tcp        0      0 172.31.10.107:5061      0.0.0.0:*               LISTEN      73246/kamailio
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      71956/nginx: master
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      67323/mariadbd
tcp        0    196 172.31.10.107:22        192.168.29.217:64352    ESTABLISHED 850/sshd: voice1 [p
tcp6       0      0 :::22                   :::*                    LISTEN      560/sshd: /usr/sbin
tcp6       0      0 :::5000                 :::*                    LISTEN      71956/nginx: master
udp        0      0 127.0.0.1:35456         127.0.0.1:7722          ESTABLISHED 73234/kamailio
udp        0      0 127.0.0.1:49804         127.0.0.1:7722          ESTABLISHED 73237/kamailio
udp        0      0 127.0.0.1:41738         127.0.0.1:7722          ESTABLISHED 73246/kamailio
udp        0      0 127.0.0.1:5060          0.0.0.0:*                           73230/kamailio
udp        0      0 172.31.10.107:5060      0.0.0.0:*                           73230/kamailio

So this is feeling like an error in the v0.644 branch installer script.
There is also no error in the elogs about the json module. looking at the config the master branch does not call for "json.so"  (on branch v0.644 this is line 324

Aside from the RTP engine installation error under debian 11 using master, the installation succeded. but not so when installing branch v0.644

Hope this has helped you @mac would love to test out the new STIR/SHAKEN native support but if the installer fails its not a good start.

Mack Hendricks

unread,
Jun 24, 2022, 1:38:28 PM6/24/22
to V, dSIPRouter
Thanks...I will plan to look at v0.644 on Debian today.  We made some updates yesterday so I need to test the build and fix the json module issue

--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/6e3285e9-9b29-4e71-b3ef-b1266f85ac98n%40googlegroups.com.

Mack Hendricks

unread,
Jun 28, 2022, 6:51:17 AM6/28/22
to dSIPRouter
I just fixed v0.644 and released it as master.  Please test out the native STIR/SHAKEN support and let me know if you run into any issues.

V

unread,
Jun 28, 2022, 6:32:39 PM6/28/22
to dSIPRouter
Install worked on Debian 11. The only errors encountered were not able to start rtp-engine (but admittedly I have not got this working before )

One thing I noticed is that the logic block in kamailio_stir_shaken.inc Lines 69:79 always attest a call to "A" this is fine when the number is stored in dsiprouter.

What seems to be missing is to attest that call to "B" or "C" if the number is not in dsip.
e.g. a client has sent an outbound caller id that is not registered with dsip ( presumably they are making calls on behalf of a client) That should be attested to "B" if it's coming from a trusted network.

Anything else should be attested as "C"

Travis Garrison

unread,
Jul 15, 2022, 3:55:40 PM7/15/22
to dSIPRouter
We would be interested in testing this. We are currently under the subscription model. Do we need to open a ticket for this?

Mack Hendricks

unread,
Jul 15, 2022, 4:28:49 PM7/15/22
to Travis Garrison, dSIPRouter
You can download and set it up or we can do it for you.   I will create a ticket on your behalf.  

Mack Hendricks
Chief Flyball
dOpenSource / DetroitPBX, Flyball Companies 
Direct: 313-789-1313 (SMS Enabled)

On Jul 15, 2022, at 3:55 PM, Travis Garrison <wolfra...@gmail.com> wrote:

We would be interested in testing this. We are currently under the subscription model. Do we need to open a ticket for this?
Reply all
Reply to author
Forward
0 new messages