minor fix: bearerbox mm7 parsing
This commit is contained in:
parent
f0a3e8a350
commit
83312fbf45
|
@ -623,15 +623,14 @@ static Octstr *mm7soap_send(MmscGrp *mmc, Octstr *from, Octstr *to,
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
info(0, "Send to MMSC[%s], failed, code=[%d=>%s], detail=[%s]",
|
info(0, "Send to MMSC[%s], failed, code=[%d=>%s], detail=[%s]",
|
||||||
mmc ? octstr_get_cstr(mmc->id) : "",
|
mmc ? octstr_get_cstr(mmc->id) : "",
|
||||||
tstatus, tmp ? tmp : "(null)",
|
tstatus, tmp ? tmp : "",
|
||||||
detail ? octstr_get_cstr(detail) : "(empty)");
|
detail ? octstr_get_cstr(detail) : "");
|
||||||
|
|
||||||
*error = octstr_format("Failed to deliver to MMC[url=%s, id=%s], status=[%d=>%s]!",
|
*error = octstr_format("Failed to deliver to MMC[url=%s, id=%S], status=[%d=>%S]!",
|
||||||
octstr_get_cstr(mmc->mmsc_url),
|
mmc->mmsc_url,
|
||||||
octstr_get_cstr(mmc->id),
|
mmc->id,
|
||||||
tstatus,
|
tstatus,
|
||||||
tmp ? tmp : "(null)");
|
tmp);
|
||||||
|
|
||||||
octstr_destroy(detail);
|
octstr_destroy(detail);
|
||||||
} else {
|
} else {
|
||||||
ret = mm7_soap_header_value(mresp, octstr_imm("MessageID"));
|
ret = mm7_soap_header_value(mresp, octstr_imm("MessageID"));
|
||||||
|
|
Loading…
Reference in New Issue