Why not just set rtp-timeout-sec on the sofia profile and it'll do that for you.
Unless something else is going on. /b On Dec 16, 2009, at 6:33 AM, Juan Backson wrote: > Hi, > > I am having problem with around 1 % of the channels always get > zombilized. > > What I want to do is to have a background thread that regularly > check all the channels that have been in existance for like > 1 hr, > and then check to see if there is any RTP coming in and going out. > If there is no RTP, then I just hangup that channel. Does anyone > know if there is anyway to do that in a freeswitch module? Which > API can I use to accomplish this purpose? Alternatively, is there > anyway to configure freeswitch so that it will hangup the calls > where there is no media in and out for so many seconds? > > Thanks, > jb > _______________________________________________ > 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