That was about my first thought too. So I disabled every codec except PCMA - still the same problem. See the Wireshark screenshot below (192.168.7.177 is Linphone, 7.8 Asterisk and 7.21 the other phone).
I wouldn't say "voice is getting across but garbled and faint." - it's more like just static, not correlated to any sounds/taps on the microphone. Seems more like Linphone doesn't get any data from the headset's microphone.
I tried some more things: • Installed Linphone on another iPad 2 - same issue. • Tried another SIP account - same issue. • Installed Linphone on an iPhone 4s (iOS 9.3.5, same as the iPad). No problem when using it "like a phone" with internal speaker & microphone. But when I connect "headset" (Apple Earpods that came with the phone), I get the same problem - no outgoing sound on outgoing calls. The microphone itself works, on incoming calls sound is ok.
So I retested on the iPad without the headset and yes, it actually works this way - if you speak directly into the in-built microphone. The sound is still very faint and I'm not sure how useable it will be in real life.
So, my conclusion so far - external microphone does not work on outgoing calls at least on iOS 9. Internal microphone works, but level is too low to be used handsfree.
![](pnguhXUxUHF4_.png)
It most likely is a codec issue. When making an outgoing call, the ipad2 app is picking a codec that is not converting well to other supported on your Asterisk server or probably at the receiver end. You may want to narrow down the selected codecs to one or two and align it to similar selected in Asterisk sip settings and try.
I am not suspecting the nat since you mention that rtp traffic is seen in both directions in the logs, and the fact that voice is getting across but garbled and faint.
/Rohit
No differences in sdp, using only a-law to rule out codec-related problems. (Log snippets attached)
Looking at wireshark capture taken on Asterisk, I have perfectly normal-looking RTP streams bothway - just no audio in the Linphone/iPad -> Asterisk direction for calls originating on Linphone/iPad .
Compare the spd between the working scenario and the non working.
No. Everything in the same LAN. (And as I wrote, it works when I use Linphone on my iPhone instead of iPad, keeping everything else the same.)
Is there a stateful firewall between the uac and the uas?
Hello everybody,
I am trying to setup Linphone iOS 3.16.5 on an iPad 2 (iOS 9.3.5) to connect to my Asterisk PBX.
Everything went quite smoothly, I can register, make and receive calls, but for outgoing calls the other party gets no sound. Strangely, I see correct RTP logs in Asterisk log (RTP streams coming & going both ways), it just seems there is no actual audio in the stream. Actually, the other party hears some static / white noise, which disappears if I press the mute button in Linphone.
Tested with both in-build microphone and Apple headset, no difference.
Incoming calls work correctly, i.e. have audio both ways.
The same setup works correctly on an iPhone 8 (iOS 11.2.6).
Linphone log file attached.
--
Thanks,
marie
_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________ Linphone-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________ Linphone-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________ Linphone-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users
|