[Users] distinguish between fr_timer and fr_inv_timer timeout

Atle Samuelsen clona at cyberhouse.no
Wed Feb 7 09:55:28 CET 2007


Hi Klaus,

if(method=="INVITE"){

t_on_reply("1");
t_on_failure("1");
}
t_relay();

onreply_route[1]{

if(status("180|183")){
        setflag("1");
}

failure_route[1]{
if(is_flaset("1"){
        log(1,"It rang\r\n");
}else{
        log(1,"It did'nt ring\r\n");
}


Something in the degrees of this ;)

- Atle

* Klaus Darilion <klaus.mailinglists at pernau.at> [070207 09:48]:
> Hi!
> 
> If a failure route is executed - how can I distinguish between fr_timer
> timeout (a broken gateway) and fr_inv_timer timeout (nobdy took up the
> phone)?
> 
> thanks
> klaus
> 
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list