New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call failed with cause: Code: [488], Cause: Incompatible SDP, Reason: Not Acceptable Here #50
Comments
Here's the SDP if that's helpful...
|
@stuartkuentzel I think you can add |
@cloudwebrtc thanks for the reply! I'm looking around |
@stuartkuentzel You can add constraint at rtc_peer_connection_factory.dart. For example Future<RTCPeerConnection> createPeerConnection(
Map<String, dynamic> configuration,
Map<String, dynamic> constraints) async {
MethodChannel channel = WebRTC.methodChannel();
Map<String, dynamic> defaultConstraints = {
"mandatory": {},
"optional": [
{"DtlsSrtpKeyAgreement": true},
],
};
var selectedConstraints = constraints.length == 0 ? defaultConstraints :
constraints;
selectedConstraints["googIPv6"] = false;
print("selectedConstraints $selectedConstraints");
final Map<dynamic, dynamic> response = await channel.invokeMethod(
'createPeerConnection',
<String, dynamic>{
'configuration': configuration,
'constraints': selectedConstraints
},
);
String peerConnectionId = response['peerConnectionId'];
return new RTCPeerConnection(peerConnectionId, configuration);
} |
You'll see the issue if you test with JsSIP. It may be session timers too
small.
…On Sun, 9 Feb 2020, 18:41 Poule Dodue, ***@***.***> wrote:
@stuartkuentzel <https://github.com/stuartkuentzel> did you find how to
fix this?
I get this error on Telnyx too
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABG66F4UBW6DVSZ3OT7METRCBE4BANCNFSM4KDOEVLA>
.
|
@stuartkuentzel were you able to make |
Hey Poule,
Did you get tryit.jssip.net to work with Telnyx?
If not, you need to make sure it can work with that first. Easier to
debug as this is based on that.
Thanks.
|
@ghenry
|
@cloudwebrtc can you test on Telnyx or SignalWire? |
why is it closed? is it fixed? |
Hello Please is this fixed? |
When trying to make a call, I am getting the error
call failed with cause: Code: [488], Cause: Incompatible SDP, Reason: Not Acceptable Here
. I emailed my provider, Telnyx, and they responded..."So a 488 response is generally related to a bad media parameter in your SIP INVITEs SDP body, which our system does not like.
Upon inspection, your SDP is quite big and you can see the pasted version below.
It's hard to tell which one's could be the parameters we don't like but what catches my attention straight away are the candidates.
it appears this SIP Client is listing candidates in IPV6 and I'm pretty sure we don't support this.
The other candidate, that is IPV4, is a private IP address as-well.
If you can remove the IPV6 candidates or change them into public IPV4 addresses, that should do the trick."
Is it possible to force IPV4 use in the config when initiating a call? Thanks!
The text was updated successfully, but these errors were encountered: