From 9b4162b81bcc8d2f9f0f38447f8a2e24a6ea4d45 Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Sat, 2 Feb 2008 17:22:05 +0000 Subject: [PATCH] Plugin API work --- autogen.sh | 2 +- doc/siproxd.conf.example | 24 +++++++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/autogen.sh b/autogen.sh index 3dc6c6f..83f1893 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,6 +9,6 @@ test -f configure.in || { set -e aclocal autoheader +libtoolize --ltdl --copy automake --add-missing --copy autoconf -libtoolize --ltdl --copy diff --git a/doc/siproxd.conf.example b/doc/siproxd.conf.example index 4e43751..6bca7dc 100644 --- a/doc/siproxd.conf.example +++ b/doc/siproxd.conf.example @@ -154,8 +154,8 @@ rtp_dscp = 46 # Artificial delay to be used to de-jitter RTP data streams. # This time is in microseconds. # -rtp_input_dejitter = 100000 -rtp_output_dejitter = 100000 +rtp_input_dejitter = 25000 +rtp_output_dejitter = 25000 ###################################################################### # Default Expiration timeout for Registrations @@ -290,15 +290,21 @@ debug_port = 0 # the processing order is given by the load order. # # plugin_dir: MUST be terminated with '/' -plugin_dir=/usr/lib/siproxd/ +plugindir=/home/hb9xar/src/siproxd/src/.libs/ # # List of plugins to load -load_plugin=plugin_demo.so +#load_plugin=plugin_demo.so load_plugin=plugin_shortdial.so ###################################################################### -# Plugins +# Plugin_demo +# +plugin_demo_string = This_is_a_string_passed_to_the_demo_plugin + + +###################################################################### +# Plugin_shortdial # # Quick Dial (Short Dial) # ability to define quick dial numbers that can be accessed by @@ -310,11 +316,11 @@ load_plugin=plugin_shortdial.so # quick dial entry. # # The first character is the "key", the following characters give -# the length of the number string. E.g. "*00" allows qpeed dials +# the length of the number string. E.g. "*00" allows speed dials # from *01 to *99. (the number "*100" will be passed through unprocessed) -pi_shortdial_akey = *00 +plugin_shortdial_akey = *00 # # *01 sipphone echo test -pi_shortdial_entry = 17474743246 +plugin_shortdial_entry = 17474743246 # *02 sipphone welcome message -pi_shortdial_entry = 17474745000 +plugin_shortdial_entry = 17474745000