Re: [OpenSIPS-Users] ms teams ACK
Hi James, Check where you are calling the do_routing function (if you are using dynamic routing module) and be sure that only INVITEs are routed by this function. My mistake was that ACK (and lately I noticed that BYEs too) was being routed by do_routing changing the Request URI. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ms teams ACK
Hi Ben, I found the mistake. As you said, the ACK Request URI was different from 200 OK contact header, checking my script I noticed that ACK was being routed by dynamic routing module changing its Request URI. Thanks for the hint. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ms teams ACK
Hi Kevin, Thanks, in that case it has been a copy/paste error. I checked it again and all Call-IDs are exactly the same. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ms teams ACK
Hello Ben, I agree. These are the INVITE and 200 OK. I only could see that to and from tag an Call-ID are the same. I think that in the article there is nothing about modifying ACK headers to make it work. INVITE sip:5...@sip.pstnhub.microsoft.com SIP/2.0 Record-Route: Record-Route: Via: SIP/2.0/TLS 195.xx.xx.xx:5067;branch=z9hG4bK2f83.ee24a46.0 Via: SIP/2.0/UDP 80.xx.xx.xx.xx:5060;received=80.xx.xx.xx.xx;branch=z9hG4bK4df6ca5c;rport=5060 Max-Forwards: 69 From: ;tag=as7659f57d To: Contact: Call-ID: 433371746cb44b7d76fdc42013bf9...@80.xx.xx.xx.xx:5060 CSeq: 102 INVITE User-Agent: FPBX-12.0.76.6(11.20.0) Date: Mon, 27 Apr 2020 16:25:24 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Type: application/sdp Content-Length: 1470 SIP/2.0 200 OK FROM: ;tag=as7659f57d TO: ;tag=50fe42a7fdb64fe583c1089a0b47f44a CSEQ: 102 INVITE CALL-ID: 433371746cb44b7d76fdc42013bf9...@80.xx.xx.xx.xx:5060 VIA: SIP/2.0/TLS 195.xx.xx.xx:5067;branch=z9hG4bK2f83.ee24a46.0,SIP/2.0/UDP 80.xx.xx.xx.xx:5060;received=80.xx.xx.xx.xx;branch=z9hG4bK4df6ca5c;rport=5060 RECORD-ROUTE: ,, CONTACT: CONTENT-LENGTH: 827 SUPPORTED: timer CONTENT-TYPE: application/sdp ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY SESSION-EXPIRES: 3600;refresher=uas SERVER: Microsoft.PSTNHub.SIPProxy v.2020.4.20.2 i.EUWE.6 Best Regards, -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ms teams ACK
Hello, If it helps, these are the ACK sent to MSTeams and BYE received after 20 seconds. sbc..com:5067 Opensips TLS interface 195.xx.xx.xx:5068 Opensips UDP interface 80.xx.xx.xx:5060 Asterisk ACK sip:sip.pstnhub.microsoft.com;x-i=0c135a71-ddec-454c-a506-91079cb038d7;x-c=385a4453fc885c0bb6276a40d7796d3a/s/1/e1c45d052842415e9c0b3b0b04e32791 SIP/2.0 Via: SIP/2.0/TLS 195.xx.xx.xx:5067;branch=z9hG4bK2f83.ee24a46.2 Via: SIP/2.0/UDP 80.xx.xx.xx:5060;received=80.xx.xx.xx;branch=z9hG4bK0a1d079a;rport=5060 Route: Max-Forwards: 69 From: ;tag=as7659f57d To: ;tag=50fe42a7fdb64fe583c1089a0b47f44a Contact: Call-ID: 433371746cb44b7d76fdc42013bf9...@80.xx.xx.xx:5060:5060 CSeq: 102 ACK User-Agent: FPBX-12.0.76.6(11.20.0) Content-Length: 0 BYE sip:935441...@80.xx.xx.xx:5060 SIP/2.0 FROM: ;tag=50fe42a7fdb64fe583c1089a0b47f44a TO: ;tag=as7659f57d CSEQ: 3 BYE CALL-ID: 433371746cb44b7d76fdc42013bf9...@80.xx.xx.xx:5060 MAX-FORWARDS: 69 VIA: SIP/2.0/TLS 52.114.75.24:5061;branch=z9hG4bKf36698cf REASON: Q.850;cause=18;text="0c135a71-ddec-454c-a506-91079cb038d7;*Call Controller timed out while waiting for acknowledgement.*" ROUTE: , CONTACT: CONTENT-LENGTH: 0 USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2020.4.20.2 i.EUWE.6 ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY Best Regards, -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ms teams ACK
Hello, Same case here. I'm sending the ACK to MSTeams but after 20 seconds Opensips gets a BYE with the same reason as you. In my scenario both Opensips and Asterisk have public IP addresses and there is no NAT between them. Hope we can find why is MSTeams ignoring the ACK or what are we doing wrong. Regards, -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to reset load in load_balancer module
Hi, I'm doing some basic tests with load_balancer module and, when a gateway fails, the failover (mode 2) works well, but the problem is that when the gateway is working again, the load value is the same than before the gateway failure occurs, but now there isn't any ongoing call. I know that this is because Opensips hasn't received the corresponding BYEs to close de dialogs, but there is any way to work around this behavior? Can we reset de load value from de load_balancer module? Thanks, ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users