Project

General

Profile

Quick SMSCB HOWTO

Assumptions:
  • osmo-bsc, osmo-cbc and cbc-apitool.py installed on the same host
    • cbc-apitool.py is hidden in the osmo-cbc-utils dpkg/rpm package.

In order to test SMSCB, you will need to:

  1. configure your BTS channels to include a CBCH (either on SDCCH/4 or on SDCCH/8)
    bts 0
      trx 0
       timeslot 0
        phys_chan_config CCCH+SDCCH4+CBCH
    
  2. configure CBSP on the BSC, for example like this:
    cbc
     mode client
     client
      remote-ip 127.0.0.1
      local-ip 127.0.0.1
      local-port 46133
    
  3. configure OsmoCBC from the osmo-cbc RPM package, for example like this:
    cbc
     unknown-peers reject
     peer local-bsc
      protocol cbsp
      remote-port 46133
      remote-ip 127.0.0.1
     cbsp
      local-ip 127.0.0.1
      local-port 48049
     ecbe
      local-ip 127.0.0.1
      local-port 12345
    
  4. use cbc-apitool.py from the osmo-cbc-utils RPM package to add a new SMSCB to the system
    $ cbc-apitool.py create-cbs --msg-id 4370 --payload-data-utf8 "Bon giorno!" 
    
At that point you should see
  • CBSP WRITE-REPLACE messages on tcp port 48049 between CBC and BSC over the loopback device
  • RSL SMS BROADCAST COMMAND on Abis RSL (tcp port 3003) between BSC and BTS; periodically repeated
  • CBCH downlink transmissions on Um towards the MS

If your phone doesn't disable them, with a msg-id of 4370 you should get a "Presidential Level Alert' for 4370.

For more message IDs, see TS 23.041 section 9.4.1.2.2

Add picture from clipboard (Maximum size: 48.8 MB)