[OpenSIPS-Users] codec_delete
    Julian Santer 
    julian.santer at rolmail.net
       
    Fri Sep 30 21:56:38 CEST 2016
    
    
  
Hi guys,
we need to delete a rtpmap.
We made an "upgrade" from 1.6 to 2.1. On the 1.6 codec_delete works fine.
We are running the latest git checkout from the 2.1.4.
My code looks like:
         if (codec_exists("G729"))
         {
             xlog("L_INFO", "Removing G.729");
             codec_delete("G729");
         }
The codec_exists works, but the codec is not been deleted:
Sep 30 21:51:00 core2 OpenSIPS[29371]: Removing G.729
Please let me know if you need more information.
Kind regards,
Julian Santer
    
    
More information about the Users
mailing list