From 142c9f83420a5aaae03254a0e0d48b5a325aa4a9 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Sat, 6 May 2006 14:08:12 +0000 Subject: [PATCH] Improved logging of NotifyResp messages om MM1 interface --- mbuni/mmsc/mmsproxy.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mbuni/mmsc/mmsproxy.c b/mbuni/mmsc/mmsproxy.c index cfd7901..0e57f27 100644 --- a/mbuni/mmsc/mmsproxy.c +++ b/mbuni/mmsc/mmsproxy.c @@ -913,7 +913,9 @@ static void sendmms_proxy(MmsHTTPClientInfo *h) MmsMsg *mrpt; - + if (m) + mms_msgdump(m,1); + if (mtype == MMS_MSGTYPE_NOTIFYRESP) status = mms_get_header_value(m, octstr_imm("X-Mms-Status")); else /* This (acknowledge-ind) is the same as notify_resp with status=retrieved. */ @@ -965,7 +967,8 @@ static void sendmms_proxy(MmsHTTPClientInfo *h) mdone: /* 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 && mms_queue_update(e) != 1) /* Should be freed. */