From 7497919605512f3e3bf88eb9e81279246cb02dd3 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 14 Apr 2005 11:27:23 +0000 Subject: [PATCH] MM7/SOAP implementation now tested + misc bug fixes --- mbuni/doc/examples/mmsc.conf | 14 +- mbuni/doc/userguide.shtml | 203 +++++++- mbuni/misc-patches/mbuni-kannel-patch-full | 119 ++++- mbuni/mmlib/mms_mm7soap.c | 567 ++++++++++++++++++--- mbuni/mmlib/mms_mm7soap.h | 40 +- mbuni/mmlib/mms_msg.c | 89 +++- mbuni/mmlib/mms_msg.h | 5 + mbuni/mmlib/mms_queue.c | 74 ++- mbuni/mmlib/mms_queue.h | 11 +- mbuni/mmlib/mms_strings.def | 27 +- mbuni/mmlib/mms_util.c | 65 ++- mbuni/mmlib/mms_util.h | 17 +- mbuni/mmsc/mmsfromemail.c | 42 +- mbuni/mmsc/mmsglobalsender.c | 176 ++++++- mbuni/mmsc/mmsmobilesender.c | 11 +- mbuni/mmsc/mmsproxy.c | 404 ++++++++++++++- mbuni/mmsc/mmssend.c | 7 +- mbuni/todo | 7 +- 18 files changed, 1691 insertions(+), 187 deletions(-) diff --git a/mbuni/doc/examples/mmsc.conf b/mbuni/doc/examples/mmsc.conf index c1b7e3d..f003bb3 100644 --- a/mbuni/doc/examples/mmsc.conf +++ b/mbuni/doc/examples/mmsc.conf @@ -15,7 +15,7 @@ mm4-queue-directory = /tmp/spool/mm4 mmbox-root-directory = /tmp/spool/mmbox max-send-threads = 5 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t' -unified-prefix = "+25637,037,77" +unified-prefix = "+25637,037,37" maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 0.1 @@ -23,8 +23,8 @@ send-attempt-back-off = 300 sendsms-url = http://localhost:13013/cgi-bin/sendsms sendsms-username = tester sendsms-password = foobar -#sendsms-global-sender = 198 mms-port = 1981 +mm7-port = 1982 #allow-ip = 192.168.129.11 email2mms-relay-prefixes = "037;035;25637" ua-profile-cache-directory = /tmp/misc/profiles @@ -40,6 +40,16 @@ mms-to-email-txt = "This is a multimedia message (HTML suppressed)" mms-to-email-html = "This is a multimedia message powered by Digital Solutions" mms-message-too-large-txt = "You have received a multimedia message from %S that is too large for your phone. Go to xxx to view it" +group = mms-vasp +vasp-id = newscorp +type = soap +short-code = 111 +vasp-username = newscorp +vasp-password = news123 +vasp-url = http://localhost:23535/ +mmsc-username = user +mmsc-password = secret + group = mmsproxy name = "A test mms proxy" host = ds.co.ug diff --git a/mbuni/doc/userguide.shtml b/mbuni/doc/userguide.shtml index ed5405f..a6cf7b2 100644 --- a/mbuni/doc/userguide.shtml +++ b/mbuni/doc/userguide.shtml @@ -51,7 +51,9 @@ This document describes the installation and usage of the MMS Gateway.
  • Installing Required Components
  • Chapter 3: Running the Gateway
  • Chapter 4: Gateway Architecture