unified socket application interface (for asterisk and maybe other apps)
[lcr.git] / default / routing.conf
index ff7207f..38e739a 100644 (file)
@@ -5,7 +5,7 @@
 # Calls with different origins will be processed in different rulesets.
 
 [main]
-h323                                   : goto ruleset=voip
+#interface=xyz                         : goto ruleset=xyz
 extern                                 : goto ruleset=extern
 intern                                 : goto ruleset=intern
                                        : disconnect cause=31
@@ -14,10 +14,11 @@ 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
-timeout=6                              : intern extension=200
+#timeout=6                             : intern extension=200
 default                                        : disconnect cause=1
 
 
@@ -29,7 +30,6 @@ dialing=0                             : extern
 dialing=1                              : extern capability=digital-unrestricted
 dialing=200-299                                : intern
 dialing=3                              : pick
-dialing=4                              : h323
 dialing=5                              : reply
 dialing=6 enblock                      : redial
 dialing=6                              : redial select
@@ -56,10 +56,4 @@ dialing=99                           : test
 default                                        : disconnect cause=1 display="Invalid Code"
 
 
-# Ruleset: VOIP
-# All calls will be forwarded to extension 200
-
-[voip]
-                                       : intern extension=200
-