Holger Hans Peter Freyther
88519eaaef
msc: Add includes to silence a compiler warning.
2010-06-30 12:59:20 +08:00
Holger Hans Peter Freyther
2486663844
ussd: Release the MSC connection as fast as possible..
2010-06-30 12:15:19 +08:00
Holger Hans Peter Freyther
06abe9f383
ussd.c: Make sure text is memset to zero..
...
Make the strstr fail fast, make sure the text is null terminated...
2010-06-30 11:59:30 +08:00
Holger Hans Peter Freyther
d42c3f25a6
bsc_api: Remove the lchan from the USSD code...
2010-06-17 17:35:57 +08:00
Holger Hans Peter Freyther
68884aa156
lchan: Create a structure for MSC data of the lchan
...
Prepare to split the BSC and the MSC part by putting the
MSC data for a connection into a "gsm_subscriber_connection"
struct and renaming the macros.
2010-03-25 09:07:28 +01:00
Mike Haben
2449b37dfe
[USSD] various USSD improvements
...
- Improved handling of extension-number string (as per review)
- Guard against a buffer-overflow if mobile sends a too-long USSD
- declare some function-parameters const
- fix gsm_ts_name function to display the right BTS number (bts->nr rather than bts->bts_nr)
2009-10-26 20:39:26 +01:00
Mike Haben
dc329a6cdb
[USSD] eliminate static global variables
...
This patch removes the need of static global variables and introduces a new,
caller-allocated 'struct ussd_request' that needs to be passed to the various
functions.
2009-10-26 20:39:26 +01:00
Harald Welte
6307b85700
whitespace fixes for the USSD code
...
This patch is not changing any actual code, just coding style fixes.
2009-10-26 20:39:26 +01:00
Harald Welte
6eafe9137c
Add USDD code from Mike Haben
...
This is the initial checkin of the USSD code from Mike Haben. I didn't
put it in the main branch as I think it still needs some cleanup.
2009-10-26 20:39:25 +01:00