Harald Welte
7f93ceafef
Ignore CONNECTION FAIL INDICATION cause 0x18 to make sure our phone calls survive on BS11.
...
Apparently the BS-11 sends soem undocumented cause 0x18 as part of a CONN FAIL IND message
shortly after we establish the call. If we close the channel, the voice call
is aborted. If we ignore the message, everything just continues to work.
2009-02-23 00:02:59 +00:00
Harald Welte
b49fe96ad6
reduce lag in voice calls by reducing the subchannel muxer tx queue depth to
...
effectively three entries. In the future we should probably think of only
having a one-frame deep queue.
2009-02-22 22:28:19 +00:00
Harald Welte
ee670478e5
Add LMT event parsing
2009-02-22 21:58:49 +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
2a1393758d
add parsing of IMSI DETACH
2009-02-22 21:14:55 +00:00
Harald Welte
fe18d8fd89
PAGING RESPONSE could contain non-TMSI mobile identity such as IMSI
2009-02-22 21:14:24 +00:00
Harald Welte
5a065dfe2d
don't allow calls of a subscriber to himself
2009-02-22 21:13:18 +00:00
Holger Freyther
1ef983b076
[db] Print the type and id of the not found provider
2009-02-22 20:33:09 +00:00
Harald Welte
c1697105cf
use RSL debug prefix in RSL code
2009-02-22 18:18:12 +00:00
Harald Welte
074d873df9
correct E1 timeslot / TEI attribute parsing
2009-02-21 20:41:12 +00:00
Harald Welte
0558f547c7
only perform oml-tei once
2009-02-21 20:17:12 +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
fd2fb458ac
25C3 is over, so call our network OpenBSC
2009-02-21 13:00:57 +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
11fa29c169
implement dynamic TRAU frame mapping
2009-02-19 17:24:39 +00:00
Harald Welte
f325eb4e9f
use new gsm_ts_name() funciton from debug statemens everywhere
2009-02-19 17:07:39 +00:00
Harald Welte
dbd2ea8708
add debug statement when setting up trau mapping
2009-02-19 17:07:01 +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
ad2a12a4c3
we need tlv_parse.c in bs11_config now
2009-02-19 03:11:48 +00:00
Harald Welte
f80b7d347c
bs11_config: makes sure we disconnect properly before exiting
2009-02-19 03:11:13 +00:00
Harald Welte
fb81ae9da2
restructure and enhance bs11_config
...
* add the concept of commands in addition to options
* add commands for querying essential configuration
* add command for explicit create/delete of TRX1
* software download is now an explicit operation
2009-02-19 02:59:17 +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
2c38aa8dcd
* make sure we use the correct GSM48 encoding type
...
* modify the RSL channel mode (BTS) side) after the 04.08 (MS side) has acked MODIFY
2009-02-18 03:44:24 +00:00
Harald Welte
0b8348d397
fix the parsing of the 'normal' availability status
2009-02-18 03:43:01 +00:00
Harald Welte
b110cee0a0
CONNECT TERRESTRIAL TRAFFIC needs to be in the CHANNEL object class in order to work
2009-02-18 03:42:35 +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
f9227c7562
write 160byte to one E1 TS at any given time, since that is one TRAU Frame (40 bytes) per sub-channel
2009-02-18 03:39:00 +00:00
Harald Welte
23887b607f
use official TCH/F for initial channel modes rather than BS-11 specific 0x09
2009-02-18 03:37:20 +00:00
Harald Welte
41e166884e
if TRAU frame decoding doesn't work, we don't need to even try to re-encode and just send an idle frame instead
2009-02-18 03:34:55 +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
93d3f37f6c
* disable TS3 TRAU frame handling for now
...
* statically activate two sub-slots in TS2 (need to do this dynamic later)
2009-02-18 03:27:14 +00:00
Harald Welte
bb8c4061eb
* use DEBUGP in TRAU frame code
...
* make sure we actually set 'spare' bits to 1
2009-02-18 03:24:58 +00:00
Holger Freyther
ce66896d1d
[utils] Commit not working 7bit encoder...
...
No one is using it so far, so no one gets hurt...
2009-02-17 23:42:45 +00:00
Holger Freyther
62f47773ae
[utils] Style change..
2009-02-17 20:31:35 +00:00
Holger Freyther
76c9569021
[utils] Create gsm_utils for 7bit encoding and decoding...
2009-02-17 20:31:30 +00:00
Harald Welte
9e783318b0
strip mISDN hardware header before putting B-channel data into subchannel demuxer
2009-02-17 19:02:29 +00:00
Harald Welte
311d0cf245
don't reduce power quite as much to make sure we still get a singal (bs-11) and nanoBTS doesn't refuse the attribute at all
2009-02-17 17:45:59 +00:00
Harald Welte
bfaf097905
in case pagign of the 'B-end' during call setup fails, transmit message to
...
correct lchan rather than crashing
2009-02-17 17:43:33 +00:00
Harald Welte
49dfa353e3
correctly print IPAC_CONNECT_ACK debug statement
2009-02-17 15:29:58 +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
4b45815b9d
CC: send correct messages (too much copy+paste) and better debug printout
2009-02-17 13:23:06 +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
Harald Welte
75a1fa834c
switch paging code to use a timer again, since not all BTS send reliable CCCH load indications
2009-02-17 01:39:41 +00:00