If the call type is being changed during the script execution (for example, with a Call Type node) then those call types will not be accounted for in Route Call Detail, as no separate route request was made for the newly changed calltype.
If no call type changes are being made via scripting, then these results *should* be the same, provided that a full day's worth of data is included in the query, as a single interval may have calls crossing over a boundary condition where they are counted in 1 interval in the Interval record and another in Route Call Detail.