My application fires several calls thru AMI ORIGINATE command.<br><br>For example if I have 3 operators I do 3 ORIGINATEs. <br><br>My trouble is when one operator quit for some reason, I should kill the corresponding ORIGINATE.<br>
<br>Of course, I could let the call ring and hangup after the customer pick-up.<br><br>But this is not the case, I do have to kill the corresponding ORIGINATE.<br><br>I could execute a soft hangup, but I am not aware the channel that ORIGINATE is using until customer either pick-up or not answer - generating a OriginateResponse event.<br>
<br>I have tried to send a STATUS command on the ActionId, but the answer is assync and I can&#39;t trust on it.<br><br>I would appreciate any help.<br><br>Thanks,<br><br>Valter<br>