[Users] drop() and final replies

Andreas Granig andreas.granig at inode.info
Tue Jul 11 12:32:36 CEST 2006


Hi,

The docs state that if drop() is called in onreply_route[], any 
provisional replies are discarded. How about final replies?

What I want to achieve is to rewrite some reply codes, like:

onreply_route[x] {
   if(status=="302") {
     t_reply("480", "Something");
     drop();
   }
}

Would this work as intended?

Thanks,
Andy




More information about the Users mailing list