[SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
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] {

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Stagg Shelton
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)

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread GP Wooden
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

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
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

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
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

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Stagg Shelton
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

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Alex Balashov
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: