I encountered the same issue in my VoIP iOS app, too. The error does not affect making/receiving calls though. I'm not sure what exactly the problem is (not aware that it's something related to TCP/UDP). If you check AVAudioSession available inputs, you might find the selectedDataSource is null. Printing description of inputs:<__NSArrayI 0x188c4610>(<AVAudioSessionPortDescription: 0x188c4580, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = (null)>,<AVAudioSessionPortDescription: 0x18835d90, type = BluetoothHFP; name = Valore-BTi22; UID = 00:23:01:10:38:77-tsco; selectedDataSource = (null)> On Fri, Apr 4, 2014 at 11:36 AM, <pjsip-request at lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. iPhone TCP (Nguni Phakela) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 4 Apr 2014 05:36:01 +0200 > From: Nguni Phakela <nguni52@xxxxxxxxx> > To: pjsip list <pjsip at lists.pjsip.org> > Subject: iPhone TCP > Message-ID: > <CAFMpJW0akxw5vyE1e1KLjXX_7UraNdns= > SPAex+nQs7dexK73A at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I'm developing a iPhone app and when I configure the app to use TCP and no > UDP since I want to get an incoming call, I'm receiving the following > error: > > *ERROR: [0x3116000] AVAudioSessionPortImpl.mm:50: > ValidateRequiredFields: Unknown selected data source for Port iPhone > Microphone (type: MicrophoneBuiltIn)* > > > > >From my readings it seems that iPhone will only wake up from background > mode only if using TCP. If I have both TCP and UDP configured I can make an > outgoing call but still cannot receive a call. I want to do be able to do > both. > > Cheers, > -- > Nguni Phakela > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140404/0c304f6a/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > ------------------------------ > > End of pjsip Digest, Vol 80, Issue 19 > ************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140404/fe20e1ce/attachment-0001.html>