thanks for the reply
page 29 of the same book says that the comand is as follows
./nmcli.py sipauthserve subscribers create name imsi msisdn
anyhow, I tried to usse the same example that you did and got an error, when I did it the other way, I get status 200 or something and the word OK. I honestly didn’t check the subscriber list, but I will in future tests.
turns out you are right, however it was mssing the (msisdn) which is from what I understood is the phone number assigned to the phone with openbts. so the command becomes (/OpenBTS/nmcli.py sipauthserve subscribers create “huaweiSim1” IMSI606010112570110 3045102)
"imsi" : "IMSI606004010962824",
"msisdn" : "3045100",
"name" : "huaweiSim2"
"imsi" : "IMSI606010112570110",
"msisdn" : "3045102",
"name" : "huaweiSim1"
I even allowed open registration as the book explains in chapter 6, (output of config Control.LUR is below) but that also didn’t work ! not sure how to troubleshoot this.
OpenBTS> config Control.LUR
Control.LUR.404RejectCause 0x04 [default]
Control.LUR.AttachDetach 1 [default]
Control.LUR.FailMode ACCEPT [default]
Control.LUR.FailedRegistration.Message Your handset is not provisioned for this network. [default]
Control.LUR.FailedRegistration.ShortCode 1000 [default]
Control.LUR.NormalRegistration.Message (disabled) [default]
Control.LUR.NormalRegistration.ShortCode 0000 [default]
Control.LUR.OpenRegistration.Message Welcome to IslandNet! Call or text 101 for
Control.LUR.OpenRegistration.Reject (disabled) [default]
Control.LUR.OpenRegistration.ShortCode 101 [default]
Control.LUR.QueryClassmark 0 [default]
Control.LUR.QueryIMEI 0 [default]
Control.LUR.RegistrationMessageFrequency FIRST [default]
Control.LUR.SendTMSIs 0 [default]
Control.LUR.UnprovisionedRejectCause 0x04 [default]
anyhow, is the SMS sent by default or is there some config that I need to do, because all I got was error in registration.
also**, I need to know where the logs are stored in the docker that you made, as I said in the previous comment, they are not in their default place as per the book.**
Also, instead of using screens, I used this Stackoverflow post to get multiple terminals for the same docker.
thanks again @cswiger for the effort and your responses.let me know what you think