summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-19 18:37:38 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-19 18:37:38 +0200
commit9da1970131662ad480dae589618411734dcf4905 (patch)
tree44577fcffff35352d432c3aa0c9b0dd69e33c1a0 /test/main.c
parente27e37b547b709d8ecf8be306c2b5137b7affad3 (diff)
add support for rtp_timeout and redial
1. Added support for RTP timeout. The feature is disabled by default and can be enabled with config "rtp_timeout N" where N is the number of seconds of RTP inactivity. If this is detected, the call is closed with a "special" SIP reason code of 701. 2. Added support for automatic re-connect in the menu module. This can be enabled by setting the 2 config items: redial_attempts 3 redial_delay 5 This work was contributed by Sveriges Radio. Thanks goes to Ola Palm and Jim Eld.
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c
index 061f8ff..d403084 100644
--- a/test/main.c
+++ b/test/main.c
@@ -24,6 +24,7 @@ static const struct test tests[] = {
TEST(test_call_answer_hangup_a),
TEST(test_call_answer_hangup_b),
TEST(test_call_reject),
+ TEST(test_call_rtp_timeout),
TEST(test_cmd),
TEST(test_cplusplus),
TEST(test_mos),