Displaying 1 result from an estimated 1 matches for "useroperator".
2007 Nov 19
1
asterisk manager and perl
Hi,
I m trying to use perl script to generate call with a server asterik .
If I use telnet session to generate like this :
$telnet localhost 5038
Action: Login
Username: useroperator
Secret: password
Action: Originate
Context: context
Channel: Local/0123456789 at context
Exten: 221
Priority: 1
it works good :)
instead with a script perl like this :
....
use Net::Telnet ();
....
$tn->print("Action: Login\nUsername:$USERNAME\n Secret:$SECRET\n\n");
$tn->wa...