#include #include #include "mms_billing.h" static Octstr *script = NULL; static void *mms_billingmodule_init(char *settings) { script = octstr_create(settings); return NULL; } static int mms_billingmodule_fini(void *module_data) { return 0; } static double mms_billmsg(Octstr *from, List *to, unsigned long msg_size, Octstr *vaspid, void *module_data) { int i; if (script == NULL || octstr_len(script) == 0) return 0; for (i=0;i