Reject Pay Phone Calls in Dial Plan

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
eric9721
Posts: 7
Joined: Wed Dec 16, 2009 7:29 am
Location: Richardson, Tx

Reject Pay Phone Calls in Dial Plan

Post by eric9721 »

1. Brekeke Product Name and Version: Advanced Edition 3.3.4.4/379

2. Java version:

3. OS type and the version:

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

5. Your problem: I need to be able to read the isup-oli field and reject calls that come in with a value of 25. Here is an example packet.


From: "Anonymous"sip:+18185551234@10.10.10.10;isup-oli=25;tag=95ffcd055e0f78f7d5d397 020e89288d63d4

I need to be able to get read the value in isup-oli and then reject the call if it is equal to 25.

This is what I have come up with....

Matching Pattern:
$request=^INVITE
$param(oli,"isup-oli")-^25$

Deploy Pattern:
$action=503

This rule does not seem to do any thing though.........
janP
Posts: 336
Joined: Sun Nov 25, 2007 2:55 pm

Post by janP »

Matching Patterns
$request = ^INVITE
From = isup-oli=25;

Deploy Patterns
$response = 503


-OR-


Matching Patterns
$request = ^INVITE
$param(From, "isup-oli") = ^25$

Deploy Patterns
$response = 503
Post Reply