[Devel] [PATCH] include signal.h
diff --git a/mmsc/mmsc.c b/mmsc/mmsc.c index 4e9fd99..7334d94 100644 --- a/mmsc/mmsc.c +++ b/mmsc/mmsc.c @@ -11,6 +11,7 @@ * the GNU General Public License, with a few exceptions granted (see LICENSE) */ +#include #include "mmsc.h" #include "mms_uaprof.h" -- 1.5.6.3 ___ Devel mailing list Devel@mbuni.org http://lists.mbuni.org/mailman/listinfo/devel
[Devel] [PATCH] Add a default mmsc to the send-mms-user field
Hi, This patch adds an mmsc field to the send-mms-user section of the configuration file for mbuni. The idea is to have a default mmsc in case the CGI Variable is not set. for review, - Martin - diff --git a/doc/userguide.shtml b/doc/userguide.shtml index d08c4fa..b324dcd 100644 --- a/doc/userguide.shtml +++ b/doc/userguide.shtml @@ -2660,6 +2660,18 @@ faked-sender = 100 the VAS gateway by a MMSC for a message submitted by this user. + + + + mmsc + + + string + + + Optional id of the mmsc to use, if none is specified using the CGI Variables + + diff --git a/mmlib/mms_cfg.def b/mmlib/mms_cfg.def index 3f6ba81..3d7c85b 100644 --- a/mmlib/mms_cfg.def +++ b/mmlib/mms_cfg.def @@ -124,6 +124,7 @@ MULTI_GROUP(send-mms-user, OCTSTR(faked-sender) OCTSTR(delivery-report-url) OCTSTR(read-report-url) + OCTSTR(mmsc) ) MULTI_GROUP(mmsc, diff --git a/mmsbox/mmsbox.c b/mmsbox/mmsbox.c index 0748300..9208697 100644 --- a/mmsbox/mmsbox.c +++ b/mmsbox/mmsbox.c @@ -1232,7 +1232,9 @@ static void dispatch_sendmms_recv(List *rl) dlr_url = http_cgi_variable(h->cgivars, "dlr-url"); rr_url = http_cgi_variable(h->cgivars, "rr-url"); allow_adaptations = http_cgi_variable(h->cgivars, "allow-adaptations"); - mmc = http_cgi_variable(h->cgivars, "mmsc"); + if ((mmc = http_cgi_variable(h->cgivars, "mmsc")) == NULL) { + mmc = octstr_duplicate(u->mmsc); /* could still be NULL */ + } subject = http_cgi_variable(h->cgivars, "subject"); if ((base_url = http_cgi_variable(h->cgivars, "base-url")) == NULL) diff --git a/mmsbox/mmsbox_cfg.c b/mmsbox/mmsbox_cfg.c index 3b3559e..d35a95f 100644 --- a/mmsbox/mmsbox_cfg.c +++ b/mmsbox/mmsbox_cfg.c @@ -183,6 +183,7 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func) u->faked_sender = mms_cfg_get(x, octstr_imm("faked-sender")); u->dlr_url = _mms_cfg_getx(x, octstr_imm("delivery-report-url")); u->rr_url = _mms_cfg_getx(x, octstr_imm("read-report-url")); + u->mmsc = _mms_cfg_getx(x, octstr_imm("mmsc")); gwlist_append(sendmms_users, u); } gwlist_destroy(l, NULL); diff --git a/mmsbox/mmsbox_cfg.h b/mmsbox/mmsbox_cfg.h index 266c41f..d8416b5 100644 --- a/mmsbox/mmsbox_cfg.h +++ b/mmsbox/mmsbox_cfg.h @@ -85,7 +85,7 @@ typedef struct MmsService { typedef struct SendMmsUser { Octstr *user, *pass; Octstr *faked_sender; - Octstr *dlr_url, *rr_url; + Octstr *dlr_url, *rr_url, *mmsc; } SendMmsUser; /* Basic settings for the mmsbox. */ ___ Devel mailing list Devel@mbuni.org http://lists.mbuni.org/mailman/listinfo/devel
[Devel] [PATH] fix typo in userguide
Hi, The attached simple patch just corrects a typo in the userguide. - Martin - diff --git a/doc/userguide.shtml b/doc/userguide.shtml index 3c2008d..b324dcd 100644 --- a/doc/userguide.shtml +++ b/doc/userguide.shtml @@ -2636,7 +2636,7 @@ faked-sender = 100 - deliver-report-url + delivery-report-url string ___ Devel mailing list Devel@mbuni.org http://lists.mbuni.org/mailman/listinfo/devel
[Devel] [PATCH] support automake 1.10
This simple patch just adds support for automake 1.10. - Martin - Index: bootstrap === RCS file: /cvsroot/mbuni/mbuni/bootstrap,v retrieving revision 1.1 diff -u -r1.1 bootstrap --- bootstrap 20 Oct 2005 11:02:32 - 1.1 +++ bootstrap 15 Aug 2008 10:36:31 - @@ -4,7 +4,9 @@ # Check for automake amvers="no" -if automake-1.9 --version >/dev/null 2>&1; then +if automake-1.10 --version >/dev/null 2>&1; then + amvers="-1.10" +elif automake-1.9 --version >/dev/null 2>&1; then amvers="-1.9" elif automake-1.8 --version >/dev/null 2>&1; then amvers="-1.8" ___ Devel mailing list Devel@mbuni.org http://lists.mbuni.org/mailman/listinfo/devel
Re: [Devel] CVS address changed
Hi, This is copied verbatim from https://sourceforge.net/docs/A04. It might be necessary to (re-)check in changes made to the tree after 9th May ---8<--- ( 2006-05-13 06:10:17 - Project CVS Service ) As of 2006-05-12 at 11:30 Pacific, the replacement CVS infrastructure has been enabled for use. Do note that there are a number of changes, including the hostname used for repository access. Also, of note is that the last sync between the current developer CVS repository and the previous CVS infrastructure will have been from days prior to the CVS outage on the 9th. We recommend that users check out a copy of their new repository, copy the files in their working copy on top of the newly checked out repository, and then check those changes in. Due to the disk failure on the primary CVS server, we didn't want to risk moving any possible data corruption to the new hosts given the previous CVS server's hardware problems. Refer to the site documentation for details (https://www.sf.net/docs/E04). Please report any problems you see immediately by submitting a Support Request. --->8--- On Sat, May 13, 2006 at 12:41:28PM +0300, Paul Bagyenda wrote: > Sourceforge have changed the CVS host names, which means you will now > need to access mbuni CVS from mbuni.cvs.sourceforge.net (instead of > cvs.sourceforge.net). Please note the changes. I have updated the web > site accordingly. Also note that CVS browsing is now at http:// > mbuni.cvs.sourceforge.net/mbuni/mbuni/ > > Everything else remains largely the same (i.e. logon mechanics, etc.) > > ___ > Devel mailing list > Devel@mbuni.org > http://mbuni.org/mailman/listinfo/devel_mbuni.org -- You know you are a Ugandan if you've heard this more than you'd like to: "The banyankole have a saying..." ___ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org
[Devel] [ANNOUNCE] mbuni 1.0.0 Released!
Version 1.0.0 of mbuni, an Open Source MMS Gateway, has been released! It's available at: http://www.mbuni.org/downloads.shtml There have been a great deal of changes since version 0.9.9, and the complete changelog (also included in this email) is available on the web at: http://www.mbuni.org/downloads/1.0.0/ChangeLog Many thanks to those who have contributed enhancements, test results, and even bug reports, as all this contributes to improving functionality and stability. The ChangeLog follows: 2005-02-05 P. A. Bagyenda * Initial release 0.9.6 2005-02-20 P. A. Bagyenda * Added support for sending from/to IP addresses, new mms-client-ip-addr param * Generalised determination of local vs non-local recipients. * Fixed bug with message forwarding on MM1 * Fixed bug in mmsproxy when message fetched but fetch not confirmed. * Added access.log * various minor bug fixes 2005-02-20 Soren Hansen * New config directives: resolver-module-parameters, resolver-library 2005-04-13 P. A. Bagyenda * Added mmbox support * Added MM7/SOAP support 2005-04-18 P. A. Bagyenda <[EMAIL PROTECTED]> * Added MM7/EAIF support 2005-06-01 P. A. Bagyenda <[EMAIL PROTECTED]> * Code fixups to allow compilation with gcc 4.0 without warnings/errors * Minor bug fixes 2005-07-01 P. A. Bagyenda <[EMAIL PROTECTED]> * Fixed mime conversion bug in content adaptation module 2005-07-08 P. A. Bagyenda <[EMAIL PROTECTED]> * Improved parsing of content-id header by kannel * Culling of extra headers in Email2MMS 2005-07-14 P. A. Bagyenda <[EMAIL PROTECTED]> * accept content type */* as include SMIL in content adaptation module 2005-07-15 P. A. Bagyenda <[EMAIL PROTECTED]> * Allow turning on/off of content adaptation - Martin - ___ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org