OCA / connector-telephony

Odoo modules for telephony integration
GNU Affero General Public License v3.0
150 stars 293 forks source link

Connection aborted.', BadStatusLine('Asterisk Call Manager'))' #322

Closed seblveb closed 2 months ago

seblveb commented 2 months ago

module: asterisk_click2dial version: 16.0

Unable to obtain the Asterisk telephone number. Here is the error: '('Connection interrupted.', BadStatusLine('Asterisk Call Manager/7.0.3\r\n'))'

Steps to reproduce the error By clicking on the telephone icon or by making a call from a contact card or by testing the PBX in the odoo configuration.

I am able to connect by telnet from the odoo server sudo -u userodoo telnet ipbx.domaine.fr 5038 Trying XX.XX.XX.XX... Connected to ipbx.domaine.fr. Escape character is '^]'. Asterisk Call Manager/7.0.3

but I still get this error Unable to obtain the Asterisk telephone number. Here is the error: '('Connection interrupted.', BadStatusLine('Asterisk Call Manager/7.0.3\r\n'))'.

seblveb commented 2 months ago

Asterisk 18.22.0

seblveb commented 2 months ago

I found the origin of the bug which does not have one....

On version 13 we are working in AMI on 5038

On version 16 we switch to the API in http in ARI on port 8088

We therefore completely change the protocol on this version of the module.

I propose to modify the documentation of the asterisk_click2dial module by indicating the protocol used