[Freeswitch-users] Timers/DTMFs During a Call

Michael Collins msc at freeswitch.org
Thu Aug 27 00:04:50 PDT 2009


On Wed, Aug 26, 2009 at 11:35 PM, delianSPAM <delianspam at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090827/2d737c55/attachment-0002.html 


More information about the FreeSWITCH-users mailing list