Added bridgin support for GSM and SIP
[lcr.git] / default / interface.conf
index 6e19538..449c7ec 100644 (file)
 
 
 # A special case for GSM Network interface.
-# Don't remove/change the settings, they will cause undefined behaviour
-# of LCR. The actual interface is defined in gsm.conf.
 # You may add 'extension' and 'msn' keywords to turn all your subscribers
 # in you GSM network to internal 'extensions'.
 # The MSN numbers will equal the subscriber number.
 #[GSM]
 #gsm-bs
-#nt
-#layer1hold no
-#layer2hold no
 #tones yes
 #earlyb no
-#channel-in free
-#channel-out any
-#nodtmf
 
 
 # A special case for GSM Mobile Station interface.
-# give "gsm-ms <name of mobile> <layer 2 socket to layer 1>".
-# Don't remove/change the settings, they will cause undefined behaviour
-# of LCR. The actual interface is defined in gsm.conf.
+# give "gsm-ms <name of mobile instance>".
 # You may add 'extern' to make this interface the external line by default.
 #[GSM]
-#gsm-ms 1 /tmp/osmocom_l2
-#layer1hold no
-#layer2hold no
+#gsm-ms 1
 #tones no
 #earlyb yes
-#channel-in free
-#channel-out any
-#nodtmf
-##external
+##extern
+
+
+# Use chan_lcr (Asterisk PBX interface) as internal interface.
+# The interface requires mISDN_l1loop.ko to be loaded:
+#  modprobe mISDN_l1loop nchannel=8 # use up to 8 b-channels
+# The caller ID is used as extension, if "extension" parameter is given.
+# Use "screen-in % xxx" to modify any caller id to xxx.
+# An internal extension does not receive tones ("earlyb"), but sends them. 
+#[ast]
+#remote asterisk
+#extension
+##screen-in % 209
+#earlyb no
+#tones yes
+
+
+# Use Sofia-SIP as SIP point-to-point interface
+#[sip]
+#sip <local ip> <remote ip>
+#sip 10.0.0.12 10.0.0.34
+#earlyb no
+#tones no
 
 
 # Hint: Enter "lcr interface" for quick help on interface options.