I know I can test the SIP return code with an "if", but how do I log it, or, alternatively, pass it to a exec_dset() script? I tried something like log(1, "Failure Route, status is $status\n"); And I get a "bad logargument" when I start openser. Clues? Juan