[OpenSER-Users] How do I obtain or log the return code in a failure_route[]?

Juan Carlos Castro y Castro jcastro at instant.com.br
Thu Sep 6 21:04:35 CEST 2007


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




More information about the Users mailing list