[Users] what responses can drop() drop

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Mar 28 10:54:53 CEST 2006


Hi,

drop() may be used from reply_route to drop only provisional responses 
or from branch route to drop specific branches.

a final response may not be dropped, but only replaced via failure route.

failure_route[] {
    if (code_is_302)
       t_reply(....);
}

regards,
bogdan

Dr. Rodney G. McDuff wrote:

>I am trying to drop a 302 redirect response from a invite and  branch a
>new invite off somewhere else. In my onreply_route[1] I have a
>
>if (condition) {
>    xlog(various stuff);
>   drop();
>}
>
>Using ngrep I see that the response is not drop. Can I have some
>confirmation that drop only drops 1XX provisional responses. The
>documentations is a bit fuzzy about this.
>
>  
>





More information about the Users mailing list