A small addition: In our PJSIP code, we've next media settings: // Media entities cfg->media_cfg.ec_tail_len = 0; // default PJSUA_DEFAULT_EC_TAIL_LEN = 200 cfg->media_cfg.clock_rate = 8000; cfg->media_cfg.no_vad = PJ_TRUE; cfg->media_cfg.ptime = 0; // Override default codec ptime (0 = codec specific) cfg->media_cfg.audio_frame_ptime = 10; // Must be multiple of 30 to get good 30ms payload (default=20) By default PJSIP uses 20 for audio_frame_ptime, but we did put it on 10 to enable 30ms payload. It is likely that with 20 we get (with G.711) 160 bytes of silence payload instead the 80 in our case (while in both cases 320 bytes was expected due to negotiated 40ms payload in SDP). With regards, EiSl -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110319/cc06eab9/attachment.html>