| 3432 | } |
| 3433 | |
| 3434 | static int |
| 3435 | get_extra_id(struct sip_msg* msg, str *id_str) { |
| 3436 | if(msg==NULL || extra_id_pv==NULL || id_str==NULL) { |
| 3437 | LM_ERR("bad parameters\n"); |
| 3438 | return -1; |
| 3439 | } |
| 3440 | if (pv_printf_s(msg, extra_id_pv, id_str)<0) { |
| 3441 | LM_ERR("cannot print the additional id\n"); |
| 3442 | return -1; |
| 3443 | } |
| 3444 | |
| 3445 | return 1; |
| 3446 | |
| 3447 | } |
| 3448 | |
| 3449 | static int rtpengine_delete(struct sip_msg *msg, str *flags, |
| 3450 | struct rtpe_set *set, str *node, pv_spec_t *spvar) |
no test coverage detected