Problem with astreisk's zimlet installation
Hi,
I have zimbra network edition v5.0.16 installed on RHEL5.3
I want to install asterisk's zimlet, so I followed the installation instructions from the website
Asterisk PBX Integration Zimlet - BNC Business Network Communications AG
but when I click on "Get Info" I got this errors on mailboxd.log:
2009-07-13 15:06:21,324 INFO [btpool0-7] [name=user@wodel.wd;mid=151;ip=172.16.72.1;ua=Zimbr aWebClient - FF3.0 (Linux)/5.0.16_GA_2921.RHEL5;] soap - SearchRequest
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Getting ch_bnc_asterisk host config
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - {local={}, site={}, global={phonebookBaseUrl=http://tel.local.ch/q/, maxSMSLength=160, enableSMS=true, phonebookUrlNumberParam=phone, phonebookUrlCommonParams=ext=1}}
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astManagerIp' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astManagerPort' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astManagerUser' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astManagerSecret' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astDialContext' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astDialChannelType' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astActionTimeout' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astNoExtenCheck' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'srcPhonePrefix' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'calleePrefix' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'numberCleanRegExp' value 'null'
2009-07-13 15:06:31,826 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'iddPrefix' value 'null'
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - Using global config attribute 'enableSMS' value 'true'
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astSMSSendContext' value 'null'
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astSMSCenterChannel' value 'null'
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - Using local config attribute 'astSMSVariable' value 'null'
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - Using global config attribute 'maxSMSLength' value '160'
2009-07-13 15:06:31,827 INFO [btpool0-9] [] zimlet - ch_bnc_asterisk userAstDialContext overwrites global astDialContext value: null
2009-07-13 15:06:31,827 WARN [btpool0-9] [] zimlet - Parse error while getting 'astManagerPort'. Using default 5038
2009-07-13 15:06:31,827 DEBUG [btpool0-9] [] zimlet - astManagerIp:null port:5038 user:null
2009-07-13 15:06:31,838 ERROR [btpool0-9] [] zimlet - Zimlet parameter 'astActionTimeout' is null. Check zimlet config!
2009-07-13 15:06:31,838 DEBUG [btpool0-9] [] zimlet - Encoding: UTF-8
2009-07-13 15:06:31,838 DEBUG [btpool0-9] [] zimlet - URL Params:
info: callee: null smsTo: null smsMsg:
null
2009-07-13 15:06:31,839 INFO [btpool0-9] [] zimlet - Do AMI login.
2009-07-13 15:06:31,840 INFO [btpool0-9] [] ManagerConnectionImpl - Connecting to null:5038
2009-07-13 15:06:31,907 ERROR [btpool0-9] [] log - Nested in org.apache.jasper.JasperException: java.lang.IllegalArgumentException: hostname can't be null:
java.lang.IllegalArgumentException: hostname can't be null
no matter what I've tried, to unzip the zimlet and to make changes to the config_template.xml file, I got the same errors....... :(:(:(
any idea
Did you set host name from config.xml ?
Hi,
This extension seems to be working here, with zimbra OS 5.0.18
Post your xml config
Regards,
Problem with asterisk 1.6
Hi,
Quote:
Originally Posted by
wodel
Hi,
{"callee":"444","astVersion":"No such command 'show version' (type 'help show version' for other possible commands)<br />","extenStateWarning":false,"astProtocol":"Asteri sk Call Manager/1.1","error":false,"originateSuccess":false,"astSe rver":"192.168.2.224:5038","version":"0.65"}
so what's missing???:confused:
I see the problem here No such command 'show version' (type 'help show version' for other possible commands)
I did a "show version" command in manager to get the version information for the Asterisk Info in the zimlet. It seems that this commend is unsupportet in asterisk 1.6. But beside the Asterisk Info the zimlet should work. So i need to fix this in next version.
Regards,
Christof
local variables doesn't work with zimbra Network
I had to use <global> .. </global> and remove <host name...>...</host> and then Zimbra NE worked with asterisk.
When local variables are in config, "Parse error while getting 'astManagerPort'" are show in the log messages.