1
0
Fork 0

minor mms-service config fix

This commit is contained in:
bagyenda 2008-03-26 11:30:54 +00:00
parent be411e731b
commit 2179aa0b3c
5 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,5 @@
2008-03-26 P. A. Bagyenda <bagyenda@dsmagic.com>
* Minor fix: mmsbox mms-service handling of POST parameters where no % spec given
2008-02-17 P. A. Bagyenda <bagyenda@dsmagic.com>
* Better throughput limit handling in MMSBox (thanks to Vincent Chavanis <vincent@telemaque.fr)
2007-12-21 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -24,7 +24,7 @@ group = mms-service
name = me
post-url = http://localhost/~bagyenda/test-mbuni.php
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t
http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
accept-x-mbuni-headers = true
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
keyword = test

View File

@ -2998,7 +2998,7 @@ A detailed list of configuration parameters for MMS Services is given below.
Strings
</td>
<td valign=top >
Colon-separated strings: List of receiver short code prefixes
Semicolon-separated strings: List of receiver short code prefixes
allowed to use
this MMS Service.
</td>
@ -3012,7 +3012,7 @@ A detailed list of configuration parameters for MMS Services is given below.
Strings
</td>
<td valign=top >
Colon-separated strings: List of receiver short code prefixes not
Semicolon-separated strings: List of receiver short code prefixes not
allowed to use
this MMS Service.

View File

@ -85,7 +85,7 @@ int mms_load_core_settings(mCfgGrp *cgrp)
mms_cfg_get_int(cgrp, octstr_imm("http-proxy-port"), &http_proxy_port);
if (http_proxy_port > 0)
http_use_proxy(http_proxy_host, http_proxy_port,
http_use_proxy(http_proxy_host, http_proxy_port,
exceptions, username, password, except_regex);
octstr_destroy(http_proxy_host);
octstr_destroy(username);

View File

@ -436,8 +436,10 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func)
break;
}
p->value = octstr_copy(y, ii+3, octstr_len(y));
} else /* No conversion spec. */
} else { /* No conversion spec. */
p->type = NO_PART;
p->value = octstr_copy(y, ii+1, octstr_len(y));
}
gwlist_append(m->params, p);
} else
warning(0, "MMSBox: Missing http-post-parameter name? Service [%s]!",