On Thu, Oct 28, 2010 at 2:44 PM, David Becker
<[email protected]> wrote:
> It probably tried to instruct the phone to grab the new configuration
> but yeah, that happens when you project the configuration for a phone
> that doesn't exist. This is based on the {mac}.contact files in the dls
> directory, when a phone contacts the servlet the phone's contact-me-url
> is stored in a .contact file so the servlet knows where to send
> Contact-Me messages. Those are necessary both for pushing the new config
> to the phone and restarting the phone. If anyone knows how to add phones
> to SipXconfig then the .contact files could be used to check if any
> unknown phones have requested a configuration.
>
> The main configuration is in
> /var/sipxdata/configserver/phone/profile/tftproot/{mac}.config, the
> files that are not part of the main configuration are in the dls
> directory. I couldn't figure out how profile paths are properly set.
> _______________________________________________

OK, I have the <mac>.config one under tftproot so I assume
everything's fine. I am going to drop the dls directory and use
profile/docroot for other files like .upload (since this is the
preferred place for serving phone configuration profiles over http).

Profile paths can be injected in spring files as
${sysdir.phone}/profile
or you can write a properties.in file containing something like
sipxconfig.phone.d...@sipx_vardir@/configserver/phone
and localized at install time
(see in the patch I attached to JIRA)

George
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to