The EMG billing plugin is a sample perl plugin that interacts with the EMG and EMG Portal database schemas to provide flexible routing and message pricing.
It accompanies the EMG Portal distribution in the "misc" directory and the latest version is also available on our web site.
It requires the perl distribution for EMG is downloaded and extract in /opt and also that the CPAN modules used by the plugins are installed.
PLUGIN billing <
# Update the path below to reflect your installation
# No config parameter necessary
Reference it on all connectors where messages from customers may be received:
CONNECTOR mgp-db <
The database credentials in the billing plugin must be updated to reflect your installation.
Take a moment to browse through the comments in the plugin source code to understand how it works and can be configured.