| 555 | |
| 556 | |
| 557 | static int fixup_froute(void** param) |
| 558 | { |
| 559 | struct script_route_ref *rt; |
| 560 | |
| 561 | rt = ref_script_route_by_name_str( (str*)*param, |
| 562 | sroutes->failure, FAILURE_RT_NO, FAILURE_ROUTE, 0); |
| 563 | if ( !ref_script_route_is_valid(rt) ) { |
| 564 | LM_ERR("failure route <%.*s> does not exist\n", |
| 565 | ((str*)*param)->len, ((str*)*param)->s); |
| 566 | return -1; |
| 567 | } |
| 568 | |
| 569 | *param = (void*)rt; |
| 570 | |
| 571 | return 0; |
| 572 | } |
| 573 | |
| 574 | |
| 575 | static int fixup_rroute(void** param) |
nothing calls this directly
no test coverage detected