Hi, I have developed a full fledged application using pjsip and now we are adding more features into it. There is a need that we have to change the status of a line if incoming audio is present aprt from silence. Our application either use G726 ot PCMU codecs. Now how can i detect the presence of silence in a frame and getframe in stream.c. both the sip applications are same so they use pjsip only. Even is i have audio i still see the PJMEDIA_FRAME_TYPE_NONE and not PJMEDIA_FRAME_TYPE_AUDIO at getframe which could actually tell me the frame type. I tried using the silence detector in ipp codecs but once if i talk from other side and mute the mike there, the sd state changes from STATE_SILENCE to STATE_VOICED and doesnt come back to silence when i mute the call. I desperately need help on this, please help me udnerstand and implement this better. Thanks & Regards, Ravi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100921/9b420d41/attachment.html>