I found a workaround. For anyone interested, here is what I did: 1. Added an audio session property listener to the audio route change property. 2. Override allow bluetooth in the listener callback. Bluetooth output now recovers after interrupts. On Fri, Dec 14, 2012 at 9:47 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. iOS: Bluetooth output not recovering after interruption > (Dan Fulton) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 14 Dec 2012 09:45:31 -0500 > From: Dan Fulton <snukidev@xxxxxxxxx> > To: pjsip at lists.pjsip.org > Subject: iOS: Bluetooth output not recovering after > interruption > Message-ID: > < > CA+0L3q7190s3EP5s-R9FPKtkk2fDphXuBnWfr5JC9XCRvsxWDA at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I have pjsip working smoothly in my iOS project, and interruptions are > handled well. But when there is an interruption while using a bluetooth > headset, the audio comes back after the interruption, but the output is > changed to the device and the input remains on the headset. > > I've been trying to use callbacks to let me switch the output at the right > time, but cant seem to get them to come to my app without breaking the > library callbacks and listeners. > > Any way to fix this without modifying coreaudio_dev.c? > > This is for iPad. > > Thanks, > > Daniel > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121214/526db861/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 64, Issue 48 > ************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121214/57f74365/attachment-0001.html>