Extended account callbacks

Extended account callbacks SearchSearch
Author Message
Alex Kaiser
New member
Username: Alex_k

Post Number: 7
Registered: 07-2006
Posted on Wednesday, September 20, 2006 - 01:34 pm:   

Hi Bryce!

We are using MS SQL for storing messages
and i'm asking for the following improvements:
1. Include message id issued by nowsms to the client's bind to PreAuth request. Message is accepted by our system but we can not register it in databse without sender id.
2. Include SMSCMessageId and ModemName parameters in SMSSend callback. Would be very useful for reporting and problem solving.
3. Add DeliveryReportReceived callback then we can register DRs in database.

Regards,
Alex


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6557
Registered: 10-2002
Posted on Wednesday, September 20, 2006 - 11:07 pm:   

Hi Alex,

We can take a closer look at implementing some of this, but I need to clarify it some first.

1. We can't include a message-id at this point, because it hasn't been generated yet. The PreAuth is just asking for permission. We could add it to the SMSSend (if it is not already there, isn't it).

2. We can't do this in the SMSSend callback, because we don't yet have this information. This callback indicates that the message has been accepted by NowSMS ... it doesn't mean that it has been routed.

I think what we would need to do is add a new callback ... something like an "SMSOut", which gets triggered when a message is actually delivered externally to an SMSC connection. This callback would have similar information to what we record in the SMSOUT log file.

We added a similar optional callback "MMSOut" for the MMS accounting callbacks to address similar needs in MMS environments. So I'm thinking an optional "SMSOut" callback might be a good idea here (bare bones implementation would have NowSMS message id, SMSC message id, and SMSC name).

3. If we did the "SMSOut" callback, then I think this could be added as well.

Does this make sense?

-bn
Alex Kaiser
New member
Username: Alex_k

Post Number: 8
Registered: 07-2006
Posted on Thursday, September 21, 2006 - 09:35 am:   

Hi Bryce!

Thank you for your fast response!

I was wrongly thinking that SMSSend callback
is issued before routing message to SMSC. Now
i understood that SMSSend goes after PreAuth.
Sorry for misleading you, my items 1 and 2 are
useless.

SMSOut and DeliveryReportReceived callbacks would
be perfect for customer's reporting.
until SMSOut is issued we think that message queued
up and waiting for delivery to SMSC.
By DeliveryReportReceived then you can register
message state and forward this information to
the customer.

Also i think that you should divide callbacks URL.
Why? PreAuth aimed to AntiSpam systems, it's better
when you use dedicated server for traffic analyzing.
Other callbacks in use for database storing and reports
generating, you need different preferences on such
servers, as well as different hardware configuration.

When you plan to implement SQL engine for storing
messages? It will increases overall system performance.

Regards,
Alex K.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6561
Registered: 10-2002
Posted on Thursday, September 21, 2006 - 03:29 pm:   

Hi Alex,

It is going to take me some time before I can get back to you on these issues. We are trying to release a full maintenance update of NowSMS next week or the following week. So we are trying to avoid any major changes until we can complete testing on this maintenance update.

After that, we'll get back to releasing periodic update patches with new capabilities.

We are looking into some SQL options, but we need something simple. Something that can be easily embedded into NowSMS, so that we don't end up increasing our support load in the process (especially for the simpler configurations that we see in testing environments).

I'd appreciate any suggestions that you have in this area. We've been looking into a few options, but we are still early in the process.

-bn
Alex Kaiser
New member
Username: Alex_k

Post Number: 9
Registered: 07-2006
Posted on Tuesday, November 07, 2006 - 10:55 am:   

Hello Bryce,

I've examined last update 20061030 and didn't find anything suitable for extended callbacks, mentioned in this topic... Also provision of allowed sms users via HTTP request, will be great, maybe you remember that we've discussed that on the board. When you will implement these features?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6785
Registered: 10-2002
Posted on Tuesday, November 07, 2006 - 04:27 pm:   

Hi Alex,

What we have here is a time warp. The full maintenance update that I referenced above took a month longer than expected to finalise.

So we're just now getting back to the periodic update patches.

I can't make any promises about the allowed user provisioning, but we are currently studying additions to the accounting callbacks.

-bn