9
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther e0b626adc0 vty: Adapt the go_parent_cb and fix compiler warning
The return type changed from enum to int and it is time to catch
up with it.

vty_interface.c:108:2: warning: initialization from incompatible pointer type
  .go_parent_cb = ss7_go_parent,
  ^
vty_interface.c:108:2: warning: (near initialization for ‘vty_info.go_parent_cb’)

mgcp_ss7_vty.c:36:2: warning: initialization from incompatible pointer type
  .go_parent_cb = mgcp_go_parent,
  ^
mgcp_ss7_vty.c:36:2: warning: (near initialization for ‘vty_info.go_parent_cb’)

Change-Id: I8061df697daf79fa57b8313c15f6567ff152f4a5
2016-08-14 08:18:33 +02:00
Holger Hans Peter Freyther 4b750fb119 dtmf: Make the on/off time and transmit power configurable
Make it possible to configure the transmit power. These settings
will be in effect immediately (there is no lock between the two
threads but it is a read only).
2013-06-04 13:43:37 +02:00
Holger Hans Peter Freyther c96c57b8d5 mgcp: Implement to loop timeslots when not used for audio
Deal with broken ISUP switches and allow to loop endpoints
when they are not connected. Introduce an option to do it.
2012-01-22 11:44:33 +01:00
Holger Hans Peter Freyther fd8513d8c3 mgcp: Increase number of endpoints that can be blocked
For the Virtual Trunk we have more than 31 endpoints. Increase the
number by a large factor here.
2011-10-07 17:39:57 +02:00
Holger Hans Peter Freyther fa15805e81 mgcp: Fix the indention of the trunk/vtrunk extra items
Use two spaces for the config items on the level of the
TRUNK/VTRUNK node to follow the normal items.
2011-09-14 22:30:05 +02:00
Holger Hans Peter Freyther d3b8d5f4d1 mgcp: Fix the naming of the various audio volume/gain parameters
The problem has been here for a while, fix the parsing of the
generated config file
2011-09-14 22:29:17 +02:00
Holger Hans Peter Freyther f574cec745 mgcp: Introduce multiple virtual trunks
A virtual trunk is identified by a virtual domain name.
2011-09-14 22:29:14 +02:00
Holger Hans Peter Freyther 42e44a9e5e mgcp: Introduce a command that will just block the default ports
It can be difficult to find the Timeslot/Multiplex for a higher
number virtual trunk. This would be used by default, but normally
the endpoint would be blocked on the switch already.
2011-09-14 22:28:13 +02:00
Holger Hans Peter Freyther dea0ccc7fc mgcp: Add VTY commands to block endpoints instead of having this hardcoded
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-14 01:58:40 +02:00
Holger Hans Peter Freyther e72139a6f3 mgcp: Remove the endp_offset that was introduced due coding stupidity
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-09-13 22:53:13 +02:00
Holger Hans Peter Freyther b806c14e21 mgcp: Fix the comment in the configuration 2011-03-25 10:46:52 +01:00
Holger Hans Peter Freyther ec84e3c1a1 mgcp: Add a go to parent to allow multiple trunks 2011-03-02 22:49:02 +01:00
Holger Hans Peter Freyther dcc3312792 mgcp: Merge OpenBSC MGCP code and update the structure to match it
* 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-03-01 13:02:29 +01:00