Asterisk PBX Integration Zimlet for ZCS 6

Interested in talking about Mash-up's? This is the place.
chlauber
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:41 pm

Asterisk PBX Integration Zimlet for ZCS 6

Postby chlauber » Tue Oct 27, 2009 12:26 pm

Hi all
I created a beta version of the Asterisk PBX Integration Zimlet that should work with ZCS 6. My dev machine was ZCS 6.0.1. Due to changes in JSP handling in ZCS 6 you need to create the following symlinks in /opt/zimbra/jetty/webapps/zimlet/WEB-INF



zimbra.tld -> /opt/zimbra/jetty/webapps/service/WEB-INF/zimbra.tld

lib -> /opt/zimbra/jetty/webapps/service/WEB-INF/lib

For updates you should remove /opt/zimbra/jetty/webapps/zimlet/WEB-INF/lib/asterisk-java-1.0.0-m2.jar manually.
Happy testing!
Regards, Christof

ch_bnc_asterisk.zip



smooth1
Posts: 3
Joined: Sat Sep 13, 2014 12:50 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby smooth1 » Thu Nov 05, 2009 2:10 am

Hi Christof,
I have been using this zimlet on V5 for a very long time - thank you for it!! I upgraded to V6 and re-deployed the new version attached and I am getting the following error in mailbox.log - any suggestions to fix?
2009-11-05 03:04:41,926 WARN [btpool0-16://xxxxxx/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=44444444] [] log - /service/zimlet/ch_bnc_asterisk/asterisk.jsp
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp

PWC6199: Generated servlet error:

The method getVersion() is undefined for the type ManagerConnection


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)

at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)

at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:381)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

at com.zimbra.cs.zimlet.ZimletResources.doGet(ZimletResources.java:95)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at com.zimbra.cs.servlet.DiskCacheServlet.service(DiskCacheServlet.java:90)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:203)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:379)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:525)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:867)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:387)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
You assistance is appreciated!
Al
chlauber
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:41 pm

Asterisk PBX Integration Zimlet for ZCS 6

Postby chlauber » Thu Nov 05, 2009 7:48 am

[QUOTE]Hi Christof,
I have been using this zimlet in V5 for a very long time - thank you! I upgraded to V6 and am using the new zip that you have here and I am getting the following in mailbox.log - any suggestions on how this can be fixed?
2009-11-05 03:04:41,926 WARN [btpool0-16://xxxxxx/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=44444444] [] log - /service/zimlet/ch_bnc_asterisk/asterisk.jsp
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp

PWC6199: Generated servlet error:

The method getVersion() is undefined for the type ManagerConnection


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)

at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)

at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:381)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

at com.zimbra.cs.zimlet.ZimletResources.doGet(ZimletResources.java:95)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at com.zimbra.cs.servlet.DiskCacheServlet.service(DiskCacheServlet.java:90)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:203)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:379)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:525)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:867)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:387)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Thanks!
Al[/QUOTE]
Hi Al
Please ensure you don not 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.
Let us now if it works.
smooth1
Posts: 3
Joined: Sat Sep 13, 2014 12:50 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby smooth1 » Thu Nov 05, 2009 3:56 pm

