X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=default%2Finterface.conf;h=2847dadad381803c0603f96a05d9747077cb7f90;hp=b89ff6ef7e52f3d8a3fa199951a75babd7a1f4bd;hb=132d639333dd5e7a7832dcd9784181ee09a16f9e;hpb=6db34c1dca5c3a2acd0af689319b583ff8271dbc diff --git a/default/interface.conf b/default/interface.conf index b89ff6e..2847dad 100644 --- a/default/interface.conf +++ b/default/interface.conf @@ -2,15 +2,17 @@ ################ -# Example of an ISDN interface on port 0 +# Example of an ISDN interface on port 0 used for external calls. #[Ext] +#extern #portnum 0 # Example of a multilink ISDN interface (Anlagenanschluss) on port 2 # and 3 #[Ext] +#extern #portnum 2 #portnum 3 @@ -19,6 +21,7 @@ # Layer-2-Hold is required to keep link alive. #[Ext] +#extern #portnum 0 #ptp #layer2hold yes @@ -73,6 +76,7 @@ # required. #[Ext] +#extern #screen-out unknown 300 national 21250993300 #screen-out unknown 2* national 212509932* #tones yes @@ -88,6 +92,7 @@ # (Siemens EWSD will select bot-way-channels when indicated that way.) #[Ext] +#extern #portnum 0 #layer2hold #channel-in 1,2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,30,31 @@ -117,6 +122,7 @@ # Now all information elements can be transmitted in both directions. #[Ext] +#extern #portnum 0 #te-special @@ -133,6 +139,7 @@ # digits will be dialed after setup via overlap dialing. #[Ext] +#extern #portnum 0 #dialmax 20 @@ -149,14 +156,14 @@ #nt -# A special case for GSM interface. +# 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 'mns' keywords to turn all your subscribers +# 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 +#gsm-bs #nt #layer1hold no #layer2hold no @@ -164,6 +171,38 @@ #earlyb no #channel-in free #channel-out any +#nodtmf + + +# A special case for GSM Mobile Station interface. +# give "gsm-ms ". +# Don't remove/change the settings, they will cause undefined behaviour +# of LCR. The actual interface is defined in gsm.conf. +# You may add 'extern' to make this interface the external line by default. +#[GSM] +#gsm-ms 1 +#layer1hold no +#layer2hold no +#tones no +#earlyb yes +#channel-in free +#channel-out any +#nodtmf +##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 # Hint: Enter "lcr interface" for quick help on interface options. @@ -173,6 +212,7 @@ [Ext] +extern portnum 0