Has anyone been able to make this Zimlet work with version 7I am not having much luck making it work.
If this one is not compatible; does anyone know of one that works?
Thanks in advance!
Has anyone been able to make this Zimlet work with version 7I am not having much luck making it work.
If this one is not compatible; does anyone know of one that works?
Thanks in advance!
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
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¶m2=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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)