<div dir="ltr"><div><div><div>This is the proverbial auto dialing chicken-and-egg scenario. There's a love-hate relationship with early media. Sometimes the early media is handy and sometimes it's annoying. Figuring out which is which can be a challenge.<br><br></div>Before you go down the path of AMD (which requires an investment of both time and money) I'd assess the situation and find out if you can indeed ignore all early media, or if you want to do the semi-magical trick of monitoring early media and selectively ignoring or passing it. Start here:<br><a href="https://wiki.freeswitch.org/wiki/Variable_monitor_early_media_ring">https://wiki.freeswitch.org/wiki/Variable_monitor_early_media_ring</a><br><br></div>If you think that all early media is bad except for ringing then that may just do the trick. Just keep in mind that no solution that tries to examine audio like this will ever be 100% accurate. Still if you can get yourself to 90% or more accurate then you're doing well, especially given the price tag of FreeSWITCH. ;) <br><br></div>-MC<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 3:24 AM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>if you use a simple bridge command with ignore_early_media=true, I think the caller will still hear the FreeSWITCH'es ringback instead of the GSM unavailability message. So, in this case, the caller would simply hang up after waiting for too long.<br><br></div>You can also configure a group call with answer confirmation: the called party would have to press a digit before the call is connected with the caller.<br><br></div>Also you can do some scripting and process the outbound call before you bridge it with the inbound call. Here I have an example in Perl:<br><a href="https://jira.freeswitch.org/browse/FS-6746" target="_blank">https://jira.freeswitch.org/browse/FS-6746</a><br><br>Also currently I'm learning how to do that with ESL and Golang.<br><br><br><br><br><br><div><br><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 16, 2014 at 10:54 AM, Delifisek Tux <span dir="ltr"><<a href="mailto:delifisek.tux@gmail.com" target="_blank">delifisek.tux@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello Everyone.<div><br></div><div>Is there any way to detect early media Automatic Message Detection before the answer in freeswitch.</div><div><br></div><div>We had small asterisk setup for outgoing messages, GSM voice mails box are troubles us. </div><div><br></div><div>Providers sends voice messages as early media. So we need to detect them before the answer and hangup the line.</div><div><br></div><div>Before dig deep, we asking for is this possible with freeswitch ?</div><div><br></div><div>Our Best Regards.</div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>