Connect attempt from '192.168.xxx.xxx' unable to authenticate?
I'm trying to implement an AMI service, actually it works pretty good, I can add members, remove members etc etc, but every 1-5 minutes I ge开发者_Go百科t an exception. Looking in the asterisk manager I find this error. Does anybody knows how to solve this issue.
Thanks =)
You should try setting displayconnects parameter to false in manager.conf See this link
Your question is very vague, as we don't have enough information.
At my best guess, i think your AMI client code gets a TCP disconnect and automatically reconnects, but does not correctly "logs in" to the asterisk manager interface after the reconnect.
You can debug this by capturing the communication between your AMI client and asterisk via TCPDUMP and look at the trace at the time of the failure. You should see a second TCP session opening, missing the login event if my guess is right.
精彩评论