[Asterisk-Users] ast gui client error

Chandra chandra at digital.com.np
Wed Dec 31 00:41:29 MST 2003


### 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 at 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??





More information about the asterisk-users mailing list