force Caller ID to Restricted
Moderator: Brekeke Support Team
force Caller ID to Restricted
1. Brekeke Product Name and Version:
2.4.8.6/286.3
2. Java version:
1.6.0_31
3. OS type and the version:
Windows Server 2008 R2
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
id like to set that incoming calls to a Specific phone number, we will strip the from phone number and name, and set it to Restricted
2.4.8.6/286.3
2. Java version:
1.6.0_31
3. OS type and the version:
Windows Server 2008 R2
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
id like to set that incoming calls to a Specific phone number, we will strip the from phone number and name, and set it to Restricted
Seems like it is not working 100 Percent
i want to set it up the same exact way as a real blocked call is
whats the rules i need?
the issue with this rule
the call comes in, it shows from restricted with no IP address in the "From" Header
also the Contact Header remains with the original Caller ID and the Remote Party has the original phone number IP address and Privacy as Off
i want to set it up the same exact way as a real blocked call is
whats the rules i need?
the issue with this rule
Code: Select all
[Matching Patterns]
&request=^INVITE
To=sip:(.+)@
To=sip:2125551212 (removed real phone number)
$getUri( From ) = (.+)
[Deploy Patterns]
$auth=false
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
To=sip:%1@IPAddress
&failover.timer.inviting=5
&failover.timer.provisional=360
From="Restricted" <%1>
$continue=false
the call comes in, it shows from restricted with no IP address in the "From" Header
also the Contact Header remains with the original Caller ID and the Remote Party has the original phone number IP address and Privacy as Off
i finally changed it and the Caller ID the caller sees is Restricted, i just need to change it to use the From IP address and not 8.8.8.8
Matching Patterns:
$request=^INVITE
To=sip:(.+)@
To=sip:2125551000
Deploy Pattern:
$auth=false
To=sip:2125551000@8.20.94.21
$session=failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting=5
&failover.timer.provisional=360
$replaceuri=true
Remote-Party-ID="Restricted"<sip:Restricted@8.8.8.8>
Contact="Restricted"<sip:Restricted@8.8.8.8>
From="Restricted"<sip:Restricted@8.8.8.8>
$continue=false
Matching Patterns:
$request=^INVITE
To=sip:(.+)@
To=sip:2125551000
Deploy Pattern:
$auth=false
To=sip:2125551000@8.20.94.21
$session=failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting=5
&failover.timer.provisional=360
$replaceuri=true
Remote-Party-ID="Restricted"<sip:Restricted@8.8.8.8>
Contact="Restricted"<sip:Restricted@8.8.8.8>
From="Restricted"<sip:Restricted@8.8.8.8>
$continue=false
Code: Select all
[Matching Patterns]
&request=^INVITE
To=sip:(.+)@
To=sip:2125551212 (removed real phone number)
$getUri( From ) = (.+)
[Deploy Patterns]
$auth=false
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
To=sip:%1@IPAddress
&failover.timer.inviting=5
&failover.timer.provisional=360
From="Restricted" <%1>
$continue=false
http://wiki.brekeke.com/wiki/buffer-in- ... -plan-rule
this is myy current dial plan, which sends it as Restricted, but i want to send it as the IP originally in the From, not 8.8.8.8
Matching Patterns
$request = ^INVITE
To = sip:(.+)@
To = sip:2125551000
Deploy Patterns
$auth = false
To = sip:2125551000@8.20.94.21
$session = failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting = 5
&failover.timer.provisional = 360
$replaceuri = true
Remote-Party-ID = "Restricted"<sip:Restricted@8.8.8.8>
Contact = "Restricted"<sip:Restricted@8.8.8.8>
From = "Restricted"<sip:Restricted@8.8.8.8>
$continue = false
Matching Patterns
$request = ^INVITE
To = sip:(.+)@
To = sip:2125551000
Deploy Patterns
$auth = false
To = sip:2125551000@8.20.94.21
$session = failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting = 5
&failover.timer.provisional = 360
$replaceuri = true
Remote-Party-ID = "Restricted"<sip:Restricted@8.8.8.8>
Contact = "Restricted"<sip:Restricted@8.8.8.8>
From = "Restricted"<sip:Restricted@8.8.8.8>
$continue = false
[Matching Patterns]
&request=^INVITE
To=sip:(2125551212)@
$getUri( From ) = (.+)
[Deploy Patterns]
$auth=false
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
To=sip:%1@IPAddress
&failover.timer.inviting=5
&failover.timer.provisional=360
From="Restricted" <%2>
$continue=false
or
Matching Patterns
$request = ^INVITE
To = sip:(2125551000)@
$getUri( From ) = sip:.+@(.+)
Deploy Patterns
$auth = false
To = sip:%1@8.20.94.21
$session = failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting = 5
&failover.timer.provisional = 360
$replaceuri = true
Remote-Party-ID = "Restricted" <sip:Restricted@%2>
Contact = "Restricted" <sip:Restricted@%2>
From = "Restricted" <sip:Restricted@%2>
$continue = false
&request=^INVITE
To=sip:(2125551212)@
$getUri( From ) = (.+)
[Deploy Patterns]
$auth=false
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
To=sip:%1@IPAddress
&failover.timer.inviting=5
&failover.timer.provisional=360
From="Restricted" <%2>
$continue=false
or
Matching Patterns
$request = ^INVITE
To = sip:(2125551000)@
$getUri( From ) = sip:.+@(.+)
Deploy Patterns
$auth = false
To = sip:%1@8.20.94.21
$session = failover sip:%1@IPADDRESS1 sip:%1@IPADDRESS2
&failover.timer.inviting = 5
&failover.timer.provisional = 360
$replaceuri = true
Remote-Party-ID = "Restricted" <sip:Restricted@%2>
Contact = "Restricted" <sip:Restricted@%2>
From = "Restricted" <sip:Restricted@%2>
$continue = false
i got it working
Matching Patterns:
$request=^INVITE
To=sip:(.+)@
To=sip:2125551000
$getUri(From)=sip:.+@(.+)
Deploy Pattern:
$auth=false
To=sip:%1@IPAddress
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
&failover.timer.inviting=5
&failover.timer.provisional=360
Contact="Restricted"<sip:Restricted@%2>
From="Restricted"<sip:Restricted@%2>
Remote-Party-ID="Restricted"<sip:Restricted@%2>
$replaceuri=true
$continue=false
Matching Patterns:
$request=^INVITE
To=sip:(.+)@
To=sip:2125551000
$getUri(From)=sip:.+@(.+)
Deploy Pattern:
$auth=false
To=sip:%1@IPAddress
$session=failover sip:%1@IPADDRESS sip:%1@2ndIPADDRESS
&failover.timer.inviting=5
&failover.timer.provisional=360
Contact="Restricted"<sip:Restricted@%2>
From="Restricted"<sip:Restricted@%2>
Remote-Party-ID="Restricted"<sip:Restricted@%2>
$replaceuri=true
$continue=false