When you say call state, do you mean something like &quot;ringing&quot; or &quot;answered&quot;?<br>-MC<br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 3:23 AM, delianSPAM <span dir="ltr">&lt;<a href="mailto:delianspam@gmail.com">delianspam@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 link="blue" vlink="purple" lang="BG">

<div>

<p><span lang="EN-US">Hello Everybody!</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">How do you get the call state in Python?</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">I have tried:</span></p>

<p><span lang="EN-US">…</span></p>

<p>session.answer()</p>

<p>state_result=str(session.getVariable(&quot;state&quot;))</p>

<p>console_log(&quot;debug&quot;,state_result)<span lang="EN-US"></span></p>

<p><span lang="EN-US">…</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">But it returns: “None”</span></p>

<p> </p>

<p><span lang="EN-US">Thank you!</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">Best Regards, Delian Tashev</span></p>

</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>