| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Linux Telephony Interface | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Configuration file | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [interfaces] | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-10-26 13:33:57 +00:00
										 |  |  | ; Select a mode, either the phone jack provides dialtone, reads digits, | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | ; then starts PBX with the given extension (dialtone mode), or | 
					
						
							|  |  |  | ; immediately provides the PBX without reading any digits or providing | 
					
						
							| 
									
										
										
										
											2000-10-26 13:33:57 +00:00
										 |  |  | ; any dialtone (this is the immediate mode, the default).  Also, you | 
					
						
							|  |  |  | ; can set the mode to "fxo" if you have a linejack to make it operate | 
					
						
							| 
									
										
										
										
											2006-08-08 17:02:45 +00:00
										 |  |  | ; properly. If you are using a Sigma Designs board you may set this to | 
					
						
							|  |  |  | ; "sig". | 
					
						
							| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-05-02 19:18:58 +00:00
										 |  |  | mode=immediate | 
					
						
							|  |  |  | ;mode=dialtone | 
					
						
							| 
									
										
										
										
											2000-10-26 13:33:57 +00:00
										 |  |  | ;mode=fxo | 
					
						
							| 
									
										
										
										
											2006-08-08 17:02:45 +00:00
										 |  |  | ;mode=sig | 
					
						
							| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2007-01-16 17:23:31 +00:00
										 |  |  | ; You can decide which format to use by default, "g723.1", "g729", or "slinear". | 
					
						
							|  |  |  | ; Note that g729 is only supported for Sigma Designs boards. | 
					
						
							| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; XXX Be careful, sometimes the card causes kernel panics when running | 
					
						
							|  |  |  | ; in signed linear mode for some reason... XXX | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-05-02 19:18:58 +00:00
										 |  |  | format=slinear | 
					
						
							|  |  |  | ;format=g723.1 | 
					
						
							| 
									
										
										
										
											2007-01-16 17:23:31 +00:00
										 |  |  | ;format=g729 | 
					
						
							| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; And set the echo cancellation to "off", "low", "medium", and "high". | 
					
						
							|  |  |  | ; This is not supported on all phones. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | echocancel=medium | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-09-11 16:41:49 +00:00
										 |  |  | ; You can optionally use VAD/CNG silence suppression | 
					
						
							| 
									
										
										
										
											2000-01-06 11:55:52 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;silencesupression=yes | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; List all devices we can use.  Contexts may also be specified | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;context=local | 
					
						
							| 
									
										
										
										
											2001-08-17 06:56:48 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; You can set txgain and rxgain for each device in the same way as context. | 
					
						
							|  |  |  | ; If you want to change default gain value (1.0 =~ 100%) for device, simple | 
					
						
							| 
									
										
										
										
											2006-09-11 16:41:49 +00:00
										 |  |  | ; add txgain or rxgain line before device line. But remember, if you change | 
					
						
							| 
									
										
										
										
											2001-08-17 06:56:48 +00:00
										 |  |  | ; volume all cards listed below will be affected by these values. You can | 
					
						
							|  |  |  | ; use float values (1.0, 0.5, 2.0) or percentage values (100%, 150%, 50%). | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;txgain=100% | 
					
						
							|  |  |  | ;rxgain=1.0 | 
					
						
							| 
									
										
										
										
											2001-04-14 20:08:46 +00:00
										 |  |  | ;device => /dev/phone0 |