hi
im trying to get my linksys spa 942 phone provisioned by the pbx,
i made a managed phone in the pbx with the correct mac addres and selectec spa 942 as the phone type,
as how i understand it this auto provisioning can either work through http and tftp,
on the dhcp server i added option 66 to the ip of the pbx,
on the linksys phone on the provisioning tab the profile rule is /spa$PSN.cfg
at the moment the phone doesnt get provisioned, i have also tried it with dhcp option 43 to try it with http if im correct but no succes.
what do i need to do to get the phone provisioned?
profile rule of
profile rule of tftp://your.ip.addr/spa$MA.cfg is pretty concrete.. if tftp works, you have the server setup correct, and can reach it then this profile rule will provision the phone. From there you can work on letting dhcp specify the ip address etc.
with a properly configured
with a properly configured DHCP server: option 66 pointing to the IP of the PBX the factory default will request files via tftp.
tail -f /var/log/messages
this will show you syslog messages which will include TFTP server messages. it may take the phone 60-90 seconds before it requests a config.
if you don't see the requests, then as Erik suggests you can manually configure the phone to request the config.
also, for those who are impatient you can force a reboot/resync of the phone
http://..phone ip../admin/reboot
http://..phone ip../admin/resync (after the reboot completes)
Jim Sturtevant
Sigma Networks
spa 942 auto provision
thanks for the clear explenations the only thing i cant find is in wich directory thirdlane puts this config files, is this the asterisk/provision dir? in there i dont find a file spa942.cfg,
if i wanna use http as a way of provisioning what directory do i need to make able to open from http?
if i wanna use tftp in which directory are the configuration files the phone needs to be able to get?
thx that was what i was
thx that was what i was looking for, it would help if this info was in the manual :)
is it also possible to update
is it also possible to update the firmware with the auto provisioning setup?
how would i do that?
manually .. you need to read
manually .. you need to read the linksys bulk provisioning guide... theres a link to it in the forums from a cisco sales guy.
it is my first time playing
it is my first time playing with a linksys 942 and i cannot get it to work
my spaxxx.cfg files are located at /home/PlcmSpIp since all my phone are Polycom what would i out in proflie rule
dont know where to start, if anyone could guide me
theres nothing wrong with
theres nothing wrong with your destination directory as long as your tftp server is using that directory.. but linksys provisioning is a pain.. you have to tell it what file to download and then restart it.
I have tried in profile rule
I have tried in profile rule tftp://my.ipaddress.com/PlcmSpIp/spa$MAC.cfg with no luck I didn't even see in messages a tftp attempt
Is the directory wrong or else?
Thanks
yea you dont need to include
yea you dont need to include the PlcmSpIp in the provisioning rule as thats the root of the tftp server.
you should see something in /var/log/messages
the one that comes with
the one that comes with centos/rhel that runs out of xinetd is more than sufficient.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -vvvvvvv -u root -s /home/PlcmSpIp
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
where -s specifies the root directory of the server
i tried
i tried tftp://domain.name.com/spa$MA.cfg in profile rule than restart the phone with no luck and no massage in # tail -f /var/log/asterisk/messages
I'm definitely doing something wrong hare, not sure what tough
any help
it may be as simple as
it may be as simple as iptables not allowing the traffic
do you have a rule for udp port 69 in your /etc/sysconfig/iptables ?
something to be aware
something to be aware of...
some firewalls seem to have problems with TFTP from a nat'd source. This includes BSD based firewalls. Some linux based firewalls use a kernel module known as a nat helper specifically for tftp. There are nat helpers for tftp, ftp, and a variety of other application protocols. Depending of the vendors, they may or may not make use of those helper modules.
i add -A RH-Firewall-1-INPUT
i add
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 69 -j ACCEPT
and restart iptables with the same outcome
i confirmed your server is
i confirmed your server is working, i just retrieved a file
[root@vpbx01 ~]# tftp
(to) mte1.voore.com
tftp> get spa2102.cfg
tftp> quit
[root@vpbx01 ~]# ls spa2102.cfg
spa2102.cfg
[root@vpbx01 ~]# ls -l spa2102.cfg
-rw-r--r-- 1 root root 833 Apr 9 12:45 spa2102.cfg
sorry i was looking in
sorry i was looking in /var/log/asterisk/messages thats why i havnt seen any thing, hare is var/log/messages
Apr 11 09:19:24 mte1a xinetd[28336]: START: tftp pid=7948 from=xx.xx.xx.xx
Apr 11 09:19:24 mte1a in.tftpd[7949]: RRQ from xx.xx.xx.xx filename /spa000e08d4xxx7.cfg
Apr 11 09:19:24 mte1a in.tftpd[7949]: tftpd: read: Connection refused
Apr 11 09:19:26 mte1a in.tftpd[7950]: RRQ from xx.xx.xx.xx filename /spa000e08d4xxx7.cfg
Apr 11 09:19:26 mte1a in.tftpd[7950]: tftpd: read: Connection refused
Apr 11 09:19:29 mte1a in.tftpd[7951]: RRQ from xx.xx.xx.xx filename /spa000e08d4xxx7.cfg
Apr 11 09:19:29 mte1a in.tftpd[7951]: tftpd: read: Connection refused
Apr 11 09:19:31 mte1a in.tftpd[7952]: RRQ from xx.xx.xx.xx filename /spa000e08d4xxx7.cfg
Apr 11 09:19:31 mte1a in.tftpd[7952]: tftpd: read: Connection refused
Apr 11 09:34:31 mte1a xinetd[28336]: EXIT: tftp status=0 pid=7948 duration=907(sec)
is this the nat issue?
ok i provisioned it manually,
ok i provisioned it manually, but the conf (conference button) is not working do you by any chance know where i set it in web gui?
i think it works
i think it works automatically as long as your other buttons are not set up as registrations.. they need to share the 1 registration.
sorry for not explaining
sorry for not explaining before I'm trying to make a 3 way call when Im on a call and i press conference (conf) caller 1 goes on hold i call caller 2 press conference (conf) again noting happens caller 1 stays on hold and I'm on with caller 2 if i press join caller 1 is joined with caller 2 but im off the line
no way to make a 3way call with spa942?
Thirdlane just creates the config files and puts them in a directory. You pick the protocol for the phones to use, ftp, tftp, http, etc. You need to configure the server appropriately.
I would isolate the issues i.e. If you are using http provisioning, can you bring up the site in your web browser?
Take DHCP out of the mix, hard code in the phone while you are trouble shooting.
-Matt