I want to block outgoing international calls and sms using the call barring function. This page lists all the USSD codes and I was able to successfully block international calls using the code *331*1111#
and then check the status using the code *#331#
. It almost works as expected - after enabling it, no international call can be placed (there is a message saying something about this service not enabled for my number) but I can still send international SMS…
There is very little documentation about it on the internet but my understanding is that the code consists of the following parts:
Type of barring:
33
- all outgoing connections
331
- all outgoing international connections
332
- all outgoing international connections in roaming (roaming connections to Switzerland are allowed)
35
- all incoming connections
351
- all incoming connections in roaming
Network code:
1111
- default code for Sunrise (can be changed: **03*Lock_type*old-code*new-code*new-code#
)
Optional service identifier (full list here):
10
- calls
16
- sms
20
- all services
The format should be the following: *type-of-barring*network-code*service-identifier#
(e.g. to block all outgoing SMS one should use: *33*1111*16#
).
If I understand correctly, the service identifier code is optional - if it is omitted then all the services should be blocked which means that for Sunrise using *331*1111#
should block all calls and sms but it didn’t block SMS.
According to this page:
At the same time, only one incoming and one outgoing direction can be banned. Setting a new barring will cancel the previous barring in the same direction.
Which means that when I selectively block SMS using 16
service id it might disable outgoing calls block.
Questions:
- should I use both codes at the same time to block outgoing SMS:
*331*1111#
and *331*1111*16#
?
- what does service identifier
20
mean? If I use it together with *331*
prefix will it also block international MMS?
- the service identifiers list looks somewhat outdated (e.g. 3.1 KHz GSM voice services, Teletex or 12 Kbps digital link) - can anyone point me to better documentation that would map these codes to modern services?
- actually I would appreciate any Sunrise documentation - which barrings are available to use with Sunrise, can I enable more of them at once etc.?