Re: Multihomed server not handling dialog's BYE
Agiftel Collaboration via sr-users <[email protected]> Fri, 3 Jul 2026 10:20:10 +0200
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CAOaezU+K8z4pzffgxK2FJceC-cnzYVmxjnkP5B7PKvmSpv1fVA@mail.gmail.com> |
--===============0157862129== Content-Type: multipart/alternative; boundary="00000000000092e04a0655b098d7" --00000000000092e04a0655b098d7 Content-Type: text/plain; charset="UTF-8" Thank you XF, "set_contact_alias" solved my issue. Il giorno gio 2 lug 2026 alle ore 04:10 xf han via sr-users < [email protected]> ha scritto: > # ========================================== > # ROUTE RISPOSTE DA ASTERISK > # ========================================== > onreply_route[REPLY_FROM_ASTERISK] { > xlog("L_INFO", "REPLY_FROM_ASTERISK: Ricevuto $rs da Asterisk per > CallId $ci\n"); > > # Sostituiamo il Contact SENZA l'utente ($tU), inserendo solo > l'FQDN > # remove_hf("Contact"); > # insert_hf("Contact: <sip:SBC_FQDN:SIPS_PORT;transport=tls>\r\n", > "To"); > > set_contact_alias(); > > > remove_hf("Server"); > insert_hf("Server: SBC-Montefato\r\n", "To"); > > #!ifdef WITH_RTPENGINE > # Gestione RTP standard per le risposte di Asterisk > if (sdp_content()) { > rtpengine_manage("replace-origin > replace-session-connection ICE=remove direction=interf_lan > direction=interf_dmz SRTP strip-rtcp"); > } > #!endif > } > __________________________________________________________ > 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! > -- Gert Dal Pozzo E: [email protected] --00000000000092e04a0655b098d7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thank you XF, "set_contact_alias" solved my issu= e.<div><br></div></div><br><div class=3D"gmail_quote gmail_quote_container"= ><div dir=3D"ltr" class=3D"gmail_attr">Il giorno gio 2 lug 2026 alle ore 04= :10 xf han via sr-users <<a href=3D"mailto:[email protected]">= [email protected]</a>> ha scritto:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"># =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D<br> # ROUTE RISPOSTE DA ASTERISK<br> # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> onreply_route[REPLY_FROM_ASTERISK] {<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 xlog("L_INFO", "REPLY_FROM_ASTER= ISK: Ricevuto $rs da Asterisk per CallId $ci\n");<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Sostituiamo il Contact SENZA l'utente ($t= U), inserendo solo l'FQDN<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # remove_hf("Contact");<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # insert_hf("Contact: <sip:SBC_FQDN:SIP= S_PORT;transport=3Dtls>\r\n", "To");<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 set_contact_alias();<br> <br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 remove_hf("Server");<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 insert_hf("Server: SBC-Montefato\r\n"= , "To");=C2=A0 =C2=A0<br> <br> #!ifdef WITH_RTPENGINE<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Gestione RTP standard per le risposte di Aste= risk<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (sdp_content()) {<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rtpengine_manage(&q= uot;replace-origin replace-session-connection ICE=3Dremove direction=3Dinte= rf_lan direction=3Dinterf_dmz SRTP strip-rtcp");<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 }<br> #!endif<br> }<br> __________________________________________________________<br> Kamailio - Users Mailing List - Non Commercial Discussions -- <a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]= .org</a><br> To unsubscribe send an email to <a href=3D"mailto:[email protected]= ilio.org" target=3D"_blank">[email protected]</a><br> Important: keep the mailing list in the recipients, do not reply only to th= e sender!<br> </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><table cellspacing=3D"1" cellpadding=3D"0" borde= r=3D"0" style=3D"font-stretch:inherit;font-size:medium;line-height:inherit;= font-family:"Times New Roman";color:black;width:600px"><tbody><tr= ><td colspan=3D"2" valign=3D"top" style=3D"width:566px;height:50px"><span s= tyle=3D"border:0px;font-style:inherit;font-variant:inherit;font-weight:bold= er;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:i= nherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><font = size=3D"2"><font face=3D"Arial"><span style=3D"border:0px;font-style:inheri= t;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:1= 0.5pt;line-height:inherit;font-family:inherit;margin:0px;padding:0px;vertic= al-align:baseline;color:inherit">Gert Dal Pozzo=C2=A0 =C2=A0</span><br></fo= nt></font></span><font size=3D"2" face=3D"Arial"><span style=3D"border:0px;= font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:in= herit;font-size:10pt;line-height:inherit;font-family:inherit;margin:0px;pad= ding:0px;vertical-align:baseline;color:inherit"></span></font></td></tr><tr= ><td colspan=3D"2" valign=3D"top" style=3D"width:566px;height:35px"><font f= ace=3D"Arial"><span style=3D"border:0px;font-style:inherit;font-variant:inh= erit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:in= herit;font-family:inherit;margin:0px;padding:0px;vertical-align:baseline;co= lor:rgb(0,102,204)">E:=C2=A0<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a></span></font></td></tr></tbody></table></div>= </div> --00000000000092e04a0655b098d7-- --===============0157862129== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __________________________________________________________ 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! --===============0157862129==--