Re: [OpenSIPS-Users] Reject unsupported codec?

2021-01-07 Thread solarmon
Hi Bogdan, That pointed me in the right direction and I'm able to reject calls. I ended up using codec_exists_re() Thank you! On Thu, 7 Jan 2021 at 16:37, Bogdan-Andrei Iancu wrote: > Hi, > > See the codec checking related functions here -> > https://opensips.org/html/docs/modules/2.4.x/sipmsg

Re: [OpenSIPS-Users] Reject unsupported codec?

2021-01-07 Thread Bogdan-Andrei Iancu
Hi, See the codec checking related functions here -> https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#func_codec_exists Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 2020 online https://opensips.org/training/Op

[OpenSIPS-Users] Reject unsupported codec?

2021-01-07 Thread solarmon
Hi, On opensips 2.4.x how would I best check what codec is being offered, and reject the call if it ONLY offers a codec that is not supported by us. For example, if we only want to support G.711 PCMA/PCMU. Thank you. ___ Users mailing list Users@lists.o