Asterisk manager Example: Login
Asterisk Manager Example: Login
Login - Establish a new Asterisk manager session.
Don't forget that you have to end your request with \r\n\r\n (two CrLfs), that's ascii characters 13, 10, 13 and 10 successively.SEND:
ACTION: LOGIN
USERNAME: username
SECRET: password
EVENTS: ON
USERNAME: username
SECRET: password
EVENTS: ON
RECEIVE:
Asterisk Call Manager/1.0
Response: Error
Message: Authentication failed
Response: Error
Message: Authentication failed
Or hopefully:
Asterisk Call Manager/1.0
Response: Success
Message: Authentication accepted
Response: Success
Message: Authentication accepted
Back
Featured -
Search:

Page Changes















