[SR-Users] Error on ACK/BYE After 200

Neimar neimar.avila at virtualsistemas.com.br
Tue Sep 22 01:58:08 CEST 2020


I am trying to set up a Webrtc by using Kamailio, Asterisk and Rtpengine. So far, everything is working fine , I'm able to register an extension and make a call, but for some reason, when i'm trying to call a WebRTC extension from any SIP Extension from Asterisk, Kamailio is sending INVITE, WebRTC extension is sending back 200 OK, and then Kamailio is trying to send an ACK through UDP protocol, and not through wss, as it's supposed to do. 

In console, I see: 
Sep 21 20:39:06 vsphone3-sbc /usr/sbin/kamailio[9756]: WARNING: {1 102 ACK 332ee81b4eb178ac156e8d3e53a98900 at} <core> [core/forward.c:231]: get_send_socket2(): protocol/port mismatch (forced tls:, to udp: 

My scenario is: 
Internet -> Firewall -> Kamailio -> Asterisk 

Softphone -> Kamailio -> Asterisk (TCP/UDP/TLS(SRTP) 
Asterisk -> Kamailio -> Softphone (TCP/UDP/TLS(SRTP)) 
Webrtc -> Kamailio -> Asterisk (WSS) 

Not Working: 
Asterisk -> Kamailio -> Webrtc 

After a answer from Webrtc, I can listen sound, so, RTP in theory is fine. 

Webrtc send 200 OK to Kamailio 
Kamailio Send 200 OK to Asterisk. 
Asterisk Send ACK to Kamailio 
ACK not forwarded to Webrtc. 

In attachment, my kamailio.cfg 

Every Help is welcome. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200921/a4623ffb/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kamailio.txt
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200921/a4623ffb/attachment.txt>

More information about the sr-users mailing list