Cisco 7935
Hey all
Well, I noticed a few of you have had success setting up a 7935 conference phone with trixbox. I was hoping someone could give me a few tips.
The software version I have on the phone is 3.1(9.00) and the App ID is (P00503010900). So far I have put the SEP(MAC).cnf.xml and the XMLDefault.cnf.xml in my tftp folder but the phone doesn't seem to be picking it up correctly. My tftp log is as follows:
Dec 27 12:22:50 trixbox1.local atftpd[15195.-1250149488]: Serving SEP(mac).cnf.xml to (ipaddy):33058
Dec 27 12:22:50 trixbox1.local atftpd[15195.-1281619056]: timeout: retrying...
Dec 27 12:22:51 trixbox1.local atftpd[15195.-1323594864]: timeout: retrying...
Dec 27 12:22:51 trixbox1.local atftpd[15195.-1229169776]: timeout: retrying...
Dec 27 12:22:52 trixbox1.local atftpd[15195.-1292113008]: timeout: retrying...
Dec 27 12:22:52 trixbox1.local atftpd[15195.-1208190064]: timeout: retrying...
Dec 27 12:22:52 trixbox1.local atftpd[15195.-1260639344]: Serving XMLDefault.cnf.xml to (ipaddy):33062
Dec 27 12:22:53 trixbox1.local atftpd[15195.-1313100912]: timeout: retrying...
Dec 27 12:22:53 trixbox1.local atftpd[15195.-1239659632]: timeout: retrying...
Dec 27 12:22:54 trixbox1.local atftpd[15195.-1302606960]: timeout: retrying...
Dec 27 12:22:54 trixbox1.local atftpd[15195.-1218679920]: timeout: retrying...
And it continues like this indefinitely. It seems to request those two files over and over. Also, I don't have any firmware files on my tftp server because I don't have access to the cisco firmware yet (no service contract), but is this necessary? If you have any suggestions or could point me in the right direction that would be greatly appreciated.
-T
Here is my XMLDefault.cnf.xml file ( The ( is a < ):
(Default>
(callManagerGroup>
(members>
(member priority="0">
(callManager>
(ports>
(ethernetPhonePort>2000(/ethernetPhonePort>
(/ports>
(processNodeName>IPADDY(/processNodeName>
(/callManager>
(/member>
(/members>
(/callManagerGroup>
(/Default>
Here is my SEP.cnf.xml file ( The ( is a < ):
(device>
(devicePool>
(callManagerGroup>
(members>
(member priority="0">
(callManager>
(ports>
(ethernetPhonePort>2000(/ethernetPhonePort>
(/ports>
(processNodeName>IPADDY(/processNodeName>
(/callManager>
(/member>
(/members>
(/callManagerGroup>
(/devicePool>
(versionStamp>{Jan 01 2005 00:00:00}(/versionStamp>
(loadInformation>(/loadInformation>
(userLocale>
(name>English_United_States(/name>
(langCode>en(/langCode>
(/userLocale>
(networkLocale>United_States(/networkLocale>
(idleTimeout>0(/idleTimeout>
(authenticationURL>(/authenticationURL>
(directoryURL>(/directoryURL>
(idleURL>(/idleURL>
(informationURL>(/informationURL>
(messagesURL>(/messagesURL>
(proxyServerURL>(/proxyServerURL>
(servicesURL>(/servicesURL>
(/device>
Here is my sccp.conf file (i believe i have it setup correctly):
; (SCCP*)
;
; An implementation of Skinny Client Control Protocol (SCCP)
;
; Sergio Chersovani (mlists@c-net.it)
; http://chan-sccp.belios.de
;
[general]
servername = Asterisk ; show this name on the device registration
keepalive = 60 ; phone keep alive message evey 60 secs. Used to check the voicemail
debug = 1 ; console debug level. 1 => 10
context = sccp
dateFormat = D.M.Y ; M-D-Y in any order. Use M/D/YA (for 12h format)
bindaddr = 0.0.0.0 ; replace with the ip address of the asterisk server (RTP important param)
port = 2000 ; listen on port 2000 (Skinny, default)
disallow=all ; First disallow all codecs
allow=alaw ; Allow codecs in order of preference
allow=ulaw ;
firstdigittimeout = 16 ; dialing timeout for the 1st digit
digittimeout = 8 ; more digits
;digittimeoutchar = # ; you can force the channel to dial with this char in the dialing state
autoanswer_ring_time = 1 ; ringing time in seconds for the autoanswer, the default is 0
autoanswer_tone = 0x32 ; autoanswer confirmation tone. For a complete list of tones: grep SKINNY_TONE sccp_protocol.h
; not all the tones can be played in a connected state, so you have to try.
remotehangup_tone = 0x32 ; passive hangup notification. 0 for none
transfer_tone = 0 ; confirmation tone on transfer. Works only between SCCP devices
callwaiting_tone = 0x2d ; sets to 0 to disable the callwaiting tone
musicclass=default ; Sets the default music on hold class
language=en ; Default language setting
;accountcode=skinny ; accountcode to ease billing
deny=0.0.0.0/0.0.0.0 ; Deny every address except for the only one allowed.
permit=/255.255.255.0 ; Accept class C 192.168.1.0
; You may have multiple rules for masking traffic.
; Rules are processed from the first to the last.
; This General rule is valid for all incoming connections. It's the 1st filter.
permit=/255.255.255.248
;localnet = 192.168.1.0/255.255.255.0 ; All RFC 1918 addresses are local networks
;externip = 1.2.3.4 ; IP Address that we're going to notify in RTP media stream
;externhost = mydomain.dyndns.org ; Hostname (if dynamic) that we're going to notify in RTP media stream
; externrefresh = 60 ; expire time in seconds for the hostname (dns resolution)
dnd = on ; turn on the dnd softkey for all devices. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
rtptos = 184 ; sets the default rtp packets TOS
echocancel = on ; sets the phone echocancel for all devices
silencesuppression = off ; sets the silence suppression for all devices
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for all lines
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for all lines
;amaflags = ; Sets the default AMA flag code stored in the CDR record
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
tos = 0x68 ; call control packets tos (0x68 Assured forwarding)
;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = on ; permit the private function softkey
;mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
;mwioncall = off ; Set the MWI on call.
;blindtransferindication = ring ; moh or ring. the blind transfer should ring the caller or just play music on hold
;protocolversion = 3 ; skinny version protocol. Just for testing. 2 to 6
;cfwdall = off ; activate the callforward ALL stuff and softkeys
;cfwdbusy = off ; activate the callforward BUSY stuff and softkeys
[devices]
type = 7935 ; device type (see below)
autologin = line79352,,line79352 ; lines list. You can add an empty line for an empty button (7960, 7970, 7940, 7920)
description = Phone7935 ; internal description. Not important
;keepalive = 60 ; set 0 to disable the keepalive check.
;tzoffset = +2
transfer = on ; enable or disable the transfer capability. It does remove the transfer softkey
park = on ; take a look to the compile howto. Park stuff is not compiled by default
speeddial = ; you can add an empty speedial if you want an empty button (7960, 7970, 7920)
speeddial = 1000,name ; speeddial number and name
cfwdall = off ; activate the callforward stuff and softkeys
cfwdbusy = off
dtmfmode = inband ; inband or outofband. outofband is the native cisco dtmf tone play.
; Some phone model does not play dtmf tones while connected (bug?), so the default is inband
imageversion = P00405000700 ; useful to upgrade old firmwares (the ones that do not load *.xml from the tftp server)
deny=0.0.0.0/0.0.0.0 ; Same as general
permit=192.168.200.1/255.255.255.0 ; This device can register only using this ip address
permit=/255.255.255.248
dnd = on ; turn on the dnd softkey for this device. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = on ; permit the private function softkey for this device
;mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
;mwioncall = off ; Set the MWI on call.
device => SEP ; device name SEP
[lines]
id = 1000 ; future use
pin = 1234 ; future use
label = 79351 ; button line label (7960, 7970, 7940, 7920)
description = Line 79351 ; top diplay description
context = sccp
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 7935 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = *98 ; speeddial for voicemail administration, just a number to dial
cid_name = 7935 CID ; caller id name
cid_num = 79351
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=en ; Default language setting
;accountcode=79501 ; accountcode to ease billing
rtptos = 184 ; sets the the rtp packets TOS for this line
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
line => 79351
; phone types
; 12 -- Cisco IP Phone 12SP+ (or other 12 variants)
; 30 -- Cisco IP Phone 30VIP (or other 30 variants)
; 7902 -- Cisco IP Phone 7902G
; 7905 -- Cisco IP Phone 7905G
; 7910 -- Cisco IP Phone 7910
; 7912 -- Cisco IP Phone 7912G
; 7935 -- Cisco IP Conference Station 7935
; 7936 -- Cisco IP Conference Station 7936
; 7920 -- Cisco IP Wireless Phone 7920
; 7940 -- Cisco IP Phone 7940
; 7960 -- Cisco IP Phone 7960
; 7970 -- Cisco IP Phone 7970
; 7914 -- Cisco IP Phone 7960 with a 7914 addon
; ata -- Cisco ATA-186 or Cisco ATA-188
; kirk -- Kirk telecom ip phones
Well, i figured out what is going on with my tftp server. My conference phone was behind a NAT'd network and my tftp server was on an external ip. TFTP doesn't play to well with nat'd networks so i had to do some port forwarding to make it work. Now on to figuring out why my phone won't register with my pbx.
Does anyone have any suggestions for troubleshooting a chan_sccp connection? Please let me know, thanks.
Well,
I have managed to get the install of chan_sccp-b installed and everything but am struggling from there.
Just after some help getting the right settings in trixbox and the files. Have copied the config in this item and got the files created. However when power the 7935 up it is saying it "Cannot contact TFT server" so just loops.
Any advice would be good
Thanks
Are you running your tftp server on the same system as trixbox? If so, is it on the same network as the 7935? Anything in /var/log/atftpd.log? What firmware are you using for your 7935?
My atftpd logs have entries like this:
Creating new socket: x.x.x.x:32815
Serving SEPxxxxxxxxxx.cnf.xml to x.x.x.x:1026
End of transfer
Yes I do have a log that has the following in it:
May 09 10:17:08 trixbox1.localdomain atftpd[6781.-1208375616]: Advanced Trivial FTP server started (0.7)
May 09 10:17:08 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1024
May 09 10:17:11 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1025
May 09 10:18:10 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1026
May 09 10:18:14 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1027
May 09 10:19:07 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1028
May 09 10:19:11 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1029
May 09 10:20:03 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1030
May 09 10:20:06 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1031
May 09 10:21:00 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1032
May 09 10:21:04 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1033
May 09 10:21:59 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1034
May 09 10:22:03 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1035
May 09 10:22:54 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1036
May 09 10:22:57 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1037
May 09 10:23:49 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1038
May 09 10:23:53 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1039
May 09 10:24:46 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1040
May 09 10:24:50 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1041
May 09 10:25:42 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1042
May 09 10:25:45 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1043
May 09 10:26:37 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1044
May 09 10:26:41 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1045
May 09 10:27:31 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1046
May 09 10:27:35 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1047
May 09 10:29:02 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1048
May 09 10:29:06 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1049
May 09 10:29:57 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1050
May 09 10:30:02 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1051
May 09 10:30:55 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1052
May 09 10:30:59 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1053
May 09 10:31:53 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1054
May 09 10:31:57 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1055
May 09 10:32:50 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1056
May 09 10:32:54 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1057
May 09 10:33:45 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1058
May 09 10:33:49 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1059
May 09 10:34:42 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1060
May 09 10:34:46 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1061
May 09 10:35:40 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1062
May 09 10:35:44 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1063
May 09 10:36:37 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.22:1064
May 09 10:36:41 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.22:1065
May 09 10:39:07 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1024
May 09 10:39:10 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1025
May 09 10:40:09 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1026
May 09 10:40:13 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1027
May 09 10:41:06 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1028
May 09 10:41:11 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1029
May 09 10:42:01 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1030
May 09 10:42:05 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1031
May 09 10:42:55 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1032
May 09 10:42:59 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1033
May 09 10:43:52 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1034
May 09 10:43:56 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1035
May 09 10:44:49 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1036
May 09 10:44:54 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1037
May 09 10:45:47 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1038
May 09 10:45:51 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1039
May 09 10:46:43 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1040
May 09 10:46:47 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1041
May 09 10:47:40 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1042
May 09 10:47:43 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1043
May 09 10:48:36 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1044
May 09 10:48:40 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1045
May 09 10:49:33 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1046
May 09 10:49:37 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1047
May 09 10:51:03 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1048
May 09 10:51:06 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1049
May 09 10:52:00 trixbox1.localdomain atftpd[6781.-1208378480]: Serving SEP00e075246b01.cnf.xml to 192.168.101.199:1050
May 09 10:52:04 trixbox1.localdomain atftpd[6781.-1208378480]: Serving XMLDefault.cnf.xml to 192.168.101.199:1051
May 09 10:57:04 trixbox1.localdomain atftpd[6781.-1208375616]: atftpd terminating after 300 seconds
May 09 10:57:04 trixbox1.localdomain atftpd[6781.-1208375616]: Main thread exiting
I have setup a custom extension for this device, would you be able to confirm what the correct procedure is for setting the extension up in Trixbox?
Something doesn't look right with the atftp logs... The phone shouldn't be requesting those files every few minutes. Can you turn verbose to level 7 in your atftpd server (--logfile /var/log/atftpd.log --verbose 7) to take a closer look at whats going on? Also, make sure those exact files (case sensitive) exist in /tftpboot (or where ever your tftp folder is.)
Hey... I am not sure if this is the best place to put it but here is where I have it:
/etc/init.d/atftpd
The contents of this file are here:
#! /bin/sh
# Copyright (c) 2002,2003 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# Author: Anas Nashif
#
# /etc/init.d/atftpd
### BEGIN INIT INFO
# Provides: atftpd
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: launch atftpd server
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
#ATFTPD_BIN="/usr/sbin/atftpd"
ATFTPD_BIN="/usr/sbin/in.tftpd"
if [ ! -x $ATFTPD_BIN ]; then
echo -n "Advanced Trivial FTP server, $ATFTPD_BIN is not installed."
# Tell the user this has skipped
status atftpd
exit 5
fi
# Set default in case of missing sysconfig file
ATFTPD_USE_INETD=no
ATFTPD_OPTIONS="--logfile /var/log/atftpd.log --verbose 7 --daemon"
ATFTPD_DIRECTORY="/tftpboot"
if [ -f /etc/sysconfig/atftpd ]; then
. /etc/sysconfig/atftpd
fi
if [ "$ATFTPD_USE_INETD" = "yes" ]; then
exit 0;
fi
case "$1" in
start)
echo -n "Starting Advanced Trivial FTP server"
daemon $ATFTPD_BIN $ATFTPD_OPTIONS $ATFTPD_DIRECTORY
status atftpd
;;
stop)
echo -n "Stopping Advanced Trivial FTP server"
killproc -TERM $ATFTPD_BIN
status atftpd
# Remember status and be verbose
# status atftpd
;;
try-restart)
## Do a restart only if the service was active before.
## Note: try-restart is not (yet) part of LSB (as of 1.2)
$0 status atftpd >/dev/null && $0 restart
# Remember status and be quiet
status atftpd
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
# Remember status and be quiet
status atftpd
;;
status)
echo -n "Checking for service atftp:"
## Check status with checkproc(8), if process is running
## checkproc will return with exit status 0.
status atftpd
;;
*)
echo "Usage: $0 {start|stop|status|try-restart|restart}"
exit 1
;;
esac
Hmmm, what OS are you running (uname -a). I wouldn't create those files just yet. Do you have a /etc/xinetd.d/tftp file?
You can try making this change in here. Here are the contents of my file:
# default: off
# description: The tftp server serves files using the trivial file transfer protocol. The tftp protocol is often used to boot diskless workstations, download configuration files to network-aware printers, and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = --logfile /var/log/atftpd.log --retry-timeout 30 --verbose=7 /tftpboot
#--logfile /var/log/atftpd.log --verbose=7
per_source = 11
cps = 100 2
flags = IPv4
}
I do have this file and have edited to include the verbose = 7
However I am now only getting the following that just keeps on going
May 13 10:13:50 trixbox1.localdomain atftpd[2814.-1208781120]: Advanced Trivial FTP server started (0.7)
May 13 10:13:50 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1024
May 13 10:14:04 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1025
May 13 10:14:42 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1026
May 13 10:15:20 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1027
May 13 10:16:01 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1028
May 13 10:16:41 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1029
May 13 10:17:17 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1030
May 13 10:17:53 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1031
May 13 10:18:33 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1032
May 13 10:19:13 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1033
May 13 10:19:51 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1034
May 13 10:20:32 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1035
May 13 10:21:12 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1036
May 13 10:21:48 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1037
May 13 10:22:28 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1038
May 13 10:23:04 trixbox1.localdomain atftpd[2814.-1208783984]: Serving SEP00e075246b01.cnf.xml to 192.168.101.189:1039
How do I need to configure the extension? Just want to make sure that it is correct.
Did you restart xinet after making this change? Or better yet, just restart your system. Also, what messages show on the phone when you power it on. What error messages, etc?
Here is my config:
SCCP.conf
[general]
servername = Asterisk ; show this name on the device registration
keepalive = 60 ; phone keep alive message evey 60 secs. Used to check the voicemail
context = sccp
dateFormat = D.M.YA ; M-D-Y in any order. Use M/D/YA (for 12h format)
bindaddr = x.x.x.x ; replace with the ip address of the asterisk server (RTP important param)
port = 2000 ; listen on port 2000 (Skinny, default)
debug = 0 ; console debug level. 1 => 10
accountcode=skinny
callwaiting_tone = 0x2d ; sets to 0 to disable the callwaiting tone
language=en ; Default language setting
echocancel = on ; sets the phone echocancel for all devices
silencesuppression = off ; sets the silence suppression for all devices
cfwdall = on ; activate the callforward ALL stuff and softkeys
cfwdbusy = on ; activate the callforward BUSY stuff and softkeys
private = on ; permit the private function softkey
dnd = on ; turn on the dnd softkey for all devices. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
mwioncall = on ; Set the MWI on call.
[devices]
type = 7935 ; device type (see below)
description = Phone7935 ; internal description. Not important
tzoffset = 0
autologin = 900 ; lines list. You can add an empty line for an empty button (7960, 7970, 7940, 7920)
device => SEP00e075244a65 ; device name SEP
[lines]
id = 900 ; future use
pin = xxxx ; future use
label = 900 ; button line label (7960, 7970, 7940, 7920)
description = Line7935 ; top diplay description
context = from-internal
incominglimit = 2 ; more than 1 incoming call = call waiting.
mailbox = 900 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = *98 ; speeddial for voicemail administration, just a number to dial
cid_name = Line7935 ; caller id name
cid_num = 900
line => 900
This is in my extensions_custom.conf:
[from-internal-custom]
exten => 900,1,SetCalledParty("Conference" <900>)
exten => 900,2,Dial(SCCP/900)
exten => 900,3,Voicemail,u900

Member Since:
2007-11-08