Multihomed server not handling dialog's BYE
Agiftel via sr-users <[email protected]> Wed, 01 Jul 2026 11:53:31 -0000
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
Hi all, trying to understand what is not working on my conf, without luck. Can you help me? Issue: as title says, incoming BYE of a dialog are not processed because "loose_route()" function always fails (FALSE). So server always reply with 404 Not Here. I cannot understand why loose_route fails. Kam server has 2 NICs: LAN: 192.168.1.3 that see Asterisk (192.168.1.200) DMZ: 10.0.1.3 advertised public_ip Incoming BYE has Route: header. See below 2026/07/01 10:28:16.935119 52.114.75.24:12229 -> 10.0.1.3:5061 BYE sip:sbc-kam-teams.domain.eu:5061;transport=tls SIP/2.0 From: <sip:[email protected]:5061;user=phone>;tag=9e168a8cac924f5395732f051b56231c To: <sip:[email protected]>;user=phone;tag=633e9a76-b8c2-4869-96a8-c1ab18bf5bea Via: SIP/2.0/TLS 52.114.75.24;branch=z9hG4bK4778a595 CSeq: 2 BYE Call-ID: c04608351d6d5b98bd8b11e94070721b Max-Forwards: 70 Route: <sip:sbc-kam-teams.domain.eu:5061;lr;r2=on;ftag=9e168a8cac924f5395732f051b56231c;did=1db.ba12;transport=Tls>,<sip:192.168.1.3;lr;r2=on;ftag=9e168a8cac924f5395732f051b562 31c;did=1db.ba12> Reason: Q.850;cause=16;text="d4c62fdd-5df8-4791-9bf8-76bfd638e2bf;CallEndReasonLocalUserInitiated" Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS Contact: <sip:api-du-b-euwe.pstnhub.microsoft.com:443;x-i=d4c62fdd-5df8-4791-9bf8-76bfd638e2bf;x-c=c04608351d6d5b98bd8b11e94070721b/d/8/aeb7a7f3b4114b1e82f8ca7efdaa7581> Content-Length: 0 User-Agent: Microsoft.PSTNHub.SIPProxy v.2026.6.29.3 i.EUWE.10 Here last 200 Ok sent from kamailio to Teams: 2026/07/01 10:28:15.288945 10.0.1.3:5061 -> 52.114.75.24:12228 SIP/2.0 200 OK Via: SIP/2.0/TLS 52.114.75.24;rport=12228;branch=z9hG4bKb419a3e8 Record-Route: <sip:192.168.1.3;lr;r2=on;ftag=9e168a8cac924f5395732f051b56231c;did=1db.ba12> Record-Route: <sip:sbc-kam-teams.acscloud.eu:5061;transport=tls;lr;r2=on;ftag=9e168a8cac924f5395732f051b56231c;did=1db.ba12> Record-Route: <sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr> Call-ID: c04608351d6d5b98bd8b11e94070721b From: <sip:[email protected];user=phone>;tag=9e168a8cac924f5395732f051b56231c Contact: <sip:sbc-kam-teams.acscloud.eu:5061;transport=tls> Server: SBC-Montefato To: <sip:[email protected];user=phone>;tag=633e9a76-b8c2-4869-96a8-c1ab18bf5bea CSeq: 1 INVITE Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, INFO, REFER Supported: 100rel, timer, replaces, norefersub Session-Expires: 3600;refresher=uac Require: timer Content-Type: application/sdp Content-Length: 279 v=0 o=- 29979 2 IN IP4 128.116.144.30 s=Asterisk t=0 0 m=audio 32902 RTP/SAVP 8 c=IN IP4 128.116.144.30 a=mid:1 a=rtpmap:8 PCMA/8000 a=sendrecv a=rtcp:32903 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:LX+X3mOVOEA1ceqba0xNXAEINQ7C7E/ro8Qxjt8g a=ptime:20 a=maxptime:140 Here you can find my entire conf: https://pastebin.com/Bz7cRiv0 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!