<div dir="ltr">t_relay to the socket on which you are listening. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op ma 3 aug. 2020 om 12:21 schreef Mark Allen <<a href="mailto:mark@allenclan.co.uk">mark@allenclan.co.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">> If you want to see it, loopback the message.<br><div><br></div><div>Thanks. How do I do that?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 3 Aug 2020 at 11:02, Johan De Clercq <<a href="mailto:Johan@democon.be" target="_blank">Johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I think that you are right. <br></div><div>If you want to see it, loopback the message. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op ma 3 aug. 2020 om 11:16 schreef Mark Allen <<a href="mailto:mark@allenclan.co.uk" target="_blank">mark@allenclan.co.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Would I be right in thinking that the reason I cannot immediately see the "path" value added by the add_path_received() call is because of how the lumps system works - i.e.<div><br></div><div> "lumps are stored in a list, and are only applied </div><div> after the OpenSIPS script is fully executed and </div><div> before the SIP message is relayed. Because of </div><div> this, changes done on a SIP message are not </div><div> immediately reflected on the SIP message upon </div><div> further inspection ( eg. Adding a new header from </div><div> the script and then checking for the header's </div><div> existence )."</div><div><br></div><div>From: <a href="https://www.opensips.org/Documentation/Development-Manual" target="_blank">https://www.opensips.org/Documentation/Development-Manual</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 30 Jul 2020 at 16:24, Mark Allen <<a href="mailto:mark@allenclan.co.uk" target="_blank">mark@allenclan.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Seeking to find a workaround for the problem I'm having with WebRTC and AOR throttling (<a href="http://lists.opensips.org/pipermail/users/2020-July/043542.html" target="_blank">http://lists.opensips.org/pipermail/users/2020-July/043542.html</a>) I want to access the values of the "Via" and "Path" headers that are being passed to the registrar. <div><br></div><div>Using sngrep on the OpenSIPS server I can see the REGISTER includes Path and Via headers. If I try to access them with $(hdr(Path)[0]) or $(hdr(Via)[0]) I get nothing, but I can access the values of all the other headers without any problem - e.g. $(hdr(Authorization)[0]). What am I missing or is there another way to get the info used in the Via and particularly in creating the Path header values???</div><div><br></div><div> add_path_received();<br> xlog("!!!!!!!!!!!! $(hdr(Path)[0]) !!!!!!!!!!");<br> $avp(attr) = $(hdr(Path)[0]);<br> mid_registrar_save("location","p0v");<br></div><div><br></div><div>The code gives an "attr" value in the "location" table of "NULL"<br></div><div><br></div><div>/var/log/syslog shows:</div><div><br></div><div> Jul 30 16:13:17 /usr/sbin/opensips[27423]: !!!!!!!!!!!! <null> !!!!!!!!!!<br></div></div>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>