[Serdev] [Patch] Ability to check negative reply code in the failure_route

Dan Pascu dan at ag-projects.com
Mon Mar 7 12:50:26 UTC 2005


Is there any difference between this approach and using t_check_status() in 
the failure route?

On Monday 07 March 2005 14:37, Maxim Sobolev wrote:
> Folks,
>
> I've found it quite limiting that there is no way to check SIP response
> code that has lead to execution of failure_route routine. For example
> when implementing VM one certainly would want to filter out 487 and
> probably all 3xx class replies.
>
> I've put together small patch which adds new keyword - failure_status
> that can be checked just like status, but in the failure_route. Please
> review. Any comments or suggestions are appreciated. Patch can be found
> here:
>
> http://www.portaone.com/~sobomax/ser_failure_code.diff


-- 
Dan




More information about the Serdev mailing list