<div dir="ltr">I am using opensips 1.11 but i have seen wired issue, How i can check auth before process INVITE packet? <div><br></div><div>I have following code, I have seen if i send only INVITE packet using SIPP it is processing that call, I want it check AUTH before processing INVITE packet how can we do that?</div><div><br></div><div><div># To FreeSWITCH</div><div>  Â  Â  Â  if (is_method(&quot;INVITE&quot;)) {</div><div>  Â  Â  Â  if Â ( uri=~&quot;^sip:[1-9][0-9]{10,15}@.*&quot;) {</div><div>  Â  Â  Â  Â  Â  Â  Â  xlog(&quot;call with X-customer: $Au Â ===&gt; Freeswitch\n&quot;);</div><div>  Â  Â  Â  Â  Â  Â  Â  append_hf(&quot;X-customer: $Au\r\n&quot;);</div><div>  Â  Â  Â  Â  Â  Â  Â  append_hf(&quot;X-SRIPP: $si:$sp\r\n&quot;);</div><div>  Â  Â  Â  Â  Â  Â  Â  route(&quot;to_dispatcher&quot;);</div><div>  Â  Â  Â  Â  Â  Â  Â  exit;</div><div>  Â  Â  Â  Â  Â  Â  Â  };</div><div>  Â  Â  Â  }</div></div><div><br></div></div>