1
0
Fork 0

new configs

This commit is contained in:
bagyenda 2007-12-15 10:07:21 +00:00
parent d0714028b5
commit 6cad727c78
4 changed files with 5 additions and 5 deletions

View File

@ -2992,7 +2992,7 @@ A detailed list of configuration parameters for MMS Services is given below.
<tr>
<td valign=top >
<tt>accepted-receiver-prefix</tt>
<tt>allowed-receiver-prefix</tt>
</td>
<td valign=top >
Strings

View File

@ -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)

View File

@ -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);

View File

@ -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)