[SR-Users] add a=fmtp: if it does not exist in sdp

Henning Westerholt hw at gilawa.com
Thu Mar 10 17:05:56 CET 2022


already tried this one?




Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com

-----Original Message-----
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Krzysztof Drewicz
Sent: Tuesday, March 8, 2022 5:48 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] add a=fmtp: if it does not exist in sdp


i try to fix one endpoint, it does neet do have a

a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-15

sometimes i got:
a=rtpmap:115 telephone-event/8000

and sometimes:
a=rtpmap:114 telephone-event/8000
a=fmtp:114 0-15

so - should i use txtops and search for fmtp, and use

search_append_body ?
ifsearch_body(re) does not find 'a=fmtp:95' (95..127 - dynamic payload here), or am I reinventing the wheel again ? Any hints?

Krzysztof Drewicz
Senior Infrastructure Administrator
CLUDO | ul. Grochowska 306/308, 03-840 Warszawa
 kdrewicz at cludo.pl | www.cludo.pl

Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

More information about the sr-users mailing list