path: root/openbsc/contrib
AgeCommit message (Collapse)AuthorFilesLines
2014-08-21systemd: Add Install section to service filesDaniel Willmann4-0/+12
That way the services can be enabled with > systemctl enable <service>
2014-07-22mgcp: Change API to remove memory management from the nameHolger Hans Peter Freyther1-1/+1
Jacob pointed out that "free_endp" refers to the memory of the endpoint being freed. What we want is actually a way to release an endpoint (and the resource it allocated) or in the case of the testcase/testapp initialize the data structure correctly. Introduce two names for that.
2014-06-05mgcp: Move transcoding to libmgcpJacob Erlbeck2-3/+2
This patch moves the files relevant to transcoding from src/osmo-bsc_mgcp to src/libmgcp and src/include/openbsc. Makefiles and include directives are being updated accordingly. Sponsored-by: On-Waves ehf
2014-06-05mgcp: Extend the CLI transcoding tool by ptime conversionJacob Erlbeck1-3/+21
This modification allows it to set the number of samples per packet that is written to the output. Sponsored-by: On-Waves ehf
2014-06-05mgcp: Add packet size (ptime) conversionJacob Erlbeck1-14/+38
The current transcoder implemenation always does a 1:1 recoding concerning the duration of a packet. So RTP timestamps and sequence numbers are not modified. This is not sufficient in some cases, e.g. when the BTS does only allow for a single fixed ptime. This patch decouples encoding from decoding and moves the decoded samples to the state structure so that samples can be combined or drain according to the packaging of incoming and outgoing packets. This patch incorporates parts of Holger's experimental fixes in 0e669e05^..9eba68f9. Ticket: OW#1111 Sponsored-by: On-Waves ehf
2014-06-05mgcp: Add CLI tool to test audio conversionJacob Erlbeck2-0/+108
This tool uses mgcp_transcode.c to convert audio data from stdin to stdout. Sponsored-by: On-Waves ehf
2014-05-09contrib/rtp: Use payload data files directly by gen_rtp_headerJacob Erlbeck1-4/+30
This adds a --frame-size option to read payload binary files with a fixed frame size directly. The file must not contain RTP headers. In addition '--rate' and '--duration' can be used to configure the timing. Sponsored-by: On-Waves ehf
2014-03-21systemd: Add service for the osmo-sgsnHolger Hans Peter Freyther1-0/+8
Fixes: SYS#175
2014-03-21systemd: Saying these services restart once should be enoughHolger Hans Peter Freyther2-2/+0
2014-03-13systemd: Remove the second occurance of Restart=alwaysHolger Hans Peter Freyther1-1/+0
2013-12-18contrib/rtp: Fix default payload caseJacob Erlbeck1-1/+3
There is the wrong record field selection being used to extract the default value. It returns the tuple offset instead of the value. This patch fixes this. Sponsored-by: On-Waves ehf
2013-12-13contrib/rtp: Add tool to create RTP state filesJacob Erlbeck1-0/+392
This tool provides the following features: - Output formats: state, C arrays - Optionally take RTP payload from existing state files - Generate streams with RTP timestamp jumps and/or delays - Set/change SSRC or payload type Requires erlang to be installed. Example: Generate 300 packets, set playout time offset to 1s, set RTP timestamp offset to 8000 (1s), generate another 100 packets, the RTP payload is copied from rtp.state: ./gen_rtp_header.erl --type=98 --file=rtp.state -- 0 300 0 --delay=1.0 100 8000 Sponsored-by: On-Waves ehf
2013-12-13contrib/rtp: Enhance RTP replay toolJacob Erlbeck2-5/+19
This patch adds optional parameters to pass the state file, the destination address (default, the destination port (default 4000), the source port (default 0). So it is called as follows: gst -a [FILE [HOST [SOURCEPORT [DESTPORT]]]] In addition, nonexistant FILEs are no longer created but opened read-only instead. Sponsored-by: On-Waves ehf
2013-11-14rtp: Take the parameter from the argumentsHolger Hans Peter Freyther1-1/+1
$ gst -a FILE
2013-06-24Introduced support for external python testsKaterina Barone-Adesi1-57/+0
The test scripts warn about missing documentation, untested configs, check common errors, and stub out testing individual VTY commands. The scripts have been moved to the another osmocom repository, python/osmo-python-tests The features were requested by zecke. Also extract documentation for SGSNHarald Welte1-0/+1
2012-09-20mgcp: Add the disable color option to the mgcp binaryHolger Hans Peter Freyther1-1/+1
2012-09-20systemd: Add service units for the BSC, NITB and MGCPHolger Hans Peter Freyther3-0/+28
Add simple systemd service units.
2012-09-07contrib: Add some SQL statements to remove old subscribersHolger Hans Peter Freyther1-0/+18
2012-08-14docs: Do not remove too much from of the dumped online helpHolger Hans Peter Freyther1-1/+1
Use the len of the end and not the filename.
2012-08-05contrib: Create a script that opens a SIP session beforeHolger Hans Peter Freyther2-4/+130
Use the Smalltalk SIP implementation to create a call and once the call has been established start the replay using the commoncode. No patching of RTP occurs yet.
2012-08-05contrib: Move the shared code into a new fileHolger Hans Peter Freyther2-62/+71
2012-08-05contrib: Make the RTPReplay a a class so it can be sharedHolger Hans Peter Freyther1-47/+68
2012-07-28misc: Introduce a script tha generates the VTY referenceHolger Hans Peter Freyther1-0/+56
Update/Move/Create example configuration files for NiTB, BSC, MGCP, NAT and the GbProxy. Create a script that starts, generates the vty reference and terminates the application.
2012-05-18rtp: Add a smalltalk script that can replay the state file.0.11.0Holger Hans Peter Freyther1-0/+56
2012-05-18rtp: Add lua script to split a trace by SSRC/streamsHolger Hans Peter Freyther1-0/+28
This can be used to replay RTP streams with more or less the same timing as the original one.
2011-08-22contrib/ Patch by Holger to handle connection resetsDaniel Willmann1-0/+4
2011-07-13Add example to communicate through the control interfaceDaniel Willmann1-0/+100
2011-05-31nat: Add a test utility for the number rewritingHolger Hans Peter Freyther1-0/+30
2011-05-10gprs: Add a lua script to collect buffers on the downlink.Holger Hans Peter Freyther1-0/+80
This can be used to throw the data into GNUplot. It collects the time (from the start of the trace), the buffer data in kbyte and the number of buffered PDUs. It is assuming that no PDU is delivered toward the target.
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