From 05c06b6380ef1764f087e660c0a65781db28cb3c Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 28 Aug 2006 04:31:25 +0000 Subject: [PATCH] file vergessen git-svn-id: svn://svn.cccv.de/engel-system@136 29ba0400-6e00-0410-a75a-ca02368028f8 --- default-conf/asterisk/extensions.conf | 3 +++ default-conf/asterisk/iax.conf | 6 ++++++ www-ssl/inc/funktion_flag.php | 12 ++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 default-conf/asterisk/extensions.conf create mode 100644 default-conf/asterisk/iax.conf create mode 100644 www-ssl/inc/funktion_flag.php diff --git a/default-conf/asterisk/extensions.conf b/default-conf/asterisk/extensions.conf new file mode 100644 index 00000000..1f9a5f72 --- /dev/null +++ b/default-conf/asterisk/extensions.conf @@ -0,0 +1,3 @@ +[Engelsystem] +exten => s,1,Playback(demo-abouttotry); + diff --git a/default-conf/asterisk/iax.conf b/default-conf/asterisk/iax.conf new file mode 100644 index 00000000..2b1a937b --- /dev/null +++ b/default-conf/asterisk/iax.conf @@ -0,0 +1,6 @@ +[Engelsystem] +type=user ; friend (allow user to make calls and to be called), peer (user can be only called) or user (user can call only). +auth=md5 +secret=password +host= +context=Engelsystem diff --git a/www-ssl/inc/funktion_flag.php b/www-ssl/inc/funktion_flag.php new file mode 100644 index 00000000..2c3ecc13 --- /dev/null +++ b/www-ssl/inc/funktion_flag.php @@ -0,0 +1,12 @@ +"; + +if( strpos( $_SERVER["REQUEST_URI"], "?") >0) + $URL = $_SERVER["REQUEST_URI"]. "&SetLanguage="; +else + $URL = $_SERVER["REQUEST_URI"]. "?SetLanguage="; + +echo "\"DE\" "; +echo "\"En\" "; + +?>