aboutsummaryrefslogtreecommitdiffstats
path: root/configs/skinny.conf.sample
blob: 389e986fd4ae881310227d9aafaacf07fd20f89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
;
; Skinny Configuration for Asterisk
;
[general]
bindaddr=0.0.0.0	; Address to bind to
bindport=2000		; Port to bind to, default tcp/2000
dateformat=M-D-Y	; M,D,Y in any order (6 chars max)
			; "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.
keepalive=120

;vmexten=8500		; Systemwide voicemailmain pilot number
			; It must be in the same context as the calling
			; device/line

; If regcontext is specified, Asterisk will dynamically create and destroy a
; NoOp priority 1 extension for a given line which registers or unregisters with
; us and have a "regexten=" configuration item.  
; Multiple contexts may be specified by separating them with '&'. The 
; 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
; context after '@'.  More than one regexten may be supplied if they are 
; separated by '&'.  Patterns may be used in regexten.
;
;regcontext=skinnyregistrations

;allow=all		; see doc/rtp-packetization for framing options
;disallow=

; See qos.tex or Quality of Service section of asterisk.pdf for a description of these parameters.
;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.

;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
;jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
                             ; 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.

;jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a skinny
                             ; channel. Defaults to "no".

;jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds.

;jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is
                             ; 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.

;jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a
                             ; 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.

;jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------

;----------------------------------- DEVICE OPTIONS --------------------------------
;earlyrtp=1                  ; whether audio signalling should be provided by asterisk
                             ; (earlyrtp=1) or device generated (earlyrtp=0). 
                             ; defaults to earlyrtp=1
;-----------------------------------------------------------------------------------

; Typical config for 12SP+
;[florian]
;device=SEP00D0BA847E6B
;version=P002G204	; Thanks critch
;context=did
;canreinvite=yes	; Allow media to go directly between two RTP endpoints.
;line => 120		; Dial(Skinny/120@florian)


; 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
;nat=yes
;callerid="George W. Bush" <202-456-1414>
;setvar=CUSTID=5678	; Channel variable to be set for all calls from this device
;setvar=ATTENDED_TRANSFER_COMPLETE_SOUND=beep   ; This channel variable will
                                                ; cause the given audio file to
                                                ; be played upon completion of
                                                ; an attended transfer.
;mailbox=500
;callwaiting=yes
;transfer=yes
;threewaycalling=yes
;context=default
;line => 500		; Dial(Skinny/500@duba)
;mohinterpret=default	; This option specifies a default music on hold class to
			; 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.
;mohsuggest=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.

; Typical config for a 7940 with dual 7914s
;[support]
;device=SEP0007EB463121
;nat=yes
;callerid="Customer Support" <810-234-1212>
;mailbox=100
;vmexten=8500			; Device level voicemailmain pilot number
;regexten=100
;context=inbound
;linelabel="Support Line"	; Displays next to the line 
				; button on 7940's and 7960s
;line => 100
;callerid="John Chambers" <408-526-4000>
;context=did
;regexten=110
;linelabel="John"
;mailbox=110
;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