Asterisk Click2dial 0.3 not working

I am trying to get Click2Dial Firefox plug-in to work without success.

I have the following config of Click2Dial on the FF plugin

Server - my pbx address
port - 5038
username - 4255 (extension number)
password - password (of the extension)
context - from_internal
protocol - chan_sip
channel - sip/4255

On the PBX end
Server Enabled and Bound to x.x.x.10:5038

Enabled URI’s:
/httpstatus => Asterisk HTTP General Status
/amanager => HTML Manager Event Interface w/Digest authentication
/arawman => Raw HTTP Manager Event Interface w/Digest authentication
/manager => HTML Manager Event Interface
/rawman => Raw HTTP Manager Event Interface
/static/… => Asterisk HTTP Static Delivery
/amxml => XML Manager Event Interface w/Digest authentication
/mxml => XML Manager Event Interface
/ari/… => Asterisk RESTful API
/ws => Asterisk HTTP WebSocket

Enabled Redirects:
None.

On Wireshark I can see the browser attempting to make a connection with http request sent out as

22 10.487572069 x.x.x.100 x.x.x.10 HTTP 418 GET /asterisk/mxml?action=Login&Username=4255&[email protected] HTTP/1.1

And a response coming back from the server

24 10.491069969 x.x.x.10 x.x.x.100 HTTP 472 HTTP/1.1 404 Not Found (text/html)

No entries on Asterisk CLI.

Can someone give me some pointers to resolve this issue please?

Thanks

I am not familiar with this plugin, but most of these types of programs require AMI credentials, not extensions SIP creds.
https://wiki.freepbx.org/display/FPG/Asterisk+Managers+User+Guide

@lgaetz, thanks for the prompt response and it makes sense. Only issue is that I do not have the AMI module in my system - I am running rasPBX - does this mean that perhaps rasPBX does not support AMI??

https://wiki.freepbx.org/display/FPG/Module+Admin+User+Guide

Many thanks. Found the module.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.