Yes you will need to recompile pjsip libraries to see a change. But also you don't want to remove the keep alive mechanism, it's there for a reason. If the caller is quiet for a long period, there are no RTP packets sent due to VAD, and your NAT may decide after a minute that the connection is closed, then when you speak again, the NAT sets up a new mapped address and your RTP connection will break. Bill On 11/18/2015 11:20 AM, Telesonic Telesonic wrote: > Hello Bill! > And maybe this is PJMEDIA_CODEC_MAX_SILENCE_PERIOD ? > Anyway I will try both.. > and one more - how to redefine it? > I try to put new value in pjsip-include/pjmedia/config.h and recompile > my app (I make in for IOS) but nothing changed. > Packets still appears every 5 seconds. > Or I need to recompile all libs? > Kind regards, > Alexander > 18.11.2015, 19:03, "Bill Gardner" <billg at wavearts.com>: >> Hi, >> >> This is probably PJSIP sending empty RTP packets to keep NAT bindings >> active. See the description related to PJMEDIA_STREAM_ENABLE_KA in >> config.h. >> >> Regards, >> >> Bill >> >> On 11/17/2015 7:19 PM, Telesonic Telesonic wrote: >>> Hello All! >>> I try to minimize traffic of sip application. In logs I found that >>> every 5 second my app send these requests - >>> >>> *strm0x7bad0614 Start talksprut..* >>> >>> *strm0x7bad0614 Starting silence* >>> >>> *silencedet.c Re-adjust threshold (in silence)to 0* >>> >>> *and these requests send about 200-250 bytes of data.* >>> >>> *What is this and can I switch it off?* >>> >>> >>> >>> _______________________________________________ >>> Visit our blog:http://blog.pjsip.org <http://blog.pjsip.org/> >>> >>> pjsip mailing list >>> pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> , >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >> pjsip mailing list >> pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151118/9d4bd5e3/attachment.html>