Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-26 | mgcp: Add a log message about the tones that will be queued | Holger Hans Peter Freyther | 1 | -0/+1 | |
2013-02-26 | mgcp: After the tones are played inform the DTMF state | Holger Hans Peter Freyther | 1 | -2/+3 | |
dtmf_state_played will re-set the playing state. Currently the first tone was played and then no more tones were scheduled to be played. | |||||
2013-02-26 | mgcp: Remove unused variable from the callback handling | Holger Hans Peter Freyther | 1 | -1/+0 | |
2012-12-16 | mgw: Implement the specific RSIP handling | Holger Hans Peter Freyther | 1 | -10/+30 | |
The RSIP has morphed from a global reset, to a per trunk reset and now it is possible to reset specific ranges on a trunk. This will be used by the ISUP filter code in the STP. For legacy range == -1 will be used. This will reset all endpoints on the trunk. Use OSMO_MAX on endpoint and number of endpoints in case number_endpoints is 0. This code will now free everything from the endpoint to endpoint + range including endpoint+range. | |||||
2012-12-16 | mgcp: Merge the current MGCP code from OpenBSC | Holger Hans Peter Freyther | 1 | -1/+1 | |
There were several changes in the upstream code. These include statistics, DTMF/RQNT, changes in the parsing code and re-transmission handling. The last item is the main reason to do the merge now. | |||||
2012-12-16 | dtmf: Schedule DTMF tones for the MTN hardware | Holger Hans Peter Freyther | 1 | -0/+72 | |
Create a simple queue for pending DTMF tones, play them using the MTN API, and then send the next tones once the playback is complete. The callback and scheduling is done from the same context so no locking needs to be done. | |||||
2012-12-16 | mgw: Always disable the writing for the socket notifier, initialize variable | Holger Hans Peter Freyther | 1 | -1/+1 | |
This was spotted while verifying the RSIP code using valgrind. | |||||
2012-06-12 | syslog: Log all exit paths in this code | Holger Hans Peter Freyther | 1 | -6/+7 | |
There are some exit paths that do not have syslog logging. | |||||
2012-06-12 | syslog: Add syslog for the MGCP MTN thread | Holger Hans Peter Freyther | 1 | -3/+18 | |
We can not use the osmocore logging in multiple threads, open a separate syslog to log errors. | |||||
2012-05-11 | mgcp: Always restore the endpoint routing when destroying the endpoint | Holger Hans Peter Freyther | 1 | -1/+1 | |
In case MtnSaAllocate failed the code did not restore the audio routing when destroying the endpoint. Move the hw_maybe_loop_endp out of the if statement. | |||||
2012-05-11 | mgcp: Possible fix for using the right DSP resource on the MGCP MGW | Holger Hans Peter Freyther | 1 | -1/+1 | |
This got broken in the previous commit. Use the hw_dsp_port we assigned to the endpoint instead of the dsp_resource that is one ahead. For the non loop-on-idle configuration audio routing appears to be broken. | |||||
2012-01-23 | hw: The DSP resource was one based with the SNMP API, subtract it | Holger Hans Peter Freyther | 1 | -2/+2 | |
* Change the assigning dsp_resource to start with one and increase after usage and not before usage (so it becomes the next free port). * Subtract one from dsp_port after we have selected the path. In the longer run I should make dsp_resources zero based all the way. | |||||
2012-01-22 | mgcp: Implement to loop timeslots when not used for audio | Holger Hans Peter Freyther | 1 | -5/+38 | |
Deal with broken ISUP switches and allow to loop endpoints when they are not connected. Introduce an option to do it. | |||||
2012-01-22 | mgcp: Rename from snmp to hw in variables and function name. | Holger Hans Peter Freyther | 1 | -4/+4 | |
2011-09-14 | mgcp: Reset endpoints via the trunk config instead of all of them | Holger Hans Peter Freyther | 1 | -14/+8 | |
This change is coming from OpenBSC and was adjusted to mgcp_ss7 | |||||
2011-09-14 | mgcp: Introduce multiple virtual trunks | Holger Hans Peter Freyther | 1 | -4/+5 | |
A virtual trunk is identified by a virtual domain name. | |||||
2011-09-14 | mgcp: Add VTY commands to block endpoints instead of having this hardcoded | Holger Hans Peter Freyther | 1 | -48/+41 | |
Instead of assuming which endpoints are blocked there is now a VTY command to block those. Clean up the init of the trunks, the only difference between Virtual and E1 is in the way to calculate the start port. Reduce the number of endpoints to 32, 31 is the last one that can be used on the E1 trunk, otherwise we move into TS 0 of the following trunk. | |||||
2011-09-13 | mgcp: Remove the endp_offset that was introduced due coding stupidity | Holger Hans Peter Freyther | 1 | -4/+3 | |
The endpoint offset is needed for two reasons, first the API is 0 based here while we are normally 1 based, second because of the trunks the first usable endpoint would be '2' (0 is CRC, 1 is signalling), but this endpoint offset falls apart when we would block timeslots inside this range. Remove the endpoint offset, in each endpoint we will store the HW DSP Port (1 based API) and then subtract one to get to the 0 based API for the Simple API. Print a warning when someone is using the endpoint offset. | |||||
2011-07-22 | misc: Update code to compil with libosmocore 0.3.2 | Holger Hans Peter Freyther | 1 | -11/+7 | |
The DSCCP/DM2UA code still needs to be updated to deal with the new way to handle these regions in libraries. | |||||
2011-05-08 | Adopt to recent libosmocore namespace changes and libosmogsm | Harald Welte | 1 | -13/+13 | |
2011-04-26 | mgw: Attempt to set the CMR to 5.9kbit/s | Holger Hans Peter Freyther | 1 | -0/+4 | |
This will hopefully make the MTN4200 always use the 5.9kbit change mode. | |||||
2011-03-21 | mgcp: Check if the endpoint is blocked and then reject it | Holger Hans Peter Freyther | 1 | -7/+6 | |
Instead of hardcoding which timeslot is blocked we will just use the blocked flag in an endpoint. This should fix call handling for CIC on the trunk config. | |||||
2011-03-02 | mgcp: Use the blocked attribute to figure out if an endpoint is blocked | Holger Hans Peter Freyther | 1 | -2/+2 | |
2011-03-02 | mgcp: Mark certain endpoints as blocked. | Holger Hans Peter Freyther | 1 | -2/+6 | |
Right now for the virtual trunk 0x0 and 0x1F is blocked, for the E1 like interface we have 0x0 and 0x1 blocked. This should start to be configurable in the future. | |||||
2011-03-01 | mgcp: Configure the HSCOMM routing based on the information we have | Holger Hans Peter Freyther | 1 | -0/+35 | |
Configure the routing of audio ports if mgcp_mgw is configured to do this. This allows to have multiple trunks, make virtual ports go to a specific trunk as well. | |||||
2011-03-01 | mgcp: Calculate which dsp resource should be used by the trunks | Holger Hans Peter Freyther | 1 | -0/+25 | |
2011-03-01 | mgcp: Calculate the right Audio Processor resource for high endpoints | Holger Hans Peter Freyther | 1 | -5/+24 | |
With this commit we can have more than 30 endpoints that will work. We ignore the blocked endpoints 0x1 and 0x1f for each trunk and calculate everything from the right start point. | |||||
2011-03-01 | mgcp: Merge OpenBSC MGCP code and update the structure to match it | Holger Hans Peter Freyther | 1 | -346/+136 | |
* Upstream has a separation of BTS and NET side for RTP ports and can allocate them dynamically. * Upstream has gained the concept of trunks. We will now have various trunks to connect audio things. * We will now be able to utilize multiple trunks and have the endpoints used properly. | |||||
2011-02-28 | mgcp: Attempt to get the endpoint configuration right | Holger Hans Peter Freyther | 1 | -4/+4 | |
number_endpoints is always one bigger than it needs to be, subtract the one in the show command, start counting at one. | |||||
2011-01-26 | mgcp: Turn the endpoint-offset into a proper config option | Holger Hans Peter Freyther | 1 | -3/+2 | |
2011-01-26 | mgcp: Make it possible to control the offset from Endpoint to CIC | Holger Hans Peter Freyther | 1 | -4/+17 | |
2011-01-16 | license: Switch to the GNU AGPLv3 for this network service | Holger Hans Peter Freyther | 1 | -7/+6 | |
2010-12-20 | mgcp: Fix the adaptation name for the config options | Holger Hans Peter Freyther | 1 | -4/+4 | |
2010-12-20 | mgcp: Fix the management objects | Holger Hans Peter Freyther | 1 | -4/+4 | |
2010-12-01 | mgcp: Add config options for some GAIN options, apply them. | Holger Hans Peter Freyther | 1 | -0/+144 | |
2010-10-27 | mgcp: Print the extra settings from the config | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-10-18 | mgcp: Assume that on a MDCX all data is present... | Holger Hans Peter Freyther | 1 | -5/+2 | |
Send a dummy packet on each MDCX message. This assumes that the remote address is available by then and this should fix not hearing the ringtone as the NAT didn't know to which port to forward the data. | |||||
2010-09-18 | mgcp: Only if this node is supposed to send data send a dummy packet | Holger Hans Peter Freyther | 1 | -1/+3 | |
In case the gateway is configured as recvonly, do not send a dummy load as this is against the policy. | |||||
2010-09-18 | mgw: Add a realloc_cb that will give up the old endpoint | Holger Hans Peter Freyther | 1 | -0/+7 | |
Free the endpoint if we need to realloc, the sequencing and blocking will take care of everything. | |||||
2010-09-17 | mgcp: Add an option to force reallocating endpoints. | Holger Hans Peter Freyther | 1 | -0/+10 | |
2010-09-17 | mgcp: Keep the data for the config in a global var again. | Holger Hans Peter Freyther | 1 | -8/+8 | |
2010-08-07 | mgcp: Add an option to enable/disable vad and enable it by default | Holger Hans Peter Freyther | 1 | -0/+17 | |
2010-08-04 | mgcp_ss7: Move the vty code/params over to mgcp_vty.c | Holger Hans Peter Freyther | 1 | -143/+10 | |
Share more code with the OpenBSC version of the VTY code minus the changes to allow to parse a generic hostname instead of an ip address. | |||||
2010-08-04 | mgcp_ss7: Change the vty config to operate on the static g_cfg pointer | Holger Hans Peter Freyther | 1 | -28/+30 | |
Work more like the other mgcp gateway and first allocate the config and then apply the setting on it.. The next step will be to move to the real vty code minus some bits. | |||||
2010-08-04 | mgcp: Allocate the mgcp config earlier.. | Holger Hans Peter Freyther | 1 | -6/+9 | |
2010-08-04 | mgcp_ss7: Add the telnet interface to the mgcp_ss7. | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-08-04 | mgcp_ss7: Add logging commands.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-04 | mgcp_ss7: Remove unnecessary code... | Holger Hans Peter Freyther | 1 | -2/+0 | |
2010-08-04 | Use libosmocore instead of the old temporary laF0rge1 lib.. | Holger Hans Peter Freyther | 1 | -20/+32 | |
2010-07-31 | u_int32_t -> uint32_t | Holger Hans Peter Freyther | 1 | -3/+3 | |