| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Skinny Configuration for Asterisk | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [general] | 
					
						
							| 
									
										
										
										
											2006-03-29 21:08:13 +00:00
										 |  |  | bindaddr=0.0.0.0	; Address to bind to | 
					
						
							| 
									
										
										
										
											2006-06-18 22:36:39 +00:00
										 |  |  | bindport=2000		; Port to bind to, default tcp/2000 | 
					
						
							| 
									
										
										
										
											2007-08-02 21:54:54 +00:00
										 |  |  | dateformat=M-D-Y	; M,D,Y in any order (6 chars max) | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 			; "A" may also be used, but it must be at the end. | 
					
						
							|  |  |  | 			; Use M for month, D for day, Y for year, A for 12-hour time. | 
					
						
							| 
									
										
										
										
											2006-06-18 22:36:39 +00:00
										 |  |  | keepalive=120 | 
					
						
							| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-21 18:32:50 +00:00
										 |  |  | ;authtimeout = 30       ; authtimeout specifies the maximum number of seconds a | 
					
						
							|  |  |  | 			; client has to authenticate.  If the client does not | 
					
						
							|  |  |  | 			; authenticate beofre this timeout expires, the client | 
					
						
							|  |  |  |                         ; will be disconnected.  (default: 30 seconds) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;authlimit = 50         ; authlimit specifies the maximum number of | 
					
						
							|  |  |  | 			; unauthenticated sessions that will be allowed to | 
					
						
							|  |  |  |                         ; connect at any given time. (default: 50) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-05-11 22:52:36 +00:00
										 |  |  | ;vmexten=8500		; Systemwide voicemailmain pilot number | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 			; It must be in the same context as the calling | 
					
						
							|  |  |  | 			; device/line | 
					
						
							| 
									
										
										
										
											2007-05-11 22:52:36 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-06-29 21:37:43 +00:00
										 |  |  | ; If regcontext is specified, Asterisk will dynamically create and destroy a | 
					
						
							|  |  |  | ; NoOp priority 1 extension for a given line which registers or unregisters with | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | ; us and have a "regexten=" configuration item. | 
					
						
							|  |  |  | ; Multiple contexts may be specified by separating them with '&'. The | 
					
						
							| 
									
										
										
										
											2007-06-29 21:37:43 +00:00
										 |  |  | ; actual extension is the 'regexten' parameter of the registering line or its | 
					
						
							|  |  |  | ; name if 'regexten' is not provided.  If more than one context is provided, | 
					
						
							|  |  |  | ; the context must be specified within regexten by appending the desired | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | ; context after '@'.  More than one regexten may be supplied if they are | 
					
						
							| 
									
										
										
										
											2007-06-29 21:37:43 +00:00
										 |  |  | ; separated by '&'.  Patterns may be used in regexten. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;regcontext=skinnyregistrations | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-02 18:59:29 +00:00
										 |  |  | ;allow=all		; see https://wiki.asterisk.org/wiki/display/AST/RTP+Packetization | 
					
						
							|  |  |  | 			; for framing options | 
					
						
							| 
									
										
										
										
											2006-03-29 21:08:13 +00:00
										 |  |  | ;disallow= | 
					
						
							| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-25 05:49:54 +00:00
										 |  |  | ; The imeddialkey option allows for a key to be used to immediately dial the already | 
					
						
							|  |  |  | ; entered number. This is useful where the dialplan includes variable length pattern | 
					
						
							|  |  |  | ; matching. Valid options are '#' and '*'. On devices with soft buttons, a button will | 
					
						
							|  |  |  | ; be available to immediately dial when a pattern than can be dialed has been entered. | 
					
						
							|  |  |  | ; Default is unset, that is no immediated dial key (softbutton still exists). | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2013-02-06 06:55:02 +00:00
										 |  |  | ;immeddialkey=# | 
					
						
							| 
									
										
										
										
											2013-01-25 05:49:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-02 19:30:49 +00:00
										 |  |  | ; See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for a description of these parameters. | 
					
						
							| 
									
										
										
										
											2007-12-16 10:51:53 +00:00
										 |  |  | ;tos=cs3		; Sets TOS for signaling packets. | 
					
						
							|  |  |  | ;tos_audio=ef		; Sets TOS for RTP audio packets. | 
					
						
							|  |  |  | ;tos_video=af41		; Sets TOS for RTP video packets. | 
					
						
							|  |  |  | ;cos=3			; Sets 802.1p priority for signaling packets. | 
					
						
							|  |  |  | ;cos_audio=5		; Sets 802.1p priority for RTP audio packets. | 
					
						
							|  |  |  | ;cos_video=4		; Sets 802.1p priority for RTP video packets. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-06-01 04:35:00 +00:00
										 |  |  | ;------------------------------ JITTER BUFFER CONFIGURATION -------------------------- | 
					
						
							|  |  |  | ;jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                              ; skinny channel. Defaults to "no". An enabled jitterbuffer will | 
					
						
							|  |  |  |                              ; be used only if the sending side can create and the receiving | 
					
						
							|  |  |  |                              ; side can not accept jitter. The skinny channel can accept | 
					
						
							|  |  |  |                              ; jitter, thus a jitterbuffer on the receive skinny side will be | 
					
						
							|  |  |  |                              ; used only if it is forced and enabled. | 
					
						
							| 
									
										
										
										
											2006-06-01 04:35:00 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a skinny | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                              ; channel. Defaults to "no". | 
					
						
							| 
									
										
										
										
											2006-06-01 04:35:00 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                              ; resynchronized. Useful to improve the quality of the voice, with | 
					
						
							|  |  |  |                              ; big jumps in/broken timestamps, usually sent from exotic devices | 
					
						
							|  |  |  |                              ; and programs. Defaults to 1000. | 
					
						
							| 
									
										
										
										
											2006-06-01 04:35:00 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                              ; skinny channel. Two implementations are currently available | 
					
						
							|  |  |  |                              ; - "fixed" (with size always equals to jbmaxsize) | 
					
						
							|  |  |  |                              ; - "adaptive" (with variable size, actually the new jb of IAX2). | 
					
						
							|  |  |  |                              ; Defaults to fixed. | 
					
						
							| 
									
										
										
										
											2006-06-01 04:35:00 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no". | 
					
						
							|  |  |  | ;----------------------------------------------------------------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-10-17 06:00:28 +00:00
										 |  |  | [lines] | 
					
						
							|  |  |  | ;----------------------------------- LINES SECTION -------------------------------- | 
					
						
							|  |  |  | ; Options set under [lines] apply to all lines unless explicitly set for a particular | 
					
						
							|  |  |  | ; device. The options that can be set under lines are specified in GENERAL LINE OPTIONS. | 
					
						
							|  |  |  | ; These options can also be set for each individual device as well as those under SPECIFIC | 
					
						
							|  |  |  | ; LINE OPTIONS. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Each label below [lines] in [] is a new line with the specific options specified below | 
					
						
							|  |  |  | ; it. Config stops reading new lines when one of the following is found: [general], [devices] | 
					
						
							|  |  |  | ; or the end of skinny.conf. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Where options are common to both lines and devices, the results typically take that of | 
					
						
							|  |  |  | ; the least permission. ie if a no is set for either line or device, the call will not be | 
					
						
							|  |  |  | ; able to use that permission | 
					
						
							|  |  |  | ;-------------------------------- GENERAL LINE OPTIONS ----------------------------- | 
					
						
							|  |  |  | ;earlyrtp=1                  ; whether audio signalling should be provided by asterisk | 
					
						
							|  |  |  | ;                            ; (earlyrtp=1) or device generated (earlyrtp=0). default=yes | 
					
						
							|  |  |  | ;transfer=1                  ; whether the device is allowed to transfer. default=yes | 
					
						
							|  |  |  | ;context=default             ; context to use for this line. | 
					
						
							| 
									
										
										
										
											2013-05-18 23:20:53 +00:00
										 |  |  | ;callfwdtimeout=20000        ; ms before cfwd_noans occurs (default 20 secs) | 
					
						
							| 
									
										
										
										
											2008-10-17 06:00:28 +00:00
										 |  |  | ;------------------------------- SPECIFIC LINE OPTIONS ----------------------------- | 
					
						
							|  |  |  | ;setvar=        	     ; allows for the setting of chanvars. | 
					
						
							|  |  |  | ;----------------------------------------------------------------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;[100] | 
					
						
							|  |  |  | ;nat=yes | 
					
						
							|  |  |  | ;callerid="Customer Support" <810-234-1212> | 
					
						
							| 
									
										
										
										
											2013-12-19 16:52:43 +00:00
										 |  |  | ; Note: app_voicemail mailboxes must be in the form of mailbox@context. | 
					
						
							| 
									
										
										
										
											2008-10-17 06:00:28 +00:00
										 |  |  | ;mailbox=100 | 
					
						
							|  |  |  | ;vmexten=8500			; Device level voicemailmain pilot number | 
					
						
							|  |  |  | ;regexten=100 | 
					
						
							|  |  |  | ;context=inbound | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | ;linelabel="Support Line"	; Displays next to the line | 
					
						
							|  |  |  | 				; button on 7940's and 7960s | 
					
						
							| 
									
										
										
										
											2008-10-17 06:00:28 +00:00
										 |  |  | ;[110] | 
					
						
							|  |  |  | ;callerid="John Chambers" <408-526-4000> | 
					
						
							|  |  |  | ;context=did | 
					
						
							|  |  |  | ;regexten=110 | 
					
						
							|  |  |  | ;linelabel="John" | 
					
						
							|  |  |  | ;mailbox=110 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;[120] | 
					
						
							|  |  |  | ;Nothing set, so all the defaults are used | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ;[500] | 
					
						
							| 
									
										
										
										
											2006-06-18 22:36:39 +00:00
										 |  |  | ;nat=yes | 
					
						
							| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | ;callerid="George W. Bush" <202-456-1414> | 
					
						
							| 
									
										
										
										
											2007-08-06 16:08:11 +00:00
										 |  |  | ;setvar=CUSTID=5678	; Channel variable to be set for all calls from this device | 
					
						
							| 
									
										
										
										
											2008-07-30 16:40:43 +00:00
										 |  |  | ;setvar=ATTENDED_TRANSFER_COMPLETE_SOUND=beep   ; This channel variable will | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                                                 ; cause the given audio file to | 
					
						
							|  |  |  |                                                 ; be played upon completion of | 
					
						
							| 
									
										
										
										
											2013-06-06 22:46:54 +00:00
										 |  |  |                                                 ; an attended transfer to the | 
					
						
							|  |  |  |                                                 ; target of the transfer. | 
					
						
							| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | ;mailbox=500 | 
					
						
							| 
									
										
										
										
											2006-06-18 22:36:39 +00:00
										 |  |  | ;callwaiting=yes | 
					
						
							|  |  |  | ;transfer=yes | 
					
						
							|  |  |  | ;threewaycalling=yes | 
					
						
							| 
									
										
										
										
											2003-09-11 19:44:48 +00:00
										 |  |  | ;context=default | 
					
						
							| 
									
										
										
										
											2006-09-17 22:24:27 +00:00
										 |  |  | ;mohinterpret=default	; This option specifies a default music on hold class to | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 			; use when put on hold if the channel's moh class was not | 
					
						
							|  |  |  | 			; explicitly set with Set(CHANNEL(musicclass)=whatever) and | 
					
						
							|  |  |  | 			; the peer channel did not suggest a class to use. | 
					
						
							| 
									
										
										
										
											2006-09-17 22:24:27 +00:00
										 |  |  | ;mohsuggest=default	; This option specifies which music on hold class to suggest to the peer channel | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 			; when this channel places the peer on hold. It may be specified globally or on | 
					
						
							|  |  |  | 			; a per-user or per-peer basis. | 
					
						
							| 
									
										
										
										
											2009-01-25 14:35:17 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [devices] | 
					
						
							|  |  |  | ;---------------------------------- DEVICES SECTION ------------------------------- | 
					
						
							|  |  |  | ; Options set under [devices] apply to all devices unless explicitly set for a particular | 
					
						
							|  |  |  | ; device. The options that can be set under devices are specified in GENERAL DEVICE OPTIONS. | 
					
						
							|  |  |  | ; These options can also be set for each individual device as well as those under SPECIFIC | 
					
						
							|  |  |  | ; DEVICE OPTIONS. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Each label below [devices] in [] is a new device with the specific options specified below | 
					
						
							|  |  |  | ; it. Config stop reading new devices when one of the following is found: [general], [lines] | 
					
						
							|  |  |  | ; or the end of skinny.conf. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Where options are common to both lines and devices, the results typically take that of | 
					
						
							|  |  |  | ; the least permission. ie if a no is set for either line or device, the call will not be | 
					
						
							|  |  |  | ; able to use that permission | 
					
						
							|  |  |  | ;------------------------------- GENERAL DEVICE OPTIONS ---------------------------- | 
					
						
							|  |  |  | ;earlyrtp=1                  ; whether audio signalling should be provided by asterisk | 
					
						
							|  |  |  | ;                            ; (earlyrtp=1) or device generated (earlyrtp=0). default=yes | 
					
						
							|  |  |  | ;transfer=1                  ; whether the device is allowed to transfer. default=yes | 
					
						
							|  |  |  | ;------------------------------ SPECIFIC DEVICE OPTIONS ---------------------------- | 
					
						
							|  |  |  | ;device="SEPxxxxxxxxxxxx     ; id of the device. Must be set. | 
					
						
							|  |  |  | ;version=P002G204	     ; firmware version to be loaded. If this version is different | 
					
						
							|  |  |  | ;                            ; to the one on the device, the device will try to load this | 
					
						
							|  |  |  | ;                            ; version from the tftp server. Set to device firmware version. | 
					
						
							|  |  |  | ;----------------------------------------------------------------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ; Typical config for 12SP+ | 
					
						
							|  |  |  | ;[florian] | 
					
						
							|  |  |  | ;device=SEP00D0BA847E6B | 
					
						
							|  |  |  | ;version=P002G204	; Thanks critch | 
					
						
							|  |  |  | ;context=did | 
					
						
							| 
									
										
										
										
											2009-08-03 20:48:48 +00:00
										 |  |  | ;directmedia=yes	; Allow media to go directly between two RTP endpoints. | 
					
						
							| 
									
										
										
										
											2009-01-25 14:35:17 +00:00
										 |  |  | ;line=120		; Dial(Skinny/120@florian) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-02-19 06:54:23 +00:00
										 |  |  | ; Service URLs attached to line buttons (eg phone directory) | 
					
						
							|  |  |  | ; See http://www.voip-info.org/wiki/view/Asterisk+Cisco+79XX+XML+Services | 
					
						
							|  |  |  | ; for intro to xml structure. | 
					
						
							|  |  |  | ;serviceurl=Directory,http://host/file.xml | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-25 14:35:17 +00:00
										 |  |  | ; Typical config for a 7910 | 
					
						
							|  |  |  | ;[duba]			; Device name | 
					
						
							|  |  |  | ;device=SEP0007EB463101	; Official identifier | 
					
						
							|  |  |  | ;version=P002F202	; Firmware version identifier | 
					
						
							|  |  |  | ;host=192.168.1.144 | 
					
						
							|  |  |  | ;permit=192.168.0/24	; Optional, used for authentication | 
					
						
							|  |  |  | ;line=500 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ; Typical config for a 7940 with dual 7914s | 
					
						
							|  |  |  | ;[support] | 
					
						
							|  |  |  | ;device=SEP0007EB463121 | 
					
						
							|  |  |  | ;line=100 | 
					
						
							|  |  |  | ;line=110 | 
					
						
							|  |  |  | ;speeddial => 111,Jack Smith         ; Adds a speeddial button to a device. | 
					
						
							|  |  |  | ;speeddial => 112@hints,Bob Peterson ; When a context is specified, the speeddial watches a dialplan hint. | 
					
						
							|  |  |  | ;addon => 7914 | 
					
						
							|  |  |  | ;addon => 7914 | 
					
						
							|  |  |  | 
 |