do you have the manager interface turned on? You need to make sure your /etc/asterisk/manager.conf file looks something like this: ; ; Asterisk Call Management support ; [general] enabled = yes port = 5038 bindaddr = 0.0.0.0 [testuser] secret = test ;deny=0.0.0.0/0.0.0.0 ;permit=192.168.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user MATT--- -----Original Message----- From: Chandra [mailto:chandra@digital.com.np] Sent: Wednesday, December 31, 2003 2:41 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] ast gui client error ### connect to asterisk manager through telnet $t = new Net::Telnet (Port => 5038, Prompt => '/.*[\$%#>] $/', Output_record_separator => '',); #$fh = $t->dump_log("./telnet_log.txt"); # uncomment for telnet log $t->open("$server_ip"); i got error in this line $t->open("$server_ip"); my ip is 192.168.0.5 for asterisk and everyhings ok. the error i get is [root@asterisk astguiclient]# perl AST_SQL_update_channels.pl problem connecting to "192.168.0.5", port 5038: Connection refused at AST_SQL_update_channels.pl line 73 anyhting to do with port?? _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users