[Serdev] cancel problem in serial t_on_failure

Andreas Granig andreas.granig at inode.info
Mon Mar 14 08:48:21 UTC 2005


Raymond Chen wrote:
> We have encounter the problem with serial t_on_failure to PSTN, then 
> method == “CANCEL” is issued, ser did not reply to request cancelled 
> message and continue to the next t_on_failure route.  Any idea?

Try this:

failure_route[2] {
   if(t_check_status("487")) {
     # don't continue on cancellation
     break;
   }

   append_branch(...);
   t_relay();
}

Andy




More information about the Serdev mailing list