summaryrefslogtreecommitdiffstats
path: root/default
diff options
context:
space:
mode:
authorSuper User2007-07-26 14:23:56 +0200
committerSuper User2007-07-26 14:23:56 +0200
commit701b046a45c2c79cc6d07ac3a4f84f499f7ed376 (patch)
tree0b534df0b08d2016f473fbee74bae36a010a7258 /default
parentfixes & improvements (diff)
downloadlcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.gz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.xz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.zip
unified socket application interface (for asterisk and maybe other apps)
bugfixes
Diffstat (limited to 'default')
-rw-r--r--default/interface.conf20
-rw-r--r--default/routing.conf2
2 files changed, 18 insertions, 4 deletions
diff --git a/default/interface.conf b/default/interface.conf
index 6df206c..07bc818 100644
--- a/default/interface.conf
+++ b/default/interface.conf
@@ -57,8 +57,8 @@
# Also this interface will connect bchannel during call setup, so tones are
# required.
#[Ext]
-#screen_out unknown 300 national 21250993300
-#screen_out unknown 2* national 212509932*
+#screen-out unknown 300 national 21250993300
+#screen-out unknown 2* national 212509932*
#tones yes
#port 1
@@ -67,11 +67,23 @@
# 10 channels (channel 1-10) are incomming only.
# 10 channels (channel 11-15,17-21) are outgoing only.
# 10 channels (channel 22-31) are both way.
-# We prefer to use directed channels first, then we request any channel:
+# We prefer to use directed channels first, then we request any channel.
+# Outgoing calls on both-way-channels shall be indicated as "any channel".
+# (Siemens EWSD will select bot-way-channels when indicated that way.)
#[Ext]
#port 1
-#channel force,11,12,13,14,15,17,18,19,20,21,any
+#channel-in 1,2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,30,31
+#channel-out force,11,12,13,14,15,17,18,19,20,21,any
+
+# Example of an ISDN interface that runs in NT-mode, but provides tones during
+# setup. Also we provide tones during setup also.
+# This is usefull to interconnect to another PBX.
+#[PBX]
+#port 5
+#earlyb yes
+#tones yes
+# Hint: Enter "lcr interface" for quick help on interface options.
# Add your interfaces here:
diff --git a/default/routing.conf b/default/routing.conf
index 0e2aaac..38e739a 100644
--- a/default/routing.conf
+++ b/default/routing.conf
@@ -5,6 +5,7 @@
# Calls with different origins will be processed in different rulesets.
[main]
+#interface=xyz : goto ruleset=xyz
extern : goto ruleset=extern
intern : goto ruleset=intern
: disconnect cause=31
@@ -13,6 +14,7 @@ intern : goto ruleset=intern
# All calls from external lines are processed here.
[extern]
+dialing=1234 remote=asterisk : remote application=asterisk
dialing=0,1234 : intern extension=200
dialing=200-299 : intern
dialing=81 : partyline room=42