CDR says "FAILED", i disagree

hi there, heres my problem:
asterisk cdr for mysql addon has a bug i havent been able to work out. the field DISPOSITION gets its value based on the result for the first trunk it tries. if it fails to connect to the called party on the first trunk, but successes on the 2nd, the cdr will say FAILED. anyone has been able to figure how to get it right?

Of course if you use ENUM on the first Trunk, you get a lot of FAILED.