Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
How to: Matching pattern for if(remote party id != from)
Author Message
AllstateTelecom
Brekeke Junior Member


Joined: 30 Aug 2011
Posts: 9
Location: Jupiter, FL

PostPosted: Fri Aug 02, 2013 8:31 am    Post subject: How to: Matching pattern for if(remote party id != from) Reply with quote

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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Fri Aug 02, 2013 1:10 pm    Post subject: Reply with quote

what is remote party ID?
is it shown in any SIP header?
Back to top
View user's profile
tuie2
Brekeke Talented


Joined: 23 Jan 2009
Posts: 57

PostPosted: Mon Aug 05, 2013 11:57 am    Post subject: Reply with quote

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

Try this.
$str.equals($getUri(From), $getUri(Remote-Party-Id)) = false
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1