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

Function codec_find

modules/sipmsgops/codecs.c:760–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758
759
760int codec_find(struct sip_msg* msg, str* codec, str* clock)
761{
762 LM_DBG("searching for codec <%.*s>, clock <%.*s> \n",
763 codec->len, codec->s,
764 clock ? clock->len : 0, clock ? clock->s : NULL);
765
766 return do_for_all_streams(msg, codec, clock, NULL, FIND, DESC_NAME);
767}
768
769int codec_find_re (struct sip_msg* msg, regex_t* re)
770{

Callers

nothing calls this directly

Calls 1

do_for_all_streamsFunction · 0.85

Tested by

no test coverage detected