Hi,
I would like to know if it is possible to disconnect a connected device to my osmo-bsc system?
After running my osmo-bsc setup and my test phone is connected to my usrp via 2g, is it possible to send a vty command or what are the steps to make the connected device to detach to my bts?
Thank you so much.
Hnjojo
On Thu, Jul 22, 2021 at 04:20:55AM +0800, Henry Caga wrote:
Hi,
I would like to know if it is possible to disconnect a connected device to my osmo-bsc system?
After running my osmo-bsc setup and my test phone is connected to my usrp via 2g, is it possible to send a vty command or what are the steps to make the connected device to detach to my bts?
Thank you so much.
Hnjojo
On osmo-bsc level on a live channel you could try to release the lchan the subscriber is using with this VTY command:
enable bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> deactivate fr
Of course the subscriber is then still attached to the network on MSC level, but the active connection should be interrupted.
The question is what exactly do you mean by "disconnect".
you can also put your phone in flight mode to disconnect it...
Hello, thanks for the reply. What i mean about disconnecting is to make camped devices as "un-camped" from my setup or bts. turning the phone in flight mode is the correct example but is it possible to un-camped a specific device from thw bts side or from my setup?
On Thu, Jul 22, 2021, 7:21 AM Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
On Thu, Jul 22, 2021 at 04:20:55AM +0800, Henry Caga wrote:
Hi,
I would like to know if it is possible to disconnect a connected device
to
my osmo-bsc system?
After running my osmo-bsc setup and my test phone is connected to my usrp via 2g, is it possible to send a vty command or what are the steps to
make
the connected device to detach to my bts?
Thank you so much.
Hnjojo
On osmo-bsc level on a live channel you could try to release the lchan the subscriber is using with this VTY command:
enable bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> deactivate fr
Of course the subscriber is then still attached to the network on MSC level, but the active connection should be interrupted.
The question is what exactly do you mean by "disconnect".
you can also put your phone in flight mode to disconnect it...
In case the phone tries to do a Location Area Update or any other transaction you could reject it with a proper reject cause. If you want to detach a completely idle UE without waiting for an LU timer to expire you would need to page it and then reject it I think.
This is based purely signaling theory not actually looking into osmo-bsc’s features/options.
Cheers, Domi
22.07.2021 dátummal, 3:00 időpontban Henry Caga hncaga@gmail.com írta:
 Hello, thanks for the reply. What i mean about disconnecting is to make camped devices as "un-camped" from my setup or bts. turning the phone in flight mode is the correct example but is it possible to un-camped a specific device from thw bts side or from my setup?
On Thu, Jul 22, 2021, 7:21 AM Neels Hofmeyr nhofmeyr@sysmocom.de wrote: On Thu, Jul 22, 2021 at 04:20:55AM +0800, Henry Caga wrote:
Hi,
I would like to know if it is possible to disconnect a connected device to my osmo-bsc system?
After running my osmo-bsc setup and my test phone is connected to my usrp via 2g, is it possible to send a vty command or what are the steps to make the connected device to detach to my bts?
Thank you so much.
Hnjojo
On osmo-bsc level on a live channel you could try to release the lchan the subscriber is using with this VTY command:
enable bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> deactivate fr
Of course the subscriber is then still attached to the network on MSC level, but the active connection should be interrupted.
The question is what exactly do you mean by "disconnect".
you can also put your phone in flight mode to disconnect it...
On Thu, Jul 22, 2021 at 08:59:55AM +0800, Henry Caga wrote:
Hello, thanks for the reply. What i mean about disconnecting is to make camped devices as "un-camped" from my setup or bts. turning the phone in flight mode is the correct example but is it possible to un-camped a specific device from thw bts side or from my setup?
I'm still not sure I understand your actual practical aim.
osmo-bsc is responsible for actually active channels, e.g. while a voice call is ongoing.
The "camping" part is done by the VLR in osmo-msc. You can "un-camp" a subscriber via the osmo-msc VTY, see osmo-msc-vty-reference.pdf at https://ftp.osmocom.org/docs/latest/ , command 'subscriber (msisdn|extension|imsi|tmsi|id) ID expire'. The VLR forgets the subscriber, but the phone will not show any change. After the Periodical Location Update period, the phone will simply re-attach. When it tries to use any service, it will first re-attach. You could read up on Periodical Location Update. Or look at what happens after such an expiry in wireshark.
You can also prohibit attaching of a subscriber, via osmo-hlr: see osmo-hlr-vty-reference.pdf at above link, command 'subscriber (imsi|msisdn|id|imei) IDENT update network-access-mode (none|cs|ps|cs+ps)'
HTH