<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi,</div>
<div><br>
</div>
<div>I am using asterisk via AGI and want to be able to record a call.</div>
<div>The scenario is:</div>
<ol>
<li>A call comes in</li><li>The call is redirected to a mobile number via a local extension and ChannelRedirect</li><li>The local extension looks like something this:</li></ol>
<div>
<div>exten => _X.,1,Dial(SIP/${EXTEN},60,…)</div>
<div>exten => _X.,n,Agi(agi://localhost/aj.agi?action=……..)</div>
<div>
<div><br>
</div>
</div>
<div>I have looked through all arguments of Dial but haven't found any way to continue having a connected call between the caller and the callee and have AGI control of it. Is there a way to do this or do I have to use G() and connect the both ends to AGI separately
and then bridging them before recording the call?</div>
<div><br>
</div>
</div>
<div>Thanks for help.</div>
<div>
<div style="font-family: Consolas; font-size: medium; "><br>
</div>
<div style="font-family: Consolas; font-size: medium; ">Regards,</div>
<div style="font-family: Consolas; font-size: medium; "><br>
</div>
<div style="font-family: Consolas; font-size: medium; ">Henrik</div>
<div style="font-family: Consolas; font-size: medium; ">
<div style="font-family: Calibri, sans-serif; font-size: 14px; ">
<div style="font-family: Consolas; font-size: medium; "></div>
</div>
</div>
</div>
</body>
</html>