<div dir="ltr">Should've added I'm running OpenSIPS 2.4.4<div><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 23 Apr 2019 at 12:10, Mark Farmer <<a href="mailto:farmorg@gmail.com">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi everyone,</div><div dir="ltr"><br></div><div>I'm seeing some odd behaviour in tha initial requests are allowed but RE-INVITES are resulting in 403. From my logging I can see the INVITE coming in so I think it must be matching. Why would it not obey and route the request?</div><div dir="ltr"><br></div><div dir="ltr">This is the bit of my request route that identifies the source:<div><br></div><div><div>if (check_source_address("1","$avp(trunk_attrs)")) {</div><div> # request comes from trunks</div><div> xlog ("MF - $rm FROM $avp(trunk_attrs)");</div><div> setflag(IS_TRUNK);</div><div> } else {</div><div> send_reply("403","Forbidden");</div><div> exit;</div><div> }</div><div><br></div><div>Many thanks</div><div>Mark.</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_3258886063992212097gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>