I downloaded and built pjsua for windows phone 8 successfully. I can Register and make call too but audio is routed to speaker by default and when I tried routing to earpiece using function "pjsua_snd_set_setting" (which ultimately calls wasapi_stream_set_cap function) but I get access denied exception. Best Regards, John -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140107/98b43f59/attachment-0001.html>