What am I trying to do:
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 etc
Ports:
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?