OCA/connector-telephony

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

Closed this issue · 2 comments

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'))'.

Asterisk 18.22.0

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