MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / get_extra_id

Function get_extra_id

modules/rtpengine/rtpengine.c:3434–3447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3432}
3433
3434static int
3435get_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
3449static int rtpengine_delete(struct sip_msg *msg, str *flags,
3450 struct rtpe_set *set, str *node, pv_spec_t *spvar)

Callers 1

Calls 1

pv_printf_sFunction · 0.85

Tested by

no test coverage detected