<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 11:35 PM, delianSPAM <span dir="ltr"><<a href="mailto:delianspam@gmail.com">delianspam@gmail.com</a>></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 style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Hello Michael!</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p style="text-indent: 35.4pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">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.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p></div></div></blockquote><div>Perhaps you could set this channel variable to the sched_api call?<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_answer">http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_answer</a><br>
-MC<br><br></div></div>