osmo-msc/openbsc/include/openbsc
Jacob Erlbeck 075a9ebdcc mgcp: Send RTP keepalive dummy packets to net
So far, a single dummy packet has been sent immediately after the
reception of a MDCX message. There is no dedicated keep alive
mechanism (it just worked because the audio from the MS has always
been forwarded to the NAT until the 'mgcp: Set output_enabled flags
based on the MGCP mode' patch).

This patch adds explicit, timer based keep alive handling that can be
enable per trunk. A VTY command 'rtp keep-alive' command is added for
configuration which can be used to set the interval in seconds, to
send a single packet after the reception of a CRCX/MDCX when RTP data
from the net is expected ('once'), or to disable the feature
completely ('no rtp keep-alive'). In 'send-recv' connections, only
the initial packet is sent if enabled (even when an interval has been
configured). The default is 'once'.

Note that this removes the mgcp_change_cb() from mgcp_main.c.

Sponsored-by: On-Waves ehf
2014-01-16 13:20:51 +01:00
..
Makefile.am nat: Fix make distcheck for the nat 2013-09-19 11:01:14 +02:00
abis_nm.h abis: Activate the newest available installed on the BTS 2012-12-19 16:37:55 +01:00
abis_om2000.h OM2000: First attempt in automatically configuring most MOs 2011-03-06 22:12:24 +01:00
abis_rsl.h gsm: Do not attempt to release SAPI=0 if it was never allocated 2012-12-26 00:20:18 +01:00
arfcn_range_encode.h si: Fix range1024 encoding 2014-01-16 12:04:30 +01:00
auth.h Authentication: use ENUM instead of magic numbers 2010-12-23 18:09:51 +01:00
bsc_api.h audio: Make the BSC handle the new mr_config request of the BSC API 2013-01-07 16:10:31 +01:00
bsc_msc.h bsc_msc: Add a name field to the MSC Connection to differentiate links 2013-09-03 15:02:46 +02:00
bsc_nat.h mgcp/nat: Take payload type from SDP data 2013-12-05 10:28:48 +01:00
bsc_nat_callstats.h nat: Move the callstats to a new header file due sccp usage 2013-04-22 09:07:39 +02:00
bsc_nat_sccp.h nat: Remember the original dest local reference in the parsed struct 2013-09-03 15:04:43 +02:00
bsc_rll.h misc: Move from u_int to uint types of stdint.h 2011-04-18 17:31:39 +02:00
bss.h hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00
chan_alloc.h rsl: Rename the reason to release_mode and use the enum value 2012-12-23 20:18:18 +01:00
control_cmd.h ctrl: Provide a reply in case the range check failed 2013-04-17 14:34:36 +02:00
control_if.h libctrl: Change controlif_setup so it returns the ctrl handle 2012-09-11 12:52:23 +02:00
crc24.h crc24: Include stdint.h as a possible compile fix 2011-04-19 20:06:26 +02:00
db.h db: Remove the struct gsm_network from the database layer 2013-10-13 13:44:54 +02:00
debug.h sms: Use the DLSMS instead of the DSMS category throughout our code 2012-11-21 21:33:03 +01:00
e1_config.h fix some "implicit declaration" warnings in libbsc 2011-09-06 09:32:14 +02:00
gb_proxy.h gbproxy: Add test for NSEI and NSVCI changes 2013-10-24 18:02:36 +02:00
gprs_gmm.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
gprs_llc.h GPRS LLC: Add non-standard method of sequence number recovery 2013-06-21 14:06:18 +02:00
gprs_sgsn.h sgsn: Fix lengths of MS Network Capability and MS Radio Access Capability elements. 2013-07-04 18:34:49 +02:00
gsm_04_08.h bsc: Move gsm48_tx_mm_serv_ack/rej to gsm_04_08_utils.c 2013-11-01 17:12:37 +01:00
gsm_04_08_gprs.h gprs: This comes from libosmocore, remove it here 2011-10-14 23:28:07 +02:00
gsm_04_11.h libmsc: Allow to set sender id when sending SMS from the VTY 2013-01-01 17:04:38 +01:00
gsm_04_80.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
gsm_data.h Add VTY option for Nokia BTS that does not send RELease CONFirm message 2014-01-09 08:12:14 +01:00
gsm_data_shared.h si: Add a config option to disable SI2ter/SI2bis/SI5ter/SI5bis messages 2014-01-16 12:04:22 +01:00
gsm_subscriber.h db: Remove the struct gsm_network from the database layer 2013-10-13 13:44:54 +02:00
handover.h handover: Fix the handover signalling for IP based BTSes 2012-12-26 10:32:02 +01:00
handover_decision.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
ipaccess.h nat: Include LAC/CI as TV values at the end of the 'status' message 2013-04-29 20:40:44 +02:00
meas_rep.h misc: Move from u_int to uint types of stdint.h 2011-04-18 17:31:39 +02:00
mgcp.h mgcp: Send RTP keepalive dummy packets to net 2014-01-16 13:20:51 +01:00
mgcp_internal.h mgcp/rtp: Add flag to disable RTP output 2014-01-16 12:17:24 +01:00
misdn.h src: port openBSC over libosmo-abis 2011-08-19 22:38:35 +02:00
mncc.h Add EFR support to TRAU muxer + test case 2013-12-19 10:12:28 +01:00
mncc_int.h Add VTY command to specify default speech codec 2011-09-03 18:23:20 +02:00
nat_rewrite_trie.h nat: Allow to use the prefix lookup to rewrite numbers 2013-07-31 16:36:40 +02:00
network_listen.h [ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attribute 2010-07-22 21:54:19 +02:00
openbscdefines.h License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
osmo_bsc.h ussd: Send USSD on call setup on MSC errors 2013-09-11 20:18:42 +02:00
osmo_bsc_grace.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
osmo_bsc_rf.h ctrl: Remember last 'rf_locked' control command 2013-09-11 20:27:08 +02:00
osmo_msc.h bsc_msc: Remove use_count from the subscriber connection 2010-06-28 18:01:47 +08:00
osmo_msc_data.h ussd: Send USSD on call setup on MSC errors 2013-09-11 20:18:42 +02:00
paging.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
rest_octets.h si: Another round of PCS related fixes 2013-03-10 17:39:50 +01:00
rrlp.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
rs232.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
rtp_proxy.h audio: From RTP point of view we can use one payload for HR/FR AMR 2011-08-22 18:23:50 +02:00
sgsn.h sgsn: Add "auth-policy" VTY command to enable/disable ACL 2013-07-21 15:44:28 +08:00
signal.h bsc: Introduce an authenticated signal for the MSC connection 2013-01-15 11:27:28 +01:00
silent_call.h silent_call: Use the gsm_subscriber_connection instead of lchan->conn 2010-06-21 16:40:09 +08:00
sms_queue.h sms: Allow setting amount of failures through the vty. 2010-12-26 09:40:30 +01:00
socket.h src: use namespace prefix osmo_fd* and osmo_select* 2011-05-06 12:11:23 +02:00
system_information.h Move system information related defines and code to libosmocore 2011-05-24 15:02:20 +02:00
token_auth.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
transaction.h sms: Kill the linkid as we are using SAPI=3 all the time 2012-12-01 11:49:33 +01:00
trau_mux.h Add EFR support to TRAU muxer + test case 2013-12-19 10:12:28 +01:00
trau_upqueue.h fix some "implicit declaration" warnings in libtrau 2011-09-06 09:32:14 +02:00
ussd.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
vty.h vty: Use vty_install_default() instead of bsc_install_default() 2013-10-30 15:19:00 +01:00