herlesupreeth / docker_open5gs

Docker files to run open5gs + IMS + eNB + gNB + NR-UE in a docker
BSD 2-Clause "Simplified" License
324 stars 184 forks source link

IMS Registration with Samsung devices #302

Open armindoantuneswit opened 7 months ago

armindoantuneswit commented 7 months ago

Hello, my setup is working nice (4G + IMS registration + calls) with OnePlus devices and also tested successfully with a Xiaomi device and partially with an iPhone - can't start calls from it, but it can receive them.

What about Samsung devices? Has anyone being able to connect a Samsung device? When tested with Samsung S20, it only has 4G but does not try to register on the IMS - tried the CoIMS, but it shows the Volte disabled. I'm using network mcc mnc: 001 01 Any advice or ideas? Some hardcoded IMS apn that I need to had to my system? Or that is something that will never work? Thank you! Armindo

herlesupreeth commented 7 months ago

@armindoantuneswit For Samsung phones I haven't yet found a way to force enable VoLTE unfortunately. Too much vendor lock-in IMO.

NUCLEAR-WAR commented 7 months ago

@herlesupreeth, would it help if i send you a Trace for an attach to production network ?

herlesupreeth commented 7 months ago

@NUCLEAR-WAR hmm..i dont think it makes a difference because Samsung maintains a separate list in their Android OS to enable/disable features based on PLMN/IMSI. CoIMS method used to work on Samsung devices prior to Android 10, after which they locked access to Samsung IMS settings app.

NUCLEAR-WAR commented 7 months ago

I played lttele bit with a GalaxyTab S7, was able to pull an App called IMSLogger, I got this screenshot from it, the device is unable to find the IMS Profile IMPU/IMPI. I have SysmocomISIM-SJA2 they can be programmed to have IMPI/IMPU P-CSCF Addresses ...etc, but I dont know how, could be a way here

IMG-20240405-WA0010 Screenshot 2024-04-05 200355

herlesupreeth commented 7 months ago

Please find a template for how to program IMPI/IMPU and other relevant IMS information in SIM card using pySIM below (make sure to use correct ADM key of your SIM or else your SIM will get bricked)

./pySim-prog.py -p 0 -x 001 -y 01 -s 8988211900000000025 -i 001010123456790 -k 8baf473f2f8fd09487cccbd7097c6862 --op 11111111111111111111111111111111 -o 8E27B6AF0E692E750F32667A3B14605D -a 11111111 -n exp.zii --msisdn 9076543210 --epdgid epdg.epc.mnc001.mcc001.pub.3gppnetwork.org --pcscf pcscf.ims.mnc001.mcc001.3gppnetwork.org --ims-hdomain ims.mnc001.mcc001.3gppnetwork.org --impi 001010123456790@ims.mnc001.mcc001.3gppnetwork.org --impu sip:001010123456790@ims.mnc001.mcc001.3gppnetwork.org
NUCLEAR-WAR commented 7 months ago

many thanks for templent, looks like Samsung locked it tight, according to 3gpp they must use the Profile from ISIM first, i tried with old Samsung S6 Edge also with root but no way sadly, that add to many reasons why i hate Samsung. I will try through internal channel, maybe i can get anything from them.