facebookarchive / CommunityCellularManager

Tool for deploying, managing and controlling your Community Cellular Networks
Other
87 stars 36 forks source link

"Your phone is not provisioned" #80

Closed marvdias closed 6 years ago

marvdias commented 6 years ago

I managed to connect sysmoBTS(running the bts soft) and the CCM client (running nitb). And I can see the ‘OML Link state: connected’:


Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to the OpenBSC control interface

Copyright (C) 2008-2016 Harald Welte, Holger Freyther
Contributions by Daniel Willmann, Jan Lübbe, Stefan Schmidt
Dieter Spaar, Andreas Eversberg, Sylvain Munaut, Neels Hofmeyr

License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
OpenBSC> show bts
BTS 0 is of nanobts type in band GSM900, has CI 1 LAC 1, BSIC 63 (NCC=7, BCC=7) and 1 TRX
Description: (null)
MS Max power: 12 dBm
Minimum Rx Level for Access: -110 dBm
Cell Reselection Hysteresis: 4 dBm
RACH TX-Integer: 9
RACH Max transmissions: 7
Uplink DTX: not enabled
Downlink DTX: not enabled
Channel Description Attachment: yes
Channel Description BS-PA-MFRMS: 5
Channel Description BS-AG_BLKS-RES: 1
System Information present: 0x0000087e, static: 0x00000000
Early Classmark Sending: forbidden
  Unit ID: 1234/0/0, OML Stream ID 0xff
  NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
  Site Mgr NM State: Oper 'Enabled', Admin 'unknown 0x0', Avail 'OK'
  GPRS NSE: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
  GPRS CELL: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
  GPRS NSVC0: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
  GPRS NSVC1: Oper 'Disabled', Admin 'unknown 0x0', Avail 'Off line'
  Paging: 0 pending requests, 50 free slots
  OML Link state: connected.
  Current Channel Load:
             CCCH+SDCCH4:   0% (0/4)
                   TCH/F:   0% (0/2)
                  SDCCH8:   0% (0/8)

I can see and connect to the network, send SMS, but I cannot call (vty openbsc log call_logOpenBSC-_CCM.log). When I try it, I receive an sms with "Your phone is not provisioned" written, even with the policy of the network set to 'accept-all' and my phones in the database with 'authorized 1' ( I had to manually create its entry on the database even with the 'create-on-demand' active).

kheimerl commented 6 years ago

"Provisioned" means having a phone number associated with the phone, not camping. Assuming you've generated a pool of available numbers (with setup_test_db) you need to send an SMS to 101 to get it assigned to the phone.

On Wed, Sep 27, 2017 at 10:48 AM, marvdias notifications@github.com wrote:

I managed to connect sysmoBTS(running the bts soft) and the CCM client (running nitb). And I can see the ‘OML Link state: connected’:

Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Welcome to the OpenBSC control interface

Copyright (C) 2008-2016 Harald Welte, Holger Freyther Contributions by Daniel Willmann, Jan Lübbe, Stefan Schmidt Dieter Spaar, Andreas Eversberg, Sylvain Munaut, Neels Hofmeyr

License AGPLv3+: GNU AGPL version 3 or later http://gnu.org/licenses/agpl-3.0.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. OpenBSC> show bts BTS 0 is of nanobts type in band GSM900, has CI 1 LAC 1, BSIC 63 (NCC=7, BCC=7) and 1 TRX Description: (null) MS Max power: 12 dBm Minimum Rx Level for Access: -110 dBm Cell Reselection Hysteresis: 4 dBm RACH TX-Integer: 9 RACH Max transmissions: 7 Uplink DTX: not enabled Downlink DTX: not enabled Channel Description Attachment: yes Channel Description BS-PA-MFRMS: 5 Channel Description BS-AG_BLKS-RES: 1 System Information present: 0x0000087e, static: 0x00000000 Early Classmark Sending: forbidden Unit ID: 1234/0/0, OML Stream ID 0xff NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK' Site Mgr NM State: Oper 'Enabled', Admin 'unknown 0x0', Avail 'OK' GPRS NSE: Oper 'Enabled', Admin 'Unlocked', Avail 'OK' GPRS CELL: Oper 'Enabled', Admin 'Unlocked', Avail 'OK' GPRS NSVC0: Oper 'Enabled', Admin 'Unlocked', Avail 'OK' GPRS NSVC1: Oper 'Disabled', Admin 'unknown 0x0', Avail 'Off line' Paging: 0 pending requests, 50 free slots OML Link state: connected. Current Channel Load: CCCH+SDCCH4: 0% (0/4) TCH/F: 0% (0/2) SDCCH8: 0% (0/8)

I can see and connect to the network, send SMS, but I cannot call (vty openbsc log call_logOpenBSC-_CCM.log https://github.com/facebookincubator/CommunityCellularManager/files/1338195/call_log_OpenBSC_-_CCM.1.log). When I try it, I receive an sms with "Your phone is not provisioned" written, even with the policy of the network set to 'accept-all' and my phones in the database with 'authorized 1' ( I had to manually create its entry on the database even with the 'create-on-demand' active).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facebookincubator/CommunityCellularManager/issues/80, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_rnwRpPBOytIqY2tda5jiJPDDy5t9wks5smopRgaJpZM4PmJkB .