[Serusers] LCR question

Steve Blair blairs at isc.upenn.edu
Fri Sep 8 20:12:46 CEST 2006



Juha Heinanen wrote:

>Steve Blair writes:
>
> >      if (!load_gws()) {
> >           sl_send_reply("500", "Server Internal Error - Cannot load 
> > gateways");
> >           return;
> >        } else {
> >           xlog("L_INFO", "\n[SER]: Load Gateways passed\n");
> >        };
> > 
> >        t_on_failure("2");          # if gateway unavail go to 4
> >        xlog("L_INFO", "\n[SER] : Relay to first gateway\n");
> >        t_relay();
>
>load_gws() just loads the gws to memory.  you have to call next_gw() for
>the first gw in route block before t_relay().
>
>  
>
Ah ha. OK. I'll try that.

>-- juha
>
>  
>

-- 
  
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104  


voice: 215-573-8396 

       215-746-8001

fax: 215-898-9348    

sip:blairs at net.isc.upenn.edu




More information about the sr-users mailing list