new configs
This commit is contained in:
parent
d0714028b5
commit
6cad727c78
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue