I modified the mem_player and mem_capture port into c++ class and want to get the buffer and send buffer to the port. But it seems that the call back function call get_frame and put_frame again and again and buffer should be rewritten again. Do someone can tell me how can write the buffer then it can get the buffer data and send to other SIP phone, also how can I get the buffer and send it so my interface? I just want to media_port can send and receive voice from other network interface and can communicate with SIP phone. Thanks in advance. _________________________________________________________________ MSN??????????????? http://im.msn.cn/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080731/80cf8979/attachment.html