<div>Hello, i have this problem :</div>
<div>i phone person B .</div>
<div><em><u><strong>if i hang up</strong></u>,</em> i have this &quot;h&quot; extension : exten =&gt; h,1,<font color="#ff0000">AGI</font>(ende.agi)</div>
<div><u><strong><em>if the person B hangs up</em></strong></u> ,  i have this &quot;h&quot; extension : exten =&gt; h,1,<font color="#ff0000">DeadAGI</font>(ende.agi)</div>
<div> </div>
<div>The problem is, i do not know where hangs up the first . How kann i combine AGI and DeadAGI in one programm ?</div>
<div>Thank you </div>