how to soti mobicontrol 15.3 Android enterprise create phone call list into device

R
rathasatekun Bronze Contributor
Gosoft (Thailand) Co.,Ltd.

how to soti mobicontrol 15.3 Android enterprise create phone call list into device

 

I have list of telehphone number , then i want to crate telephone number into contact, Have script or menu to do that?

a month ago
Android
ANSWERS
RS
Robert Schäfer
a month ago

If you upgrade to 2024.1 or above the phone policy lives in Profiles, for anything before you can use the method below (you can substitute package for file Sync if you wish): 

  1. Create a package with the VCF file. The file location of the VCF must be /data/data/net.soti.mobicontrol.androidwork/files/ to avoid storage permission issues.
  2. Include a Post install script with the following script:

 

import_contacts_vcf /data/data/net.soti.mobicontrol.androidwork/files/nameofvcf.vcf 0|1

 

  • 0 - Indicates contacts in the VCF should be added to the existing contacts list
  • 1 - Indicates contacts in the VCF should replace the existing contacts list

3. Deploy package to device

R
rathasatekun
a month ago

Which script add Blocked Contact into contacted phone 

for samsung brand

RS
Robert Schäfer
a month ago

In profiles you should fine a phone call setting where you can block phone numbers. Which i think is what you are asking for.

R
rathasatekun
a month ago

it support only android plus not enterprise , i use soti mobicontrol 15.3

R
rathasatekun
a month ago

i use soti 15.3 only in android classic only but not have in android enterprise

RS
Robert Schäfer
a month ago

In that case you can use the script:

 

writeprivateprofstring CallBlocking

writeprivateprofstring CallBlocking InNumber1 "16471234567"

writeprivateprofstring CallBlocking InNumber2 "14161234567"

writeprivateprofstring CallBlocking OutNumber1 "19051234567"

writeprivateprofstring CallBlocking OutNumber2 "18001234567"

writeprivateprofstring CallBlocking IncomingMode 1

writeprivateprofstring CallBlocking OutgoingMode 1

writeprivateprofstring CallBlocking Notify 3

apply callpolicy

 

changing the value for incomingMode or outgoingmode to 2 will allow, while 1 denies. The above example blocks some incoming and outgoing numbers.

RS
Rafael Schäfer
26 days ago

And just to add here, maybe also use oem config app from relevant manufacturer, those also might support setting this up inside of it.

R
rathasatekun
20 days ago

I tested with your solution >> It's work

 

but i have new problem , if i use with this solution , existing contact phone number have been lost and replace with phone number in vcf file, 

how to add new contact number and keep existing contact 

RS
Rafael Schäfer
19 days ago

So, i share our experience with import_contacts_vcf and the different modes of it:

Mode 0: In this mode you just add the vcf contacts (as seperate contacts) to the already existing ones. So, everytime you (re-)run this, it will add them again so, creating multiple entries. No comparing or so happening, so you can't add additional information afterwards, even you just edit the entries and provide them again, it won't update/extend the existing ones but duplicate them.

Mode 1: In this mode it will erase all existing contacts and replace them with the ones in the vcf file. So, also manually created ones by the user also will be deleted.

We from our side made a feature request (MC-145449) 2 years ago to add something like mode 2 where (if possible) the contacts get referenced by uuid or so but not sure if it's just not possible to acchieve or if just too less customers would need it but as you see not implemented (yet).

 

An alternative would be to use a contact sync like with an office 365 account or similar and have the contacts information set up there.