aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-11-02Merge branch 'zecke/mgcp-transcoder'openbsc/0.9.110.9.11Holger Hans Peter Freyther4-103/+163
2010-11-02mgcp: Send data from the network to the transcoder tooHolger Hans Peter Freyther2-16/+12
We now should be able to transcode in both directions.
2010-11-02mgcp: Use the calculated remote port from the mgcp_rtp_endHolger Hans Peter Freyther1-4/+2
2010-11-02mgcp: Make the transcoding forwarding work for BTS/NETHolger Hans Peter Freyther1-19/+33
Share the implementation for the transcoded packets and forward them to the network and the bts.
2010-11-02mgcp: Refactor the network binding routinesHolger Hans Peter Freyther1-47/+26
Create another wrapper function that takes most of the arguments from the caller.
2010-11-02mgcp: Introduce trans_bts and send BTS packets from this portHolger Hans Peter Freyther4-18/+67
Introduce the trans_bts. Right now only a port is allocated and the packets from the BTS are sent from this socket.
2010-11-02mgcp: Keep the local_port like it was set on allocationHolger Hans Peter Freyther1-3/+4
Do not reset statically allocated local_port. The port might be different to the calculation of endpoint number and base port. This might be the case for the coming remote transcoding.
2010-11-01mgcp: Rename transcoder_end to trans_netHolger Hans Peter Freyther4-23/+24
Packets arriving for trans_net will be send out to the networking. We will introduce a trans_bts in a second.
2010-11-01mgcp: Allow to disable the transcoder in a running system.Holger Hans Peter Freyther1-0/+15
2010-11-01mgcp: Make transcoding a per Endpoint configurationHolger Hans Peter Freyther3-9/+16
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems.
2010-11-01mgcp: Fix the indetion of this code. it should use tabsHolger Hans Peter Freyther1-1/+1
2010-10-29nat: Send a clear command in case of connection releases.Holger Hans Peter Freyther1-7/+29
This should help the BS+ to release RF channels earlier.
2010-10-28nat: Add test case for matching phone numbersopenbsc/0.9.100.9.10Holger Hans Peter Freyther1-0/+62
Add the test case for matching '*' and for not matching at all
2010-10-28nat: Fix a thinko in allowing '*' as a wildcard...Holger Hans Peter Freyther1-2/+2
We need to match everything BUT the wildcard and then do the normal strcmp...
2010-10-27Merge branch 'zecke/number-rewrite'openbsc/0.9.90.9.9Holger Hans Peter Freyther6-1/+304
2010-10-27Merge branch 'zecke/ussd-side-channel'Holger Hans Peter Freyther4-4/+68
2010-10-27Require 0.1.27 for the new gsm0808 methodsHolger Hans Peter Freyther1-1/+1
2010-10-27nat: Also send a Clear Command in case of the USSD Provider diesHolger Hans Peter Freyther1-0/+23
2010-10-27nat: Close SCCP connections when the USSD Provider is closed.Holger Hans Peter Freyther3-1/+42
Send a RLSD down to the BSC in case the USSD Provider is gone. It is not sending a Clear Command and ut depends if the BS+ will like this kind of behavior. At least the data on the NAT will be freed soon afterwards due the RLC message.
2010-10-27nat: Make clear where the RLSD is send toHolger Hans Peter Freyther1-2/+2
Add a _msc to the method as we will send a RLSD to the MSC and will add a method to send it down to the BSC as well.
2010-10-27nat: Look at the number type to figure out if we want to rewrite itHolger Hans Peter Freyther1-1/+3
2010-10-27nat: Explain that we do not want to have a + in the replacement ruleHolger Hans Peter Freyther1-0/+6
2010-10-27nat: Add '*' as wildcard for the IMSI matching.Holger Hans Peter Freyther1-2/+2
In case any rule has a '*' we will always match this rule.
2010-10-27nat: Implement rewriting, have a very basic test for that featureHolger Hans Peter Freyther5-4/+250
2010-10-27nat: Add hook for rewriting a setup messageHolger Hans Peter Freyther3-1/+20
Create a new function, hand the data to this function, take back a possible modified msgb and invalidate parsed at this point.
2010-10-27nat: Add vty option for number rewritingHolger Hans Peter Freyther2-0/+30
Parse a msg file in case we do have a list.
2010-10-26[vty] First set of fixes for the oml/rsl con droppingHolger Hans Peter Freyther1-4/+7
The code had wrong documentation in the VTY, it crashed when OML or RSL was not up yet. These issues are fixed right now.
2010-10-26[vty] Add ipa specific command to provoke failures to test OML/RSL reconnectHolger Hans Peter Freyther1-0/+50
We need to simulate OML/RSL failure in an easy and fast way and adding a command to do so seems like a good way to achieve this. The command is a bit misplaced, in one way it is no config and does not belong into the config node but then again it does not belong into the VIEW_NODE either as it is manipulating content. On this merge I have changed it to the ENABLE_NODE.
2010-10-25Merge branch 'zecke/ussd-side-channel'Holger Hans Peter Freyther7-5/+467
2010-10-25nat: Forward the data coming from the USSD module to the BSC.Holger Hans Peter Freyther1-3/+44
2010-10-25nat: Forward extra state and the message to the USSD providerHolger Hans Peter Freyther2-4/+39
Forward the SCCP state and the data to the USSD provider, also mark the connection as local.
2010-10-25ipaccess: Add a structure for informing the USSD provider about the stateHolger Hans Peter Freyther1-0/+12
This is used to inform the USSD provider about the state of the connection.
2010-10-25nat: Implement accepting a USSD Provider connection, do authenticationHolger Hans Peter Freyther4-1/+205
2010-10-25nat: Replace the idiom for replacing a string with a function callHolger Hans Peter Freyther1-12/+4
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right.
2010-10-25nat: Keep a ussd token in the configHolger Hans Peter Freyther2-0/+30
We will have the USSD provider connecting to us and we will use the IPA protocol, including the auth mechanism.
2010-10-25nat: Implement the matching of certain USSD messagesHolger Hans Peter Freyther1-1/+63
Have various checks, check if the IMSI should be handled, if there is a USSD query set and then decode and compare the value.
2010-10-25nat: Add an option to set the query string to matchHolger Hans Peter Freyther2-0/+16
Allow the query string to be set. The ussd matching code will check for this string and then forward it to the bypass.
2010-10-25nat: Make the imsi checking function public.Holger Hans Peter Freyther2-2/+3
We will use this method in the USSD module to check if the IMSI should be handled for USSD queries.
2010-10-25nat: Provide a USSD access list to check for which to play HLR.Holger Hans Peter Freyther2-0/+18
2010-10-25nat: Create a USSD module to filter out USSDs...Holger Hans Peter Freyther4-1/+43
2010-10-25nat: Introduce a new connection type for Supplementary ServicesHolger Hans Peter Freyther2-2/+11
If we have a CM Service Request we will look into the message to see if it is a Supplementary Service Activation.
2010-10-21nat: Move the DTAP unpacking into a new methodHolger Hans Peter Freyther2-13/+24
DTAP unpacking will be used by the USSD checking code
2010-10-21nat: Copy the IMSI, then free it or move the context to the connectionHolger Hans Peter Freyther4-10/+32
Extract the IMSI from the first message as well and safe it in the connection structure. The problem is that we do not have this structure at this point, so we will allocate the imsi as child of the bsc_connection and then move/steal it.
2010-10-21nat: Store the IMSI inside the SCCP Connection dataHolger Hans Peter Freyther2-0/+2
Store the IMSI for the connections that we are tracking, it will be freed when the normnal SCCP connection is freed.
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