AST_phone_update.pl timeout error
Posted: Tue Nov 26, 2013 5:11 am
I updated my vicibox 5.02 cluster to SVN trunk r2040 a few days ago (I know we're a bit past that revision now, but I like to test things!). Anyway i was trying out the 'AST_phone_update.pl' script and the new '--agent-lookup' option but it does not seem to work.
I am running this on the dialling server obviously. It seems to be having an issue when talking to the asterisk server. I've fixed the asterisk version issue in the server settings, so I don't think it's that. Everything else works just fine.
- Code: Select all
vicidial-1:/usr/share/astguiclient # ./AST_phone_update.pl --agent-lookup --debugX
|SELECT telnet_host,telnet_port,ASTmgrUSERNAME,ASTmgrSECRET,ASTmgrUSERNAMEupdate,ASTmgrUSERNAMElisten,ASTmgrUSERNAMEsend,max_vicidial_trunks,answer_transfer_agent,local_gmt,ext_context FROM servers where server_ip = '192.168.0.12';|
|SELECT distinct server_phone from vicidial_user_log where server_ip='192.168.0.12' and phone_ip='LOOKUP' and event_date > "20131125095456" and extension LIKE "SIP%";|
SIP EXTENSIONS:
|SELECT extension,phone_ip,login from phones where server_ip='192.168.0.12' and protocol='SIP' and login IN('102','109','110','112','111','105','103','101','114','113','106');|
command timed-out at ./AST_phone_update.pl line 233
I am running this on the dialling server obviously. It seems to be having an issue when talking to the asterisk server. I've fixed the asterisk version issue in the server settings, so I don't think it's that. Everything else works just fine.