German, Thanks for contributing to Asterisk. Patches are handled by our bug tracker, not our mailing list. As a comment to this, we already have this function in Asterisk. There's an option where you can add the systemname to the database. Always good to check the latest versions before you start coding :-) /O