Hi Christof,
Thank you for your prompt reply! I made sure that asterisk-java-1.0.0-m3.jar was the only one in the dir and restarted zmmailboxd and it appears that things are working now!
Unfortunately I had a great regex that I was using that got removed when I ran the 6.0 upgrade :-(
Thank you for your help and a great app!!!
phoenix
Ambassador
Ambassador
Posts: 26624
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Asterisk PBX Integration Zimlet for ZCS 6

Postby phoenix » Fri Nov 06, 2009 12:45 am

[quote user="smooth1"]Unfortunately I had a great regex that I was using that got removed when I ran the 6.0 upgrade :-([/QUOTE]Modifications you make to Zimbra are not guaranteed to be kept, you should always bear that in mind and keep a note of such modifications.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
1739miguel
Advanced member
Advanced member
Posts: 103
Joined: Fri Sep 12, 2014 10:11 pm

Asterisk PBX Integration Zimlet for ZCS 6

Postby 1739miguel » Mon Nov 09, 2009 10:43 am

Hello,
I get this error.. 'astActionTimeout' is set to the default:
2009-11-09 16:12:13,607 INFO [btpool0-13://mail.scantec.pt/service/soap/GetMiniCalRequest] [name=miguel@scantec.pt;mid=4;ip=192.168.0.138;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.2_GA_1912.RHEL4;] soap - GetMiniCalRequest

2009-11-09 16:12:14,984 INFO [btpool0-0://mail.scantec.pt/service/soap/NoOpRequest] [name=miguel@scantec.pt;mid=4;ip=192.168.0.138;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.2_GA_1912.RHEL4;] soap - NoOpRequest

2009-11-09 16:12:15,759 INFO [btpool0-0://mail.scantec.pt/service/soap/NoOpRequest] [name=miguel@scantec.pt;mid=4;ip=192.168.0.138;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.2_GA_1912.RHEL4;] soap - NoOpRequest

2009-11-09 16:12:17,168 INFO [btpool0-0://mail.scantec.pt/service/soap/ModifyPropertiesRequest] [name=miguel@scantec.pt;mid=4;ip=192.168.0.138;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.2_GA_1912.RHEL4;] soap - ModifyPropertiesRequest

2009-11-09 16:12:17,678 INFO [btpool0-13://mail.scantec.pt/service/soap/SearchRequest] [name=miguel@scantec.pt;mid=4;ip=192.168.0.138;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.2_GA_1912.RHEL4;] soap - SearchRequest

2009-11-09 16:12:43,013 INFO [btpool0-11://mail.scantec.pt/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=103] [] AuthProvider - Adding auth provider: zimbra com.zimbra.cs.service.ZimbraAuthProvider

2009-11-09 16:12:45,466 INFO [btpool0-11://mail.scantec.pt/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=103] [] zimlet - ch_bnc_asterisk userAstDialContext overwrites global astDialContext value: from-internal

2009-11-09 16:12:45,466 WARN [btpool0-11://mail.scantec.pt/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=103] [] zimlet - Parse error while getting 'astManagerPort'. Using default 5038

2009-11-09 16:12:45,509 ERROR [btpool0-11://mail.scantec.pt/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=103] [] zimlet - Zimlet parameter 'astActionTimeout' is null. Check zimlet config!

2009-11-09 16:12:45,562 ERROR [btpool0-11://mail.scantec.pt/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=103] [] log - /service/zimlet/ch_bnc_asterisk/asterisk.jsp

java.lang.NullPointerException

at org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp.checkNumber(org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp:478)

at org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp.handleRequest(org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp:674)

at org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp._jspService(org.apache.jsp.ch_005fbnc_005fasterisk.asterisk_jsp:819)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:381)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

at com.zimbra.cs.zimlet.ZimletResources.doGet(ZimletResources.java:95)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at com.zimbra.cs.servlet.DiskCacheServlet.service(DiskCacheServlet.java:90)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:203)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:379)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:525)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:867)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:387)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
typiquement
Posts: 29
Joined: Sat Sep 13, 2014 12:52 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby typiquement » Fri Nov 27, 2009 7:39 am

Hello,
I've tried your zimlet (0.7b under zimbra 6.0 using asterisk 1.6) but it doesn't work with my configuration.

Indeed, a call between 2 softphones works perfectly whereas zimbra is not able to call anyone : when I try to call someone, my softphone rings and tells me that I have an incoming call from "callto:remote_number" (the only reference I've found for callto: is in a String in asterisk.jsp).

I precise that both Asterisk and Zimbra servers are on the same machine (Fedora 11), and that Zimbra connects successfully to the AMI.

I'll be grateful if you could help me solving this issue that's why I include several configuration files :
zimlet-config.xml - extract that seems essential






192.168.102.122

5038

zimbra

*****

rjsm2co
Posts: 1
Joined: Sat Sep 13, 2014 12:52 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby rjsm2co » Fri Nov 27, 2009 10:31 am

Here is the error, please help!!!

2009-11-27 11:21:26,052 WARN [btpool0-2://10.5.200.224/service/zimlet/ch_bnc_asterisk/asterisk.jsp?callee=274] [] log - /service/zimlet/ch_bnc_asterisk/asterisk.jsp

org.apache.jasper.JasperException: /ch_bnc_asterisk/asterisk.jsp(34,0) PWC6032: Unable to load tag handler class "com.zimbra.cs.taglib.ZimletConfig" for tag "z:zimletconfig"

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:185)

at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1413)

at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1665)

at org.apache.jasper.compiler.Parser.parse(Parser.java:181)

at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:239)

at org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)

at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:435)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:381)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)

at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

at com.zimbra.cs.zimlet.ZimletResources.doGet(ZimletResources.java:95)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820">HttpServlet.service(HttpServlet.java:820)

at com.zimbra.cs.servlet.DiskCacheServlet.service(DiskCacheServlet.java:90)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:203)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:379)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:525)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:867)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:387)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
I'm using ZCS 6 on Centos 5.4 a new installation.
smooth1
Posts: 3
Joined: Sat Sep 13, 2014 12:50 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby smooth1 » Sat Nov 28, 2009 11:51 pm

@typiquement - have you checked that you have the correct context for outgoing calls? Your issue seems to be context related to me. What does the cli of * show?
typiquement
Posts: 29
Joined: Sat Sep 13, 2014 12:52 am

Asterisk PBX Integration Zimlet for ZCS 6

Postby typiquement » Mon Nov 30, 2009 7:27 am

@smooth1: I configured only the default context. All is working fine when I'm using softphone.

Maybe I need to define another context ?
When I'm on a zimbra account, I have a softphone running at the same time and I'm correctly registered on the asterisk server.
The strange thing is, when I try to call someone, my softphone rings and tells me that I have an incoming call from "callto destination-number" instead of call from "account name"

Return to “Zimlets”

Who is online

Users browsing this forum: No registered users and 2 guests