[OpenSIPS-Users] Rejecting G729

Alain Bieuzent alain.bieuzent at free.fr
Tue Aug 28 04:19:19 EDT 2018


Hi Alex,

 

What do you mean by call are in G729 ? do you mean drop all the call where you have only G729 codec in SDP ?

 

Look at codec_exists, codec_delete : http://www.opensips.org/html/docs/modules/1.9.x/sipmsgops.html

 

Regards

 

 

 

 

De : Users <users-bounces at lists.opensips.org> au nom de Alexander Perkins <alexanderhenryperkins at gmail.com>
Répondre à : OpenSIPS users mailling list <users at lists.opensips.org>
Date : lundi 27 août 2018 à 20:47
À : <users at lists.opensips.org>
Objet : [OpenSIPS-Users] Rejecting G729

 

Hi All.  Is it possible to reject calls that are in G729?  Currently, I have this, but it is also rejecting G711, etc.:

 

        if (search_body("G729") )

        {

               send_reply("488","G729 Not Allowed");

               exit;

        }

 

Any help is greatly appreciated!

 

Thanks,

Alex

_______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180828/b494960c/attachment.html>


More information about the Users mailing list