When you say call state, do you mean something like "ringing" or "answered"?
-MC

On Thu, Aug 27, 2009 at 3:23 AM, delianSPAM <delians...@gmail.com> wrote:

>  Hello Everybody!
>
>
>
> How do you get the call state in Python?
>
>
>
> I have tried:
>
> …
>
> session.answer()
>
> state_result=str(session.getVariable("state"))
>
> console_log("debug",state_result)
>
> …
>
>
>
> But it returns: “None”
>
>
>
> Thank you!
>
>
>
> Best Regards, Delian Tashev
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to