On Tue, Aug 31, 2010 at 1:20 PM, T.J.F. Commandeur
<[email protected]>wrote:

>  Hmm I guess I cheered to early...
> The plugin isn't installed in the right way after rebooting.
>
> The error:
> Caused by: java.ie.FileNotFoundException: /etc/sipxpbx/unidata/phone.xml
> (No such file of directory)
>
> The /etc/sipxpbx/unidata folder is not created and thus not the files.
>
> What is the right way to install the plugin?
> Is copying the jar and rebooting enough or do I have to build it, if so
> how? Or do I have to copy more files??
>
You are right, just copying the .jar is not enough.
The plugin consists of: the .jar and conf files located here:
/etc/sipxpbx/unidata
your configuration files are:
-config.vm
-line.xml
-phone.xml
-unidata-phonebook.csv
Running: ant && ant install will automatically copy the .jar and the
configuration files here: /etc/sipxpbx/unidata
The path from where you need to run ant && ant install is:
<sipxecs sources>/sipXconfig/plugins/unidata

In the console, at the end, you should have something like:

install:
     [copy] Copying 5 files to /usr/local/sipx/etc/sipxpbx
     [copy] Copying 1 file to /usr/local/sipx/share/java/sipXecs/sipXconfig

BUILD SUCCESSFUL
Total time: 0 seconds
[mirc...@decebal unidata]$

It will essentialy build/copy the unidata-phones.jar *and* config files

Hope this helps
Mircea

>
> Greetings,
> Tom
>
> ------------------------------
> From: [email protected]
> To: [email protected]; [email protected]
> Subject: RE: [sipx-dev] [sipX-dev] Adding Managed Phones Unidata
> Date: Tue, 31 Aug 2010 00:07:48 -0700
>
>
>  Thanks and nice job Tom!   It seems Martin’s dream for open source
> contributions is working!  Thanks for the tenacity Martin!
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *T.J.F. Commandeur
> *Sent:* Monday, August 30, 2010 12:16 PM
> *To:* [email protected]
> *Subject:* Re: [sipx-dev] [sipX-dev] Adding Managed Phones Unidata
>
>
>
> Hi All,
>
> Finaly I got the complete plugin working.
> The phonebook is provisioning and all.
> The testing is done at the company for which I wrote the plugin.
> I tried installing it on a working server, just copy the .jar, rebooting
> and it works!
> The phone is even restarting when the config is altered and the checkbox
> restart phone is checked!
>
> Is it possible to add the plugin to the svn or is some more server test
> report needed before that??
>
> Greetings,
> Tom Commandeur
>
> > Date: Sun, 29 Aug 2010 20:59:15 -0400
> > Subject: Re: [sipx-dev] [sipX-dev] Adding Managed Phones Unidata
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> >
> > On Sun, Aug 29, 2010 at 9:04 AM, T.J.F. Commandeur
> > <[email protected]> wrote:
> > > The same error messages are there when trying the lg-nortel and hitachi
> > > plugin.
> > > Is there a problem with my EDE or my code??
> >
> > I don't think so, I see the same thing.
> >
> > I don't have time to look into it at the moment, but If you're tests
> > are working from eclipse, we can resolve the issue with ant when you
> > submit your code. If you're using eclipse code formatter, again, any
> > issues with stylecheck can be resolved later too.
>
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to