minor mms-service config fix
This commit is contained in:
parent
be411e731b
commit
2179aa0b3c
|
@ -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>
|
2008-02-17 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
* Better throughput limit handling in MMSBox (thanks to Vincent Chavanis <vincent@telemaque.fr)
|
* Better throughput limit handling in MMSBox (thanks to Vincent Chavanis <vincent@telemaque.fr)
|
||||||
2007-12-21 P. A. Bagyenda <bagyenda@dsmagic.com>
|
2007-12-21 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
|
|
@ -24,7 +24,7 @@ group = mms-service
|
||||||
name = me
|
name = me
|
||||||
post-url = http://localhost/~bagyenda/test-mbuni.php
|
post-url = http://localhost/~bagyenda/test-mbuni.php
|
||||||
catch-all = true
|
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
|
accept-x-mbuni-headers = true
|
||||||
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
|
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
|
||||||
keyword = test
|
keyword = test
|
||||||
|
|
|
@ -2998,7 +2998,7 @@ A detailed list of configuration parameters for MMS Services is given below.
|
||||||
Strings
|
Strings
|
||||||
</td>
|
</td>
|
||||||
<td valign=top >
|
<td valign=top >
|
||||||
Colon-separated strings: List of receiver short code prefixes
|
Semicolon-separated strings: List of receiver short code prefixes
|
||||||
allowed to use
|
allowed to use
|
||||||
this MMS Service.
|
this MMS Service.
|
||||||
</td>
|
</td>
|
||||||
|
@ -3012,7 +3012,7 @@ A detailed list of configuration parameters for MMS Services is given below.
|
||||||
Strings
|
Strings
|
||||||
</td>
|
</td>
|
||||||
<td valign=top >
|
<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
|
allowed to use
|
||||||
this MMS Service.
|
this MMS Service.
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ int mms_load_core_settings(mCfgGrp *cgrp)
|
||||||
mms_cfg_get_int(cgrp, octstr_imm("http-proxy-port"), &http_proxy_port);
|
mms_cfg_get_int(cgrp, octstr_imm("http-proxy-port"), &http_proxy_port);
|
||||||
|
|
||||||
if (http_proxy_port > 0)
|
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);
|
exceptions, username, password, except_regex);
|
||||||
octstr_destroy(http_proxy_host);
|
octstr_destroy(http_proxy_host);
|
||||||
octstr_destroy(username);
|
octstr_destroy(username);
|
||||||
|
|
|
@ -436,8 +436,10 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
p->value = octstr_copy(y, ii+3, octstr_len(y));
|
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));
|
p->value = octstr_copy(y, ii+1, octstr_len(y));
|
||||||
|
}
|
||||||
gwlist_append(m->params, p);
|
gwlist_append(m->params, p);
|
||||||
} else
|
} else
|
||||||
warning(0, "MMSBox: Missing http-post-parameter name? Service [%s]!",
|
warning(0, "MMSBox: Missing http-post-parameter name? Service [%s]!",
|
||||||
|
|
Loading…
Reference in New Issue