Hi list, attached patch removes relevant lines related with outdated local-mmsc-domains and mm-box-host params.
-- Dziugas
? COPYING ? autom4te.cache ? config.h.in Index: doc/userguide.shtml =================================================================== RCS file: /cvsroot/mbuni/mbuni/doc/userguide.shtml,v retrieving revision 1.19 diff -u -r1.19 userguide.shtml --- doc/userguide.shtml 10 Mar 2006 05:38:29 -0000 1.19 +++ doc/userguide.shtml 24 Mar 2006 14:45:07 -0000 @@ -632,9 +632,6 @@ host-alias = mmsc<br> -local-mmsc-domains= -mbuni.org,service.com<br> - local-prefixes = 075;+25675;25675<br> @@ -758,27 +755,6 @@ </td> </tr> <tr > - <td valign=top > - <tt>local-mmsc-domains</tt> - - </td> - - <td valign=top > - <i>MMSC</i> - -</td> - - <td valign=top > - List of - Internet domains (comma separated) - </td> - <td valign=top > - A list of - internet domains that should be considered local to this MMS gateway. Email - or MMS messages received destined to these domains should be treated as local - </td> - </tr> - <tr > <td valign=top ><tt>local-prefixes</tt> </td> Index: doc/examples/mmsc.conf =================================================================== RCS file: /cvsroot/mbuni/mbuni/doc/examples/mmsc.conf,v retrieving revision 1.12 diff -u -r1.12 mmsc.conf --- doc/examples/mmsc.conf 28 Feb 2006 10:36:36 -0000 1.12 +++ doc/examples/mmsc.conf 24 Mar 2006 14:45:07 -0000 @@ -7,7 +7,6 @@ name = "My MMSC" hostname = ds.co.ug host-alias = mmsc -local-mmsc-domains = dsmagic.com local-prefixes = 037;+25637;25637 storage-directory = /tmp/spool max-send-threads = 5 @@ -31,7 +30,6 @@ content-adaptation = true notify-unprovisioned = yes mms-notify-text = "You have received a multimedia message from %S, go to XXX to view it" -mm-box-host = local.ds.co.ug mms-notify-unprovisioned-text = "This is a test" mms-to-email-txt = "This is a multimedia message (HTML suppressed)" mms-to-email-html = "This is a multimedia message powered by <emph>Digital Solutions</emph>" Index: mmlib/mms_cfg.def =================================================================== RCS file: /cvsroot/mbuni/mbuni/mmlib/mms_cfg.def,v retrieving revision 1.2 diff -u -r1.2 mms_cfg.def --- mmlib/mms_cfg.def 28 Feb 2006 10:36:36 -0000 1.2 +++ mmlib/mms_cfg.def 24 Mar 2006 14:45:07 -0000 @@ -43,7 +43,6 @@ OCTSTR(name) OCTSTR(hostname) OCTSTR(host-alias) - OCTSTR(local-mmsc-domains) OCTSTR(local-prefixes) OCTSTR(storage-directory) OCTSTR(max-send-threads) @@ -73,7 +72,6 @@ OCTSTR(notify-unprovisioned) OCTSTR(mms-notify-text) OCTSTR(mms-notify-unprovisioned-text) - OCTSTR(mm-box-host) OCTSTR(mms-to-email-txt) OCTSTR(mms-to-email-html) OCTSTR(mms-message-too-large-txt) Index: mmsc/mmsc_cfg.c =================================================================== RCS file: /cvsroot/mbuni/mbuni/mmsc/mmsc_cfg.c,v retrieving revision 1.10 diff -u -r1.10 mmsc_cfg.c --- mmsc/mmsc_cfg.c 10 Mar 2006 05:38:29 -0000 1.10 +++ mmsc/mmsc_cfg.c 24 Mar 2006 14:45:08 -0000 @@ -83,15 +83,6 @@ if (proxyrelays) *proxyrelays = mms_proxy_relays(cfg); - s = _mms_cfg_getx(grp, octstr_imm("local-mmsc-domains")); - - if (s) { - l = octstr_split(s, octstr_imm(",")); - octstr_destroy(s); - } else - l = list_create(); - m->local_domains = l; - if (mms_cfg_get_int(grp, octstr_imm("max-send-threads"), &m->maxthreads) == -1) m->maxthreads = 10; Index: mmsc/mmsc_cfg.h =================================================================== RCS file: /cvsroot/mbuni/mbuni/mmsc/mmsc_cfg.h,v retrieving revision 1.6 diff -u -r1.6 mmsc_cfg.h --- mmsc/mmsc_cfg.h 28 Feb 2006 10:36:36 -0000 1.6 +++ mmsc/mmsc_cfg.h 24 Mar 2006 14:45:08 -0000 @@ -36,7 +36,6 @@ typedef struct MmscSettings { Octstr *system_user; Octstr *name, *hostname, *host_alias; - List *local_domains; Octstr *unified_prefix, *local_prefix; Octstr *sendmail; Octstr *global_queuedir, *mm1_queuedir, *mm4_queuedir;
_______________________________________________ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org