Thanks Vincent. My eyes have been known to play tricks on me (particularly Friday evenings!), so I had to be sure.

I have also posted a whole range of changes to improve message parsing, MM4 handling and such. Changelog for details. Please test, those who can, and provide feedback.

Thanks

Paul.


On Mar 21, 2007, at 18:20, Vincent CHAVANIS wrote:

Sorry,

This was not the good file.
I see that you have made the changes Thansk !

Vincent.



----- Original Message ----- From: "Paul Bagyenda" <[EMAIL PROTECTED]>
To: "Mbuni MMS Gateway Developers" <devel@mbuni.org>
Sent: Monday, March 19, 2007 11:26 AM
Subject: [Devel] Re: [PATCH] MM7_SOAP_COMMAND_REJECTED error 3005


Hi Vincent,
 Please clarify this patch:
1) The changes to mms_util.h are nowhere in mbuni CVS
2) The error you mention would not cause a re-queueing of the message anyway.
P.
On Mar 14, 2007, at 02:20, Vincent CHAVANIS wrote:
Hi all,

Thi patch fixes the command rejected 3005 from the MMSC
A rejected command should not be requeued to be send later.

Vincent.



diff -rbau /mbuni-cvs/mmlib/mms_mm7soap.h /mbuni/mmlib/mms_mm7soap.h
--- /mbuni-cvs/mmlib/mms_mm7soap.h 2006-11-28 13:00:20.000000000 +0100
+++ /mbuni/mmlib/mms_mm7soap.h  2007-03-12 17:52:54.000000000 +0100
@@ -16,6 +16,7 @@

#define MM7_SOAP_OK 1000
#define MM7_SOAP_FORMAT_CORRUPT 2007
+#define MM7_SOAP_COMMAND_REJECTED 3005
#define MM7_SOAP_UNSUPPORTED_OPERATION 4003
#define MM7_SOAP_STATUS_OK(e) ((e) / 1000 == 1)
#define  MM7_DEFAULT_VERSION "5.3.0"


diff -rbau /mbuni-cvs/mmlib/mms_util.h /mbuni/mmlib/mms_util.h
--- /mbuni-cvs/mmlib/mms_util.h 2006-11-25 12:53:40.000000000 +0100
+++ /mbuni/mmlib/mms_util.h     2007-01-23 11:21:41.000000000 +0100
@@ -597,12 +609,12 @@
     } else
         tstatus = MM7_SOAP_FORMAT_CORRUPT;

-     if (!MM7_SOAP_STATUS_OK(tstatus)) {
+ if (!MM7_SOAP_STATUS_OK(tstatus) && tstatus != MM7_SOAP_COMMAND_REJECTED) { Octstr *detail = mm7_soap_header_value(mresp, octstr_imm ("Details"));
         if (detail == NULL)
              mm7_soap_header_value(mresp, octstr_imm("faultcode"));
         ret = NULL;



--
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC
Developpement SMS/MMS/Kiosques
http://www.telemaque.fr/
[EMAIL PROTECTED]
Tel : +33 4 92 90 99 84 (fax 9142)

_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel



_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to