| 3880 | /* This function assumes p points to a line of requested type. */ |
| 3881 | |
| 3882 | static int |
| 3883 | set_rtpengine_set_f(struct sip_msg * msg, rtpe_set_link_t *rtpl) |
| 3884 | { |
| 3885 | struct rtpe_set *set; |
| 3886 | |
| 3887 | if (rtpl->type == RTPE_SET_NONE) { |
| 3888 | set = select_rtpe_set(rtpl->v.id); |
| 3889 | if(set==NULL) { |
| 3890 | LM_ERR("could not locate rtpengine set %d\n", rtpl->v.id); |
| 3891 | return -1; |
| 3892 | } |
| 3893 | } else |
| 3894 | set = rtpl->v.rset; |
| 3895 | |
| 3896 | rtpe_ctx_set_fill(set); |
| 3897 | |
| 3898 | return 1; |
| 3899 | } |
| 3900 | |
| 3901 | static int |
| 3902 | rtpengine_manage(struct sip_msg *msg, str *flags, pv_spec_t *spvar, |
nothing calls this directly
no test coverage detected