<div dir="ltr"><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">Hello,</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)"><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">Throwing calls from Asterisk to PSTN (via a VoIP gateway) some operators sends an explaining audio, in situations as:</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">The phone number does is not assigned</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">The phone is powered off</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">etc.</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">The audio is sent before the call to be answered.</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<span style="background-color:rgb(246,246,246)"><font color="#414141" face="Arial, Helvetica, sans-serif"><span style="line-height:20px">So, in an automatic dialling application I'd like to recognize that audio to know what to do with those calls (queue them to a service, mark as wrong number, unavailable, etc.).</span></font></span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)"><span style="background-color:rgb(246,246,246)"><font color="#414141" face="Arial, Helvetica, sans-serif"><span style="line-height:20px">Does Asterisk have any functionality to recognize the audio in early media (similar to the answer machine detection)?</span></font></span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)"><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">Is  there a way to record the audio in early media to implement my own early media detector?</span><br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">
<br style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)"><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">Thank you in advance</span>
<div><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">---</span></div>
<div><span style="color:rgb(65,65,65);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:20px;background-color:rgb(246,246,246)">David Pinedo</span></div></div>