aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-10-13nat: Make the queue routine work on any write_queueHolger Hans Peter Freyther2-1/+7
2010-10-13ipaccess: Put our extensions to the protocol into the same enumHolger Hans Peter Freyther7-9/+11
Rename NAT_IPAC_PROTO_MGCP to IPAC_PROTO_MGCP and place it in the enum. We need to be prepared to change this number if IPA is ever going to use it for something else.
2010-10-13Require libosmocore 0.1.24 due the USSD changes.Holger Hans Peter Freyther1-1/+1
2010-10-12misc: Replace the idiom for replacing a string with a function callHolger Hans Peter Freyther8-57/+29
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-12socket: Plug resource leak when the listen call is failing.Holger Hans Peter Freyther1-0/+1
2010-10-12misc: Attempt to determine byte order in a cross-platform wayHolger Hans Peter Freyther2-2/+18
OSX does not provide an endian.h, use the other header files that should define/include what we need. Also check that the byteorder define is available.
2010-10-12ussd: Catch up with libosmocore and pass the gsm48_hdrHolger Hans Peter Freyther1-1/+3
2010-10-10ussd: Move the code libosmocore, increase the version number.Holger Hans Peter Freyther3-197/+2
Move the code to libosmocore, update the header file and the version required in the configure.in.
2010-10-08nat: Allow a BSC to have multiple LACsHolger Hans Peter Freyther5-29/+112
Make it possible that one BSC is serving multiple cells. Introduce a list of lacs, add functions to manipulate the lists. The current test cases for paging by lac continue to work.
2010-10-07msc: Only unregister the fd if the fd value is valid.Holger Hans Peter Freyther1-1/+3
This makes sure that someone can call bsc_msc_lost multiple times even if there is no MSC connection. This makes sense as bsc_msc_lost is public and be called from client code.
2010-10-07msc: Stop the connection timeout when we unregister the bfdHolger Hans Peter Freyther1-1/+4
When we dropped the connection... stop the timer as we might call bsc_unregister_fd twice...
2010-10-06misc: Once again go from "On Waves" to "On-Waves"..Holger Hans Peter Freyther11-11/+11
Try to get the company name of our sponsor right...
2010-10-05[VTY] T3212 scaling is 6 minutesDieter Spaar1-2/+2
The scaling of T3212 is in units of 6 minutes, not 10 minutes.
2010-10-06nat: Possible crash fix, only filter non local connectionsHolger Hans Peter Freyther1-10/+13
For local connections con_msc is not set and sending a RLSD to the network would have ended up in a segfault.
2010-10-06nat: Work around trying to forward a msg to a msc that does not existHolger Hans Peter Freyther1-1/+7
Instead of segfaulting warn the user that the MSC Connection does not exist...
2010-10-06nat: Use the right access list for the stats (found by clang)Holger Hans Peter Freyther1-1/+1
2010-10-06db.h: Move the '*' to the other side for the gsm_subscriberHolger Hans Peter Freyther1-7/+7
2010-10-03nat: Provide statistics about amount of different messages.Holger Hans Peter Freyther3-1/+40
Provide simple statistics on how many LUs, Paging Responses etc. we are seeing in the network.
2010-09-30gsm_04_80: Require libosmocore for creating USSD messagesHolger Hans Peter Freyther4-146/+3
Use the libosmocore to create USSD messages, increase the minimum version of libosmocore, add header files, remove the code.
2010-09-30gsm0408: Reorder the includes, openbsc first, osmocore secondHolger Hans Peter Freyther1-6/+7
2010-09-30gsm0480: Reorder the includes, openbsc first, osmocore secondHolger Hans Peter Freyther1-3/+4
2010-09-25nat: Keep track of how many connections we rejectHolger Hans Peter Freyther3-1/+35
Keep track of how many connections we reject due the IMSI filter itself or due not being able to parse the message.
2010-09-25nat: Print the statistics of the access-list matchesHolger Hans Peter Freyther1-0/+18
Print the statistics for the rule matches via the vty.
2010-09-25nat: Add statistics to the access-list in the NATHolger Hans Peter Freyther2-0/+30
Count how many times we match a BSC or NAT deny. This will give us the number of how often something should be filtered.
2010-09-24nat: Fix the filter when searching for a identity responseHolger Hans Peter Freyther1-5/+5
The filter code will return < 0 for error, 0 for unknown subscriber, 1 for subscriber checked. Use the same if construct as for the CR message. This should fix passing LU when it starts with a TMSI of a different network.
2010-09-24mgcp: Return 0 in case transcoding is disabled.Holger Hans Peter Freyther1-1/+1
In case transcoding is disabled no error has happened, return a zero. This is fixing starting the nat without transcoding.
2010-09-21auth: Fix AuthTupe re-use conditionSylvain Munaut1-1/+1
It's not the key_seq of the last authtuple we must check, but the one sent by the MS. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-21auth: Fix XOR algorithmSylvain Munaut1-1/+1
Thanks to the person on the ml that pointed this bug. Sorry I don't remember who (it was a while ago and somehow didn't got fixed at that time) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-20Merge branch 'zecke/mgcp-transcoder'openbsc/0.9.80.9.8Holger Hans Peter Freyther8-75/+387
2010-09-20mgcp: Count the packets that arrive on the transcoderHolger Hans Peter Freyther2-1/+3
2010-09-20mgcp: Remove code duplication for filling out the sockaddr_inHolger Hans Peter Freyther1-22/+15
Share the send to transcoder sockaddr sending routines.
2010-09-20nat: Send a transcoder reset on start up.Holger Hans Peter Freyther3-0/+29
The transcoder RESET is using the same extensions to reset all endpoints on a remote site. This makes sure that all allocations can be made in a properly configured network.
2010-09-20mgcp: Make the base port of the transcoder configurableHolger Hans Peter Freyther4-4/+20
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping.
2010-09-20mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder.Holger Hans Peter Freyther1-0/+102
Send CRCX/MDCX/DLCX to the transcoder, fill out transcoder_end with the interesting data and hope that it is going to work.
2010-09-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther4-8/+128
Bind a new port for the transcoder, forward data from the BTS to the transcoder, and from the transcoder to the network. Leave BTS-IN where it is, BTS-OUT can now be after the transcoding took place. We send the data from the BTS RTP port. This whole route will be guarded by the transcoder_ip and if it is NULL (current default) it will not go through the transcoder.
2010-09-20mgcp: Add ports for the transcoder as wellHolger Hans Peter Freyther2-0/+28
2010-09-20mgcp: Share the range parsing code for net/btsHolger Hans Peter Freyther1-14/+20
2010-09-20mgcp: Add a transcoder-mgw command to store the addressHolger Hans Peter Freyther2-0/+19
2010-09-20nat: Keep the audio name and default payload aroundHolger Hans Peter Freyther1-5/+0
For all forwarded messages this will not be used, but it is of use for the transcoding.
2010-09-20nat: Use the write_queue inside the CFG.Holger Hans Peter Freyther2-39/+39
2010-09-20mgcp: Keep the gw_fd inside the mgcp_configHolger Hans Peter Freyther2-12/+14
Move the bfd from a static var into the mgcp_config.
2010-09-20mgcp: Be able to parse 'sendonly' for the connection mode.Holger Hans Peter Freyther1-0/+2
2010-09-20mgcp: Switch the default audio codec to AMRHolger Hans Peter Freyther1-2/+2
2010-09-20nat: NULL check the allocation and print a nice warning.Holger Hans Peter Freyther1-0/+6
2010-09-20mgcp: Remove the hack to remap timeslot one...Holger Hans Peter Freyther1-5/+7
The timeslot one is blocked and should not be used, replace the code with a warning and watch out for it. Tis is most likely due the uncovered in the previous commit due the wrong TLV definition.
2010-09-20nat: Test for a bug inside the TLV definition for GSM 08.08Holger Hans Peter Freyther2-3/+22
The 0x1 inside a CIC IE could indicate a new IE... add test data and test case to verify that the patching works correctly.
2010-09-20nat: Test the endpoint finding a bit better...Holger Hans Peter Freyther1-3/+5
2010-09-18janitor: Move the * to the variable nameHolger Hans Peter Freyther13-17/+17
2010-09-17db: Declare db_sms_inc_deliver_attempts.Holger Hans Peter Freyther1-0/+1
2010-09-17gsm 04.11: increase the delivery attempt counter for an SMS right away in ↵Nico Golde1-1/+1
gsm411_send_sms Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>