Well, you can use the answer confirmation variables...<div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#Answer_confirmation_variables">http://wiki.freeswitch.org/wiki/Channel_Variables#Answer_confirmation_variables</a></div>
<div><br></div><div>or you can contact <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> and see about getting the answering machine detection module. (Not a free item, BTW.)</div><div><br></div><div>
-MC<br><br><div class="gmail_quote">On Mon, Jun 13, 2011 at 11:47 AM, Hector Geraldino <span dir="ltr"><<a href="mailto:Hector.Geraldino@ip-soft.net">Hector.Geraldino@ip-soft.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Right, the call log is on:</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="font-size:11.0pt;color:#1F497D"><a href="http://pastebin.com/kAEZsFe6" target="_blank">http://pastebin.com/kAEZsFe6</a></span></p><p class="MsoNormal" style="text-indent:.5in">
<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I found the issue which is really silly (don’t know how I couldn’t figure it out before): the call has been picked up by the voicemail, that’s why the CHANNEL_ANSWER event is shown up.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">What’s the most common pattern to deal with this situation, when you want to know if the call has been answered by a human being and not by a machine? I’m thinking about requesting a confirmation (DTMF) and timeout the operation after a few secs, but as this seems to be a very common task, I was wondering if there’s a better way of doing it.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Monday, June 13, 2011 1:53 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] originating a call from an outbound socket app</span></p></div><div><div></div><div class="h5"><p class="MsoNormal">
</p><p class="MsoNormal" style="margin-bottom:12.0pt"> </p><div><p class="MsoNormal">On Mon, Jun 13, 2011 at 9:37 AM, Hector Geraldino <<a href="mailto:Hector.Geraldino@ip-soft.net" target="_blank">Hector.Geraldino@ip-soft.net</a>> wrote:</p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Michael,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I finally figure out how to connect both calls using the command ‘intercept’. From the inbound call (handled by the OB socket) I just do an execute intercept legB uuid, and both calls are bridged perfectly. Thanks very much.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">So the only thing that stills concerns me is why the event CHANNEL_ANSWER is always generated on the outbound call (legb), even if the user doesn’t pick up the call. Also I can’t find any differences on the CHANNEL_CALLSTATE or CALL_UPDATE events that allows me to determine when an outbound call generated from FS is actually answered or not.</span></p>
</div></div><div><p class="MsoNormal">Did you ever post the full call debug log with a siptrace? I don't recall seeing that...</p></div><div><p class="MsoNormal"> </p></div><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">BTW, I bought the FS 1.0.6 book on Amazon last week and I want to congratulate you and Anthony/Darren for the excellent work you’ve done, it has been really helpful. My only complaint is that it doesn’t have an eBook format so I can read it on my Kindle. Besides that, great work.</span></p>
</div></div></blockquote><div><p class="MsoNormal">Yes, that complaint has been levied on more than one occasion. We've been imploring Packt to rectify the situation. We'll keep you posted on the status.</p></div>
<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">-MC</p></div><div><p class="MsoNormal"> </p></div></div></div></div></div></div><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>
<br></blockquote></div><br></div>