[Serdev] [Patch] Ability to check negative reply code in the
failure_route
Dan Pascu
dan at ag-projects.com
Tue Mar 8 13:51:44 UTC 2005
On Tuesday 08 March 2005 14:07, Maxim Sobolev wrote:
> I don't think that it really matters. The only thing that matters is
> that the call has not reached final recepient (which is what 408
> indicates regardless of its origin).
It matters if you want to implement a PSTN fallback mechanism, where you want
to send a failed call to a second PSTN gateway.
In this case you need to know if the call failed because the gateway is dead
(in which case you want to try the fallback gateway), or if the call simply
did timeout because the destination didn't pick up the phone.
In both cases you get a 408, but in the later you don't want to retry the call
through the second gateway.
So it would be nice if SER could generate a different failure code than 408
for a gateway/proxy that is dead and doesn't respond at all.
Or at least there should be a way to distinguish between these cases.
--
Dan
More information about the Serdev
mailing list