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?
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users