Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SIP phone registration timeout 1

Status
Not open for further replies.

RyanEOD

Programmer
Jan 11, 2008
675
0
0
US
Currently when we register a SIP phone to the CS1000E 7.5 it sets a timeout of 1 day, (86,400 seconds) before it needs to register again. This is causing problems if people try to register again because they lost connection over a VPN or whatnot, and it ends up having multiple registrations. Is there a way to set this timeout to something more manageable? The Cisco and everyone else I have looked at is MUCH lower than this. I would like to get it around the 1 hour (3,600 seconds) mark. If it isn't a switch setting can I set it in the 1120's I am using?

Thanks for any help!

Ryan
 
I don't know how I managed to put a strike through all of that, lets try again;

Currently when we register a SIP phone to the CS1000E 7.5 it sets a timeout of 1 day, (86,400 seconds) before it needs to register again. This is causing problems if people try to register again because they lost connection over a VPN or whatnot, and it ends up having multiple registrations. Is there a way to set this timeout to something more manageable? The Cisco and everyone else I have looked at is MUCH lower than this. I would like to get it around the 1 hour (3,600 seconds) mark. If it isn't a switch setting can I set it in the 1120's I am using?

Thanks for any help!

Ryan
 
You can set the registration period in your configuration files on the provisioning server.

The easiest place is in your DeviceConfig.dat file using the REG_REFRESH_INTERVAL parameter. Just enter another value in seconds that you want to use, but make it long enough that you aren't constantly flooding the system with registrations.
 
If you are using a provisioning server to configure your phones, then it is on your server. Your filename may be different also. It is the file referenced in the [DEVICE_CONFIG] section of your set specifig SIP config file.

For instance, I use 1140e phones running SIP firmware, so my file is: 1140eSIP.cfg, and in that file is a block called [DEVICE_CONFIG] where the FILENAME parameter uses DeviceConfig.dat

Your particular filenames may be different.
 
Hummm, yeah I think I just loaded them from a TFTP on my PC. So I need to reset them to device default and then reload the firmware with this set?

Check out my professional profile and connect with me on LinkedIn.
 
You don't necessarily have to default them.

If you add the provisioning server address to your DHCP scope options, then reboot the phone (assuming the phones are set for DHCP) they should pick up the provisioning server address.

Just make sure your provisioning files are on the server before you reboot the phones.

The provisioning server doesn't need to be anything special, just a machine running TFTP that your phones can get to. I use the free SolarWinds TFTP server, and it works fine.
 
Ok, I got it hitting my laptop via FTP, as I went ahead and updated the firmware to get it going. I think I see what I did, I just originally loaded SIP firmware on it and didn't provision it via a provisioning file, I just manually hand jammed all the settings into the phone itself. So, I have my 1120eSIP.cfg going as that is what I used to tell it what FW to download and where from. In that file I have:

Code:
[FW]
DOWNLOAD_MODE AUTO
VERSION SIP1120e04.03.12.00
FILENAME SIP1120e04.03.12.00.bin
PROTOCOL FTP
SERVER_IP 192.168.1.116
SECURITY_MODE 0

[DEVICE_CONFIG]
FILENAME DeviceConfig.dat

I never see it attempt to grab the DeviceConfig.dat file from the same directory. Here is the FTP log;

Code:
(000008)3/18/2013 11:36:53 AM - (not logged in) (192.168.1.125)> USER anonymous
(000008)3/18/2013 11:36:53 AM - (not logged in) (192.168.1.125)> 331 Password required for anonymous
(000008)3/18/2013 11:36:53 AM - (not logged in) (192.168.1.125)> PASS 
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 230 Logged on
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> TYPE I
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 200 Type set to I
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> EPSV
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 229 Entering Extended Passive Mode (|||52016|)
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> RETR 1120eSIP.cfg
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 150 Connection accepted
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 226 Transfer OK
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> QUIT
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> 221 Goodbye
(000008)3/18/2013 11:36:53 AM - anonymous (192.168.1.125)> disconnected.

So, I take it I have something set up wrong?

EDIT - I found my problem but wanted to post this so everyone knows what got me, I had to add "DOWNLOAD_MODE FORCED" into the [Device_Config] of my 1120eSIP.cfg.

So, in my DeviceConfig.dat I have:

Code:
REG_REFRESH_INTERVAL 3600

And now I see it downloaded the file -

Code:
(000010)3/18/2013 11:43:51 AM - anonymous (192.168.1.125)> RETR DeviceConfig.dat
(000010)3/18/2013 11:43:51 AM - anonymous (192.168.1.125)> 150 Connection accepted
(000010)3/18/2013 11:43:51 AM - anonymous (192.168.1.125)> 226 Transfer OK

Check out my professional profile and connect with me on LinkedIn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top