Forums Read-only archive

Forward Registration from specifaddress

5 posts · Brekeke SIP Server Forum

sympology Original post
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/ ... terns.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.
hope
http://www.brekeke-sip.com/download/bss ... lan_en.pdf
ex56

you may need to use $addr = 10.10.10.1 instead of From = xxxx
Laurie
> .. I want to forward it on to Device B,

Does Device B accept REGISTER request?
sympology
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.
Laurie
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
===================