On Wed, Aug 26, 2009 at 11:35 PM, delianSPAM <delianspam@gmail.com> wrote:

Hello Michael!

 

Thank you for your reply! I know about sched_api and I use Python as a scripting language. Also “sched_api” can be used inside python, using session.execute. However the problem is that the “sched_api” timer starts right after you initiate the SETUP of the second call leg. What I need is to call something, after a call CONNECT instead. One workaround would be if I can check what time it took to connect the call, but I do not know/see how to do this. I do not see a CONNECT callback function either.

 

Perhaps you could set this channel variable to the sched_api call?
http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_answer
-MC