From 6cad727c7836bcfe69f6d5676ebb00c531608a3a Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Sat, 15 Dec 2007 10:07:21 +0000 Subject: [PATCH] new configs --- mbuni/doc/userguide.shtml | 2 +- mbuni/mmlib/mms_cfg.def | 4 ++-- mbuni/mmsbox/mmsbox.c | 2 +- mbuni/mmsbox/mmsbox_cfg.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mbuni/doc/userguide.shtml b/mbuni/doc/userguide.shtml index 9bb7d7e..ee14feb 100644 --- a/mbuni/doc/userguide.shtml +++ b/mbuni/doc/userguide.shtml @@ -2992,7 +2992,7 @@ A detailed list of configuration parameters for MMS Services is given below. - accepted-receiver-prefix + allowed-receiver-prefix Strings diff --git a/mbuni/mmlib/mms_cfg.def b/mbuni/mmlib/mms_cfg.def index 7c89388..bb3527d 100644 --- a/mbuni/mmlib/mms_cfg.def +++ b/mbuni/mmlib/mms_cfg.def @@ -134,7 +134,7 @@ MULTI_GROUP(mmsc, OCTSTR(allowed-prefix) OCTSTR(denied-prefix) OCTSTR(denied-sender-prefix) - OCTSTR(accepted-sender-prefix) + OCTSTR(allowed-sender-prefix) OCTSTR(incoming-port-ssl) OCTSTR(max-throughput) OCTSTR(type) @@ -166,7 +166,7 @@ MULTI_GROUP(mms-service, OCTSTR(accepted-mmscs) OCTSTR(denied-mmscs) OCTSTR(denied-receiver-prefix) - OCTSTR(accepted-receiver-prefix) + OCTSTR(allowed-receiver-prefix) OCTSTR(keyword) OCTSTR(aliases) OCTSTR(http-post-parameters) diff --git a/mbuni/mmsbox/mmsbox.c b/mbuni/mmsbox/mmsbox.c index 74ff1a5..2911a94 100644 --- a/mbuni/mmsbox/mmsbox.c +++ b/mbuni/mmsbox/mmsbox.c @@ -139,7 +139,7 @@ static MmsService *get_service(Octstr *keyword, Octstr *mmc_id, Octstr *receiver { int i, n; MmsService *catch_all = NULL; - Octstr *phonenum = receiver ? extract_phonenum(receiver, unified_prefix) : NULL; + Octstr *phonenum = receiver ? extract_phonenum(receiver, NULL) : NULL; for (i = 0, n = gwlist_len(mms_services); i < n; i++) { MmsService *ms = gwlist_get(mms_services,i); diff --git a/mbuni/mmsbox/mmsbox_cfg.c b/mbuni/mmsbox/mmsbox_cfg.c index 46d078b..85ec972 100644 --- a/mbuni/mmsbox/mmsbox_cfg.c +++ b/mbuni/mmsbox/mmsbox_cfg.c @@ -469,7 +469,7 @@ MmscGrp *get_handler_mmc(Octstr *id, Octstr *to, Octstr *from) return gwlist_get(mmscs, 0); phonenum = extract_phonenum(to, unified_prefix); - xfrom = extract_phonenum(from, unified_prefix); + xfrom = extract_phonenum(from, NULL); for (i = 0, n = gwlist_len(mmscs); i < n; i++) { if ((mmc = gwlist_get(mmscs, i)) == NULL)