Author |
Message |
sympology Brekeke Addict
![](images/spacer.gif)
Joined: 18 Feb 2010 Posts: 30
Location: UK
|
Posted: Thu Oct 04, 2012 8:45 am Post subject: Forward Registration from specifaddress |
|
|
1. Brekeke Product Name and version:
Brekeke SIP Server , Version 3.0.7.0 Evaluation
2. Java version:
1.7.0_07
3. OS type and the version:
Win7
4. UA (phone), gateway or other hardware/software involved:
Multiple devices
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
1
6. Your problem:
Running a test on 3.0.7 (we already have 2 live servers) and trying to solve a specific issue.
We are using Upper registration for a specific reason (so can't be altered) and thru is enabled.
What I am trying to change is the registration address and forward it on.
Device A
10.10.10.1
Device B
10.10.10.2
Proxy
10.10.10.3
What I am aiming to change is;
A registration request comes from Device A into the Proxy and I want to forward it on to Device B, changing the RegistrationURI address to that of device B's, however I want the Contact URI to remain unchanged.
However I only want this to affect registrations from Device A, not from any other address.
So as an example:
Source IP = 10.10.10.1
Registration URI 100@10.10.10.1
Contact URI 100@10.10.5.5
Goes to the Proxy and is forwarded on to 10.10.10.2
New details are
Registration URI 100@10.10.10.2
Contact URI 100@10.10.5.5
Does this make sense.?
It's probably very obvious but I'm stumped. |
|
Back to top |
|
hope Brekeke Master Guru
![](images/spacer.gif)
Joined: 15 Jan 2008 Posts: 862
|
|
Back to top |
|
Laurie Brekeke Master Guru
![](images/spacer.gif)
Joined: 07 Jan 2008 Posts: 243
|
Posted: Thu Oct 04, 2012 11:54 am Post subject: |
|
|
> .. I want to forward it on to Device B,
Does Device B accept REGISTER request? |
|
Back to top |
|
sympology Brekeke Addict
![](images/spacer.gif)
Joined: 18 Feb 2010 Posts: 30
Location: UK
|
Posted: Fri Oct 05, 2012 1:22 am Post subject: |
|
|
Laurie wrote: |
> .. I want to forward it on to Device B,
Does Device B accept REGISTER request? |
Yes it does, it's almost identical to A.
If we point A Directly to B it works, but for technical reasons, we can't do this, it has to go via the proxy. |
|
Back to top |
|
Laurie Brekeke Master Guru
![](images/spacer.gif)
Joined: 07 Jan 2008 Posts: 243
|
Posted: Fri Oct 05, 2012 12:11 pm Post subject: |
|
|
Try this.
Matching Patterns | $request = ^REGISTER $addr = 10.10.10.1$
| Deploy Patterns | &net.registrar.upper.allow = true &net.registrar.upper.addr = 10.10.10.2 &net.registrar.useoriginal = true $action = register
|
|
|
Back to top |
|
|