Displaying 1 result from an estimated 1 matches for "13seconds".
Did you mean:
10seconds
2010 Jun 05
5
Controlling calls
Hello folks,
I want to write an AGI script doing this:
1-user call a number.
2-asterisk call the agi script
3-the script dial the peer
4-if the call is answered, let the call up for 1min
5-then the script hangs up the channel.
I tried either in php or in java but no success.
In java i did this:
//////////////
exec("Dial", "IAX2/400");
boolean t=true;
while(t){