VitaminJ Posted July 13, 2023 Report Share Posted July 13, 2023 Hi there! I've got a user who is having one-way audio issues with the Vodia iOS App. I've gathered call logs and PCAP traces, and as far as I'm able to determine, the issue lies in the iOS app selecting Opus/48000 as the codec, whilst the SIP trunk and the configured codecs for the extension are expecting PCMA/8000. Outgoing calls are unaffected. iPhone 14, iOS 16.2, App 1.24, PBX 68.0.26. I'm not able to locate anywhere in the iOS app that controls default codec selections. Extension (and the SIP trunk) are set per our provider's requirements, which is PCMA, G.729 and GSM in that order. At a bit of a loss and would appreciate any advice. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 14, 2023 Report Share Posted July 14, 2023 Did you try to set the codec in the extension settings tab for "registration"? If that user uses only the mobile app, it should be fine to force it to OPUS (select only one codec to force it). The PBX will translate between the codec and the mobile app. Quote Link to comment Share on other sites More sharing options...
VitaminJ Posted July 18, 2023 Author Report Share Posted July 18, 2023 Would appear we didn't have all the information. Despite being asked about it previously, the user has admitted that she’s using a (wired) headset with her iPhone (just the standard earpods with lightning connector). If the headset is connected when answering a call, there’s no incoming audio, even if the headset gets disconnected/audio rerouted to speaker/handset. If the headset is disconnected when answering a call, the audio is fine, even when connecting the headset mid-call. Bizarre but we have a workaround. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 18, 2023 Report Share Posted July 18, 2023 Hmm we probably have to dig out that headset and start using it again. It's been a while! But its perfectly okay to use it. Quote Link to comment Share on other sites More sharing options...
VitaminJ Posted July 20, 2023 Author Report Share Posted July 20, 2023 (edited) I've just tested on another iPhone (14 Pro Max), different extension/tenant but same PBX, and can confirm the same behaviour. EDIT: Same behaviour on our V69 staging server as well. Would appear to be the iOS app itself. Edited July 20, 2023 by VitaminJ Additional information Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 20, 2023 Report Share Posted July 20, 2023 To rule out problems with the trunk, you could try an internal call. If internal calls work, it is probably a problem with the trunk. E.g. many have problems with different codecs for send/recv, or they get confused if the SDP answer shows more than one codes. You then could try to set "lock codec during conversation" and "number of codecs in SDP answer" to 1. If internal calls are not working, and you have already forced OPUS for the extension, well it would be weird. Quote Link to comment Share on other sites More sharing options...
VitaminJ Posted July 21, 2023 Author Report Share Posted July 21, 2023 Internal calling has the same behaviour. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 13, 2023 Report Share Posted August 13, 2023 We have worked on the whole codec topic in 69.0.7 (not released yet). Maybe you want to give it a try. If you are using iOS you'll need a new app version to have it working with all codecs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.