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

[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to