Just to help a little bit. If you haven't done so, it will help to read the media port concept in pjmedia, you can start here: http://pjsip.org/pjmedia/docs/html/group__PJMEDIA__PORT__CONCEPT.htm Related to this, there is another page that explains how media flows between pjmedia components: http://pjsip.org/trac/wiki/media-flow I hope that explains things a bit. -benny B. van Klinken wrote: > OK thanks i will wait for your clean code. > > Note: it's no problem for if you send me "hack" version already now, then i > have already something to look at.