Dunwood Posted December 4, 2012 Report Share Posted December 4, 2012 I have a phone directory in a SQL server that we use on our intranet. I create an XML file from this that the phones use to provision their own directories. Currently to get this directory into the SnomONE I have it generate a CSV file which I have to manually import. Is there a URL I can just post the CSV to to have it import automatically without requiring the human step? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted December 4, 2012 Report Share Posted December 4, 2012 Hmm you could put that into the tftp folder and have the phones poll every few hours for new configuration data. I believe that would be the easiest solution. Quote Link to comment Share on other sites More sharing options...
Dunwood Posted December 5, 2012 Author Report Share Posted December 5, 2012 The phones are getting the XML just fine, it is the SnomONE I want to push this data to. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted December 5, 2012 Report Share Posted December 5, 2012 Well if you use CURL you could emulate the user to log in and upload the address book. That does not win the beauty price, but would solve the problem at hand. Down the road, we probably have to come up with something more elegant. Quote Link to comment Share on other sites More sharing options...
Dunwood Posted December 6, 2012 Author Report Share Posted December 6, 2012 Well if you use CURL you could emulate the user to log in and upload the address book. That does not win the beauty price, but would solve the problem at hand. Down the road, we probably have to come up with something more elegant. I had considered that but was hoping there was an API for it, perhaps in the SOAP system or similar, shame really. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted December 7, 2012 Report Share Posted December 7, 2012 We are changing a few things in version 5, but it too early to talk about that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.