aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib
AgeCommit message (Collapse)AuthorFilesLines
2010-12-26sms: Add a simple SystemTap probe to see SQL queriesHolger Hans Peter Freyther1-0/+5
This will proble all queries done in the system. This can help to identify some issues with libdbi's performance.
2010-12-26sms: Add a script to query for unsent SMSHolger Hans Peter Freyther1-0/+10
This is generating the query statement. It can be used to play with database indexes and such.
2010-12-26sms: Add dummy script to create subscribers and SMSHolger Hans Peter Freyther1-0/+66
This is creating 1000 subscribers and 30 SMS each. The SMS itself is badly formatted (not a valid 7bit encoding) but it should be enough for a stress test.
2010-11-26test: Add shell script to drop the OML in fixed intervalsHolger Hans Peter Freyther2-0/+14
2010-11-15bsc: Add script to hang up the MSC connection every 58sHolger Hans Peter Freyther1-0/+8
2010-11-15bsc: Add wild scripts to do dial testing with a Motorola A1200Holger Hans Peter Freyther4-0/+24
2010-10-20lua: Mention that the code has some bugs...Holger Hans Peter Freyther1-0/+1
2010-10-20lua: Search for clear requests from the network as wellHolger Hans Peter Freyther1-0/+3
2010-10-20lua: Check BSSMAP msgtypes in one function..Holger Hans Peter Freyther1-15/+7
2010-10-20lua: Check for Cipher Mode Reject failures as wellHolger Hans Peter Freyther1-0/+13
2010-10-20lua: Check for assignment failuresHolger Hans Peter Freyther1-0/+13
2010-10-20lua: Check for disconnects with non normal release tooHolger Hans Peter Freyther1-0/+38
2010-10-20lua: Fix the indenting of the fileHolger Hans Peter Freyther1-1/+1
2010-10-20contrib: Add LUA script to store SCCP connections with ErrorsHolger Hans Peter Freyther1-0/+110
Split the trace based on SCCP Connections, in case an error is detected, the trace will be stored instead of being deleted and the full log can be viewed afterwards. Right now only LU Rejects are recognized, but this can be extended to other things as well.
2010-06-08GPRS: Have a simple map from BSSGP PDU to the name...Holger Hans Peter Freyther1-1/+17
Sadly the FieldInfo does not provide this mapping...
2010-06-08GPRS: Add something that should have become a histogram display...Holger Hans Peter Freyther1-0/+62
One small problem... there is no way to be called at the end of reading a pcap file...
2010-06-07GPRS: Print the IP address to see the direction...Holger Hans Peter Freyther1-1/+1
2010-06-07GPRS: It is TLLI and not TTLI...Holger Hans Peter Freyther2-16/+16
2010-06-07GPRS: Show the TLLI as hex value...Holger Hans Peter Freyther2-3/+8
2010-06-07GPRS: Add script to track the N(U) on GPRS LLC messages..Holger Hans Peter Freyther1-0/+55
tshark -q -X lua_script:gprs/gprs-verify-nu.lua -r trace.pcap Output: JUMP in N(U) on TLLI 3741437425 and SAPI: 9 last: 1 now: 3 JUMP in N(U) on TLLI 3741437425 and SAPI: 9 last: 10 now: 12
2010-06-07GPRS: Add wireshark lua script to split a trace by TLLIHolger Hans Peter Freyther1-0/+45
This is currently only looking at one TLLI and is splitting the trace by that TLLI...
2010-06-07GPRS: Move test script into subdirectory..Holger Hans Peter Freyther1-0/+0
2010-05-28fix typo in gb-proxy-unblock-bug.pyHarald Welte1-1/+1
2010-05-28gprs: Simplify test case code..Holger Hans Peter Freyther1-18/+17
2010-05-28gprs: Add reset procedure example...Holger Hans Peter Freyther1-0/+59
start with the port of the SGSN as parameter. It is assumed the SGSN is on the same machine and can be reached via 127.0.0.1.
2010-04-05[mgcp] Use a different port to more easily differentiateHolger Hans Peter Freyther1-1/+1
2010-04-05[mgcp] Start to look into the MGCP messages and extract the CIHolger Hans Peter Freyther1-11/+17
we will need the call identifier for the MDCX and DLCX message for now we were just assuming it would increment, use som python to extract the CI from a possible response, also switch back to a blocking read to test the BSC nat.
2010-04-05[mgcp] Fix the transaction id of the AUEP requestHolger Hans Peter Freyther1-1/+1
2009-11-20[contrib] Add a utility to convert an IE page to an enumHolger Hans Peter Freyther1-0/+37
This script is parsing the values, converting the bits into a number and replacing the text... This should help to go from spec to code more quickly... next thing would be this for the structs used...
2009-11-20[mgcp] Add a simple mgcp gateway used for the BSCHolger Hans Peter Freyther1-0/+54
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-19misc: Add routine to generate backtrace from within the applicationHolger Hans Peter Freyther1-0/+33
E.g. to analyze the subscr_get/subscr_put behavior one can place the generate_backtrace into the functions, recompile and then filter the output with contrib/bt.py to get the function name, file and line.