# 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
# 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
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
default : disconnect cause=1 display="Invalid Code"
-# Ruleset: VOIP
-# All calls will be forwarded to extension 200
-
-[voip]
- : intern extension=200
-