[SR-Users] how to drop 200ok and survive?

Alex Balashov abalashov at evaristesys.com
Thu Feb 18 22:31:27 CET 2016


Uri,

Can't you block a reply in an onreply_route by just dropping it?

route {
    t_on_reply("MAYBE_BLOCK");
}

onreply_route[MAYBE_BLOCK] {
    if(is_method("INVITE") && t_check_status("200"))
       drop;
}

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list