[Serusers] redirect to another gateway

Atle Samuelsen clona at camaro.no
Thu Apr 28 13:19:44 CEST 2005


Hi Nhadie.

* Juha Heinanen <jh at tutpro.com> [050428 12:49]:
> Nhadie writes:
> 
>  > How can I redirect calls to pstn to another gateway when one gateway doesn't
>  > respond to an INVITE (maybe because it has a problem), or when that gateway
>  > sends me 503 service unavailable or 404 not found.
> 
> you can check if lcr module in CVS HEAD would fill your needs.
Or you can in 0.8.14 doit with failure_routes and something like

falure_route[1]{
if(t_check_status(503)){
    rewritehostport("gw_nr_2");
};
t_relay...

}

-Atle
> 
> -- juha
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list