Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
more than one addr and failover ?!
Author Message
PuppetMaster
Brekeke Newbie


Joined: 24 Dec 2009
Posts: 4

PostPosted: Fri Dec 25, 2009 12:11 pm    Post subject: more than one addr and failover ?! Reply with quote

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/networkpatterns.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
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon Dec 28, 2009 2:14 pm    Post subject: Reply with quote

hi

1) $addr = 192\.168\.1\.10$|192\.168\.1\.20$
Back to top
View user's profile
PuppetMaster
Brekeke Newbie


Joined: 24 Dec 2009
Posts: 4

PostPosted: Mon Dec 28, 2009 2:18 pm    Post subject: Reply with quote

Thanks a lot

How many Ip addresses can i put on one rule ?

any news about fail over.

I appreciate it.
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Tue Dec 29, 2009 5:44 pm    Post subject: Reply with quote

i think there are no limit.
Back to top
View user's profile
PuppetMaster
Brekeke Newbie


Joined: 24 Dec 2009
Posts: 4

PostPosted: Wed Dec 30, 2009 10:22 am    Post subject: Reply with quote

Thanks a lot

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

Thanks.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Wed Dec 30, 2009 12:01 pm    Post subject: Reply with quote

I think you need to talk with your Brekeke reseller or Brekeke's team to get some advices..
Back to top
View user's profile
fershoprado
Brekeke Newbie


Joined: 11 Dec 2009
Posts: 3
Location: Katy, TX

PostPosted: Fri Jan 29, 2010 7:32 pm    Post subject: Reply with quote

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

_________________
El novato.... The rookie
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Feb 02, 2010 12:36 pm    Post subject: Reply with quote

Also
Check this out.
http://wiki.brekeke.com/wiki/How-to-make-Failover-in-the-Dial-Plan
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1