[Serusers] Re: [Serdev] [Patch] Ability to check negative reply code in the failure_route
Atle Samuelsen
clona at camaro.no
Sun Mar 13 20:02:28 CET 2005
* Andres <andres at telesip.net> [050313 19:15]:
>
> >As I said I already have a solution to this. Using it I can know if a call
> >did timeout because the gateway is dead, or it did timeout because the
> >callee didn't answer which is all that I want.
> >I tested it and it works just fine.
> >
> >
> >
> Dan,
>
> Could you please share you ser.cfg trick to solve this issue? I am
> trying the "set flag" approach but have not quite nailed it.
In you reply_route, setflag(10);
and in failure_route(..);
if(is_flag_set(10)){
do_your_stuff();
};
>
> Thanks,
>
> --
> Andres
> Network Admin
> http://www.telesip.net
>
>
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
>
More information about the sr-users
mailing list