Harald Welte
361b535b2b
sms
2008-12-27 21:46:23 +00:00
Harald Welte
8407e77b26
SMS stub
2008-12-27 21:45:37 +00:00
Harald Welte
b82d847155
* add database handling
...
* fix IMSI handling
2008-12-27 21:34:06 +00:00
Harald Welte
3aec0981fc
* fix location update reject (actually reject, not accept)
2008-12-27 19:53:37 +00:00
Harald Welte
680673c0b5
* release channel after LOCATION UPDATE REJECT
2008-12-27 19:46:41 +00:00
Harald Welte
7bab1ce159
* fix sending of wrong message discriminator for dedicated channel RSL msgs
...
* remove dead old code for TCH/SDCCH activation
* fix RF CHANNEL RELEASE logic + integration with lchan_alloc/free
* use Page Mode SAME and not NORMAL
2008-12-27 19:46:06 +00:00
Jan Luebbe
ab82130f34
also track creation and update time for subscriber and equipment
2008-12-27 18:08:13 +00:00
Jan Luebbe
b8bda61253
add a equipment table
2008-12-27 18:04:34 +00:00
Harald Welte
6234d9e3cd
missing header file changes
2008-12-27 17:02:56 +00:00
Jan Luebbe
2c93aaaf4f
add authorized state to subscribers in db
2008-12-27 16:47:55 +00:00
Harald Welte
054ba09fe6
hack to write TS2 frames to a file
2008-12-27 16:45:29 +00:00
Harald Welte
caad976896
add minimal MO call state transitions
2008-12-27 16:32:52 +00:00
Jan Luebbe
21496726c4
remove db debug output
2008-12-27 16:24:42 +00:00
Jan Luebbe
79e4ab473e
rewrite db backend
2008-12-27 15:59:25 +00:00
Holger Freyther
44fc77e550
Use getopt in the bsc_hack to parse options
...
Current options include a draft of the help screen, an option
to disable the colors and to specify the debug categories to
show.
2008-12-27 12:46:51 +00:00
Holger Freyther
5b9c8c7170
Prefix debug symbols with debug_ to reduce the namesapce pollution
2008-12-27 12:46:49 +00:00
Holger Freyther
00125f2173
Assign colors to the different categories
...
Let there be colors. I have no idea if this will be appreciated. It can
be disabled by an option.
2008-12-27 12:46:48 +00:00
Holger Freyther
c95546b3e1
Add code to parse a debug category string
...
Use strdup to be able to use strtok on the category string and add
a test case. Also safe some more information to be able to use color
in the print statement.
2008-12-27 12:03:07 +00:00
Holger Freyther
e30a246433
Make the test timer a noinst program
2008-12-27 12:03:04 +00:00
Harald Welte
43c43c6199
fix typo
2008-12-27 11:25:50 +00:00
Harald Welte
9e3b41dc0a
reduce usleep time for RSL to 10ms
2008-12-27 11:24:23 +00:00
Harald Welte
4f2cc2321f
Send IDENTITY REQUEST after LOCATION UPDATE REQUEST
2008-12-27 11:15:38 +00:00
Harald Welte
b8bd1e5ec7
* lchan_free() the channels that we RF_CHAN_RELEASE
2008-12-27 11:13:36 +00:00
Holger Freyther
e0437922d8
Move the debug code to a separate debug.c
2008-12-27 11:07:15 +00:00
Harald Welte
05e4464cb8
* send RF CHANNEL RELEASE if we get CONNECTION FAIL INDICATION
2008-12-27 10:29:08 +00:00
Harald Welte
2fc100610e
* translate MOBILE IDENTITY into string
...
* add empty handler for GPRS SUSPENSION REQUEST
2008-12-27 10:19:37 +00:00
Harald Welte
1133071936
send RF CHANNEL RELEASE upon RELEASE INDICATION from BTS
2008-12-27 10:18:47 +00:00
Holger Freyther
1bad601135
Introduce a simple timer API....
...
One can use add_timer or schedule_timer to add a timer. After
the timeout time has been reached the callback will be called.
One can call add_time/schedule_timer and del_timer from within
the callback.
2008-12-27 09:42:59 +00:00
Holger Freyther
6a15d37c8c
misdn.h forward declare mi_setup
2008-12-27 09:41:03 +00:00
Holger Freyther
932bc3eec6
Fix warning and return an error code
2008-12-27 09:39:48 +00:00
Holger Freyther
b8927ba912
whcih -> which
2008-12-27 09:38:51 +00:00
Harald Welte
5f3376515c
now we get up to the SETUP of MO calls
2008-12-27 01:55:51 +00:00
Jan Luebbe
4fcd890254
db: add GPL headers and integrate with autofoo
2008-12-27 01:07:07 +00:00
Harald Welte
72ce9ab790
mISDN header files
2008-12-27 00:51:07 +00:00
Jan Luebbe
175e76aff5
add first sketch of a DB backend
2008-12-27 00:45:41 +00:00
Harald Welte
4e7bbd1833
working state up to location update and classmark inquiry
2008-12-26 20:25:35 +00:00
Harald Welte
2b24b72baf
Send OML messages to OML TEI/SAPI, not RSL :)
2008-12-26 10:46:24 +00:00
Harald Welte
3406459655
this is the first version that actually talks to the BTS
...
* initialize OML and RSL based on TEI establish (ACTIVATE_IND) events
* fix abis_nm_raw_msg() to not overwrite the OML header with payload
* fix debug print statements
* fix msgb_dequeue: actually dequeue it from the list ;)
2008-12-26 10:20:07 +00:00
Harald Welte
ba50310ed6
* fix DEBUGP defines, activate DEBUG functionality
...
* fix typo in db_transmission function
2008-12-26 00:06:02 +00:00
Harald Welte
fc79240c82
add debugp() function to fulfill link dependency and build executable
2008-12-26 00:05:11 +00:00
Harald Welte
ee5ea25a8f
free incoming msg after processing by RSL
2008-12-26 00:04:49 +00:00
Harald Welte
4a89bb1c27
free() the outgoing msg's after they've been sent to the kernel
2008-12-25 23:50:30 +00:00
Harald Welte
36bde5e0f0
add channel allocator to makefile
2008-12-25 23:50:01 +00:00
Harald Welte
9cb55f0c82
no reasonable commit message possible. tons of changes of the last 2 days
2008-12-25 23:28:35 +00:00
Harald Welte
2b944cf8c7
autoconf
2008-12-23 21:01:25 +00:00
Harald Welte
947c6f81a5
initial commit of current OpenBSC state
2008-12-23 20:25:15 +00:00