Improved logging of NotifyResp messages om MM1 interface
This commit is contained in:
parent
ea8bce278a
commit
142c9f8342
|
@ -913,7 +913,9 @@ static void sendmms_proxy(MmsHTTPClientInfo *h)
|
||||||
|
|
||||||
MmsMsg *mrpt;
|
MmsMsg *mrpt;
|
||||||
|
|
||||||
|
if (m)
|
||||||
|
mms_msgdump(m,1);
|
||||||
|
|
||||||
if (mtype == MMS_MSGTYPE_NOTIFYRESP)
|
if (mtype == MMS_MSGTYPE_NOTIFYRESP)
|
||||||
status = mms_get_header_value(m, octstr_imm("X-Mms-Status"));
|
status = mms_get_header_value(m, octstr_imm("X-Mms-Status"));
|
||||||
else /* This (acknowledge-ind) is the same as notify_resp with status=retrieved. */
|
else /* This (acknowledge-ind) is the same as notify_resp with status=retrieved. */
|
||||||
|
@ -965,7 +967,8 @@ static void sendmms_proxy(MmsHTTPClientInfo *h)
|
||||||
mdone:
|
mdone:
|
||||||
|
|
||||||
/* Log to access log */
|
/* Log to access log */
|
||||||
mms_log2("NotifyResp", h->client_addr, NULL, msize, transid, NULL, NULL, "MM1", h->ua, NULL);
|
mms_log2("NotifyResp", h->client_addr, NULL, msize, transid, status, NULL, "MM1",
|
||||||
|
h->ua, NULL);
|
||||||
|
|
||||||
if (e &&
|
if (e &&
|
||||||
mms_queue_update(e) != 1) /* Should be freed. */
|
mms_queue_update(e) != 1) /* Should be freed. */
|
||||||
|
|
Loading…
Reference in New Issue