*** empty log message ***
This commit is contained in:
parent
6cad727c78
commit
d06fa69106
|
@ -31,7 +31,7 @@ Octstr *incoming_qdir, *outgoing_qdir, *dlr_dir;
|
||||||
long mmsbox_maxsendattempts, mmsbox_send_back_off, default_msgexpiry;
|
long mmsbox_maxsendattempts, mmsbox_send_back_off, default_msgexpiry;
|
||||||
long maxthreads = 0;
|
long maxthreads = 0;
|
||||||
double queue_interval = -1;
|
double queue_interval = -1;
|
||||||
Octstr *unified_prefix;
|
Octstr *unified_prefix = NULL;
|
||||||
int mt_multipart = 0;
|
int mt_multipart = 0;
|
||||||
MmsQueueHandlerFuncs *qfs; /* queue functions. */
|
MmsQueueHandlerFuncs *qfs; /* queue functions. */
|
||||||
MmsBoxResolverFuncStruct *rfs; /* resolver functions. */
|
MmsBoxResolverFuncStruct *rfs; /* resolver functions. */
|
||||||
|
@ -125,7 +125,7 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// unified_prefix = _mms_cfg_getx(grp, octstr_imm("unified-prefix"));
|
unified_prefix = _mms_cfg_getx(grp, octstr_imm("unified-prefix"));
|
||||||
|
|
||||||
mms_cfg_get_int(grp, octstr_imm("sendmms-port"), &sendmms_port.port);
|
mms_cfg_get_int(grp, octstr_imm("sendmms-port"), &sendmms_port.port);
|
||||||
#ifdef HAVE_LIBSSL
|
#ifdef HAVE_LIBSSL
|
||||||
|
@ -514,12 +514,15 @@ Octstr *get_mmsbox_queue_dir(Octstr *from, List *to, MmscGrp *m,
|
||||||
Octstr *fto = gwlist_extract_first(to);
|
Octstr *fto = gwlist_extract_first(to);
|
||||||
Octstr *xfrom = octstr_duplicate(from);
|
Octstr *xfrom = octstr_duplicate(from);
|
||||||
|
|
||||||
_mms_fixup_address(&xfrom, octstr_get_cstr(unified_prefix), 0);
|
if (unified_prefix)
|
||||||
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 0);
|
_mms_fixup_address(&xfrom, octstr_get_cstr(unified_prefix), 0);
|
||||||
|
if (unified_prefix)
|
||||||
|
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 0);
|
||||||
|
|
||||||
_mcid = rfs->mmsbox_resolve(xfrom,fto,octstr_get_cstr(m->id), rfs_data, rfs_settings);
|
_mcid = rfs->mmsbox_resolve(xfrom,fto,octstr_get_cstr(m->id), rfs_data, rfs_settings);
|
||||||
|
|
||||||
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 1);
|
if (unified_prefix)
|
||||||
|
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 1);
|
||||||
if (fto)
|
if (fto)
|
||||||
gwlist_insert(to, 0, fto); /* put it back, after modification. */
|
gwlist_insert(to, 0, fto); /* put it back, after modification. */
|
||||||
if (xfrom) {
|
if (xfrom) {
|
||||||
|
|
Loading…
Reference in New Issue