I think you have to add a ^ in the beginning. that means that the uri should start with this string:
if (uri=~"^[0-9][0-9][0-9]5")
Furthermore is it important that it is the 4. caracter from left or from right? Because your expression will also be true for 111599999999999999999999
btw: if you want to start a new thread, don't reply to an old mail and simple change the subject. Create a new mail, as email clients which support a thread view may treat the new email as an answer to an old thread.
klaus
Dinesh wrote:
For a REGISTER will the below be true if the UA that is registering has a 5 in the 4th digit
ie 1115999 true 1114999 false
if (uri=~"[0-9][0-9][0-9]5")
I saw some where in the docs that "User name is optional (it is for example never included in REGISTER requests)"
Thanks, Dinesh
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers