MMS sent successful ID

MMS sent successful ID SearchSearch
Author Message
david
Unregistered guest
Posted on Sunday, January 16, 2005 - 09:43 am:   

Hi,
Is it possible to programmatically retreive the mms successfully sent ID?

Looking at the mmsc-yyyymmdd.log file, I can see something like these :
2005-01-16 17:03:14,MMSIN,127.0.0.1,,xxx,VASP:xxx,2BA7E1C2.mms,40315
2005-01-16 17:04:22,MMSOUT,VASP:xxx,,xxx,OK,2BA7E1C2.MMS,40512

Are the 2 sets of last 5-digits somekind of IDs?

thanks
david
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3876
Registered: 10-2002
Posted on Monday, January 17, 2005 - 05:27 pm:   

Hi David,

The last 5 digits are the message size.

Unfortunately, we don't log the ID that is assigned to a message when it is transmitted to an external entity.

But in most cases (MM7/MM1/EAIF), we do parse it ... we just don't log it. If you requested a delivery notification, we even track the id assigned and correlate it with our id, so if a delivery notification is received later we can replace the external message id with our id before routing it back.

I'm wondering if maybe we could replace the "OK" in the log file with the external message id.

I always hate considering any log file changes, because of the potential that it could mess something up for someone else.

But that said, it would be useful to get that id into the logs.

Thoughts?
David
Unregistered guest
Posted on Tuesday, January 18, 2005 - 08:53 am:   

Hi Bryce,
Thank you. May be I did not phrase my query correctly. I am not referring to the delivery notice, sorry about the miscom.

Actually I want to know if it possible for me to programmatically get a ID and status when I submit a mms message to the gateway? These are the things which I would like to do with the status and ID.
For example, if the status return is ok, then my program will continue to send the next mms message in the queue. However if the status return is an error, then my program will execute an error routine.

As for the ID, it would enable me reconcile my submission record against the gateway log.

However, the current version of (5.51a) of the gateway only return "Message submitted and a continue link".

best regards
David
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3928
Registered: 10-2002
Posted on Tuesday, January 18, 2005 - 10:50 pm:   

Hi David,

We do return IDs in the MM7 and EAIF interfaces, but not in the URL/POST interface.

We recently added IDs in the HTTP return for SMS submissions, but the MMS interface is a bit more complicated.

I'll make a note to ask a developer to look at this in some more detail, and see if a fresh look yields another idea on how to return this id.

(The problem is that these submissions go through the web interface of the SMS gateway component, instead of directly to the MMSC.)

-bn
David
Unregistered guest
Posted on Wednesday, January 19, 2005 - 01:51 am:   

Hi Bryce,
Thank you. It would be good if these 2 values (ID and Status) are return after each MMS submission. Awaiting for your good news.

best regards
David
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3932
Registered: 10-2002
Posted on Thursday, January 20, 2005 - 05:15 pm:   

Hi David,

If there is an ID then the status is ok.

Right now, we are returning ID's on SMS submissions, but not on MMS submissions.

There is a small change in the v5.51 update patch at http://www.nowsms.com/download/latestpatch.zip which adds an "MMSMessageID=" return paramter when MMS messages are submitted.

-bn