MMSC accounting callback with multiple recipients doesn't fit prepa...

MMSC accounting callback with multiple recipients doesn't fit prepa... SearchSearch
Author Message
Awal Junanto
New member
Username: Junanto

Post Number: 7
Registered: 04-2009
Posted on Monday, March 07, 2011 - 01:53 pm:   

Hi,

The mechanism used by MMSC accounting callback when multiple recipients are specified in the message is to invoke the callback handler only ONCE specifying ALL recipients as a comma delimited list like below:

http://localhost/accounting/?PreAuth=Yes&Type=MMSSend&From=+111&To=+222,+333&VASP=MM4OUT,MM4OUT&MsgCount=2&Size=540

Since the only possible answer specified by the protocol is only YES TO ALL or NO TO ALL, then there is no way of telling NowMMS to allow partial recipients and block others. For example, imagine that the sender is prepaid and that his remaining credit is only enough to send to the one of those recipients.

It is much easier for us if you can send one accounting callback for each recipient, even if the sender specifies multiple recipients in his MMS. Just like for MMSC routing callback.

Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2978
Registered: 08-2008
Posted on Monday, March 07, 2011 - 10:45 pm:   

Hi,

I understand your point. However, the problem is that this is a single transaction from the MMS client.

The MMSC either has to tell the client that it accepted the message, or return an error back to the client. There is no facility to indicate partial success (at least not in the MM1 protocol which is what phones use to communicate with the MMSC).

If the user is sending to more than one recipient, we didn't think it was fair to indicate success if all recipients could not be accepted.

--
Des
NowSMS Support
Awal Junanto
New member
Username: Junanto

Post Number: 8
Registered: 04-2009
Posted on Thursday, March 10, 2011 - 07:25 am:   

Thanks for the reply Des

In my opinion, in case of partial acceptance it is possible to return a positive reply at MM1_submit level and then, if the user requests it, report individual success/failure by MM1_delivery_report. This is the same behaviour as when partial recipients fail at MM4 level.

Thanks