change the FROM to match the Remote-Party-ID
Moderator: Brekeke Support Team
change the FROM to match the Remote-Party-ID
1. Brekeke Product Name and Version:
server-product Brekeke SIP Server
server-ver 2.4.8.6/286.3
2. Java version:
1.7.0_25
3. OS type and the version:
os-name Windows Server 2008 R2
os-ver 6.1
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
Id like to set a dial plan so it takes the Remote-Party-ID and Deploys the FROM have that info
here is what i did so far and it doesnt work
Matching Patterns:
$request=^INVITE
From=sip:.+@voip1.pbx.com
Remote-Party-ID=(.+)@
To=sip:(.+)@
$addr=173.200.100.10
Deploy Pattern:
$auth=false
Remote-Party-ID=%1
Contact=%1
From=%1
To=sip:%2@205.100.100.10
$session=failover sip:%2@205.100.100.10 sip:%2@205.100.100.20
&failover.timer.inviting=5
&failover.timer.provisional=360
$continue=false
server-product Brekeke SIP Server
server-ver 2.4.8.6/286.3
2. Java version:
1.7.0_25
3. OS type and the version:
os-name Windows Server 2008 R2
os-ver 6.1
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
Id like to set a dial plan so it takes the Remote-Party-ID and Deploys the FROM have that info
here is what i did so far and it doesnt work
Matching Patterns:
$request=^INVITE
From=sip:.+@voip1.pbx.com
Remote-Party-ID=(.+)@
To=sip:(.+)@
$addr=173.200.100.10
Deploy Pattern:
$auth=false
Remote-Party-ID=%1
Contact=%1
From=%1
To=sip:%2@205.100.100.10
$session=failover sip:%2@205.100.100.10 sip:%2@205.100.100.20
&failover.timer.inviting=5
&failover.timer.provisional=360
$continue=false
I hope it works..
[Matching Patterns]
$request = ^INVITE
From = sip:.+@voip1.pbx.com
Remote-Party-ID = sip:(.+)@
To = sip:(.+)@
$getUri(From) = @(.+)
$addr = 173.200.100.10
[Deploy Patterns]
$auth = false
From = sip:%1@%3
To = sip:%2@205.100.100.10
$session = failover sip:%2@205.100.100.10 sip:%2@205.100.100.20
&failover.timer.inviting = 5
&failover.timer.provisional = 360
[Matching Patterns]
$request = ^INVITE
From = sip:.+@voip1.pbx.com
Remote-Party-ID = sip:(.+)@
To = sip:(.+)@
$getUri(From) = @(.+)
$addr = 173.200.100.10
[Deploy Patterns]
$auth = false
From = sip:%1@%3
To = sip:%2@205.100.100.10
$session = failover sip:%2@205.100.100.10 sip:%2@205.100.100.20
&failover.timer.inviting = 5
&failover.timer.provisional = 360
here is the setup
my PBX sends the calls to the Brekeke to make the calls
i want to setup that when the brekeke processes the calls, it should replace the "FROM" when it does the DEPLOY, to use the info that came in on the "Remote-Party-ID" in the MATCHING patterm
anyone have any ideas how to handle this
my PBX sends the calls to the Brekeke to make the calls
i want to setup that when the brekeke processes the calls, it should replace the "FROM" when it does the DEPLOY, to use the info that came in on the "Remote-Party-ID" in the MATCHING patterm
anyone have any ideas how to handle this
in line Remote-Party-ID=(.+)@,
there is no sip: before (.+)@ ?
like Remote-Party-ID=sip:(.+)@
you can try by put this rule on top of all other rules and also set
net.listener.loglevel.file=255
net.sip.loglevel.file=255
dialplan.debug.log = true
in "Advanced" page
then check sv log to see what the incoming call invite is like and if it has applied to this rule.
if not apply, check which part get false return and change it in the rule to make call apply to the rule.
there is no sip: before (.+)@ ?
like Remote-Party-ID=sip:(.+)@
you can try by put this rule on top of all other rules and also set
net.listener.loglevel.file=255
net.sip.loglevel.file=255
dialplan.debug.log = true
in "Advanced" page
then check sv log to see what the incoming call invite is like and if it has applied to this rule.
if not apply, check which part get false return and change it in the rule to make call apply to the rule.
Seems like this is working,, but i need some help with tweaking it, i want to add in the matching pattern only to use this dial plan if the call is going to 1-212-555-1212
Matching Pattern:
$request=^INVITE
From=sip:(.+)voip1.pbx.com.com
Remote-Party-ID=sip:(.+)@
To=sip:(.+)@
$getUri(From)=@(.+)
$addr=10.0.12.152
Deploy Pattern:
$auth=false
From=sip:1%2@%4
Remote-Party-ID=<sip:1%2@%4>
To=sip:%3@72.15.88.88
$continue=false
Matching Pattern:
$request=^INVITE
From=sip:(.+)voip1.pbx.com.com
Remote-Party-ID=sip:(.+)@
To=sip:(.+)@
$getUri(From)=@(.+)
$addr=10.0.12.152
Deploy Pattern:
$auth=false
From=sip:1%2@%4
Remote-Party-ID=<sip:1%2@%4>
To=sip:%3@72.15.88.88
$continue=false