See commit 728d... It was not applied correctly.
[lcr.git] / default / routing.conf
index 0e2aaac..e7adcc9 100644 (file)
@@ -1,10 +1,11 @@
-# PBX4Linux routing configuration "routing.conf"
+# Linux-Call-Router routing configuration "routing.conf"
 
 
 # Ruleset: MAIN
 # 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
@@ -28,11 +30,11 @@ dialing=0                           : extern
 dialing=1                              : extern capability=digital-unrestricted
 dialing=200-299                                : intern
 dialing=3                              : pick
-dialing=5                              : reply
+dialing=5 enblock                      : reply
+dialing=5                              : reply select
 dialing=6 enblock                      : redial
 dialing=6                              : redial select
-dialing=7 enblock                      : abbrev
-dialing=7                              : abbrev select
+dialing=7                              : abbrev
 dialing=80                             : vbox-play
 dialing=81                             : partyline room=42
 dialing=90                             : powerdial