Hi,
I'm trying to integrate Odoo 10 or 11 voip with Asterisk v.15 using this module connector:
https://github.com/OCA/connector-telephony
https://akretion.com/en/open-source-contributions/odoo-asterisk-voip-connector
but it's impossible, always obtain an AMI blank response.
I've tried to enable debug in Odoo so, I obtain this error:
odoo.addons.asterisk_click2dial.models.asterisk_server: User's phone: PJSIP/6002
odoo.addons.asterisk_click2dial.models.asterisk_server: Asterisk server: 192.168.1.135:5038
odoo.addons.asterisk_click2dial.models.asterisk_server: Result of Status AMI request:
odoo.addons.asterisk_click2dial.models.asterisk_server: {}
odoo.addons.asterisk_click2dial.models.asterisk_server: Calling party number: 'False'
I've tested with Odoo 10 and 11 and always the same error and I think that asterisk is working fine, because if I use Zoiper software, I am able to call from two differents computers and between mobile phone, but no with Odoo
In manager.conf, I've added all permission to AMI account, but Odoo always obtain empty response. Of course, Odoo says that conection with asterisk is Ok in setup. This is manager.conf file:
[general]
enabled=yes
port = 5038
bindaddr = 0.0.0.0
webenabled = no
[click2dial]
secret = mypassword
deny = 0.0.0.0/0.0.0.0
permit = 192.168.1.134/255.255.255.255
read = all,system,call,log,verbose,command,agent,user,config
write = all,system,call,log,verbose,command,agent,user,config
Thanks