hi, everybody i use Vicibox5.i686-5.0.3.iso|vicidial 2.8b0.5|build opensuse v.12.3 32 bit|Asterisk v1.8.23.0-vici|single server| No Digium/Sangoma Hardware | No Extra Software After Installation |Intel(R) Pentium|DUAL CPU E2220
my problem is:
i want to configure OpenERP in ubuntu 12.04 lts will communicate with Asterisk through the Asterisk Manager Interface (AMI) of vicidial.
So the first step is to configure AMI :
create a new AMI account for OpenERP
configure AMI to accept requests from OpenERP for click2dial.
The configuration file of AMI is /etc/asterisk/manager.conf (depending on your Linux distribution, the directory may be different). Here is a sample configuration file with my comments inline :
; manager.conf file for the Asterisk Manager Interface (AMI)
; It starts with the “general” section first
[general]
; You must enable the AMI feature
enabled=yes
; TCP Port on which AMI will listen
port = 5038
; I suppose Asterisk and OpenERP are on two different machines,
; so you must bind AMI on 0.0.0.0
bindaddr = 0.0.0.0
; We don’t need to activate the HTTP AMI interface : the module uses the native interface
webenabled = no
; Then, we create an AMI account for OpenERP
[admin] ; This is the AMI login
secret = tresor1 ; This is the AMI password
; We deny AMI access for everybody
deny = 0.0.0.0/0.0.0.0
; We accept AMI access for OpenERP server (192.168.0.42)
permit = 192.168.0.42/255.255.255.255
; We give the minimum access rights required for the click2dial feature
; For Asterisk 1.4.x, you need the “call” rights (for both click2dial and the 'open calling party' feature)
;read =
;write = call
; For Asterisk 1.6.x and 1.8.x, you need the “originate” rights (for click2dial)
; and the 'reporting' rights (for the 'open calling party' feature)
read = system,call,log,agent,user,command,originate
write = system,call,log,agent,user,command,originate
Warning : simply reloading Asterisk is not enough to activate the AMI ; you need to restart Asterisk (check that nobody is on the phone, because a restart of Asterisk will stop all ongoing phone calls).
Now check that you can access the AMI from the OpenERP server :
% telnet <asterisk_server_IP_address> 5038
when i do this the ubuntu system said: unable to connect to host: connection time out
please i need your help