Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-31 | [mgcp] Set the IP_TOS/DSCP on RTP/RTCP IP packets. | Holger Hans Peter Freyther | 2 | -0/+23 | |
2010-05-22 | [misc] Remove spaces, fix indention. | Holger Hans Peter Freyther | 2 | -3/+3 | |
2010-05-22 | [mgcp] Only patch RTP packets when they arrived on the RTP port | Holger Hans Peter Freyther | 1 | -2/+4 | |
Do not attempt to patch RTCP packets... | |||||
2010-05-14 | [mgcp] Clean up VTY code, the ranges are checked by the VTY code. | Holger Hans Peter Freyther | 1 | -20/+0 | |
2010-05-14 | [mgcp] Use A.B.C.D for the ip addresses inside the vty config | Holger Hans Peter Freyther | 1 | -4/+4 | |
Make the vty code parse the ip addresses for us and validate them for us. | |||||
2010-05-14 | [mgcp] Improve the language of the comments. | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-05-14 | [mgcp] Include stdlib.h for abs. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-05-14 | [mgcp] Use tabs here.. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-29 | [mgcp] Remove talloc.h header. | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-04-24 | [mgcp] Possible memleak fix for the allowed reallocation case | Holger Hans Peter Freyther | 1 | -0/+1 | |
When allowing to reallocate an allocated endpoint we will need to free it first. When freeing we will free the call id and other ids that we would have leaked otherwise. | |||||
2010-04-22 | [mgcp] Add a change callback and send a dummy packet on MDCX. | Holger Hans Peter Freyther | 1 | -0/+10 | |
Send a dummy packet to make sure our Gateway will discover us and can send the ringtone to us. | |||||
2010-04-22 | [mgcp] Ignore every dummy packet... | Holger Hans Peter Freyther | 1 | -7/+7 | |
This routine should operate on different packets and the dummy load is smaller than a legitimate RTP header so it is unlikely we will filture out genuine traffic. The reason is the dummy load might be send more than once. | |||||
2010-04-22 | [mgcp] Protocol extension to not generate answers. | Holger Hans Peter Freyther | 1 | -0/+24 | |
For the NAT we want to send requests in a send and forget way and we are not interested in seeing the answers, so tell the gateway to not answer them. | |||||
2010-04-22 | [mgcp] Print a Deleted endpoint message again. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-04-21 | [mgcp] Add a dummy send method... | Holger Hans Peter Freyther | 1 | -0/+18 | |
This can be used by higher level code to send one dummy message from the audio port to the network. This can be used to make the remote discover the nated port of this endpoint. | |||||
2010-04-16 | [mgcp] Fix vty file generation for the BSC nat and other cases | Holger Hans Peter Freyther | 1 | -6/+8 | |
The current setting was not properly written out, this commit is fixing it. This includes indention, empty bts ip, wrong command for endpoints and the wrong number (+1 as zero is allocated but unused). | |||||
2010-04-13 | [mgcp] Only write audio_name/payload when it is actually set. | Holger Hans Peter Freyther | 1 | -2/+4 | |
2010-04-09 | [mgcp] Improve the endpoint display on the vty.. | Holger Hans Peter Freyther | 1 | -1/+1 | |
Make sure one understands the two values for number of incoming packets.. | |||||
2010-04-09 | [mgcp] Print the IP addr of the BTS we have detected. | Holger Hans Peter Freyther | 1 | -2/+3 | |
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 | [mgcp] Add an option to allow using reallocing an endpoint | Holger Hans Peter Freyther | 1 | -2/+8 | |
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 | [mgcp] Count incoming RTP packets from the BTS and remote | Holger Hans Peter Freyther | 3 | -2/+10 | |
2010-04-06 | Merge remote branch 'origin/master' into on-waves/bsc-master | Holger Hans Peter Freyther | 1 | -6/+6 | |
* 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 | [mgcp] Add the logging commands for the MGCP command. | Holger Hans Peter Freyther | 1 | -0/+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 | [mgcp] Reset the the address when freeing the endp as well | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-04-05 | [mgcp] Reduce this to a debug message... | Holger Hans Peter Freyther | 1 | -1/+1 | |
This message can get in the way during a re-establishment of the MSC connection while the MSCs gateway is still sending data to us. | |||||
2010-04-05 | [mgcp] Print the BTS IP addr of the endpoint. | Holger Hans Peter Freyther | 1 | -2/+3 | |
2010-04-04 | [mgcp] Set the right variable to NULL otherwise we get a double free | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-01 | [mgcp] Look at the bts addr set at the endpoint | Holger Hans Peter Freyther | 1 | -1/+3 | |
This will allow to discover the ports of a bts when we only know the addr and have multiple bts's to handle. | |||||
2010-04-01 | [mgcp] Export header parsing via mgcp internal | Holger Hans Peter Freyther | 1 | -14/+12 | |
This will be used by the NAT code to implement custom protocol handling on top of that. | |||||
2010-03-31 | [mgcp] Do not operate on the ->data pointer, use ->l2h instead | Holger Hans Peter Freyther | 1 | -4/+4 | |
This would have been broken once we attempt to parse encapsulated MGCP messages. | |||||
2010-03-31 | [mgcp] Degrade verbosity to debug | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-31 | [mgcp] Add a new config option to set the call agent ip addr | Holger Hans Peter Freyther | 1 | -0/+14 | |
In the case of the nat we only want to communicate with one upstream call agent and this can now be configured. | |||||
2010-03-31 | [mgcp] Handle the RSIP with resetting all endpoints | Holger Hans Peter Freyther | 1 | -0/+24 | |
We could change that the message came from a special ip address/port to secure this service in general but we don't do that right now. | |||||
2010-03-31 | [mgcp] Add some parsing for RSIP messages coming in | Holger Hans Peter Freyther | 1 | -0/+11 | |
This will just call a callback and leave all the handling to the application. | |||||
2010-03-31 | [mgcp] Remove unused method from the mgcp | Holger Hans Peter Freyther | 1 | -6/+0 | |
This was removed when sending the RSIP was removed from the code. | |||||
2010-03-31 | [mgcp] Switch from DEBUG to LOGP in the mgcp_main.c | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-03-30 | [mgcp] Remove the sending of RSIP | Holger Hans Peter Freyther | 2 | -30/+0 | |
This message is ignored by the call agent and we were sending this on the first request which we maybe should not ignore... | |||||
2010-03-30 | [mgcp] The networking code needs a source addrs.. | Holger Hans Peter Freyther | 1 | -0/+5 | |
Make the source address mandantory and complain about complain when it is missing. The address is mandantory as it needs to be put into the MGCP messages... | |||||
2010-03-30 | [mgcp] Move mgcp init into the main method... | Holger Hans Peter Freyther | 2 | -12/+15 | |
2010-03-30 | [mgcp] Fix format string usage | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-29 | [misc] Remove whitespace from the end of the line. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-26 | move log/debug codebase to libosmocore | Harald Welte | 1 | -5/+5 | |
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version. | |||||
2010-03-23 | automatically include program version and print it from vty and --version | Harald Welte | 1 | -1/+22 | |
2010-02-26 | Merge remote branch 'origin/master' into on-waves/mgcp | Holger Hans Peter Freyther | 4 | -10/+12 | |
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am | |||||
2010-02-26 | [mgcp] Patch the rtp payload depending on the direction. | Holger Hans Peter Freyther | 1 | -0/+36 | |
The RTP header code is taken from the rtp_proxy, we will need to figure out how to unite these properly in the long run. | |||||
2010-02-26 | [mgcp] Keep track of the local and remote RTP payload type | Holger Hans Peter Freyther | 1 | -2/+8 | |
Keep track of which RTP payload type to use for which direction. | |||||
2010-02-26 | [mgcp] Introduce a policy CB for the MGCP protocol | Holger Hans Peter Freyther | 1 | -0/+55 | |
The are three policies. Accept, Reject and Defer. This will allow to handle network connections and such from the policy callback instead of directly acting on it. | |||||
2010-02-26 | [mgcp] Fix two bugs in the protocol handling | Holger Hans Peter Freyther | 1 | -1/+3 | |
In case of a wrongly formatted AUEP, CRCX, DLCX, MDCX the transaction id pointer was a dangling pointer... Initialize the transaction id to a static string.. Also fix a off by one bug. We want to extract four elements from the MGCP message and not only 3... So a short AUEP message made it us read too many things. |