Hi René,
You are copying to a destination machine? Why?
If you are just doing development, then your EDE system will work fine.
Assuming you got the code right, the re-build will have properly installed your
new phone plug-in. Have you tested it on your EDE system?
-Paul
[email protected]
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Rene Pankratz
Sent: September 14, 2009 7:30 AM
To: Krzeminski, Damian (BL60:9D30)
Cc: [email protected]
Subject: Re: [sipX-dev] How to compile support for managed phone as
aplug-in?
Thanks for your short instruction.
A was able to build my phone-support plugin easily without any problems.
I have just on little question left: Though have compiled the phone
specific folder with the templates in /etc within the project, I still had to
copy those files manually to /etc/sipxpbx/ on destination machine.
Is that normal behaviour or is it possible to let sipXconfig copy those
files on startaup out of .JAR file?
René
2009/9/11 Damian Krzeminski <[email protected]>
Rene Pankratz wrote:
> Hello,
> I am working on adding support for a managed phone in
SipXecs. This
> phone is a proprietary solution for internal use, so it does
not make
> sense to send source to communbity.
>
> I used the EDE Wiki
>
(http://sipx-wiki.calivia.com/index.php/Express_Development_Environment_Setup)
> to build SipX (this guide was perfect for me).
> Then I added my source to
> main/sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/phone
and it was
> successfully integrated. As I have read on this list it
should be
> possible to compile a plugin (jar file) that can be copied to
a finished
> Installation of SipXecs, is that right?
> If so, what will I have to do so that I get such a plug-in
out of my code?
Please check sipXconfig/plugins directory. You should be able
to clone one
of the existing plug-ins, remove .java files, remove files
under etc and
put the files relevant to you phone there.
Edit build.xml (it's just need name changes) and try running
'ant' from
your plugin directory and see if your plugin gets built...
If you want to use Eclipse edit '.project' file.
>
> Some buzzwords shall be enough. I am not familiar with
java/Eclipse but
> I am willing to learn more about it :-)
>
> This might be a point that should be added to this guide:
>
http://sipx-wiki.calivia.com/index.php/Adding_support_for_managed_phones
> Also I had to figure out myself where to put my code. But
this might be
> no problem for a more experienced programmer.
Good point. We should encourage people to start writing plugins
in
'plugins' directory not in sipXconfig core. Let me know how
this worked for
you, and I'll write something up.
>
> Btw. is anyone working on support for managed patton gateways?
>
> Thanks in advance
> René
>
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe:
http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/