<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi,<br>
<br>
YEs, it will check it against the user-agent value from the
registration.<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 10/18/23 4:34 PM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q44eMkXdn3uok_K8tfuz6sTHS+CZOA-+vp1vUMrxZPsF9w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">lookup("location","u/phone/i"); # lookup with user-agent filtering</pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">
</pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">The user-agent filtering flag , compares the regular expression given with which </pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">column of location table ? Will that only compare the values of User-Agent </pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">column ? </pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">
</pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">
</pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">If I have some data in attr header and I wanted to compare this regular expression </pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">with attr column is that possible ? </pre>
<pre class="gmail-programlisting" style="font-size:11.7072px;font-family:"Lucida Console","Andale Mono","Courier New",Courier;margin-top:0px;margin-bottom:0px;color:rgb(102,102,102)">
</pre>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>