Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #81 (permalink)  
Old 08-06-2010, 07:41 AM
Member
 
Posts: 12
Default

I also think it would need a bit of work. I will have a closer look at the source. Maybe I can figure out how to do it.

I would be happy if anybody with more knowledge than me jumps in to help.

Thanks,
schogge
Reply With Quote
  #82 (permalink)  
Old 08-06-2010, 02:05 PM
Member
 
Posts: 12
Default

Seems like I got it working. It still needs a little testing but so far everything looks fine.

If anybody is interested, I will share my modification.
Reply With Quote
  #83 (permalink)  
Old 08-19-2010, 07:15 AM
Intermediate Member
 
Posts: 18
Default

Quote:
Originally Posted by uxbod View Post
Try flushing your browser cache.
hi uxbod

when i call ing from zimbra its show Asterisk PBX intigration Error

pls reply
Reply With Quote
  #84 (permalink)  
Old 09-14-2010, 01:13 AM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by typiquement View Post
first page, first post.
you download the file, create the two links.

zmzimletctl install "file.zip"
done
ln -s /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tags /opt/zimbra/jetty/webapps/zimlet/WEB-INF

ln -s /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tlds /opt/zimbra/jetty/webapps/zimlet/WEB-INF

ln -s /opt/zimbra/jetty/webapps/service/WEB-INF/zimbra.tld /opt/zimbra/jetty/webapps/zimlet/WEB-INF

ln -s /opt/zimbra/jetty/webapps/service/WEB-INF/lib /opt/zimbra/jetty/webapps/zimlet/WEB-INF
Copy five <env-entry> sections from /opt/zimbra/jetty/webapps/zimbra/WEB-INF/web.xml to /opt/zimbra/jetty/webapps/zimlet/WEB-INF/web.xml

zimbra@mail:~/zimlets$ zmzimletctl install ch_bnc_asterisk.zip
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:193)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1801)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1894)
[] ERROR: Error
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:193)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1801)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1894)

wich OS you used ? im use Debian Lenny, Zimbra version 6.0.8

Last edited by vanek82; 09-14-2010 at 01:23 AM..
Reply With Quote
  #85 (permalink)  
Old 09-14-2010, 01:48 AM
Active Member
 
Posts: 29
Default

Quote:
Originally Posted by vanek82 View Post

zimbra@mail:~/zimlets$ zmzimletctl install ch_bnc_asterisk.zip
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:193)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1801)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1894)
I don't think this is a problem with the OS ( I use centOS and zimbra from 6.0.6 to 6.0.8)
Did you change the owner and the rights of the zimlet ?

It can be also a problem with the jar files. Ensure you don't have any older version than asterisk-java-1.0.0-m3.jar in /opt/zimbra/jetty/webapps/zimlet/WEB-INF/lib. After you deleted some older versions you need to restart zmmailboxd.
Reply With Quote
  #86 (permalink)  
Old 09-14-2010, 02:05 AM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by typiquement View Post
I don't think this is a problem with the OS ( I use centOS and zimbra from 6.0.6 to 6.0.8)
Did you change the owner and the rights of the zimlet ?

It can be also a problem with the jar files. Ensure you don't have any older version than asterisk-java-1.0.0-m3.jar in /opt/zimbra/jetty/webapps/zimlet/WEB-INF/lib. After you deleted some older versions you need to restart zmmailboxd.
Resolve, i'm download not full "file.zip" , sorry
zimbra@mail:~/zimlets$ zmzimletctl install ./ch_bnc_asterisk.zip
[] INFO: Installing Zimlet ch_bnc_asterisk on this host.
zimbra@mail:~/zimlets$ zmzimletctl deploy ./ch_bnc_asterisk.zip
[] INFO: Deploying on mail.host.com
[] INFO: Deploy initiated. Check the server's mailbox.log for the status.

