Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-08 | Bump the version for the BSC.on-waves/0.3.93 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-08 | nat: Rename bsc_write to bsc_send_data | Holger Hans Peter Freyther | 1 | -8/+8 | |
2010-04-07 | bssap: Comment and code cleanup | Holger Hans Peter Freyther | 1 | -3/+2 | |
2010-04-07 | bssap: Switch to use LOGP and pick some debug categories | Holger Hans Peter Freyther | 1 | -53/+53 | |
2010-04-07 | bssap: Another possible null derference on the code. | Holger Hans Peter Freyther | 1 | -1/+1 | |
We do not want to send a msg over the NULL lchan. Let us return fast from here. | |||||
2010-04-07 | vty: Fix the byteorder... of the bound_ip | Holger Hans Peter Freyther | 1 | -1/+1 | |
We are storing the bound_ip in host byteorder but when using ntohl we need to convert it back to to network byte order. | |||||
2010-04-07 | bssap: Speculative crash fix. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-07 | [mgcp] Print the errno/strerror when we can not receive from our socket | Holger Hans Peter Freyther | 1 | -2/+3 | |
2010-04-07 | nat: Send the reset after we have received the init ack | Holger Hans Peter Freyther | 2 | -5/+10 | |
Sending the reset right away will upset the MSC and we need to wait for the first contact. | |||||
2010-04-07 | nat: Fix the reset message and prepend the IPA header | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-04-07 | nat: Allow to realloc already allocated endpoints | Holger Hans Peter Freyther | 1 | -0/+1 | |
E.g. when the MGCP on the BSS is not responding we could block all of our endpoints. As we are mostly in the middle and forward bits we will happily reallocate the endpoints. | |||||
2010-04-07 | [mgcp] Add an option to allow using reallocing an endpoint | Holger Hans Peter Freyther | 2 | -2/+11 | |
For some mode of operation it can be acceptable to reallocate an already allocated endpoint. This can be the case when we only deal with one call agent that is keeping track of the endpoint but slightly confused. | |||||
2010-04-07 | nat: Send a GSM0808 message to the MSC when we are reconnecting | Holger Hans Peter Freyther | 1 | -0/+28 | |
The rest of the code should filter the reset ack msg. This should make the MSC give up all resources it had allocated for us. | |||||
2010-04-07 | nat: Attempt to make MGCP forwarding more robust | Holger Hans Peter Freyther | 1 | -17/+27 | |
When not being able to allocate the msgb for the forwarded data there is no point in keeping and preparing the transaction. So we can move the msg creation a bit up and only do the allocations after having done the msgb allocation. When receiving a DLCX we will now delete the endpoint right away. This means when a BSS does not respond to the DLCX our endpoint will not be blocked. E.g. this could happen when the MGCP is restarting or in similiar conditions. When the BSS is not responding we move the burden up the chain to the CallAgent. We have to still keep track of the transaction id and the bsc pointer to keep the mgcp forward routine working. | |||||
2010-04-07 | [mgcp] Count incoming RTP packets from the BTS and remote | Holger Hans Peter Freyther | 4 | -2/+14 | |
2010-04-07 | bsc_msc_ip.c: Fix the -e command line option | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | Tag on-waves 0.3.92 after the merge with masteron-waves/0.3.92 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | Merge remote branch 'origin/master' into on-waves/bsc-master | Holger Hans Peter Freyther | 58 | -916/+1167 | |
* Move to the new log code and update binaries * Catch up with lchan changes from master Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/bsc_rll.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_04_08.c openbsc/src/gsm_04_11.c openbsc/src/gsm_subscriber_base.c openbsc/src/handover_logic.c openbsc/src/silent_call.c openbsc/src/transaction.c openbsc/src/vty_interface.c openbsc/src/vty_interface_cmds.c | |||||
2010-04-06 | Increase version numberon-waves/0.3.91 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | bsc_msc_ip.c: Do not attempt to disconnect when not connected | Holger Hans Peter Freyther | 1 | -0/+2 | |
This is fixing a segfault due calling bsc_unregsiter_fd twice without being in the list. | |||||
2010-04-06 | bsc_msc_ip.c: Crash fix when the MSC disconnects | Holger Hans Peter Freyther | 1 | -2/+12 | |
Check if we do have the msc_data before invoking code in bssap.c. We might have lost the MSC connection and asked for the channel to be taken down but we might have received one last message from the BTS. | |||||
2010-04-06 | nat: Send a RLSD to the network for connections belonging to the BSC | Holger Hans Peter Freyther | 1 | -1/+27 | |
Sending a RLSD with SCCP failure makes the MSC free all the resources (MGCP, audio channels), right now we are ignoring the RLC we get from the network and print a unhandled message. | |||||
2010-04-06 | bsc_msc_ip.c: Register the SIGUSR2 handler... to really handle it. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-04-06 | nat: Print a MSG when receiving unknown SCCP messages. | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-04-06 | nat: Store the config in the connection instead of the lac | Holger Hans Peter Freyther | 5 | -11/+18 | |
This allows that we can print the Nr. next to the lac and it allows us to change the lac at runtime without reconnecting the BSC. | |||||
2010-04-06 | nat: Close the filedescriptor when ignoring the request. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-04-06 | bsc_msc_ip.c: Remove unused variable. | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-04-06 | [vty] Move the VTY logging commands to a new file | Holger Hans Peter Freyther | 5 | -209/+254 | |
Currently vty_interface.c is used for the BSC config, in case of the MGCP Gateway or the BSC Nat process these logging commands are not available. Move the commands to a new vty_interface_cmds.c file to allow to share basic commands across different programs. | |||||
2010-04-06 | [vty] Add the nat area to the list of categories. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | nat: Add logging commands for the nat as well. | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-04-06 | [mgcp] Add the logging commands for the MGCP command. | Holger Hans Peter Freyther | 2 | -1/+3 | |
2010-04-06 | [vty] Move the VTY logging commands to a new file | Holger Hans Peter Freyther | 5 | -210/+254 | |
Currently vty_interface.c is used for the BSC config, in case of the MGCP Gateway or the BSC Nat process these logging commands are not available. Move the commands to a new vty_interface_cmds.c file to allow to share basic commands across different programs. | |||||
2010-04-06 | nat: Fix thinko... use the right fd to determine the IP of the bts | Holger Hans Peter Freyther | 1 | -1/+1 | |
Use the fd of the BSC Connection to determine the IP address of the BTS as we are seeing it. | |||||
2010-04-06 | nat: Improve the log message and print the errno/strerror(errno) | Holger Hans Peter Freyther | 1 | -1/+2 | |
2010-04-06 | [mgcp] Do not patch RTP payload when type is set to -1. | Holger Hans Peter Freyther | 1 | -0/+3 | |
For the nat we might or might not want to patch it, do not patch if we have no valid rtp payload type. | |||||
2010-04-06 | nat: Set the MGCP audio payload to -1. | Holger Hans Peter Freyther | 1 | -0/+1 | |
This value is copied into the bts_audio_payload when allocating a BTS MGCP endpoint. For the nat we have actually no interest in patching MGCP messages. We will patch them to the network because the code will do it anyway, we will not patch things back to the BTS. | |||||
2010-04-06 | [mgcp] Reset the the address when freeing the endp as well | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-04-06 | Revert "nat: Remember where the BTS is listening for things." | Holger Hans Peter Freyther | 3 | -31/+1 | |
Remove the code to parse port as we need to discover the BTS behind the nat and most likely it will have a different port than the one advertised by the BTS. This reverts commit c6a1fe773d16eb20d4cb1d3097761419436f4537. | |||||
2010-04-06 | nat: Print the unknown byte as a integer instead of charachter | Holger Hans Peter Freyther | 1 | -1/+1 | |
The value might be a non printable one. | |||||
2010-04-06 | bsc_msc.c: Print the error message of the connection. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | nat: Patch IT messages as well.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
We need to patch the source/dest reference inside the messages as well otherwise we will see failures in the SCCP connection on long calls. | |||||
2010-04-06 | nat: Test forwarding Inactivity Test messages. | Holger Hans Peter Freyther | 1 | -0/+19 | |
No change needed to the code. | |||||
2010-04-05 | nat: Close all endpoints used by a BSC when the BSC is gone | Holger Hans Peter Freyther | 3 | -0/+22 | |
Cleanup all endpoints that belonged to a given BSC. This is one part of the cleanup, the other is to bring down the SCCP link properly. | |||||
2010-04-05 | nat: Remember a pending delete on an endpoint and carry it out later | Holger Hans Peter Freyther | 2 | -0/+10 | |
2010-04-05 | [mgcp] Fix navigation in the vty hierachy (make exit work) | Holger Hans Peter Freyther | 1 | -0/+3 | |
Make exit from the MGCP node work properly. | |||||
2010-04-05 | nat: Fix navigation inside the config structure (fix exit) | Holger Hans Peter Freyther | 1 | -0/+9 | |
Make sure exit in nat and nat/bsc is working and we go one level up. | |||||
2010-04-05 | nat: remove is called on already patched connections.. | Holger Hans Peter Freyther | 2 | -5/+5 | |
Fix the test to search for the original message instead of the already patched one that should not find any items anyway. The remove is called on already patched connections so we need to match it with the patch reference count. | |||||
2010-04-05 | bsc_msc_ip: Use the force_free method to free the SCCP connection | Holger Hans Peter Freyther | 1 | -2/+1 | |
Before the connection was not properly removed from the list of connections and our connection list contained a dangling pointer. | |||||
2010-04-05 | [sccp] Add a force_free method for connections | Holger Hans Peter Freyther | 2 | -0/+16 | |
E.g. when the underlying connection transport medium is gone one needs to force to close SCCP connections, add this helper. It will remove the connection from the list of connections and it will free the data. | |||||
2010-04-05 | nat: Print the SCCP ref's as hex numbers | Holger Hans Peter Freyther | 1 | -1/+1 | |
This allows to more easily compare the numbers with traces seen in wireshark. |