X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=default%2Finterface.conf;h=daa8c571f2a8cbdb260ed0599685e442357a40c4;hp=04017ae2f1a24145d24476a05f2e29891955d36d;hb=b2a665f8f1cdeb7d02c3f665d95e6a80297e21d1;hpb=0a0643e3a561de5f34927ea80c2bd0ce6405fd3c diff --git a/default/interface.conf b/default/interface.conf index 04017ae..daa8c57 100644 --- a/default/interface.conf +++ b/default/interface.conf @@ -2,35 +2,45 @@ ################ -# Example of an ISDN interface on port 1 +# Example of an ISDN interface on port 0 #[Ext] -#port 1 +#portnum 0 -# Example of a multilink ISDN interface (Anlagenanschluss) on port 3 -# and 4 +# Example of a multilink ISDN interface (Anlagenanschluss) on port 2 +# and 3 #[Ext] -#port 3 -#port 4 +#portnum 2 +#portnum 3 -# Example of an ISDN interface on port 2, which accepts all extensions +# Example of an PTP ISDN interface on port 0 +# Layer-2-Hold is required to keep link alive. + +#[Ext] +#portnum 0 +#ptp +#layer2hold yes + +# Example of an internal ISDN interface on port 1, which accepts all extensions #[Int] #extension -#port 2 +#portnum 1 +#nt -# Example of an ISDN interface on port 2, which accepts only extensions +# Example of an ISDN interface on port 1, which accepts only extensions # 201, 202 and 203 #[Int] #extension #msn 201,202,203 -#port 2 +#portnum 1 +#nt -# Example of three ISDN interfaces on port 2, 3 and 4, which accept +# Example of three ISDN interfaces on port 1, 2 and 3, which accept # extension 201 on all interfaces, and extension 202 and 203 on the first port # only. # Hint: To make extension ring on all three interfaces parallel, use @@ -39,20 +49,23 @@ #[Int1] #extension #msn 201,202,203 -#port 2 +#portnum 1 +#nt #[Int2] #extension #msn 201 -#port 3 +#portnum 2 +#nt #[Int3] #extension #msn 201 -#port 4 +#portnum 3 +#nt -# Example of an ISDN interface on port 1 that requires screening of caller IDs. +# Example of an ISDN interface on port 0 that requires screening of caller IDs. # This is required if the connected line doesn't screen caller IDs. # Also this interface will connect bchannel during call setup, so tones are # required. @@ -60,10 +73,10 @@ #screen-out unknown 300 national 21250993300 #screen-out unknown 2* national 212509932* #tones yes -#port 1 +#portnum 0 -# Example of an ISDN PRI interface on port 1 that has directed channels. +# Example of an ISDN PRI interface on port 0 that has directed channels. # 10 channels (channel 1-10) are incomming only. # 10 channels (channel 11-15,17-21) are outgoing only. # 10 channels (channel 22-31) are both way. @@ -71,17 +84,28 @@ # Outgoing calls on both-way-channels shall be indicated as "any channel". # (Siemens EWSD will select bot-way-channels when indicated that way.) #[Ext] -#port 1 +#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 #channel-out force,11,12,13,14,15,17,18,19,20,21,any # Example of an ISDN interface that runs in NT-mode, but provides tones during # setup. Also we provide tones during setup also. # This is usefull to interconnect to another PBX. +# Additinally the timeout values for the different call states are adjusted to 60 seconds. +# They are: setup, dialing, proceeding, alerting, disconnect #[PBX] -#port 5 +#portnum 4 +#nt +#layer2hold yes #earlyb yes #tones yes +#timeouts 60 60 60 60 60 + +# Alternatively give port name. You will find the name with 'isdninfo' tool. +#[Int2] +#portname hfc-s_usb.1 +#nt # Hint: Enter "lcr interface" for quick help on interface options. @@ -89,12 +113,13 @@ [Ext] -port 1 +portnum 0 [Int] extension msn 200,201,202,203 -port 2 +portnum 1 +nt