<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Again<div class=""><br class=""></div><div class="">Ok, something odd happing here.  Notifies have suddenly started arriving on the phone.  Maybe something has timed out and started working. Going to reset everything and see what happens.</div><div class=""><br class=""></div><div class="">So looks like the core issue might be the AUTH route challenging locally generated PUBLISH messages.</div><div class=""><br class=""></div><div class="">Best regards</div><div class="">Mark<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 11 Mar 2018, at 10:52, Mark Boyce <<a href="mailto:mark@darkorigins.com" class="">mark@darkorigins.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Aqs;<div class=""><br class=""></div><div class="">Checking with full debug on I can see that the publish appears to be created. udp_rcv gets the publish (source IP is servers public IP 5.6.7.8:5060). From what I can see the AUTH route is sending a proxy auth challenge.</div><div class=""><br class=""></div><div class=""><div class=""><i class=""><font face="Courier New" class="">5(5525) received on udp socket: (106/100/1017) [[PUBLISH <a href="sip:20@mykamailio.com" class="">sip:20@mykamailio.com</a> SIP/2.0 0D  0A Via: SIP/2.0/UDP 5.6.7.8;branch=z9hG4bK0ae2.85bf70]]<br class=""><br class=""></font></i></div><div class=""><i class=""><font face="Courier New" class="">5(5525) received on udp socket: (106/100/526) [[SIP/2.0 407 Proxy Authentication Required 0D  0A Via: SIP/2.0/UDP 5.6.7.8;branch=z9hG4bK0ae2.85bf70510]]<br class=""></font></i></div></div><div class=""><br class=""></div><div class="">I think it’s getting caught here;</div><div class=""><br class=""></div><div class=""><i class=""><font face="Courier New" class="">route[AUTH] {<br class=""><br class="">        if (is_method("REGISTER") || from_uri==myself)<br class="">        {<br class="">                # authenticate requests<br class="">                if (!auth_check("$fd", "subscriber", "1")) {<br class="">                        auth_challenge("$fd", "0");<br class="">                        exit;<br class="">                }</font></i></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">So that looks like the first issue.   If I patch AUTH route to allow through anything with the servers source IP (A bit dangerous as someone could faking IP source on UDP. is there a better way?) the proxy_challenge no longer gets sent and I see what I think is it trying to send a notify to the watchers phone;</div><div class=""><br class=""></div><div class=""><i class=""><font face="Courier New" class="">send_notify_request(): NOTIFY <a href="sip:21@mykamailio.com" class="">sip:21@mykamailio.com</a> via <a href="sip:1.2.3.4:5065" class="">sip:1.2.3.4:5065</a> on behalf of <a href="sip:20@mykamailio.com" class="">sip:20@mykamailio.com</a> for event dialog : <a href="mailto:2862418150@10.1.3.84" class="">2862418150@10.1.3.84</a></font></i></div><div class=""><br class=""></div><div class="">However it doesn’t come out of the ethernet port (sngrep) and I can’t see any obvious failure.  Although that may be me as I’m still trying to follow debug logs!</div><div class=""><br class=""></div><div class="">Given the line above is there a way to trace it?</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">Best regards</div><div class="">Mark</div></div>_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">-- </div><div class="">Mark Boyce</div><div class="">Dark Origins Ltd</div><div class="">e: <a href="mailto:mark@darkorigins.com" class="">mark@darkorigins.com</a></div><div class="">t: 0845 0043 043</div><div class="">f: 0845 0043 044</div><div class=""><br class=""></div></div></span></div></span></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>