Re: [OpenSIPS-Users] Reject unsupported codec?
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/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/OpenSIPS_eBootcamp_2020/ > > On 1/7/21 6:33 PM, solarmon wrote: > > 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 > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Reject unsupported codec?
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/OpenSIPS_eBootcamp_2020/ On 1/7/21 6:33 PM, solarmon wrote: 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.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Reject unsupported codec?
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.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users