Page 20 of 20 FirstFirst ... 10181920
Results 191 to 198 of 198

Thread: Asterisk PBX Integration Zimlet (new)

  1. #191
    Join Date
    Dec 2011
    Posts
    29
    Rep Power
    3

    Default Version 7 ZCS

    Has anyone been able to make this Zimlet work with version 7 I am not having much luck making it work.

    If this one is not compatible; does anyone know of one that works?

    Thanks in advance!

  2. #192
    Join Date
    May 2009
    Posts
    134
    Rep Power
    6

    Default

    See comment #175. It's still not really fixed but that does provide a workaround - John
    www.spiritualoutreach.com
    Making Christianity intelligible to secular society

  3. #193
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    3

    Default

    Hi,

    I've followed all the suggestions in this thread and still no love for Asterisk. I must be missing something! When I click on a number, it launches a message box:
    zimasterisk.png

    As you can see there is no message. I thought it might be the same as a posting regarding a bad uname/pword in Asterisk, but I have checked that and it seems OK. I am using FreePBX and manually edited the manager.conf file to add the user and I have confirmed the data matches. I wasn't sure if I needed to restart Asterisk, so I did any way.

    My Zimbra environment is: Release 7.1.4_GA_2555.RHEL6_64_20120105094542 CentOSUNKNOWN_64 FOSS edition.
    My ch_bnc_asterisk_config.xml is:
    <zimletConfig name="ch_bnc_asterisk" version="0.71">
    <!--
    This settings can be global or local, which means per host. Host specific settings are overridden by host specific settings!
    -->
    <global>
    <property name="astManagerIp">HOSTNAME</property>
    <property name="astManagerPort">5038</property>
    <property name="astManagerUser">zimbra</property>
    <property name="astManagerSecret">PASSWORD</property>
    <!--
    Timeout for asterisk actions in [ms]
    -->
    <property name="astActionTimeout">8000</property>
    <!--
    Don't do Action ExtensionState before doing other actions. This may be useful because
    the ExtensionState action does need hints in dialplan to work correctly. But you will have less accurate
    warning messages.
    -->
    <property name="astNoExtenCheck">true</property>
    <!--
    Dialplan context used for dialing
    -->
    <property name="astDialContext">from-internal</property>
    <!--
    Asterisk channel type to use. E.g. 'SIP', 'ZAP' etc.
    Action will use ${astChannelType}/${srcPhone}
    srcPhone is part of user config
    -->
    <property name="astDialChannelType">SIP</property>
    <!--
    srcPhonePrefix is used to compose the caller like
    ${srcPhonePrefix}${srcPhone} where ${srcPhone} is
    user configurable local number
    -->
    <property name="srcPhonePrefix">9</property>
    <!--
    Prefix prepended to every dialed number
    -->
    <property name="calleePrefix"></property>
    <!--
    Regexp applied to any user inputed number. Matches will be removed.
    -->
    <property name="numberCleanRegExp">\s|\.|-|\,|(\(0\)|\(|\))</property>
    <!--
    When dialing international number '+' gets
    replaced with the iddPrefix
    -->
    <property name="iddPrefix"></property>
    <!--
    Variable name used in SMS() application for SMS message body
    -->
    <property name="astSMSVariable">SMS_MESSAGE</property>
    <!--
    Dialplan context used for sending sms
    -->
    <property name="astSMSSendContext">sms-send</property>
    <!--
    Full asterisk channel for sms center
    -->
    <property name="astSMSCenterChannel">CAPI/g1/0622100000</property>

    <!--
    These settings have to be global because of a limitation when getting properties in zimlet's js.
    -->
    <!--
    Enable/Disable SMS sending through asterisk originate function
    Needs a correctly configured SMS() application in dialplan that
    gets the SMS message from dialplan variable "astSMSVariable"
    example for astSMSVariable = 'SMS_MESSASGE':

    [sms-send]
    exten => _X.,n,SMS(${CALLERID(num)},${EXTEN},${SMS_MESSAGE} )
    exten => _X.,n,SMS(${CALLERID(num)})
    exten => _X.,n,Hangup

    -->
    <property name="enableSMS">true</property>
    <property name="maxSMSLength">160</property>
    <!--
    URL to search a Phonebook entry in web
    -->
    <property name="phonebookBaseUrl">http://tel.local.ch/q/</property>
    <!--
    Url parameters used for search in form param1=val1&param2=val2..
    -->
    <property name="phonebookUrlCommonParams">ext=1</property>
    <!--
    Url param which value will be filled with the phone number to search
    -->
    <property name="phonebookUrlNumberParam">phone</property>
    </global>
    <!--
    This settings will override global ones!
    <host name="HOSTNAME">
    <property name="astManagerIp">HOSTNAME</property>
    <property name="astManagerPort">5038</property>
    <property name="astManagerUser">zimbra</property>
    <property name="astManagerSecret">PASSWORD</property>
    </host>
    -->
    </zimletConfig>


    My Manager.conf is:
    ;
    ; Asterisk Call Management support
    ;
    [general]
    enabled = yes
    webenabled = yes
    port = 5038
    bindaddr = 0.0.0.0

    [admin]
    secret = ***
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    permit=***/255.255.255.0
    permit=***
    read = system,call,log,verbose,command,agent,user,config, command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config, command,dtmf,reporting,cdr,dialplan,originate

    [zimbra]
    secret = PASSWORD
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    permit=***/255.255.255.0
    read = system,call,log,verbose,command,agent,user,config, command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config, command,dtmf,reporting,cdr,dialplan,originate

    [myasterisk]
    secret = ***
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = system,call,log,verbose,command,agent,user
    write = system,call,log,verbose,command,agent,user

    #include manager_additional.conf
    #include manager_custom.conf


    I have cleansed the config files of passwords, IP's, etc for privacy reasons

    Any help would be greatly appreciated.

  4. #194
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    3

    Default Resolved

    Quote Originally Posted by pmcphedran View Post
    Hi,

    I've followed all the suggestions in this thread and still no love for Asterisk. I must be missing something! When I click on a number, it launches a message box:
    OK,

    I found the problem. I was missing something, seems that if you are using the .71 version, you do not need to follow the instructions from Post #175 When I reinstalled and used the same settings as in my post it all worked as expected.

    Thanks! (?)

  5. #195
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    Still no support for Zimbra 8? I have installed the zimlet and I get this errors in java console when clicking "Show Info":

    GET http://xxxxxx/service/zimlet/ch_bnc_...isk.jsp?info=1 500 (PWC6177: XML parsing error on file /WEB-INF/zimbra.tld)

    Symlink for zimbra.tld is correctly created.

  6. #196
    Join Date
    Apr 2009
    Posts
    12
    Rep Power
    6

    Default

    Hi,

    I'm currently trying to get this Zimlet to work with 8.0.4, and I have a crash:
    After installing it, I see this in the zmmailboxd.out log file.

    Any idea?

    2014-01-20 19:03:13.065:WARNejs.ServletHandler:/service/zimlet/ch_bnc_asterisk/asterisk.jsp
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZMailbox cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZMailbox cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZMailbox cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZMailbox cannot be resolved||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZFolder cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZSearchParams cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZSearchParams cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZSearchParams.TYPE_CONTACT cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZSearchResult cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZContact cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZSearchGalResult cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|GalEntryType.all cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZContact cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|ZContact cannot be resolved to a type||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|zmailbox cannot be resolved or is not a field||PWC6197: An error occurred at line: 37 in the jsp file: /ch_bnc_asterisk/asterisk.jsp|PWC6199: Generated servlet error:|The method getZMailbox(HttpServletRequest) is undefined for the type asterisk_jsp||
    at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:126)
    at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:296)
    at org.apache.jasper.compiler.Compiler.generateClass( Compiler.java:372)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:433)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:608)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:476)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:652)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:445)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:574)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1044)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:372)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:189)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:978)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispat cher.java:293)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispat cher.java:120)
    at com.zimbra.cs.zimlet.ZimletResources.service(Zimle tResources.java:98)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:652)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1320)
    at com.zimbra.cs.servlet.RequestStringFilter.doFilter (RequestStringFilter.java:52)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletF ilter.java:240)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:57)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlets.UserAgentFilter.doFilte r(UserAgentFilter.java:82)
    at org.eclipse.jetty.servlets.GzipFilter.doFilter(Gzi pFilter.java:268)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ET agHeaderFilter.java:45)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.ThrottlingFilter.doFilter(Th rottlingFilter.java:71)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(Zim braQoSFilter.java:114)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:473)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:344)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:315)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:443)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:556)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1044)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:372)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:189)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:978)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.ContextHandlerCol lection.handle(ContextHandlerCollection.java:255)
    at org.eclipse.jetty.server.handler.HandlerCollection .handle(HandlerCollection.java:154)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:116)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.h andle(RewriteHandler.java:317)
    at org.eclipse.jetty.server.handler.DebugHandler.hand le(DebugHandler.java:81)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java :369)
    at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(AbstractHttpConnection.java:486)
    at org.eclipse.jetty.server.AbstractHttpConnection.he aderComplete(AbstractHttpConnection.java:933)
    at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.headerComplete(AbstractHttpConnection .java:995)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa rser.java:640)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(H ttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handl e(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SslConnection.handle(SslC onnection.java:196)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.han dle(SelectChannelEndPoint.java:668)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.r un(SelectChannelEndPoint.java:52)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r un(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Thread.java:722)

  7. #197
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by pivert View Post
    I'm currently trying to get this Zimlet to work with 8.0.4,....
    You should upgrade ASAP.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #198
    Join Date
    Apr 2009
    Posts
    12
    Rep Power
    6

    Default

    I know ;-) It's for tests & not publicly exposed.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 08:38 AM
  3. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  4. weird Asterisk zimlet behaviour
    By bbarnett in forum Zimlets
    Replies: 4
    Last Post: 10-17-2007, 09:36 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •