Harald Welte
193fefc683
functionality to set nanoBTS NVRAM attributes and to restart BTS
2009-04-30 15:16:27 +00:00
Harald Welte
3bfbb84021
Add some more ip.access specific OML attributes/messages. In this case it is
...
about configuring the primary OML link IP address in the NVRAM of the device.
2009-04-29 22:58:38 +00:00
Harald Welte
e69f5fb411
Add bs11_config commands to set the PLL mode from E1_LOCKED to STANDALONE
...
and vice-versa. This has not yet been tested yet.
2009-04-28 16:31:38 +00:00
Holger Freyther
b5c00f5587
[misdn] Add option to automatically release layer2 on exit
...
Patch by Andreas Eversberg to automatically release
layer2 on exit of the application. Made the naming of
the variables consistent (only release_l2 and not both
release_l2 and l2_release).
2009-04-22 22:08:07 +00:00
Holger Freyther
dda22c18b5
[bsc_hack] Allow to select the cardnr defaulting to number 0
...
Patch from Andreas Eversberg to allow to select the ISDN
card number. The default remains the same.
2009-04-22 22:07:31 +00:00
Holger Freyther
bcdebbfcab
[bsc_hack] House keeping, remove dead code
...
This callback is not used from within the paging layer. We do
have a different set of callbacks in place. Remove it here.
2009-04-19 06:39:29 +00:00
Holger Freyther
36650b872f
[db] Keep track of the current gsm_network
2009-04-19 06:35:16 +00:00
Holger Freyther
a1f92f0a43
[subscriber] Introduce subscr_put_channel
...
Introduce subscr_put_channel to release a channel and to
allow gsm_subscriber.c to hand this channel to any suitable
pending requests.
2009-04-12 05:37:52 +00:00
Holger Freyther
4a49e77ff4
[subscriber] Update the current_bts field on imsi detach and LOC accept
...
When sending LOCATION UPDATING REQUEST Accept or when getting
a IMSI Detach update the gsm_bts of the gsm_subscriber.
2009-04-12 05:37:29 +00:00
Holger Freyther
0469cf608b
[e1] Enable dumping of LAPD frames again
...
Kill mi_set_pcap_fd from the header, introduce e1_set_pcap_fd
and call it from bsc_hack.c. Hook into abis_rsl_sendmsg and
_abis_nm_sendmsg for sending and e1inp_rx_ts for reading. It compiles
and should not cause a regression.
2009-03-31 12:14:16 +00:00
Harald Welte
7e310b12ff
Store incoming SMS into SQL database
...
* gsm_util now uses caller-allocated data (rather than callee-allocated)
* correctly parse destination address
* parse (but not transcode) non-default encodings of SMS
* reject SMS to unknown destination number
* resolve target subscriber id and store incoming SMS (without header) in 'sms' table
What we're now missing is the sending part, i.e. a regular task iterating over
all pending SMS and trying to deliver them. Also, check for pending SMS once
we get a LOCATION UPDATE.
2009-03-30 20:56:32 +00:00
Harald Welte
273feca77f
Fix 'delete-trx1' command of bs11_config (we can now delete TRX1)
2009-03-28 16:53:25 +00:00
Holger Freyther
1047940dce
[misc] Make distcheck work again
2009-03-11 03:29:43 +00:00
Harald Welte
c63e51daac
* correctly handle VTY_READ/VTY_WRITE events and select loop integration of VTY
2009-03-10 19:46:16 +00:00
Harald Welte
d256d4f19c
* make sure we can obtain signalling type and timslot type names
...
* make sure every e1 timeslot has a valid backpointer to its line
2009-03-10 19:44:48 +00:00
Harald Welte
4d87f24e6f
export nm_*_name() functions to get operational and availability state to strings
2009-03-10 19:43:44 +00:00
Harald Welte
44d542eba5
export list of e1 drivers and e1 lines
2009-03-10 18:24:35 +00:00
Harald Welte
404cdd8951
make telnet interface use VTY code
2009-03-10 12:21:45 +00:00
Harald Welte
68628e8479
add VTY dumping functions for OpenBSC
2009-03-10 12:17:57 +00:00
Harald Welte
955049f191
import VTY code from zebra/quagga (from my cardshell project)
2009-03-10 12:16:51 +00:00
Harald Welte
32201c1aea
move is_ipaccess_bts() and parse_btstype9) to gsm_data.c
2009-03-10 12:15:10 +00:00
Harald Welte
a27d8d2a91
add USSD protocol discriminator
2009-03-10 12:13:42 +00:00
Holger Freyther
ff9592fa10
[misc] Fix compile warnings...
2009-03-09 16:17:14 +00:00
Harald Welte
ddab3c78c5
introduce new 'mode' parameter to RSL ACTIVATE CHANNEL
2009-02-28 13:19:15 +00:00
Harald Welte
4a543e81cf
* more RSL and 04.08 constant defines
...
* initialize some data structures before using them in RSL
* DATA_REQ is a transparent message
* more elaborate DEBUGP statements here and there
* don't call 04.08 with zero-length RSL DATA INDICATION
* reject 04.08 CC HOLD and RETRIEVE, as we don't support them yet
2009-02-28 13:17:55 +00:00
Harald Welte
02b0e093a1
make sure all channels in one BTS use the same TSC (training sequence code)
2009-02-28 13:11:07 +00:00
Harald Welte
3cc4bf517f
make hexdump return a 'char *' rather than printing by itself
2009-02-28 13:08:01 +00:00
Holger Freyther
59da07bd0e
[sms] Add test case for the 7-bit coding/decoding...
...
we don't pass it yet.
2009-02-23 00:50:38 +00:00
Holger Freyther
5775f46403
[misc] Fix make distcheck again...
2009-02-23 00:50:28 +00:00
Harald Welte
6154898753
fix paging response parsing for phase1 phones (classmar2 can be less than 4 bytes in length)
2009-02-22 21:26:29 +00:00
Harald Welte
2f74aa413b
* location updating types
...
* struct for imsi detach
2009-02-22 21:14:04 +00:00
Harald Welte
5659d666fb
add missing SET BS11 ATTRIBUTE NACK MT
2009-02-21 20:45:39 +00:00
Harald Welte
b6c92ae782
* set OML TEI and E1 timeslot in one command
...
* introduce new 'oml-tei' command of bs11_config
2009-02-21 20:15:32 +00:00
Harald Welte
099d6100e6
fix various compiler warnings while building bs11_config
2009-02-21 12:59:58 +00:00
Harald Welte
7bc4cbc45c
tlv_parser now operates on 'const' input buffer
2009-02-21 12:59:22 +00:00
Holger Freyther
3281f6e233
[build] Create a libbsc.a as noinst_LIBRARY, link bsc_hack and tests against it
...
Link the tests against the libbsc.a to avoid most of the breakage
when creating new symbols.
2009-02-20 18:33:00 +00:00
Harald Welte
23a686347d
add gst_ts_name() function to obtain human-readable channel name
2009-02-19 17:06:42 +00:00
Harald Welte
f1e6f96654
don't pass subchannel data to the TRAU decoder if we're not synchronized yet
2009-02-19 17:05:13 +00:00
Harald Welte
26aa6a1166
trau mux updates
...
* add function to map two lchans to each other
* make sure to evic old trau mux mappings before creating a new one
2009-02-19 15:14:23 +00:00
Harald Welte
78fc0d40a6
add various BS11 management related abis_nm functions
2009-02-19 02:50:57 +00:00
Harald Welte
0313394a88
* support BS11 specific IE types in abis_nm
...
* make bs11_config compile again
* now that we have a proper TLV parser, use it to parse the status response on the serial port
2009-02-18 19:51:53 +00:00
Harald Welte
7eb1f621e0
"the big fix", of the E1 subchannel [de]multiplexer. I don't even remember how
...
many bugs I fixed during the last couple of hours. It was never working at
any time before.
2009-02-18 03:40:58 +00:00
Harald Welte
da78376396
* ensure TCH/F are activated signalling-only
...
* add function for RSL CHANNEL MODIFY REQUEST
* add missing channel activation function to header file
2009-02-18 03:29:53 +00:00
Harald Welte
8e4ae95e0b
#defines for GSM48 channel modes
2009-02-18 03:28:01 +00:00
Harald Welte
b480f41b57
add DMUX debug prefix
2009-02-18 03:27:39 +00:00
Holger Freyther
76c9569021
[utils] Create gsm_utils for 7bit encoding and decoding...
2009-02-17 20:31:30 +00:00
Harald Welte
49f48b8b77
various CC updates:
...
* correctly lchan_put the second lchan of a call at teardown
* map the RTP streams of ip.access onto each other
* fix bug that prevented a CONNECt message to ever reach the 'B' side
2009-02-17 15:29:33 +00:00
Harald Welte
167df88aae
* increased debug verbosity for ip.access BIDND_ACK processing
...
* emit a signel when the BIND is acknowledged
2009-02-17 14:35:45 +00:00
Harald Welte
677c21f4ab
add parsing for ip.access vendor specific NM messages
2009-02-17 13:22:23 +00:00
Harald Welte
7ccf77810b
slightly more complete GSM 04.08 CC, we can now
...
* initiate phone calls from one MS
* look-up the subscriber based on dialled extension
* page the called subscriber
* send the SETUP to the called subscriber, including CLIP/CLIR
* get ALERTING notification back to caller
* relay DISCONNECT from either side to the other
This is still far from being complete, but it at least works for the most common case
2009-02-17 01:43:01 +00:00