osmo-bsc/openbsc/include/openbsc
Holger Hans Peter Freyther f67945f004 [mgcp] Add a simple mgcp gateway used for the BSC
The python script is a simple call-agent driving the
client. Currently it is sending a AuditEndpoint message
and is printing the result.

The bsc_mgcp.c is a standalone process that will implement
a MGCP Gateway for the MSC. On call handling the Call-Agent
will ask the Gateway to "CreateConnection" and then this
gateway needs to communicate with OpenBSC.

Currently CreateConnection,ModifiyConnection,DeleteConnection
and Endpoint auditing is implemented.

[mgcp] Send RSIP on start and on first receive of any message

Ignore the first request and send a RSIP. We do that because
we might tunnel UDP through some other things and have no direct
way to connect to the call-agent.
Also the transaction is not checked and we ignore the response
from the call-agent, actually we print the '200 ' or any other
value as unhandled...

[mgcp] Print the MGCP command next to the response code

This allows to see which commands were sent by the server

mgcp: Terminate it with a new line

[mgcp] Make number of endpoints static...

For now this is fixed to the number of endpoints as of the GSM
specification...

[mgcp] The endpoint names seem to be base 16... use strtoul to parse

Use strtoul to parse the base 16 number from the mgw string.

[mgcp] Log the endpoints as hex numbers...

[mgcp] Only send the RSIP on the first incoming message..

Remove call_agent option (also remove the number from the getopt
call).

[mgcp] Start couting at 1 for the mgcp

[mgcp] Slight attempt to improve the grammar of the strings

[mgcp] Share validation routines between DLCX and MDCX

[mgcp] Remove help for dead config options

[mgcp] Specify a different IN addr in the SDP records

In case of NAT traversal be able to listen on a given
interface (like 127.0.0.1) but claim to receive data
at the beginning of the tunnel.

[mgcp] Fix the static copy of the SDP file

WIP verify out factoring broken..

[mgcp] Introduce VTY to the mgcp for config file parsing...

Parse the MGCP config file via the VTY framework.

[mgcp] Handle SDP parameters through VTY..

Currently the payload type, name and rate can be specified
in the config file.

[mgcp] Add an option to bind all rtp ports early

This can be useful for testing and in deployment to make sure
no runtime resource limit can be hit.

[mgcp] Add some API doc comment

[mgcp] Convert the packets of the example server to ascii

This will allow to easily patch the call id... to run the
server in a loop and make it work with the mediagateway

[mgcp] Assign CI_UNUSED... to be more obvious...

[mgcp] Use DEBUG and not DEBUGPC and specially not printf

Improve the logging a bit in the mgcp

[mgcp] Change the fake server to change the call id

This assume the call-agent will just increment the id
as well.... this is true for our implementation

[mgcp] Generate the transaction id dynamically..

This way wireshark will be more happy about it...

[mgcp] Recognize responses from the network..

This is just recognizing the response code and
then is doing nothing with it. Also change the
script to generate response messages...

[mgcp] Improve debug messages for CRCX/MDCX..

Log on which ports the media gateway is listening
and where the other (server) gateway is located
2009-11-20 14:05:04 +01:00
..
Makefile.am misc: Fix make distcheck and welcome the two new header files to OpenBSC 2009-10-27 10:14:04 +01:00
abis_nm.h [OML] fix bugs in BCCH info parser for ip.access 2009-11-13 14:41:52 +01:00
abis_rsl.h [ipa] Change names of RTP methods to follow MGCP naming 2009-11-19 09:40:03 +01:00
bsc_rll.h Add new BSC RLL layer of code 2009-08-09 13:47:35 +02:00
call_handling.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
chan_alloc.h move search for existing lchan for subscriber to new function 2009-08-09 18:52:33 +02:00
db.h store all APDU's received from the MS in the database 2009-08-16 10:40:10 +02:00
debug.h [debug] Add a debug area for the MGCP code of On Waves 2009-11-20 13:07:02 +01:00
e1_input.h misc: Add prototypes to header files, include more header files 2009-08-10 07:54:02 +02:00
gsm_04_08.h [lchan] RSL and RR need the multirate config, place it in the lchan 2009-11-19 11:42:03 +01:00
gsm_04_11.h Forward declare methods to fix compiler warnings 2009-10-22 15:39:37 +02:00
gsm_04_80.h [USSD] various USSD improvements 2009-10-26 20:39:26 +01:00
gsm_data.h [lchan] RSL and RR need the multirate config, place it in the lchan 2009-11-19 11:42:03 +01:00
gsm_subscriber.h [USSD] various USSD improvements 2009-10-26 20:39:26 +01:00
gsm_utils.h misc: Add routine to generate backtrace from within the application 2009-11-19 09:40:03 +01:00
ipaccess.h ip.access: Header has a 16bit length in network byte order 2009-10-29 16:33:59 +01:00
linuxlist.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
mgcp.h [mgcp] Add a simple mgcp gateway used for the BSC 2009-11-20 14:05:04 +01:00
misdn.h misc: Add prototypes to header files, include more header files 2009-08-10 07:54:02 +02:00
mncc.h comments about the bearer_capability structure 2009-07-29 11:39:02 +02:00
msgb.h [msgb] Add msgb_reset to reset an existing msgb* to the initial state 2009-10-21 16:38:13 +02:00
openbscdefines.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
paging.h provide return code from paging_request() function 2009-08-15 03:16:17 +02:00
rs232.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
rtp_proxy.h add new rtp_proxy code, but not use it yet 2009-07-28 00:01:58 +02:00
select.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
signal.h [ipa] Change names of RTP methods to follow MGCP naming 2009-11-19 09:40:03 +01:00
silent_call.h silent call: add header file for function prototypes 2009-11-17 06:00:23 +01:00
subchan_demux.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
talloc.h the actual config file code (not just config files) 2009-08-08 16:12:58 +02:00
telnet_interface.h [telnet] Remove unused variables from the telnet interface 2009-11-17 09:46:33 +01:00
timer.h misc: Make bitfields unsigned int... 2009-10-27 10:42:28 +01:00
tlv.h [TLV] Split the parser into 'parse loop' and 'parse single value' 2009-10-26 20:19:59 +01:00
transaction.h respect the link_id, not only the SAPI from SMS code 2009-08-14 11:41:12 +02:00
trau_frame.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
trau_mux.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
ussd.h Add USDD code from Mike Haben 2009-10-26 20:39:25 +01:00