<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Ronald,<br>
<br>
Do you check in the cfg the return code of the lookup() [1]
function for retcode (2)? you should not perform any SIP relay in
this case, as it will result into a loop.<br>
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.4.x/registrar.html#func_lookup">https://opensips.org/html/docs/modules/3.4.x/registrar.html#func_lookup</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 16.02.2024 18:44, <a class="moz-txt-link-abbreviated" href="mailto:rvg@rvgeerligs.nl">rvg@rvgeerligs.nl</a>
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:937fa2e29d929a63bfe4406a993947014f93757f@rvgeerligs.nl">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div>here you are.</div>
<div><br>
</div>
<p>February 16, 2024 at 1:37 PM, "Bogdan-Andrei Iancu" <<a
href="mailto:bogdan@opensips.org?to=%22Bogdan-Andrei%20Iancu%22%20%3Cbogdan%40opensips.org%3E"
target="_blank" tabindex="-1" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:</p>
<blockquote>
<div>
<div> <span style="font-family: monospace;">Hi,<br>
<br>
Could you share a pcap or trace so we can understand the
routing you have ?<br>
<br>
Regards,<br>
</span> </div>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com/" target="_blank"
tabindex="-1" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com/" target="_blank" tabindex="-1"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.siphub.com</a></pre>
<div> </div>
<div>On 15.02.2024 22:24, <a href="mailto:rvg@rvgeerligs.nl"
target="_blank" tabindex="-1" moz-do-not-send="true"
class="moz-txt-link-freetext">rvg@rvgeerligs.nl</a> wrote:
</div>
<div> </div>
<blockquote>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Hi,</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">I
kind of followed the article SIP Push Notification with
OpenSIPS 3.1 LTS [RFC 8599 support][Part II] as I connot
find anything related to opensips 3.4.x.</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">When
I disable (commenting by #) modparam("registrar",
"pn_enable", true), the call actually works.</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">When
I enable modparam("registrar", "pn_enable", true) the call
does not come through.</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">It
gets rerouted internally to external ip address after the
authentication, second INVITE with answer to nonce, and
giving it a try.</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Opensips
keeps asking for Proxy Authentication required which was
allready accepted.</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Anyone
an idea?</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Regards,</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
</div>
<div> </div>
<div
style="outline: 0px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); font-family: Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Ronald
Geerligs</div>
<div> </div>
<div> </div>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" tabindex="-1"
moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank" tabindex="-1" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
<div> </div>
</blockquote>
<div> </div>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>