Hi, Thanks a lot for your answers. They have been very helpful. I tried pjsua and recommended options as Roman suggested and it worked for what I needed (with an issue I'll comment next). I assume that if I'd like to implement a program myself which allowed me to do what I asked for, then I should use PJSUA-LIB API. Anyway, in case I needed to use simpleua, I guess I could see in the pjsua source code what is used to map a file as the audio source (pjmedia master port?). So, although I succeeded in establishing a SIP/RTP session between two hosts and stream a wav audio file, in the receiver side I get sound in a very choppy way. I tried changing sender and receiver hosts, but got the same results. Wireshark show me that all RTP packets are sent (all sequence numbers are received). However, some RTP packets are marked. Could this be the problem? Sender side # ./pjsua-i686-pc-linux-gnu --play-file /home/dulceangustia/Desktop/file.wav --auto-answer 200 --auto-play --auto-loop --no-tcp Receiver side # ./pjsua-i686-pc-linux-gnu sip:147.83.47.179:5060 I tried with mono 8kHz and 16 kHz sampled audio files (WAV) and specyfing it in the command line but got the same choppy audio. Note that the file is correctly encoded as it's properly played in the local host. Also note that the sound gaps appear randomly, in every try but not in the same place in the audio file. Both computers are connected through a LAN network with UTP/Ethernet cables. Any idea about what this issue can be caused for? Thanks for your help. Regards, Javi 2009/5/20 Benny Prijono <bennylp at teluu.com> > 2009/5/19 Javier G?lvez Guerrero <javier.galvez.guerrero at gmail.com> > >> Great! Successfully encoded and streamed. Thanks a lot, Maarten. >> >> Now, I hope someone can help me with the 'simpleua' issue so I can stream >> an audio file within a SIP VoIP session. >> >> > The easiest way is to use PJSUA-LIB API, where you can switch from > streaming microphone or WAV file (or tone if you want) easily. You can start > with simple_pjsua example. If you still want to do it with simpleua, you'd > need to replace the sound device with a pjmedia master port. > > cheers > Benny > > > > _______________________________________________ > 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/20090520/f9b7100b/attachment.html>