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 <[email protected]> au nom de Alexander Perkins 
<[email protected]>
Répondre à : OpenSIPS users mailling list <[email protected]>
Date : lundi 27 août 2018 à 20:47
À : <[email protected]>
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 
[email protected] 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to