<div dir="ltr">like i said, do events all<br>then watch them all on telnet for a sample call and decide for yourself which ones you need.<br>there is a CHANNEL_ANSWER for instance that you might find interesting ;)<br><br>
<br><div class="gmail_quote">On Fri, Oct 3, 2008 at 2:15 AM, Gopal krishnan <span dir="ltr">&lt;<a href="mailto:saigop@gmail.com">saigop@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>&nbsp;&nbsp;&nbsp; I tried as per your information, from telnet I do get the following events, <br><br>&lt;etc&gt;<br><br>Channel-State: CS_CONSUME_MEDIA<br>Channel-State-Number: 7<br>Channel-Name: sofia/internal/9841799874%40172.20.176.254<br>

Unique-ID: 347243a6-ae10-4e8a-b7b2-8af2005fb925<br>Call-Direction: outbound<br>Answer-State: ringing<br>Event-Name: CHANNEL_STATE<br>Core-UUID: ab0ba8d1-1aa4-4f12-b3c0-7d43acb87a8c<br>FreeSWITCH-Hostname: <a href="http://dialer.optimus.co.in" target="_blank">dialer.optimus.co.in</a><br>

FreeSWITCH-IPv4: <a href="http://172.20.176.31" target="_blank">172.20.176.31</a><br>FreeSWITCH-IPv6: %3A%3A1<br>Event-Date-Local: 2008-10-03%2012%3A34%3A21<br>Event-Date-GMT: Fri,%2003%20Oct%202008%2007%3A04%3A21%20GMT<br>
Event-Date-timestamp: 1223017461633513<br>
Event-Calling-File: switch_channel.c<br>Event-Calling-Function: switch_channel_perform_set_running_state<br>Event-Calling-Line-Number: 827<br><br>&lt;etc&gt;<br><br>but I am trying from a php program to get the answer state, when I try to give the command events channel_state I get the message as <br>

<br>events channel_state<br><br>Content-Type: command/reply<br>Reply-Text: +OK event listener enabled plain<br><br>after I dialed I get the same message. <br><br>I need to get only the answering state, is there any parameter that I need to specify to get the answering state alone in the PHP screen?<br>

<br>thanks<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 8:02 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">no, you want to subscribe to the events <br><br>telnet to event socket manually and type<br><br>events all&lt;cr&gt;&lt;cr&gt;<br><br>then make a call and look at all the events and decide which ones you want so you can be more <br>


specific.<br><br>events channel_state channel_destroy &lt;etc&gt;<div><div></div><div><br><br><br><br><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 8:38 AM, Gopal krishnan <span dir="ltr">&lt;<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi,<br><br>&nbsp;&nbsp; I am trying to execute sendevent channel_state in a php program via socket, but I didn&#39;t get any output in the GUI. <br>


<div><div></div><div><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 7:32 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">if you are using event_socket you can subscribe to the channel_state event and it will tell you <br>



every time the channel changes states.<div><div></div><div><br><br><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 1:29 AM, Baskar <span dir="ltr">&lt;<a href="mailto:yudha2008@gmail.com" target="_blank">yudha2008@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi,<br><br>I don&#39;t understand.could you please tell me in brief? . I want to check my channel status whether it is ringing or answer or hangup. <br>




<br><div class="gmail_quote"><div>On Mon, Sep 29, 2008 at 11:38 PM, B Karthik <span dir="ltr">&lt;<a href="mailto:carthick84@gmail.com" target="_blank">carthick84@gmail.com</a>&gt;</span> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><div dir="ltr">Set hangup_after_bridge variable to false and run the info command after bridge, you will see a lot of variables with the channel&#39;s current status. You could later reference those variables directly in your xml / script dialplan.<div>





<div></div><div><br clear="all">
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">---------- Forwarded message ----------<br>From:&nbsp;&quot;Gopal krishnan&quot; &lt;<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>&gt;<br>






To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Date:&nbsp;Mon, 29 Sep 2008 15:40:59 +0530<br>Subject:&nbsp;[Freeswitch-users] get channel status<br><div dir="ltr">





Hi,<br><br>
&nbsp; Is there any possibilities that I can check my channel status whether it is ringing or answer or hangup. I am trying to fetch thru uuid but couldn&#39;t able to do that.<br><br>&nbsp;any suggestion would be helpful. thanks <br clear="all">







<br>-- <br>Thank you &nbsp;with regards,<br>Gopal,<br><br></div>
</blockquote></div><br></div></div></div>
<br></div></div><div>_______________________________________________<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>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>Warm Regards,<br>N.Baskar<br><br>
</div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>




<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>




IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>



<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you &nbsp;with regards,<br>Gopal,<br><br>
</div></div></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>


<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>


IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>

<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you &nbsp;with regards,<br>Gopal,<br><br>
</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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>