<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Courier New';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY BGCOLOR="#E9E9E9" ><div><SPAN style="font-size:10pt;">On Tue, 22 Aug 2006 16:55:37 +0200, Niklas Larsson wrote:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; I'm using AMI to initiate a call, first calling the agent and when</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; he picks up, the call is placed to the customer. The prob is if the</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; user rejects the call (or they don't have cw...), the call is still</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; placed to the customer...</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; I havn't found a variable that tells me that the first leg is still</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; up.</SPAN></div>
<div>&nbsp;</div>
<div class="body"><SPAN style="font-size:10pt;">I removed the Local part and called the extension directly, and the problem went away...</SPAN></div>
<div class="body">&nbsp;</div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; This is what i send to AMI:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Action: Originate</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Channel: Local/8542@from-internal</SPAN></div>
<div class="body"><SPAN style="font-size:10pt;">Channel: Sip/8542</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Context: from-turbo</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Async: yes</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Variable: ext_turbo=8542</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Exten: 0703123456</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Priority: 1</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Timeout: 30000</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Callerid: "Turbo"</SPAN></div>
<div>&nbsp;</div>
<div><SPAN style="font-size:10pt;">/Niklas<br /><br /></span></div>
</body></html>