[Asterisk-Users] Script Perl Autodialer

Maximiliano J. Goldsmid mgoldsmid at gmail.com
Wed Apr 6 10:28:58 MST 2005


Hello everybody,

I am trying to use in a script perl, the originate action on a zap channel…..

$TelnetClient->print ("Action: Originate");
$TelnetClient->print ("Channel: Zap/$zap/$number");
$TelnetClient->print ("Context: out");
$TelnetClient->print ("Exten: s");
$TelnetClient->print ("Priority: 1");
$TelnetClient->print ("Variable: var1=$var1|var2=$var2");
$TelnetClient->print ("");
 

The problem is that when opening the zap channel, originate thinks
that the call has been answered and send the call to the beginning of
the context out. And what I really want is to make this but when the
destiny person answered and not when the zap channel opens.

 
So what can I do to solve it ou?



More information about the asterisk-users mailing list