[Serusers] Re: [Serdev] [Patch] Ability to check negative reply code in the failure_route
Andres
andres at telesip.net
Mon Mar 14 00:37:18 CET 2005
Atle Samuelsen wrote:
>* 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 Atle,
We got it working as expected now.
--
Andres
Network Admin
http://www.telesip.net
More information about the sr-users
mailing list