New subscriber not created automatically with accept-all/subscriber-create-on-demand configuration

Max msuraev at
Wed Jul 27 10:03:59 UTC 2016

Yepp, that's a bug, patch with fix will follow shortly. In a meantime
please add following to your 'network' part of config as a workaround:
authorized-regexp .*
Thanks for reporting it!

On 07/27/2016 02:24 AM, Shaddi Hasan wrote:
> Hi folks, I'm seeing some unexpected behavior from OsmoNITB. I am running from the Debian 8 nightly builds from July 25 for everything.
> My OpenBSC configuration is set as follows:
> network
>  [...]
>  auth policy accept-all
> [...]
> nitb
>  subscriber-create-on-demand
>  assign-tmsi
> [...]
> When a new phone tries to camp to the network, it's rejected as follows: ("Failed to find subscriber"). My full openbsc.cfg is in that gist as well.
> If I create the subscriber by IMSI via the VTY though, it camps fine and everything else works as expected. When I tested this this configuration a few weeks ago with an earlier build (sorry, can't recall which one), adding the subscriber manually wasn't necessary, and with the configuration above seems like it also shouldn't be necessary. Couple questions:
> - Is this the expected behavior for this configuration?
> - If so, is there currently a way to achieve the prior behavior (subscriber created automatically when a new phone tries to camp, rather than being rejected)?
> Thanks,
> Shaddi

Max Suraev <msuraev at>
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93 
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B 
* Geschaeftsfuehrer / Managing Director: Harald Welte 

More information about the OpenBSC mailing list