Hi there,
I have a requirement now that for one of my GW¹s in my LCR, needs to be
sourced from another IP address (two different rate-decks with the carrier).
This ratedeck will always be at least 2nd inline ...
I was thinking something along the sorts ... Some pseudo code:
failure_route [2] {
Do the provider gateways have the same IP address for the different rate
plans? If the gateways are different then the following may be relevant.
if (next_gw()) {
# prepare for lcr failover
t_on_failure(2);
if($rd==aaa.aaa.aaa.aaa)
Same destination IP for both rate decks, so I need to go by something else,
like the gw_name.
- Reply message -
From: Stagg Shelton st...@vocalcloud.com
Date: Sat, Jan 29, 2011 8:27 am
Subject: [SR-Users] LCR next_gw() - certain GW, source from other IP address
To: sr-users@lists.sip
message -
From: Stagg Shelton st...@vocalcloud.com
Date: Sat, Jan 29, 2011 8:27 am
Subject: [SR-Users] LCR next_gw() - certain GW, source from other IP address
To: sr-users@lists.sip-router.org
Do the provider gateways have the same IP address for the different rate
plans
need to go by something else,
like the gw_name.
- Reply message -
From: Stagg Shelton st...@vocalcloud.com
Date: Sat, Jan 29, 2011 8:27 am
Subject: [SR-Users] LCR next_gw() - certain GW, source from other IP address
To: sr-users@lists.sip-router.org
Do the provider gateways have
destination IP for both rate decks, so I need to go by
something else, like the gw_name.
- Reply message -
From: Stagg Shelton st...@vocalcloud.com
Date: Sat, Jan 29, 2011 8:27 am
Subject: [SR-Users] LCR next_gw() - certain GW, source from
Also, I don't believe force_send_socket() accepts PVs as arguments.
But $fs accomplishes the same end, and is a mutable PV.
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: