Don't like ads? PRO users don't see any ads ;-)
Guest

John

By: a guest on May 14th, 2009  |  syntax: None  |  size: 14.71 KB  |  hits: 84  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ; (SCCP*)
  2. ;
  3. ; An implementation of Skinny Client Control Protocol (SCCP)
  4. ;
  5. ; Sergio Chersovani (mlists@c-net.it)
  6. ; http://chan-sccp.belios.de
  7. ;
  8.  
  9. [general]
  10. servername = Asterisk                   ; show this name on the device registration
  11. keepalive = 60                                  ; phone keep alive message evey 60 secs. Used to check the voicemail
  12. debug = 1                                               ; console debug level. 1 => 10
  13. context = from-internal
  14. dateFormat = M/D/YA                             ; M-D-Y in any order. Use M/D/YA (for 12h format)
  15. bindaddr = 0.0.0.0                              ; replace with the ip address of the asterisk server (RTP important param)
  16. port = 2000                                             ; listen on port 2000 (Skinny, default)
  17. disallow=all                                    ; First disallow all codecs
  18. allow=ulaw                                              ; Allow codecs in order of preference
  19. allow=alaw                                              ;
  20. allow=g729                                              ;
  21. firstdigittimeout = 16                  ; dialing timeout for the 1st digit
  22. digittimeout = 4                                ; more digits
  23. digittimeoutchar = #                    ; you can force the channel to dial with this char in the dialing state
  24. autoanswer_ring_time = 1                ; ringing time in seconds for the autoanswer, the default is 0
  25. autoanswer_tone = 0x32                  ; autoanswer confirmation tone. For a complete list of tones: grep SKINNY_TONE sccp_protocol.h
  26.                                                                 ; not all the tones can be played in a connected state, so you have to try.
  27. remotehangup_tone = 0x32                ; passive hangup notification. 0 for none
  28. transfer_tone = 0                               ; confirmation tone on transfer. Works only between SCCP devices
  29. callwaiting_tone = 0x2d                 ; sets to 0 to disable the callwaiting tone
  30. musicclass=default                              ; Sets the default music on hold class
  31. language=en                                             ; Default language setting
  32. callevents=yes                  ; generate manager events when phone
  33.                                 ; performs events (e.g. hold)
  34. ;accountcode=skinny                             ; accountcode to ease billing
  35. ;deny=0.0.0.0/0.0.0.0                   ; Deny every address except for the only one allowed.
  36. ;permit=192.168.10.0/255.255.255.0      ; Accept class C 192.168.1.0
  37.                                                                 ; You may have multiple rules for masking traffic.
  38.                                                                 ; Rules are processed from the first to the last.
  39.                                                                 ; This General rule is valid for all incoming connections. It's the 1st filter.
  40.  
  41. localnet = 192.168.10.201/255.255.255.0 ; All RFC 1918 addresses are local networks
  42. externip = 70.90.xxx.xx                         ; IP Address that we're going to notify in RTP media stream
  43. ;externhost = mydomain.dyndns.org   ; Hostname (if dynamic) that we're going to notify in RTP media stream
  44. ;externrefresh = 60                     ; expire time in seconds for the hostname (dns resolution)
  45. dnd = on                                                ; turn on the dnd softkey for all devices. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
  46. echocancel = on                                 ; sets the phone echocancel for all devices
  47. silencesuppression = off                ; sets the silence suppression for all devices
  48. ;callgroup=1,3-4                                ; We are in caller groups 1,3,4. Valid for all lines
  49. ;pickupgroup=1,3-5                              ; We can do call pick-p for call group 1,3,4,5. Valid for all lines
  50. ;amaflags =                                     ; Sets the default AMA flag code stored in the CDR record
  51. trustphoneip = no                               ; The phone has a ip address. It could be private, so if the phone is behind NAT
  52.                                                                 ; we don't have to trust the phone ip address, but the ip address of the connection
  53. ;tos = 0x68                                             ; call control packets tos (0x68 Assured forwarding) [ASTERISK 1.2 only]
  54. ;rtptos = 0xB8                                  ; call rtp packets tos (0xB8 E.F.) [ASTERISK 1.2 only]
  55. tos_sccp = cs3                                  ; default signaling TOS [ASTERISK 1.4 and above]
  56. tos_audio = ef                                  ; default audio TOS [ASTERISK 1.4 and above]
  57. tos_video = af41                                ; default video TOS [ASTERISK 1.4 and above]
  58. ;cos_sccp = 3                                   ; default signaling COS [ASTERISK 1.6 and above]
  59. ;cos_audio = 5                                  ; default audio COS [ASTERISK 1.6 and above]
  60. ;cos_video = 4                                  ; default video COS [ASTERISK 1.6 and above]
  61.  
  62. ;earlyrtp = none                                ; valid options: none, offhook, dial, ringout. default is none.
  63.                                                                 ; The audio strem will be open in the progress and connected state.
  64. private = on                                    ; permit the private function softkey
  65. privacy = on                                    ; full = disable hints notification on devices, on = hints showed depending on private key, off = hints always showed
  66. mwilamp = on                                    ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
  67. ;mwioncall = off                                ; Set the MWI on call.
  68. blindtransferindication = ring  ; moh or ring. the blind transfer should ring the caller or just play music on hold
  69. protocolversion = 9                             ; skinny version protocol. Just for testing. 0 to 11
  70. ;cfwdall = off                                  ; activate the callforward ALL stuff and softkeys
  71. ;cfwdbusy = off                                 ; activate the callforward BUSY stuff and softkeys
  72. ;cfwdnoanswer = off                             ; activate the callforward NOANSWER stuff and softkeys
  73. ;devicetable=sccpdevice                 ;datebasetable for devices
  74. ;linetable=sccpline                             ;datebasetable for lines
  75. ;nat=on                                                 ; Global NAT support (default Off)
  76. ;directrtp=on                                   ; This option allow devices to do direct RTP sessions (default Off)
  77. ;allowoverlap=on                ; Enable overlap dialing support. (Default is off)
  78. ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
  79. ;jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
  80.                              ; sccp channel. Defaults to "no". An enabled jitterbuffer will
  81.                              ; be used only if the sending side can create and the receiving
  82.                              ; side can not accept jitter. The sccp channel can accept
  83.                              ; jitter, thus a jitterbuffer on the receive sccp side will be
  84.                              ; used only if it is forced and enabled.
  85.  
  86. ;jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a sccp
  87.                              ; channel. Defaults to "no".
  88.  
  89. ;jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds.
  90.  
  91. ;jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is
  92.                              ; resynchronized. Useful to improve the quality of the voice, with
  93.                              ; big jumps in/broken timestamps, usually sent from exotic devices
  94.                              ; and programs. Defaults to 1000.
  95.  
  96. ;jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a
  97.                              ; sccp channel. Two implementations are currently available
  98.                              ; - "fixed" (with size always equals to jbmaxsize)
  99.                              ; - "adaptive" (with variable size, actually the new jb of IAX2).
  100.                              ; Defaults to fixed.
  101.  
  102. ;jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no".
  103. ;-----------------------------------------------------------------------------------
  104.  
  105. [devices]
  106. type        = 7960
  107. description = John
  108. tzoffset    = 0
  109. autologin   = 9999
  110. speeddial       = 1000,Max,1000@from-internal
  111. speeddial       = 1002,Doug,1002@from-internal
  112. device => SEPxxxxxxxxxxxx
  113.  
  114. type        = 7960
  115. description = John
  116. tzoffset    = 0
  117. autologin   = 9998
  118. speeddial   = 200,Fiesta Homes,200@from-internal
  119. speeddial   = 300,ABC Paint and Body,300@from-internal
  120. device => SEPxxxxxxxxxxxx
  121.  
  122. type        = 7960
  123. description = Max                        ; internal description. Not important
  124. tzoffset    = 0
  125. autologin   = 1000                                 ; lines list. You can add an empty line for an empty
  126. speeddial   = 2002,Alan ATA,2002@from-internal    ; you can add an empty speedial if you want an empty
  127. speeddial   = 1002,Doug,1002@from-internal
  128. speeddial   = 1003,Mariano,1003@from-internal
  129. speeddial       = 1005,Vanessa,1005@from-internal
  130. speeddial       = 1004,Joyce,1004@from-internal
  131. device => SEPxxxxxxxxxxxx
  132.  
  133. type        = 7960
  134. description = Conference                      ; internal description. Not important
  135. tzoffset    = 0
  136. autologin   = 1001                                 ; lines list. You can add an empty line for an empty
  137. device => SEPxxxxxxxxxxxx
  138.  
  139. type        = 7960
  140. description = Doug                        ; internal description. Not important
  141. tzoffset    = 0
  142. autologin   = 1002                                 ; lines list. You can add an empty line for an empty
  143. speeddial   = 1005,Vanessa,1005@from-internal    ; you can add an empty speedial if you want an empty
  144. speeddial   = 1000,Max,1000@from-internal
  145. speeddial       = 95756442526,Jerry,95756442526
  146. speeddial       = 1004,Joyce,1004@from-internal
  147. speeddial       = *281,Day/Night,*281
  148. device => SEPxxxxxxxxxxxx
  149.  
  150. type        = 7960
  151. description = Mariano                        ; internal description. Not important
  152. tzoffset    = 0
  153. autologin   = 1003                                ; lines list. You can add an empty line for an empty
  154. device => SEPxxxxxxxxxxxx
  155.  
  156. type        = 7960
  157. description = Joyce                        ; internal description. Not important
  158. tzoffset    = 0
  159. autologin   = 1004                                ; lines list. You can add an empty line for an empty
  160. device => SEPxxxxxxxxxxxx
  161.  
  162. type        = 7960
  163. description = Vanessa                        ; internal description. Not important
  164. tzoffset    = 0
  165. autologin   = 1005                                ; lines list. You can add an empty line for an empty
  166. device => SEPxxxxxxxxxxxx
  167.  
  168. type            = 7960
  169. description     = Ruben
  170. tzoffset        = 0
  171. autologin       = 3001
  172. device => SEPxxxxxxxxxxxx
  173.  
  174. type            = 7960
  175. description     = Javier
  176. tzoffset        = 0
  177. autologin       = 3002
  178. device => SEPxxxxxxxxxxxx
  179.  
  180. type            = 7960
  181. description     = Alan
  182. tzoffset        = 0
  183. autologin       = 2000
  184. nat                     = on
  185. directrtp       = on
  186. device => SEPxxxxxxxxxxxx
  187. type            = 7960
  188. description     = Devona
  189. tzoffset        = 0
  190. autologin       = 2001
  191. speeddial       = 2000,Alans Desk,2000@from-internal
  192. speeddial       = 2002,ATA,2002@from-internal
  193. speeddial       = 1005,Vanessa,1005@from-internal
  194. speeddial       = 1004,Joyce,1004@from-internal
  195. speeddial       = 1002,Dougie Boy,1002@from-internal
  196. device => SEPxxxxxxxxxxxx
  197.  
  198. type            = 7960
  199. description     = Judi
  200. tzoffset        = 0
  201. autologin       = 6000
  202. speeddial       = *97,VM,*97
  203. speeddial       = *286,Day Night Voicemail,*286
  204. speeddial       = 7000,Holiday Storage,7000@from-internal
  205. device => SEPxxxxxxxxxxxx
  206.  
  207. type            = 7960
  208. description     = Holiday
  209. tzoffset        = 0
  210. autologin       = 7000
  211. speeddial       = *97,VM.*97
  212. speeddial       = *287,Day Night Voicemail,*287
  213. speeddial       = 6000,Discount Storage,6000@from-internal
  214. device => SEPxxxxxxxxxxxx
  215. ; This is an example config with multiple phones
  216. ; 08/2005 Stefan Gofferje
  217.  
  218. [lines]
  219. ;label         = 6000                                 ; button line label (7960, 7970, 7940, 7920)
  220. ;description   = Office                             ; top diplay description
  221. ;context       = from-internal
  222. ;callwaiting   = 1
  223. ;incominglimit = 4                                  ; more than 1 incoming call = call waiting
  224. ;mailbox       = 1000                              ; voicemail.conf (syntax: vmbox@context:folder)
  225. ;vmnum         = 8500                             ; speeddial for voicemail administration, just a number to dial
  226. ;cid_name      = Office                            ; caller id name
  227. ;cid_num       = 6000
  228. ;line => 6000
  229.  
  230. label = 1000
  231. description = Max
  232. context = from-internal
  233. cid_name = Max
  234. callwaiting   = 2
  235. incominglimit = 3
  236. cid_num = 1000
  237. conference = on
  238. mailbox = 1000
  239. vmnum = *97
  240. line => 1000
  241.  
  242. label = 1001
  243. description = Conference
  244. context = from-internal
  245. cid_name = Conf
  246. callwaiting   = 2
  247. incominglimit = 3
  248. cid_num = 1001
  249. conference = on
  250. mailbox = 1001
  251. vmnum = *97
  252. line => 1001
  253.  
  254. label = 1002
  255. description = Doug
  256. context = from-internal
  257. cid_name = Doug
  258. callwaiting   = 2
  259. incominglimit = 3
  260. cid_num = 1002
  261. conference = on
  262. mailbox = 1002
  263. vmnum = *97
  264. line => 1002
  265.  
  266. label = 1003
  267. description = Mariano
  268. context = from-internal
  269. cid_name = Conf
  270. callwaiting   = 2
  271. incominglimit = 3
  272. cid_num = 1003
  273. conference = on
  274. mailbox = 1003
  275. vmnum = *97
  276. line => 1003
  277.  
  278. label = 1004
  279. description = Joyce
  280. context = from-internal
  281. cid_name = Joyce
  282. callwaiting   = 2
  283. incominglimit = 3
  284. cid_num = 1004
  285. conference = on
  286. mailbox = 1004
  287. vmnum = *97
  288. line => 1004
  289.  
  290. label = 1005
  291. description = Vanessa
  292. context = from-internal
  293. cid_name = Vanessa
  294. callwaiting   = 2
  295. incominglimit = 3
  296. cid_num = 1005
  297. conference = on
  298. mailbox = 1005
  299. vmnum = *97
  300. line => 1005
  301.  
  302. label = 2000
  303. description = Alan
  304. context = from-internal
  305. cid_name = Alan
  306. callwaiting   = 2
  307. incominglimit = 3
  308. cid_num = 2000
  309. conference = on
  310. mailbox = 2000
  311. vmnum = *97
  312. line => 2000
  313.  
  314. label = 2001
  315. description = Devona
  316. context = from-internal
  317. cid_name = Devona
  318. callwaiting   = 2
  319. incominglimit = 3
  320. cid_num = 2001
  321. conference = on
  322. mailbox = 2001
  323. vmnum = *97
  324. line => 2001
  325.  
  326. label = 3001
  327. description = Ruben
  328. context = from-internal
  329. cid_name = Ruben
  330. callwaiting   = 2
  331. incominglimit = 3
  332. cid_num = 3001
  333. conference = on
  334. mailbox = 3001
  335. vmnum = *97
  336. line => 3001
  337.  
  338. label = 3002
  339. description = Javier
  340. context = from-internal
  341. cid_name = Javier
  342. callwaiting   = 2
  343. incominglimit = 3
  344. cid_num = 3002
  345. conference = on
  346. mailbox = 3002
  347. vmnum = *97
  348. line => 3002
  349.  
  350. label = 6000
  351. description = Judi
  352. context = from-internal
  353. cid_name = Judi
  354. callwaiting   = 2
  355. incominglimit = 3
  356. cid_num = 6000
  357. conference = on
  358. mailbox = 6000
  359. vmnum = *97
  360. line => 6000
  361.  
  362. label = 7000
  363. description = Holiday
  364. context = from-internal
  365. cid_name = Holiday
  366. callwaiting   = 2
  367. incominglimit = 3
  368. cid_num = 7000
  369. conference = on
  370. mailbox = 7000
  371. vmnum = *97
  372. line => 7000
  373.  
  374. label = 9998
  375. description = John Grandle
  376. context = from-internal
  377. cid_name = John Grandle
  378. callwaiting   = 2
  379. incominglimit = 3
  380. cid_num = 9998
  381. conference = on
  382. mailbox = 9998
  383. vmnum = *97
  384. line => 9998
  385.  
  386. ; phone types
  387. ;    12 -- Cisco Unified IP Phone 12SP+ (or other 12 variants)
  388. ;    30 -- Cisco Unified IP Phone 30VIP (or other 30 variants)
  389. ;  7902 -- Cisco Unified IP Phone 7902G
  390. ;  7905 -- Cisco Unified IP Phone 7905G
  391. ;  7906 -- Cisco Unified IP Phone 7906G
  392. ;  7910 -- Cisco Unified IP Phone 7910G
  393. ;  7911 -- Cisco Unified IP Phone 7911G
  394. ;  7912 -- Cisco Unified IP Phone 7912G
  395. ;  7935 -- Cisco Unified IP Conference Station 7935
  396. ;  7936 -- Cisco Unified IP Conference Station 7936
  397. ;  7937 -- Cisco Unified IP Conference Station 7937G
  398. ;  7920 -- Cisco Unified IP Wireless Phone 7920
  399. ;  7921 -- Cisco Unified IP Wireless Phone 7921G
  400. ;  7931 -- Cisco Unified IP Phone 7931G
  401. ;  7940 -- Cisco Unified IP Phone 7940G
  402. ;  7941 -- Cisco Unified IP Phone 7941G/7941G-GE
  403. ;  7942 -- Cisco Unified IP Phone 7942G
  404. ;  7945 -- Cisco Unified IP Phone 7945G
  405. ;  7960 -- Cisco Unified IP Phone 7960G
  406. ;  7961 -- Cisco Unified IP Phone 7961G/7961G-GE
  407. ;  7962 -- Cisco Unified IP Phone 7962G
  408. ;  7965 -- Cisco Unified IP Phone 7965G
  409. ;  7970 -- Cisco Unified IP Phone 7970G
  410. ;  7971 -- Cisco Unified IP Phone 7971G-GE
  411. ;  7975 -- Cisco Unified IP Phone 7975G
  412. ;  7985 -- Cisco Unified IP Phone 7985G
  413. ;  7914 -- Your device plus two 7914 addons (deprecated)
  414. ;   ata -- Cisco ATA-186 or Cisco ATA-188
  415. ;  kirk -- Kirk telecom ip phones
  416. ;  cipc -- Cisco IP Communicator
  417. ;  nokia-icc -- Nokias ICC Cisco client