How to: Matching pattern for if(remote party id != from)

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
AllstateTelecom
Posts: 9
Joined: Tue Aug 30, 2011 6:54 pm
Location: Jupiter, FL

How to: Matching pattern for if(remote party id != from)

Post by AllstateTelecom »

1. Brekeke Product Name and Version: Brekeke SIP Server , Version 2.4.8.6 Advanced

2. Java version: 1.7.0

3. OS type and the version: Centos - Linux kernel 2.6.18-238.19.1.el5

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

How would I create a matching pattern that is the equivalent to this pseudo code:

if(remote party id != from)


Thanks,
Brian
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

what is remote party ID?
is it shown in any SIP header?
tuie2
Posts: 57
Joined: Fri Jan 23, 2009 5:16 pm

Post by tuie2 »

Do you mean "Remote-Party-Id" header?

Try this.
$str.equals($getUri(From), $getUri(Remote-Party-Id)) = false
Post Reply