<div dir="ltr">Hi,<br><br>you don't need to edit any line in webrtc code, but simply to setup the 'transport protocol' of the PEER (not the one of the subscriber) to RTP/AVP.<br><br>I noticed you are having many problems in setting up your SPCE system.<br>I suggest you to contact our sales (<a href="mailto:sales@sipwise.com">sales@sipwise.com</a>) to understand how we can help you in this process.<br>Thank you<br><br>Marco<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2024 at 8:41 PM Pa Ka <<a href="mailto:pa.ka12@outlook.com">pa.ka12@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1068864371029638698">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_1068864371029638698WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">I managed to resolve this issue. The main issue is caused by the JsSIP and SipJS agent sending an incompatible protocol (UDP/TLS/RTP/SAVPF).
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I modified the line below in the SIPjs code (web phone use this framework) to send RTP/AVP protocol.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">sessionDescriptionHandlerModifiers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">resolved<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Pa Ka <<a href="mailto:pa.ka12@outlook.com" target="_blank">pa.ka12@outlook.com</a>>
<br>
<b>Sent:</b> Thursday, August 15, 2024 2:34 AM<br>
<b>To:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
<b>Cc:</b> <a href="mailto:mcapetta@sipwise.com" target="_blank">mcapetta@sipwise.com</a><br>
<b>Subject:</b> Re: 400 Invalid SDP body - mr12.4.1<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">I think the Invalid SDP body error message is caused by media transport protocol. Web phone(web phone from the customer selfcare with JsSip) send UDP/TLS/RTP/ASVP. While the pstn switch was execting a different protocol (bes RTP/AVP)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Even if , i changed the transport protocol for both domain and subscriber preference under Nat and Media flow to RTP/AVP, the web phone keeps sending a different protocol. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is it possible fix that in ngcp? <u></u><u></u></p>
</div>
<div id="m_1068864371029638698ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div id="m_1068864371029638698mail-editor-reference-message-container">
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="m_1068864371029638698divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-family:Calibri,sans-serif">From:</span></b><span style="font-family:Calibri,sans-serif"> Pa Ka <<a href="mailto:pa.ka12@outlook.com" target="_blank">pa.ka12@outlook.com</a>><br>
<b>Sent:</b> Wednesday, August 14, 2024 16:11<br>
<b>To:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a> <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br>
<b>Cc:</b> <a href="mailto:mcapetta@sipswise.com" target="_blank">mcapetta@sipswise.com</a> <<a href="mailto:mcapetta@sipswise.com" target="_blank">mcapetta@sipswise.com</a>><br>
<b>Subject:</b> RE: 400 Invalid SDP body - mr12.4.1<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Hello, I think the issue is cause by this unknow attribute the web phone sends. The same issue with the Sipwise web phone from the customer self-care web interface. It sends these unknow attribute.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I updated the config.yml to remove line start with these attributes via: remove_line_startswith:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">the loadbalancer removes those lines in the invite. However, the proxy doesn’t remove them. Any lead would be appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: rtcp-rsize<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: rtcp-rsize<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: oldmediaip<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: rtcp<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: crypto<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: setup<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: fingerprint<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 16:04:30 sips ngcp-sems[180831]: [#7efc1f56c6c0] [attr_check, AmSdp.cpp:1591] DEBUG: unknown attribute: tls-id<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Pa Ka <<a href="mailto:pa.ka12@outlook.com" target="_blank">pa.ka12@outlook.com</a>>
<br>
<b>Sent:</b> Wednesday, August 14, 2024 1:47 AM<br>
<b>To:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
<b>Subject:</b> 400 Invalid SDP body - mr12.4.1</span><span style="font-size:11pt"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Hi, kindly guide me on how to resolve this issue below<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">FusionPBX is registered to spce via Gateway.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Calls initated from the fusionPBX returns the error below. Sngrep returns 400 Invalid SDP body error.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 01:38:15.999565 sips proxy[3824]: NOTICE: FAILURE_ROUTE_LEG_B <script>: *** Failure route for leg-b call, code='400' - R=«sip:E.14@pstnIP:5060;transport=udp» ID=«3ed635f8-d4a2-123d-5d9b-6045bd5f9da7_b2b-1»
UA='<null>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Aug 14 01:38:16.000011 sips proxy[3821]: NOTICE: REPLY_ROUTE_NAT <script>: NAT-Reply - S=400 - Invalid SDP body M=INVITE IP=«MP fusionpbx IP»:«53205» («127.0.0.1»:«5080») ID=«3ed635f8-d4a2-123d-5d9b-6045bd5f9da7»
UA='<null>' DESTIP=«127.0.0.1»:«6052»<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:9px"><br></span></div><span style="font-size:9px">Sipwise GmbH | an Alcatel-Lucent Company<br>Leonard-Bernstein-Straße 10 | 1220 Wien<br><a rel="noopener" href="mailto:gfuchs@sipwise.com" target="_blank">Email: invoice@sipwise.com</a><br>Website: <a href="https://www.sipwise.com" target="_blank">https://www.sipwise.com</a><br><br>Particulars according Austrian Companies Code paragraph 14<br>Geschäftsführer: DI Dr. Gernot Fuchs Sitz: Wien FG: Landesgericht Wien FN: 305595f<br>Die
übermittelten Informationen sind ausschließlich dem Empfänger
vorbehalten und können vertrauliches oder privilegiertes Material
enthalten. Ein Gebrauch, Weiterleitung oder Verbreitung in jeglicher
Form seitens Dritter ist nicht gestattet. Sollten Sie diese Nachricht
irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in
Verbindung zu setzen und die Nachricht einschließlich der Anlagen zu
löschen. Jegliche nicht autorisierte Nutzung dieser E-Mail ist illegal.<br>Hinweis
zum Datenschutz: Sipwise GmbH ist der Schutz Ihrer Daten wichtig. Auch
durch die Kommunikation per E-Mail werden personenbezogene Daten
ausgetauscht. Erfahren Sie mehr unter: <a rel="noopener" href="http://www.sipwise.com/" target="_blank">www.sipwise.com</a><br><br>Managing Director: DI Dr. Gernot Fuchs HQ: Vienna FG: Vienna Regional Court FN: 305595f<br>Confidentially
notice. This e-mail transmission may contain legally privileged and/or
confidential information. Please do not read it if you are not the
intended recipient(s). Any use, reproduction or disclosure by any other
person is prohibited. If you have received this e-mail in error, please
notify the sender and destroy the original transmission and its
attachments without reading or saving it in any manner. Any unauthorized
use of this e-mail is illegal.<br>Note on data protection: Sipwise GmbH
attaches great importance to the protection of your data. Personal data
is also exchanged through communication by e-mail. Learn more at: <a rel="noopener" href="http://www.sipwise.com/" target="_blank">www.sipwise.com</a></span><br></div></div></div></div>