Forums Read-only archive

more than one addr and failover ?!

8 posts · Brekeke SIP Server Forum

PuppetMaster Original post
1. Brekeke Product Name and version:
Brekeke SIP Server , Version 2.3.6.0 Advanced

2. Java version: doesn't remember

3. OS type and the version: Linux Centos 5.3

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

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:

I have two things I need to know :

1) How to add more than one ip address in the matching pattern:
ex: $add= 192\.168\.1\.10$ and 192\.168\.1\.20$

2) i need fail over plane like when the sip provider gives any error message or unavailable it goes for the other server.

I tried to do this : $target= voip.sip.com, voip1.sip.com
didn't work and of course those domain for example only.

the only thing that worked :
$target= voip.sip.com
$target= voip1.sip.com

Is that Right ?

Any reply will be appreciated.

Thanks in advance
janP
hi

1) $addr = 192\.168\.1\.10$|192\.168\.1\.20$
PuppetMaster
Thanks a lot

How many Ip addresses can i put on one rule ?

any news about fail over.

I appreciate it.
janP
i think there are no limit.
PuppetMaster
Thanks a lot

Please sir could you tell me about fail over because it's really urgent.

Thanks.
james
I think you need to talk with your Brekeke reseller or Brekeke's team to get some advices..
fershoprado
Forward 1
$request=^INVITE
$sid=[0369]$
$addr=^XX.XX.XX.202
To=sip:(.+)@
Target
To=sip:%1@YYY.YYY.YYY.A
$auth=off
$target=YYY.YYY.YYY.A, YYY.YYY.YYY.B, YYY.YYY.YYY.C

Forward 2
request=^INVITE
$sid=[147]$
$addr=^XX.XX.XX.XX2
To=sip:(.+)@
Target:
To=sip:%1@YYY.YYY.YYY.B
$auth=off
$target=YYY.YYY.YYY.B, YYY.YYY.YYY.C, YYY.YYY.YYY.A
Forward 3
request=^INVITE
$sid=[258]$
$addr=^XX.XX.XX.XX2
To=sip:(.+)@
Target:
To=sip:%1@YYY.YYY.YYY.c
$auth=off
$target=YYY.YYY.YYY.B, YYY.YYY.YYY.C, YYY.YYY.YYY.A

X= Origuin
Y= Destinations
lakeview