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

Function codec_move_up

modules/sipmsgops/codecs.c:805–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803
804
805int codec_move_up(struct sip_msg* msg, str* codec, str* clock)
806{
807 LM_DBG("moving up codec <%.*s> with clock <%.*s> \n",
808 codec->len, codec->s, clock ? clock->len : 0, clock ? clock->s : NULL);
809
810 return do_for_all_streams(msg, codec, clock, NULL,
811 ADD_TO_FRONT, DESC_NAME_AND_CLOCK);
812}
813
814
815int codec_move_down_re(struct sip_msg* msg, regex_t* re)

Callers

nothing calls this directly

Calls 1

do_for_all_streamsFunction · 0.85

Tested by

no test coverage detected