| 449 | |
| 450 | |
| 451 | static int w_restore_to(struct sip_msg *msg) |
| 452 | { |
| 453 | /* safety checks - must be a request */ |
| 454 | if (msg->first_line.type!=SIP_REQUEST) { |
| 455 | LM_ERR("called for something not request\n"); |
| 456 | return -1; |
| 457 | } |
| 458 | |
| 459 | return (restore_uri(msg,1,0)==0)?1:-1; |
| 460 | } |
| 461 | |
| 462 | |
| 463 | static int w_replace_to(struct sip_msg* msg, str *dsp, str *uri) |
nothing calls this directly
no test coverage detected