Last edited by vanek82; 09-14-2010 at 02:28 AM..
Reply With Quote
  #87 (permalink)  
Old 09-14-2010, 06:15 AM
Intermediate Member
 
Posts: 15
Default

Anybody know feature list this zimlet?

1) calling from zimbra to zimbra user (Internal call) ?
2) calling from zimbra to PSTN ?
3) calling from PSTN to zimbra user ?
4) This zimlet will work with iax.conf ?
because as I understood, zimlet runs through manager.conf, and this means that instead of user calls asterisk. Do I understand the principle of this zimlet?

Last edited by vanek82; 09-14-2010 at 06:25 AM..
Reply With Quote
  #88 (permalink)  
Old 09-15-2010, 12:33 AM
Active Member
 
Posts: 29
Default

Quote:
Originally Posted by vanek82 View Post
Anybody know feature list this zimlet?

1) calling from zimbra to zimbra user (Internal call) ?
2) calling from zimbra to PSTN ?
3) calling from PSTN to zimbra user ?
4) This zimlet will work with iax.conf ?
because as I understood, zimlet runs through manager.conf, and this means that instead of user calls asterisk. Do I understand the principle of this zimlet?
This zimlet uses the manager.conf defined in the asterisk server and a softphone configured beside zimbra. This mean you can probably use iax.conf and calling PSTN depends on the configuration of your Asterisk server.

This zimlet only initiates calls and you can't call a zimbra user. You can only call the softphone configured for this zimbra user.
Reply With Quote
  #89 (permalink)  
Old 07-15-2011, 06:55 AM
New Member
 
Posts: 3
Default

hello
I try to install the Zimlet ch_bnc_asterisk under zimbra 6 with an asterisk server (I tried with trixbox and asteriskNow), I followed the procedure done by typiquement. but I can not make calls. I think the installation is done well since Zimlets when I right click on the Zimlet to display the information, I can see my server asterisk. But when I made ​​a call (eg from 6000 to 6001) he asks me to "pick up the phone to call 6001", but it does not ring in 6000, and then I receive the error message: "failed to line 6001 ".
I use two SIP softphone client (x-lite) and not IP phone,Is it a problem ?

my file mailbox.log:
2011-07-15 15:48:06,186 INFO [btpool0-23://192.168.2.5/service/soap/ModifyPropertiesRequest] [name=aduneo@california.def.tm.fr;mid=3;ip=192.168. 1.179;ua=ZimbraWebClient - IE8 (Win)/6.0.13_GA_2918;] soap - ModifyPropertiesRequest
2011-07-15 15:48:07,463 INFO [btpool0-23://192.168.2.5/service/soap/NoOpRequest] [name=admin@california.def.tm.fr;mid=1;ip=192.168.1 .159;ua=ZimbraWebClient - FF3.0 (Win)/6.0.13_GA_2918;] soap - NoOpRequest
2011-07-15 15:48:10,706 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] zimlet - ch_bnc_asterisk callee:6001
2011-07-15 15:48:10,706 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] zimlet - Do AMI login.
2011-07-15 15:48:10,706 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] ManagerConnectionImpl - Connecting to 192.168.2.48:5038
2011-07-15 15:48:10,744 INFO [Asterisk-Java ManagerConnection-9-Reader-0] [] ManagerConnectionImpl - Connected via Asterisk Call Manager/1.1
2011-07-15 15:48:10,851 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] ManagerConnectionImpl - Successfully logged in
2011-07-15 15:48:10,851 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] ManagerConnectionImpl - Determined Asterisk version: Asterisk 1.6
2011-07-15 15:48:10,855 INFO [btpool0-23://192.168.2.5/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=6001] [] ManagerConnectionImpl - Closing socket.
2011-07-15 15:48:10,856 INFO [Asterisk-Java ManagerConnection-9-Reader-0] [] ManagerReaderImpl - Terminating reader thread: No more lines available: Scanner closed

Thank you
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.