| 1 |
; |
| 2 |
; chan_unistim configuration file. |
| 3 |
; |
| 4 |
|
| 5 |
[general] |
| 6 |
port=5000 ; UDP port |
| 7 |
; |
| 8 |
; See https://docs.asterisk.org/Configuration/Channel-Drivers/IP-Quality-of-Service for a description of these parameters. |
| 9 |
;tos=cs3 ; Sets TOS for signaling packets. |
| 10 |
;tos_audio=ef ; Sets TOS for RTP audio packets. |
| 11 |
;cos=3 ; Sets 802.1p priority for signaling packets. |
| 12 |
;cos_audio=5 ; Sets 802.1p priority for RTP audio packets. |
| 13 |
; |
| 14 |
;debug=yes ; Enable debug (default no) |
| 15 |
;keepalive=120 ; in seconds, default = 120 |
| 16 |
;public_ip= ; if asterisk is behind a nat, specify your public IP |
| 17 |
;autoprovisioning=no ; Allow undeclared phones to register an extension. See README for important |
| 18 |
; informations. no (default), yes, tn. |
| 19 |
;mohsuggest=default |
| 20 |
; ----------------------------- JITTER BUFFER CONFIGURATION -------------------------- |
| 21 |
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a |
| 22 |
; SIP channel. Defaults to "no". An enabled jitterbuffer will |
| 23 |
; be used only if the sending side can create and the receiving |
| 24 |
; side can not accept jitter. The SIP channel can accept jitter, |
| 25 |
; thus a jitterbuffer on the receive SIP side will be used only |
| 26 |
; if it is forced and enabled. |
| 27 |
|
| 28 |
; jbforce = no ; Forces the use of a jitterbuffer on the receive side of a SIP |
| 29 |
; channel. Defaults to "no". |
| 30 |
|
| 31 |
; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. |
| 32 |
|
| 33 |
; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is |
| 34 |
; resynchronized. Useful to improve the quality of the voice, with |
| 35 |
; big jumps in/broken timestamps, usually sent from exotic devices |
| 36 |
; and programs. Defaults to 1000. |
| 37 |
|
| 38 |
; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a SIP |
| 39 |
; channel. Two implementations are currently available - "fixed" |
| 40 |
; (with size always equals to jbmaxsize) and "adaptive" (with |
| 41 |
; variable size, actually the new jb of IAX2). Defaults to fixed. |
| 42 |
|
| 43 |
; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". |
| 44 |
; ---------------------------------------------------------------------------------- |
| 45 |
|
| 46 |
|
| 47 |
;[black] ; name of the device |
| 48 |
;device=000ae4012345 ; mac address of the phone |
| 49 |
;rtp_port=10000 ; RTP port used by the phone, default = 10000. RTCP = rtp_port+1 |
| 50 |
;rtp_method=0 ; If you don't have sound, you can try 1, 2 or 3, default = 0 |
| 51 |
; value 3 works on newer i2004, 1120E and 1140E |
| 52 |
;status_method=0 ; If you don't see status text, try 1, default = 0 |
| 53 |
; value 1 works on 1120E and 1140E |
| 54 |
;titledefault=Asterisk ; default = "TimeZone (your time zone)". 12 characters max |
| 55 |
;height=3 ; default = 3, the number of display lines the device can show |
| 56 |
; For example on a Nortel I2001 or I2002, set this to 1 |
| 57 |
;maintext0="you can insert" ; default = "Welcome", 24 characters max |
| 58 |
;maintext1="a custom text" ; default = the name of the device, 24 characters max |
| 59 |
;maintext2="(main page)" ; default = the public IP of the phone, 24 characters max |
| 60 |
;dateformat=0 ; 0 (default) = 31Jan, 1 = Jan31, 2 = month/day, 3 = day/month |
| 61 |
;timeformat=1 ; 0 = 0:00am ; 1 (default) = 0h00, 2 = 0:00 |
| 62 |
;contrast=8 ; define the contrast of the LCD. From 0 to 15. Default = 8 |
| 63 |
;country=us ; country (ccTLD) for dial tone frequency. See README, default = us |
| 64 |
;language=ru ; language used for audio files and onscreen messages translate |
| 65 |
;ringvolume=2 ; ring volume : 0,1,2,3, can be overrided by Dial(), default = 2 |
| 66 |
;ringstyle=3 ; ring style : 0 to 7, can be overrided by Dial(), default = 3 |
| 67 |
;cwvolume=2 ; ring volume : 0,1,2,3, default = 0 |
| 68 |
;cwstyle=3 ; ring style : 0 to 7, default = 2 |
| 69 |
;sharpdial=1 ; dial number by pressing #, default = 0 |
| 70 |
;dtmf_duration=0 ; DTMF playback duration (in milliseconds) 0..150 (0 = off (default), 150 = maximum) |
| 71 |
;interdigit_timer=4000 ; timer for automatic dial after several digits of number entered (in ms, 0 is off) |
| 72 |
;callhistory=1 ; 0 = disable, 1 = enable call history, default = 1 |
| 73 |
;callerid="Customer Support" <555-234-5678> |
| 74 |
;context=default ; context, default="default" |
| 75 |
;mailbox=1234 ; Specify the mailbox number. Used by Message Waiting Indication |
| 76 |
;linelabel="Support" ; Softkey label for the next line=> entry, 9 char max. |
| 77 |
;extension=none ; Add an extension into the dialplan. Only valid in context specified previously. |
| 78 |
; none=don't add (default), ask=prompt user, line=use the line number |
| 79 |
;line => 100 ; Any number of lines can be defined in any order with bookmarks |
| 80 |
;line => 200 ; After line defined it placed in next available slot |
| 81 |
;bookmark=Hans C.@123 ; Use a softkey to dial 123. Name : 9 char max |
| 82 |
;bookmark=Mailbox@011@54 ; 54 shows a mailbox icon. See #define FAV_ICON_ for other values (32 to 63) |
| 83 |
;bookmark=Test@*@USTM/violet ; Display an icon if violet is connected (dynamic), only for unistim device |
| 84 |
;bookmark=4@Pager@54321@51 ; Display a pager icon and dial 54321 when softkey 4 is pressed |
| 85 |
|
| 86 |
;[violet] |
| 87 |
;device=006038abcdef |
| 88 |
;line => 102 |