Problems with automatic subscriber creation.
Maybe this is a problem with my configuration, but after long time I tried the automatic subscriber creation mode again. It constantly rejects the location update with the cause that no subscriber could be found. I traced the problem down to gsm_04_08.c:static bool subscr_regexp_check(). There the regexec() seems to fail.
The VTY show s the following:
OpenBSC> show network
BSC is on Country Code 1, Network Code 1 and has 1 BTS
Long network name: 'Vaderfone'
Short network name: 'Vaderfone'
Authentication policy: accept-all, authorized regexp: *
Auto create subscriber: yes
Auto assign extension: yes
Location updating reject cause: 13
NECI (TCH/H): 1
Use TCH for Paging any: 0
RRLP Mode: none
MM Info: On
Current Channel Load:
Last RF Command:
Last RF Lock Command:
If i get things right, "authorized regexp: *" should be ok with any IMSI. When I hardcode the returnvalue of subscr_regexp_check() to true it accepts any IMSI again and happyly creates the subscriber.