Timed out waiting for challenge
What am I trying to do:
Ports:
Local telnet session with manual input (>):
root@asterisk1:/etc/asterisk# /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /tmp/par-root/cache-a35c6b2917b72b70bb45f0e4dec9f6353395ad95/inc/lib/FOP2/AMI2.pm line 311
Failed to connect to asterisk - 127.0.0.1:5038
Error Message: Timed out waiting for challenge
System environment:
Debian GNU/Linux 7 asterisk1 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
Asterisk 12.0.0 built by root @ asterisk1 on a x86_64 running Linux on 2014-01-14 15:37:23 UTC
NOT part of a package / freepbx etcPorts:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5038 0.0.0.0:* LISTEN 21457/asterisk
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN 21457/asterisk
Manager.conf:[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
[admin]
secret = helloworld
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate,message
fop2.cfg; AMI definitions
manager_host=127.0.0.1
manager_port=5038
manager_user=admin
manager_secret=helloworld
;event_mask=agent,call,command,system,user,dialplan
Raw traffic:Local telnet session with manual input (>):
< Asterisk Call Manager/2.0.0
> Action:Login
> Username:admin
> Secret:helloworld
< Response: Success
< Message: Authentication accepted
< Event: FullyBooted
< Privilege: system,all
< Status: Fully Booted
This is the traffic on LO(calhost) TCP stream with the demo being executed, yes thats it.> AuthType: md5
> Action: Challenge
> ActionID: 1
< Asterisk Call Manager/2.0.0
< Response: Success
< ActionID: 1
< Challenge: 212179247
What am i doing wrong?
Comments
/usr/local/fop2/fop2_server -X 3
What do you see there? Also, what asterisk version are you using?
Asterisk 12.0.0 built by root @ asterisk1 on a x86_64 running Linux on 2014-01-14 15:37:23 UTC
Regarding the results of the commandline execution, nothing unexpected, the output was already verified on TCP level.
Can you help me any further than this?
I do not see the challenge response in the fop2 capture log, so it is not the same you had before. For some reason, there is no challenge response captured/received by fop2.
I do notice a difference that might lead to problems, the Call Manager version advertisement includes a 3 digit, compare this:
Asterisk Call Manager/1.3
to
Asterisk Call Manager/2.0.0
That *could* be an issue, but I have to test it out locally/further.
We're building a test setup to implement in our callcenter/support setup.
If this issue is indeed the one you suggest, this problem will persist in all future versions of Asterisk and it is worth looking into. Could you post your findings and a possible fix?
Best regards,
This seems to be succesful.
When running as server daemon I get prompted the Login details now. It seems that the problem is solved!
Just out of curiousity, was the problem the response header?
Thank you for this, we can now proceed with implementation tests