Am 28.10.2010 13:06, schrieb George Niculae:
> On Thu, Oct 28, 2010 at 2:03 PM, George Niculae<[email protected]>  wrote:
>> I figured out the problem - didn't have a LDAP server configured and
>> profile generation failed with NPE when trying to retrieve LDAP port.
>> So I checked LDAP port in OpenstageDefaults.getLdapPort and now
>> sending profiles completes just fine:<MAC>.upload file is generated
>> under profile/dls, are there any other files I should look after?
>>
> And also got this in config log file (I assume it tries to reboot the
> phone I do not physically have?)
>
> sipXconfig-openstageprovisioning:"/DeploymentService/?phoneID=0123456789ab: "
> javax.servlet.ServletException: Phone ID unknown, if the phone exists
> make sure it has contacted the DLS servlet (possibly check your DHCP
> configuration?) before you try to send commands to it.
>       at 
> org.sipfoundry.sipxconfig.dlsprov.DlsServlet.doGet(DlsServlet.java:215)
>
> George
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
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.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to