<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">Hello Everyone, </span></div><div><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"><br></span></div><div><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">I am trying compare domain part of uri with ldap query result, getting some syntax warning </span></div><div><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"><br></span></div><div><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"></span></span><div class="codewrap"><div class="text" style="word-wrap: break-word;" data-mce-style="word-wrap: break-word;"><ol><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">arn_at(): warning in config file /etc/kamailio/kamailio-ldap.cfg, line 992, column 17-39: constant value in if(...)</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"> </div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"> </div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">            ldap_result("sipExtension/$avp(extension)");</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">            ldap_result("sipDomain/$avp(domain)");</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">            ldap_result("password/$avp(password)");</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"> </div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">           }</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"> </div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">            if ("$avp(s:domain)" =~ "$fd") {</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">                   xlog("L_INFO", "Not alllowed $fd");</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">                   sl_send_reply("403","Not allowed $fd");</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">                   exit;</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;">             }</div></li><li><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"> </div><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"><br></div><div style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;" data-mce-style="font: normal normal 1em/1.2em monospace; margin: 0; padding: 0; background: none; vertical-align: top;"><span style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">any help thank you </span></div></li></ol></div></div></div></div></body></html>