i-p-tel / sipdroid

Free SIP/VoIP client for Android
http://sipdroid.org
GNU General Public License v3.0
633 stars 263 forks source link

"Codecs Incompatible" but only outbound #1047

Open xenotropic opened 1 year ago

xenotropic commented 1 year ago

I have Sipdroid connected to a Voip.ms account with a DID. When I dial in to that DID number, calls work fine, and Sipdroid says "G722 HD Voice". So far so good.

When I try to call out, Sipdroid says "ERROR: Codecs Incompatible". I'm no SIP expert but these seem like they should be the same servers talking to each other with the same available codecs, right? Looking through the list it seems like both G722 and GSM are in the lists for Voip.ms and Sipdroid. Any idea what's going on here or what I might try?

OzzDizz commented 8 months ago

I have the same issue. Strangely, if I disable the "Encrypted SIP Traffic" on the voip.ms side for that sub-account, then outgoing calls over TLS (port 5061) work fine but then registration fails with 403 forbidden so incoming calls no longer work.

So with the exact same config in SIPdroid (TLS, port 5061), incoming calls work fine with "Encrypted SIP Traffic" enabled on SIP traffic (but outgoing calls fail with a codec error).

It seems like enabling/disabling this option on the voip.ms side will flip back and forth between allowing calls either in the incoming or outgoing direction, but neither option works in both directions.