<div dir="ltr"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hello Group,</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">In the ticket <a href="https://github.com/OpenSIPS/opensips/issues/2280" style="color:rgb(5,99,193)">2280</a> I was suggested several options how I should handle the issue of NOTIFY not being sent</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><ol style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box;margin-left:0px">Fix the SIPP scenario - add the local port in the Request-Route header (this is the preferred method)</li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px">Add a TCP alias for SIPP_PORT -> 5060. This way when the NOTIFY is generated to port 5060, OpenSIPS will find this alias and send it over the same TCP connection</li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px">Catch the NOTIFY in <code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.05);border-radius:6px">local_route</code> and reset the tcp_no_new_conn_bflag - this will create a new connection to the UAC_IP:5060 server (note that I haven't tested this, but it should work). Although this might work, in practice, if client is not reachable, the NOTIFY will be lost - it will not be sent over the same connection the SUBSCRIBE created.</li></ol><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px">Regarding option 1 - the actual routing is being done by another Opensips instance, Is there a way to modify the Router header to have the real port?</span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px">For option 2 - should I do it at the receiving end or at the sender end?</span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px"><br></span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px">Regarding option 3 - how resetting the tcp_no_new_conn_bflag will help? I am not getting even initial NOTIFY which is part of the handle_subscribe function call?</span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px"><br></span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px">Thanks,</span></font></div><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:14px">Vladimir</span></font></div><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p></div>