Hello, Just realized the " and the ^ is probably why it is not matching -- total oversight. Thanks guys!
Sincerely, Brandon Armstead
On Thu, Sep 17, 2009 at 4:55 PM, Brandon Armstead brandon@cryy.com wrote:
Hello, I have the following pcre regex method call: pcre_match("$hdr(From)", "(?i)^(restricted|anonymous|private|unknown|unavailable)") to match calls that are sent without a proper ANI in a case-insensitive manner, however it does not seem to return true for the following example From Header:
From Header: "Unavailable" <sip:Restricted@192.168.47.68sip%3ARestricted@192.168.47.68
;tag=gK07327e23
Any thoughts / input is appreciated, and as always thank you for your help!
Sincerely, Brandon Armstead