Answer the question
In order to leave comments, you need to log in
How to connect to AMI (asterisk)
I'm trying to set up a connection with the PBX. but I get an error that the action variable is missing.
tried different ways
192.168.1.150 :5038/asterisk/manager?action=login&username=user&secret=pass
192.168.1.150 :5038/manager?action=login&username=user&secret=pass
192.168.1.150 :5038/?action=login&username=user&secret=pass
but the error is the same ... in general, where should I go? :)
thank you all in advance
Answer the question
In order to leave comments, you need to log in
I already gave you links in the previous question.
There is a link to AJAM: it has a different port, it seems 8088 or 8808 (see docs)
That doesn't work. So only for AJAM.
AMI has its own request-response protocol.
Have you read the documentation?
try to telnet to the port and send
Action: login
Username: user
Secret: pass
and now your request is a regular GET
GET /?action=login&username=user&secret=pass HTTP/1.0
is that clearer?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question