| 
									
										
										
										
											2003-10-07 23:30:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; Inter-Asterisk eXchange driver definition | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-17 15:56:55 +00:00
										 |  |  | ; This configuration is re-read at reload | 
					
						
							|  |  |  | ; or with the CLI command | 
					
						
							|  |  |  | ; 	reload chan_iax2.so | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; General settings, like port number to bind to, and | 
					
						
							|  |  |  | ; an option address (the default is to bind to all | 
					
						
							|  |  |  | ; local addresses). | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [general] | 
					
						
							| 
									
										
										
										
											2005-01-11 17:08:52 +00:00
										 |  |  | ;bindport=4569			; bindport and bindaddr may be specified | 
					
						
							| 
									
										
										
										
											2006-04-06 15:41:37 +00:00
										 |  |  | ;                               ; NOTE: bindport must be specified BEFORE | 
					
						
							|  |  |  | 				; bindaddr or may be specified on a specific | 
					
						
							|  |  |  | 				; bindaddr if followed by colon and port | 
					
						
							|  |  |  | 				;  (e.g. bindaddr=192.168.0.1:4569) | 
					
						
							| 
									
										
										
										
											2005-01-11 17:08:52 +00:00
										 |  |  | ;bindaddr=192.168.0.1		; more than once to bind to multiple | 
					
						
							|  |  |  | ;                               ; addresses, but the first will be the  | 
					
						
							|  |  |  | ;                               ; default | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-05-18 21:05:13 +00:00
										 |  |  | ; Set iaxcompat to yes if you plan to use layered switches or | 
					
						
							|  |  |  | ; some other scenario which may cause some delay when doing a | 
					
						
							|  |  |  | ; lookup in the dialplan. It incurs a small performance hit to | 
					
						
							|  |  |  | ; enable it. This option causes Asterisk to spawn a separate thread | 
					
						
							|  |  |  | ; when it receives an IAX DPREQ (Dialplan Request) instead of | 
					
						
							|  |  |  | ; blocking while it waits for a response. | 
					
						
							| 
									
										
										
										
											2004-02-01 20:08:36 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;iaxcompat=yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-29 23:20:31 +00:00
										 |  |  | ; Disable UDP checksums (if nochecksums is set, then no checkums will | 
					
						
							|  |  |  | ; be calculated/checked on systems supporting this feature) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;nochecksums=no | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-26 14:19:38 +00:00
										 |  |  | ; For increased security against brute force password attacks | 
					
						
							|  |  |  | ; enable "delayreject" which will delay the sending of authentication | 
					
						
							|  |  |  | ; reject for REGREQ or AUTHREP if there is a password.   | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;delayreject=yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; You may specify a global default AMA flag for iaxtel calls.  It must be | 
					
						
							|  |  |  | ; one of 'default', 'omit', 'billing', or 'documentation'.  These flags | 
					
						
							|  |  |  | ; are used in the generation of call detail records. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;amaflags=default | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-07-14 21:49:40 +00:00
										 |  |  | ; ADSI (Analog Display Services Interface) can be enabled if you have | 
					
						
							|  |  |  | ; (or may have) ADSI compatible CPE equipment | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;adsi=no | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; You may specify a default account for Call Detail Records in addition | 
					
						
							|  |  |  | ; to specifying on a per-user basis | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;accountcode=lss0101 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-02 06:36:31 +00:00
										 |  |  | ; You may specify a global default language for users.  | 
					
						
							|  |  |  | ; Can be specified also on a per-user basis | 
					
						
							|  |  |  | ; If omitted, will fallback to english | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;language=en | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-07-19 20:44:39 +00:00
										 |  |  | ; This option specifies a preference for which music on hold class this channel | 
					
						
							|  |  |  | ; should listen to when put on hold if the music class has not been set on the | 
					
						
							|  |  |  | ; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer | 
					
						
							|  |  |  | ; channel putting this one on hold did not suggest a music class. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; If this option is set to "passthrough", then the hold message will always be | 
					
						
							|  |  |  | ; passed through as signalling instead of generating hold music locally. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; This option may be specified globally, or on a per-user or per-peer basis. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;mohinterpret=default | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; This option specifies which music on hold class to suggest to the peer channel | 
					
						
							|  |  |  | ; when this channel places the peer on hold. It may be specified globally or on | 
					
						
							|  |  |  | ; a per-user or per-peer basis. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;mohsuggest=default | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; Specify bandwidth of low, medium, or high to control which codecs are used | 
					
						
							|  |  |  | ; in general. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | bandwidth=low | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; You can also fine tune codecs here using "allow" and "disallow" clauses | 
					
						
							|  |  |  | ; with specific codecs.  Use "all" to represent all formats. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;allow=all			; same as bandwidth=high | 
					
						
							|  |  |  | ;disallow=g723.1		; Hm...  Proprietary, don't use it... | 
					
						
							|  |  |  | disallow=lpc10			; Icky sound quality...  Mr. Roboto. | 
					
						
							|  |  |  | ;allow=gsm			; Always allow GSM, it's cool :) | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; You can adjust several parameters relating to the jitter buffer. | 
					
						
							|  |  |  | ; The jitter buffer's function is to compensate for varying | 
					
						
							|  |  |  | ; network delay. | 
					
						
							| 
									
										
										
										
											2004-07-12 15:33:40 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2007-04-30 14:52:31 +00:00
										 |  |  | ; All the jitter buffer settings are in milliseconds. | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | ; The jitter buffer works for INCOMING audio - the outbound audio | 
					
						
							|  |  |  | ; will be dejittered by the jitter buffer at the other end. | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-09-17 12:45:03 +00:00
										 |  |  | ; jitterbuffer=yes|no: global default as to whether you want | 
					
						
							|  |  |  | ; the jitter buffer at all. | 
					
						
							| 
									
										
										
										
											2004-07-12 15:33:40 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-17 21:30:19 +00:00
										 |  |  | ; forcejitterbuffer=yes|no: in the ideal world, when we bridge VoIP channels | 
					
						
							|  |  |  | ; we don't want to do jitterbuffering on the switch, since the endpoints | 
					
						
							|  |  |  | ; can each handle this.  However, some endpoints may have poor jitterbuffers  | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; themselves, so this option will force * to always jitterbuffer, even in this | 
					
						
							|  |  |  | ; case. | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; maxjitterbuffer: a maximum size for the jitter buffer. | 
					
						
							|  |  |  | ; Setting a reasonable maximum here will prevent the call delay | 
					
						
							| 
									
										
										
										
											2004-09-17 12:45:03 +00:00
										 |  |  | ; from rising to silly values in extreme situations; you'll hear | 
					
						
							|  |  |  | ; SOMETHING, even though it will be jittery. | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-05-19 00:34:28 +00:00
										 |  |  | ; resyncthreshold: when the jitterbuffer notices a significant change in delay | 
					
						
							|  |  |  | ; that continues over a few frames, it will resync, assuming that the change in | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; delay was caused by a timestamping mix-up. The threshold for noticing a | 
					
						
							|  |  |  | ; change in delay is measured as twice the measured jitter plus this resync | 
					
						
							|  |  |  | ; threshold. | 
					
						
							|  |  |  | ; Resyncing can be disabled by setting this parameter to -1. | 
					
						
							| 
									
										
										
										
											2005-05-19 00:34:28 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; maxjitterinterps: the maximum number of interpolation frames the jitterbuffer | 
					
						
							|  |  |  | ; should return in a row. Since some clients do not send CNG/DTX frames to | 
					
						
							|  |  |  | ; indicate silence, the jitterbuffer will assume silence has begun after | 
					
						
							|  |  |  | ; returning this many interpolations. This prevents interpolating throughout | 
					
						
							|  |  |  | ; a long silence. | 
					
						
							| 
									
										
										
										
											2006-05-10 16:14:26 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-09-28 20:06:31 +00:00
										 |  |  | jitterbuffer=no | 
					
						
							| 
									
										
										
										
											2005-03-17 21:30:19 +00:00
										 |  |  | forcejitterbuffer=no | 
					
						
							| 
									
										
										
										
											2005-05-19 00:34:28 +00:00
										 |  |  | ;maxjitterbuffer=1000 | 
					
						
							| 
									
										
										
										
											2005-06-21 01:20:14 +00:00
										 |  |  | ;maxjitterinterps=10 | 
					
						
							| 
									
										
										
										
											2005-05-19 00:34:28 +00:00
										 |  |  | ;resyncthreshold=1000 | 
					
						
							| 
									
										
										
										
											2004-07-01 21:55:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-16 06:00:11 +00:00
										 |  |  | ;trunkfreq=20			; How frequently to send trunk msgs (in ms) | 
					
						
							| 
									
										
										
										
											2005-03-17 21:30:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; Should we send timestamps for the individual sub-frames within trunk frames? | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; There is a small bandwidth use for these (less than 1kbps/call), but they | 
					
						
							|  |  |  | ; ensure that frame timestamps get sent end-to-end properly.  If both ends of | 
					
						
							|  |  |  | ; all your trunks go directly to TDM, _and_ your trunkfreq equals the frame | 
					
						
							|  |  |  | ; length for your codecs, you can probably suppress these.  The receiver must | 
					
						
							|  |  |  | ; also support this feature, although they do not also need to have it enabled. | 
					
						
							| 
									
										
										
										
											2005-03-17 21:30:19 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; trunktimestamps=yes | 
					
						
							| 
									
										
										
										
											2003-03-16 06:00:11 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-09-15 02:25:06 +00:00
										 |  |  | ; Minimum and maximum amounts of time that IAX peers can request as | 
					
						
							|  |  |  | ; a registration expiration interval (in seconds). | 
					
						
							|  |  |  | ; minregexpire = 60 | 
					
						
							|  |  |  | ; maxregexpire = 60 | 
					
						
							| 
									
										
										
										
											2003-03-16 06:00:11 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-02-26 20:27:14 +00:00
										 |  |  | ; IAX helper threads | 
					
						
							|  |  |  | ; Establishes the number of iax helper threads to handle I/O. | 
					
						
							|  |  |  | ; iaxthreadcount = 10 | 
					
						
							| 
									
										
										
										
											2006-04-11 16:44:10 +00:00
										 |  |  | ; Establishes the number of extra dynamic threads that may be spawned to handle I/O | 
					
						
							|  |  |  | ; iaxmaxthreadcount = 100 | 
					
						
							| 
									
										
										
										
											2006-02-26 20:27:14 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2001-05-07 20:53:39 +00:00
										 |  |  | ; We can register with another IAX server to let him know where we are | 
					
						
							|  |  |  | ; in case we have a dynamic IP address for example | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; Register with tormenta using username marko and password secretpass | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2001-05-07 20:53:39 +00:00
										 |  |  | ;register => marko:secretpass@tormenta.linux-support.net | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Register joe at remote host with no password | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2001-05-07 20:53:39 +00:00
										 |  |  | ;register => joe@remotehost:5656 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; Register marko at tormenta.linux-support.net using RSA key "torkey" | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;register => marko:[torkey]@tormenta.linux-support.net | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-02 23:19:36 +00:00
										 |  |  | ; Sample Registration for iaxtel | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Visit http://www.iaxtel.com to register with iaxtel.  Replace "user" | 
					
						
							|  |  |  | ; and "pass" with your username and password for iaxtel.  Incoming  | 
					
						
							|  |  |  | ; calls arrive at the "s" extension of "default" context. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;register => user:pass@iaxtel.com | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Sample Registration for IAX + FWD | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; To register using IAX with FWD, it must be enabled by visiting the URL | 
					
						
							|  |  |  | ; http://www.fwdnet.net/index.php?section_id=112 | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Note that you need an extension in you default context which matches | 
					
						
							|  |  |  | ; your free world dialup number.  Please replace "FWDNumber" with your | 
					
						
							|  |  |  | ; FWD number and "passwd" with your password. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;register => FWDNumber:passwd@iax.fwdnet.net | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2003-12-04 03:41:22 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; You can disable authentication debugging to reduce the amount of  | 
					
						
							|  |  |  | ; debugging traffic. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;authdebug=no | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2008-04-25 15:53:52 +00:00
										 |  |  | ; See doc/ip-tos.txt for a description of the tos parameters. | 
					
						
							| 
									
										
										
										
											2006-03-28 03:28:52 +00:00
										 |  |  | ;tos=ef | 
					
						
							| 
									
										
										
										
											2002-05-11 17:26:19 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If regcontext is specified, Asterisk will dynamically create and destroy | 
					
						
							|  |  |  | ; a NoOp priority 1 extension for a given peer who registers or unregisters | 
					
						
							|  |  |  | ; with us.  The actual extension is the 'regexten' parameter of the registering | 
					
						
							|  |  |  | ; peer or its name if 'regexten' is not provided.  More than one regexten | 
					
						
							|  |  |  | ; may be supplied if they are separated by '&'.  Patterns may be used in | 
					
						
							|  |  |  | ; regexten. | 
					
						
							| 
									
										
										
										
											2004-09-07 23:45:34 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;regcontext=iaxregistrations | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If we don't get ACK to our NEW within 2000ms, and autokill is set to yes, | 
					
						
							|  |  |  | ; then we cancel the whole thing (that's enough time for one retransmission | 
					
						
							|  |  |  | ; only).  This is used to keep things from stalling for a long time for a host | 
					
						
							|  |  |  | ; that is not available, but would be ill advised for bad connections.  In | 
					
						
							|  |  |  | ; addition to 'yes' or 'no' you can also specify a number of milliseconds. | 
					
						
							|  |  |  | ; See 'qualify' for individual peers to turn on for just a specific peer. | 
					
						
							| 
									
										
										
										
											2004-10-10 01:42:46 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-26 15:22:15 +00:00
										 |  |  | autokill=yes | 
					
						
							| 
									
										
										
										
											2005-01-20 23:42:06 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; codecpriority controls the codec negotiation of an inbound IAX call. | 
					
						
							|  |  |  | ; This option is inherited to all user entities.  It can also be defined  | 
					
						
							| 
									
										
										
										
											2005-02-16 02:58:18 +00:00
										 |  |  | ; in each user entity separately which will override the setting in general. | 
					
						
							| 
									
										
										
										
											2005-01-20 23:42:06 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; The valid values are: | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; caller   - Consider the callers preferred order ahead of the host's. | 
					
						
							|  |  |  | ; host     - Consider the host's preferred order ahead of the caller's. | 
					
						
							| 
									
										
										
										
											2006-09-11 16:41:49 +00:00
										 |  |  | ; disabled - Disable the consideration of codec preference altogether. | 
					
						
							| 
									
										
										
										
											2005-01-20 23:42:06 +00:00
										 |  |  | ;            (this is the original behaviour before preferences were added) | 
					
						
							|  |  |  | ; reqonly  - Same as disabled, only do not consider capabilities if | 
					
						
							|  |  |  | ;            the requested format is not available the call will only | 
					
						
							|  |  |  | ;            be accepted if the requested format is available. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; The default value is 'host' | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-26 15:22:15 +00:00
										 |  |  | ;codecpriority=host | 
					
						
							| 
									
										
										
										
											2005-02-10 20:04:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-04-06 15:25:56 +00:00
										 |  |  | ;rtcachefriends=yes	; Cache realtime friends by adding them to the internal list | 
					
						
							|  |  |  | 			; just like friends added from the config file only on a | 
					
						
							|  |  |  | 			; as-needed basis? (yes|no) | 
					
						
							| 
									
										
										
										
											2005-09-02 14:19:36 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-04-06 15:25:56 +00:00
										 |  |  | ;rtupdate=yes		; Send registry updates to database using realtime? (yes|no) | 
					
						
							|  |  |  | 			; If set to yes, when a IAX2 peer registers successfully, | 
					
						
							|  |  |  | 			; the ip address, the origination port, the registration period, | 
					
						
							|  |  |  | 			; and the username of the peer will be set to database via realtime. | 
					
						
							|  |  |  | 			; If not present, defaults to 'yes'. | 
					
						
							| 
									
										
										
										
											2005-09-02 14:19:36 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-04-06 15:25:56 +00:00
										 |  |  | ;rtautoclear=yes	; Auto-Expire friends created on the fly on the same schedule | 
					
						
							|  |  |  | 			; as if it had just registered? (yes|no|<seconds>) | 
					
						
							|  |  |  | 			; If set to yes, when the registration expires, the friend will | 
					
						
							|  |  |  | 			; vanish from the configuration until requested again. | 
					
						
							|  |  |  | 			; If set to an integer, friends expire within this number of | 
					
						
							|  |  |  | 			; seconds instead of the registration interval. | 
					
						
							| 
									
										
										
										
											2005-09-02 14:19:36 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-12-06 16:15:45 +00:00
										 |  |  | ;rtignoreregexpire=yes	; When reading a peer from Realtime, if the peer's registration | 
					
						
							| 
									
										
										
										
											2006-04-06 15:25:56 +00:00
										 |  |  | 			; has expired based on its registration interval, used the stored | 
					
						
							|  |  |  | 			; address information regardless. (yes|no) | 
					
						
							| 
									
										
										
										
											2005-06-09 21:11:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; Guest sections for unauthenticated connection attempts.  Just specify an | 
					
						
							|  |  |  | ; empty secret, or provide no secret section. | 
					
						
							| 
									
										
										
										
											2002-05-11 17:26:19 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | [guest] | 
					
						
							|  |  |  | type=user | 
					
						
							|  |  |  | context=default | 
					
						
							|  |  |  | callerid="Guest IAX User" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Trust Caller*ID Coming from iaxtel.com | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [iaxtel] | 
					
						
							|  |  |  | type=user | 
					
						
							|  |  |  | context=default | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | auth=rsa | 
					
						
							|  |  |  | inkeys=iaxtel | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-02 23:19:36 +00:00
										 |  |  | ; Trust Caller*ID Coming from iax.fwdnet.net | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-02 23:19:36 +00:00
										 |  |  | [iaxfwd] | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | type=user | 
					
						
							|  |  |  | context=default | 
					
						
							| 
									
										
										
										
											2004-06-02 23:19:36 +00:00
										 |  |  | auth=rsa | 
					
						
							|  |  |  | inkeys=freeworlddialup | 
					
						
							| 
									
										
										
										
											2001-05-07 20:53:39 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-10-18 21:45:13 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Trust callerid delivered over DUNDi/e164 | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;[dundi] | 
					
						
							|  |  |  | ;type=user | 
					
						
							|  |  |  | ;dbsecret=dundi/secret | 
					
						
							|  |  |  | ;context=dundi-e164-local | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; Further user sections may be added, specifying a context and a secret used | 
					
						
							|  |  |  | ; for connections with that given authentication name.  Limited IP based | 
					
						
							|  |  |  | ; access control is allowed by use of "allow" and "deny" keywords.  Multiple | 
					
						
							|  |  |  | ; rules are permitted.  Multiple permitted contexts may be specified, in | 
					
						
							|  |  |  | ; which case the first will be the default.  You can also override caller*ID | 
					
						
							|  |  |  | ; so that when you receive a call you set the Caller*ID to be what you want | 
					
						
							|  |  |  | ; instead of trusting what the remote user provides | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ; There are three authentication methods that are supported:  md5, plaintext, | 
					
						
							|  |  |  | ; and rsa.  The least secure is "plaintext", which sends passwords cleartext | 
					
						
							|  |  |  | ; across the net.  "md5" uses a challenge/response md5 sum arrangement, but | 
					
						
							|  |  |  | ; still requires both ends have plain text access to the secret.  "rsa" allows | 
					
						
							|  |  |  | ; unidirectional secret knowledge through public/private keys.  If "rsa" | 
					
						
							|  |  |  | ; authentication is used, "inkeys" is a list of acceptable public keys on the  | 
					
						
							|  |  |  | ; local system that can be used to authenticate the remote peer, separated by | 
					
						
							|  |  |  | ; the ":" character.  "outkey" is a single, private key to use to authenticate | 
					
						
							|  |  |  | ; to the other side.  Public keys are named /var/lib/asterisk/keys/<name>.pub | 
					
						
							|  |  |  | ; while private keys are named /var/lib/asterisk/keys/<name>.key.  Private | 
					
						
							|  |  |  | ; keys should always be 3DES encrypted. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-02-22 17:33:38 +00:00
										 |  |  | ; NOTE: All hostnames and IP addresses in this file are for example purposes | 
					
						
							|  |  |  | ;       only; you should not expect any of them to actually be available for | 
					
						
							|  |  |  | ;       your use. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ;[markster] | 
					
						
							|  |  |  | ;type=user | 
					
						
							|  |  |  | ;context=default | 
					
						
							|  |  |  | ;context=local | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ;auth=md5,plaintext,rsa | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ;secret=markpasswd | 
					
						
							| 
									
										
										
										
											2004-11-17 03:11:42 +00:00
										 |  |  | ;setvar=foo=bar | 
					
						
							| 
									
										
										
										
											2004-10-09 03:12:48 +00:00
										 |  |  | ;dbsecret=mysecrets/place	; Secrets can be stored in astdb, too | 
					
						
							| 
									
										
										
										
											2006-05-10 09:09:16 +00:00
										 |  |  | ;transfer=no		; Disable IAX native transfer | 
					
						
							|  |  |  | ;transfer=mediaonly	; When doing IAX native transfers, transfer  | 
					
						
							|  |  |  | 			; only media stream | 
					
						
							| 
									
										
										
										
											2004-09-17 12:45:03 +00:00
										 |  |  | ;jitterbuffer=yes	; Override global setting an enable jitter buffer | 
					
						
							|  |  |  | ;			; for this user | 
					
						
							| 
									
										
										
										
											2006-07-11 19:03:56 +00:00
										 |  |  | ;maxauthreq=10          ; Set maximum number of outstanding AUTHREQs waiting for replies. Any further authentication attempts will be blocked | 
					
						
							|  |  |  | ;                       ; if this limit is reached until they expire or a reply is received. | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ;callerid="Mark Spencer" <(256) 428-6275> | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ;deny=0.0.0.0/0.0.0.0 | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ;accountcode=markster0101 | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ;permit=209.16.236.73/255.255.255.0 | 
					
						
							| 
									
										
										
										
											2004-05-02 06:36:31 +00:00
										 |  |  | ;language=en		; Use english as default language | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Peers may also be specified, with a secret and | 
					
						
							|  |  |  | ; a remote hostname. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [demo] | 
					
						
							|  |  |  | type=peer | 
					
						
							| 
									
										
										
										
											2003-10-08 00:09:59 +00:00
										 |  |  | username=asterisk | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | secret=supersecret | 
					
						
							| 
									
										
										
										
											2002-11-29 05:30:52 +00:00
										 |  |  | host=216.207.245.47 | 
					
						
							| 
									
										
										
										
											2002-02-18 20:25:25 +00:00
										 |  |  | ;sendani=no | 
					
						
							| 
									
										
										
										
											2000-01-06 13:24:57 +00:00
										 |  |  | ;host=asterisk.linux-support.net | 
					
						
							|  |  |  | ;port=5036 | 
					
						
							|  |  |  | ;mask=255.255.255.255 | 
					
						
							| 
									
										
										
										
											2005-08-25 02:22:04 +00:00
										 |  |  | ;qualify=yes			; Make sure this peer is alive | 
					
						
							|  |  |  | ;qualifysmoothing = yes		; use an average of the last two PONG | 
					
						
							| 
									
										
										
										
											2006-09-11 16:41:49 +00:00
										 |  |  | 				; results to reduce falsely detected LAGGED hosts | 
					
						
							| 
									
										
										
										
											2005-08-25 02:22:04 +00:00
										 |  |  | 				; Default: Off | 
					
						
							|  |  |  | ;qualifyfreqok = 60000		; how frequently to ping the peer when | 
					
						
							|  |  |  | 				; everything seems to be ok, in milliseconds | 
					
						
							|  |  |  | ;qualifyfreqnotok = 10000	; how frequently to ping the peer when it's | 
					
						
							|  |  |  | 				; either LAGGED or UNAVAILABLE, in milliseconds | 
					
						
							|  |  |  | ;jitterbuffer=no		; Turn off jitter buffer for this peer | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; Peers can remotely register as well, so that they can be mobile.  Default | 
					
						
							|  |  |  | ; IP's can also optionally be given but are not required.  Caller*ID can be | 
					
						
							|  |  |  | ; suggested to the other side as well if it is for example a phone instead of | 
					
						
							|  |  |  | ; another PBX. | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;[dynamichost] | 
					
						
							|  |  |  | ;host=dynamic | 
					
						
							|  |  |  | ;secret=mysecret | 
					
						
							| 
									
										
										
										
											2003-03-14 06:00:20 +00:00
										 |  |  | ;mailbox=1234		; Notify about mailbox 1234 | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ;inkeys=key1:key2 | 
					
						
							| 
									
										
										
										
											2004-06-26 15:48:30 +00:00
										 |  |  | ;peercontext=local	; Default context to request for calls to peer | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ;defaultip=216.207.245.34 | 
					
						
							|  |  |  | ;callerid="Some Host" <(256) 428-6011> | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-14 06:00:20 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;[biggateway] | 
					
						
							|  |  |  | ;type=peer | 
					
						
							|  |  |  | ;host=192.168.0.1 | 
					
						
							| 
									
										
										
										
											2004-08-31 14:59:58 +00:00
										 |  |  | ;context=* | 
					
						
							| 
									
										
										
										
											2003-03-14 06:00:20 +00:00
										 |  |  | ;secret=myscret | 
					
						
							| 
									
										
										
										
											2004-11-09 05:05:07 +00:00
										 |  |  | ;trunk=yes			; Use IAX2 trunking with this host | 
					
						
							|  |  |  | ;timezone=America/New_York	; Set a timezone for the date/time IE | 
					
						
							| 
									
										
										
										
											2003-03-14 06:00:20 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Friends are a short cut for creating a user and | 
					
						
							|  |  |  | ; a peer with the same values. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;[marko] | 
					
						
							|  |  |  | ;type=friend | 
					
						
							|  |  |  | ;host=dynamic | 
					
						
							| 
									
										
										
										
											2004-09-07 23:45:34 +00:00
										 |  |  | ;regexten=1234 | 
					
						
							| 
									
										
										
										
											2006-06-18 20:18:41 +00:00
										 |  |  | ;secret=moofoo   ; Multiple secrets may be specified. For a "user", all | 
					
						
							|  |  |  | ;secret=foomoo   ; specified entries will be accepted as valid. For a "peer", | 
					
						
							|  |  |  | ;secret=shazbot  ; only the last specified secret will be used. | 
					
						
							| 
									
										
										
										
											2001-10-04 20:02:12 +00:00
										 |  |  | ;context=default | 
					
						
							| 
									
										
										
										
											2002-01-07 02:01:04 +00:00
										 |  |  | ;permit=0.0.0.0/0.0.0.0 | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | 
 |