modified: default/gsm.conf
modified: gsm.cpp
modified: gsm_conf.c
# The database is located at /usr/local/lcr by default.
#hlr hlr.sqlite3
-# How to reject unknown subscribers.
-#reject-cause 0
-
# To keep layer 2 connection to BS11 when quitting, use this option.
# It is only usefull for developing. TRX will stay on.
# Also changes in frequency, mcc, mnc, lac while keeping layer 2 will cause
}
gsm->network = bsc_gsmnet;
- /* set reject cause */
- if (gsm->conf.reject_cause)
- gsm0408_set_reject_cause(gsm->conf.reject_cause);
-
/* open gsm loop interface */
if (gsm_sock_open(gsm->conf.interface_bsc)) {
return gsm_exit(-1);
} else
if (!strcmp(option,"reject-cause")) {
- if (params[0][0]==0) {
- SPRINT(gsm_conf_error, "Error in %s (line %d): parameter for option %s missing.\n",filename,line, option);
- goto error;
- }
- gsm_conf->reject_cause = atoi(params[0]);
-
+ SPRINT(gsm_conf_error, "Option '%s' in gsm.conf has moved to openbsc.cfg", option);
+ goto error;
} else
if (!strcmp(option,"allow-all")) {
gsm_conf->allow_all = 1;