Hi, <br><br>You can also get these status in xml_curl post. <br><br>see <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl">http://wiki.freeswitch.org/wiki/Mod_xml_curl</a><br><a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl_CGI_example">http://wiki.freeswitch.org/wiki/Mod_xml_curl_CGI_example</a><br>
<br><br><div class="gmail_quote">On Sat, Jul 23, 2011 at 2:28 AM, Hector Geraldino <span dir="ltr">&lt;<a href="mailto:Hector.Geraldino@ip-soft.net">Hector.Geraldino@ip-soft.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">It does.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You can check the events by connecting to FS on inbound mode, or using FS outbound socket connection to an application designed by you. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">As you already have a perl script to interact with FS, you can modify it to connect to FS (inbound mode) and listen for events. You can subscribe to the events of a particular call, or filter an specific set of events. I haven’t used Asterisk before so I’m not sure how the AGI fits on the FS architecture.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You can get more info at:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="http://wiki.freeswitch.org/wiki/Mod_event_socket" target="_blank">http://wiki.freeswitch.org/wiki/Mod_event_socket</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">And a working demo at:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> <a href="http://wiki.freeswitch.org/wiki/Perl_freeswitch_client_example" target="_blank">http://wiki.freeswitch.org/wiki/Perl_freeswitch_client_example</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <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>Sam<br>
<b>Sent:</b> Friday, July 22, 2011 4:23 PM<br><b>To:</b> FreeSWITCH Users Help<div><div></div><div class="h5"><br><b>Subject:</b> Re: [Freeswitch-users] Asterisk dial status<u></u><u></u></div></div></span></p></div><div>
<div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding: 0in;" valign="top"><p class="MsoNormal">Sam,<br><br>Does this require event sockets? Or how would I check these events?<br>
<br>--- On <b>Fri, 7/22/11, Hector Geraldino <i>&lt;<a href="mailto:Hector.Geraldino@ip-soft.net" target="_blank">Hector.Geraldino@ip-soft.net</a>&gt;</i></b> wrote:<u></u><u></u></p><p class="MsoNormal" style="margin-bottom: 12pt;">
<br>From: Hector Geraldino &lt;<a href="mailto:Hector.Geraldino@ip-soft.net" target="_blank">Hector.Geraldino@ip-soft.net</a>&gt;<br>Subject: Re: [Freeswitch-users] Asterisk dial status<br>To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Date: Friday, July 22, 2011, 11:57 AM<u></u><u></u></p><div><div><p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Sam,</span><u></u><u></u></p><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">My guess is that you can subscribe to the events of the channel and evaluate the channel events. Look at:</span><u></u><u></u></p><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="http://wiki.freeswitch.org/wiki/Event_List" target="_blank">http://wiki.freeswitch.org/wiki/Event_List</a></span><u></u><u></u></p><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">specifically the channel events list.</span><u></u><u></u></p><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <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>Sam<br>
<b>Sent:</b> Friday, July 22, 2011 2:32 PM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> [Freeswitch-users] Asterisk dial status</span><u></u><u></u></p>
</div><p> <u></u><u></u></p><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding: 0in;" valign="top"><p>Hi,<br><br>I am trying to port over an Asterisk AGI script that does a call bridge to Freeswitch using perl, I wanted to know what is the equivalent of the asterisk dial status like: ANSWER, NO_ANSWER, CANCEL, BUSY, CONGESTION, CHANUNAVAIL ? I wanted to know if what methods can be used to gets these statues?<u></u><u></u></p>
</td></tr></tbody></table><p><span style="font-size: 10pt;"> </span><u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom: 12pt;"><br>-----Inline Attachment Follows-----<u></u><u></u></p><div><p class="MsoNormal">
_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br>
<a href="http://mc/compose?to=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><u></u><u></u></p>
</div></td></tr></tbody></table><p class="MsoNormal"><span style="font-size: 10pt;"><u></u> <u></u></span></p></div></div></div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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><br clear="all"><br>-- <br><div dir="ltr">Regards,<br>Zohair Raza<div><br></div><div><a href="http://www.zuhair.info" target="_blank">www.zuhair.info</a><br><div><p><span><b><span style="font-size: 10pt; font-family: Verdana; color: blue;"><a href="http://ae.linkedin.com/in/zuhairraza" target="_blank">http://ae.linkedin.com/in/zuhairraza</a></span></b></span><span><b><span style="font-size: 10pt; font-family: Verdana; color: rgb(136, 136, 136);"> </span></b></span><b><span style="font-size: 10pt; font-family: Verdana;" lang="DE"></span></b></p>
 <br></div></div></div><br>