[asterisk-users] G729 copy protection
Bruce McAlister
bruce.mcalister at blueface.ie
Fri Jul 20 02:42:30 CDT 2007
Jason Parker wrote:
> I'd wager that you're using the wrong path for the licenses.
>
> I believe the correct path is something like /var/opt/asterisk/licenses/ - it's whatever Asterisk has ast_config_AST_VAR_DIR set to, with /licenses/ at the end.
>
> The easiest way to tell, is to find the sounds dir (usually at /var/lib/asterisk/sounds/ on Linux), and go up a directory, and then from there create the licenses/ directory.
>
When I register the codec using the register facility, it goes ahead a
stores the license file in:
"/var/lib/asterisk/licenses"
When I check my asterisk.conf file the location "astcarlibdir" is as
follows:
astvarlibdir => /usr/local/asterisk/var/lib
I have now tried to symlink the "/var/lib/asterisk/licenses" to
"/usr/local/asterisk/var/lib/licenses", and I have also tried to
manually create the directory, with the same permissions as the
"original" and copy the license file into the
/usr/local/asterisk/var/lib/licenses directory. In each case the
asterisk console still comes up with the following error when trying to
initialize the codec on startup:
Jul 20 08:40:01 WARNING[20591]: codec_g729.c:481 load_module: Failed to
initialize G.729 copy protection!
I'm beginning to think that the issue is not the license file, because
the above error/warning occurs even when I have not registered the codec.
Although, if anyone has more comments/suggestions, please feel free to
offer them, I'm willing to try anything twice :)
More information about the asterisk-users
mailing list