| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-24 15:09:34 +00:00
										 |  |  | ; isdn4linux | 
					
						
							| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Configuration file | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [interfaces] | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; By default, incoming calls should come in on the "remote" context | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | context=remote | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Modem Drivers to load | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-24 15:09:34 +00:00
										 |  |  | driver=aopen	; modem by AOpen | 
					
						
							|  |  |  | ;driver=i4l	; isdn4linux - an alternative to i4l is to use chan_capi | 
					
						
							| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-01-09 19:58:18 +00:00
										 |  |  | ; Default language | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;language=en | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; We can optionally override the auto detection.  This is necessary | 
					
						
							|  |  |  | ; particularly if asterisk does not know about our kind of modem. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;type=autodetect | 
					
						
							|  |  |  | ;type=aopen | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; We can strip a given number of digits on outgoing dialing, so, for example | 
					
						
							|  |  |  | ; you can have it dial "8871042" when given "98871042". | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-24 15:09:34 +00:00
										 |  |  | stripmsd=0 | 
					
						
							| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Type of dialing | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-01-02 20:59:00 +00:00
										 |  |  | dialtype=tone | 
					
						
							|  |  |  | ;dialtype=pulse | 
					
						
							| 
									
										
										
										
											1999-12-14 23:40:27 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Mode selection.  "Immediate" means that as soon as you dial, you're connected | 
					
						
							|  |  |  | ; and the line is considered up.  "Ring" means we wait until the ring cadence | 
					
						
							|  |  |  | ; occurs at least once.  "Answer" means we wait until the other end picks up.  | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;mode=answer | 
					
						
							|  |  |  | ;mode=ring | 
					
						
							|  |  |  | mode=immediate | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; List all devices we can use. | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2001-04-14 19:46:25 +00:00
										 |  |  | ;device => /dev/ttyS3 | 
					
						
							| 
									
										
										
										
											2000-12-29 15:31:50 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-24 15:09:34 +00:00
										 |  |  | ; ISDN example (using i4l) | 
					
						
							| 
									
										
										
										
											2000-12-29 15:31:50 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;msn=39907835 | 
					
						
							| 
									
										
										
										
											2001-04-14 19:46:25 +00:00
										 |  |  | ;device => /dev/ttyI0 | 
					
						
							| 
									
										
										
										
											2002-10-22 15:31:47 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;=============== | 
					
						
							|  |  |  | ; More complex ISDN example | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; A single device which listens to 3 MSNs | 
					
						
							|  |  |  | ; the wildcard '*' can be used when all MSN's should be accepted. | 
					
						
							|  |  |  | ; (The incoming number can be used to go directly into the extension | 
					
						
							|  |  |  | ; with the matching number. I.e. if MSN 33 is called, (context,33) | 
					
						
							|  |  |  | ; will tried first, than (context,s) and finally (default,s). | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;msn=50780020 | 
					
						
							|  |  |  | ;incomingmsn=50780020,50780021,50780022 | 
					
						
							|  |  |  | ;device => /dev/ttyI2 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-21 04:29:50 +00:00
										 |  |  | ; If set, only these numbers are allowed to be set as A number | 
					
						
							|  |  |  | ; when making an outbound call. callerid is used to set A | 
					
						
							|  |  |  | ; number. | 
					
						
							|  |  |  | ;outgoingmsn=50780023,50780024 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-22 14:17:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; Set DTMF-detection/generation mode to: | 
					
						
							|  |  |  | ;  asterisk: Let Asterisk do inband detection (default) | 
					
						
							|  |  |  | ;  i4l:      Use the inband detection made by ISDN4Linux | 
					
						
							|  |  |  | ;  none:     Don't detect inband DTMF | 
					
						
							|  |  |  | ;  both:     Transmit using both in-band and out of band (generation only) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; You may specify either one mode, or the detection/generation mode | 
					
						
							|  |  |  | ; individually separated by a '/'. | 
					
						
							| 
									
										
										
										
											2004-06-21 04:29:50 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-22 14:17:07 +00:00
										 |  |  | ;dtmfmode=asterisk			; Detect using Asterisk | 
					
						
							|  |  |  | ;dtmfmode=asterisk/both		; Detect using Asterisk, generate w/ both | 
					
						
							| 
									
										
										
										
											2002-10-22 15:31:47 +00:00
										 |  |  | ; two other devices, which are in group '1' and are used when an | 
					
						
							|  |  |  | ; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r | 
					
						
							|  |  |  | ; (we do not need more outgoing devices, since ISDN2 has only 2 channels.) | 
					
						
							| 
									
										
										
										
											2005-02-16 02:58:18 +00:00
										 |  |  | ; Lines can be in more than one group (0-63); comma separated list. | 
					
						
							| 
									
										
										
										
											2002-10-22 15:31:47 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | group=1		; group=1,2,3,9-12 | 
					
						
							|  |  |  | ;msn=50780023 | 
					
						
							|  |  |  | ;device => /dev/ttyI3 | 
					
						
							|  |  |  | ;device => /dev/ttyI4 |