Q Directory filling up!

Q Directory filling up! SearchSearch
Author Message
Diego Anero
New member
Username: Diegolan

Post Number: 15
Registered: 04-2006
Posted on Monday, October 16, 2006 - 05:07 pm:   

Hello Bryce,

Quick question for which I can't find answer in the documentation.

I'm sending about 100,000 sms per day via the web interface. Messages are sent with delivery receipt activated.

The Q folder in the user directory being used fills up really fast with messages. In a week it has over one million files and I can't open it without the server stalling.

The SMS log files in the user directory are being correctly generated, but I thought once this happened the files in the Q directory would dissapear.

Am I missing some configuration in the user profile?

Thanks
Diego.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6695
Registered: 10-2002
Posted on Wednesday, October 18, 2006 - 08:58 pm:   

Hi Diego,

What Q folder is filling up really fast?

It sounds like these are the delivery receipts coming back ... and they are being queued for pickup by an SMPP client. But I suspect that no SMPP client is connecting back in to pick them up.

What is your intent for how to process the receipts?

Do you want them to go to a 2-way command for processing? If so, then make sure that the "SMS Users" account from which you are sending these messages does not have "SMPP Login" available.

-bn
Diego Anero
New member
Username: Diegolan

Post Number: 16
Registered: 04-2006
Posted on Wednesday, October 18, 2006 - 11:51 pm:   

Hi Bryce,

Yes, it is a user account directory Q filling up with delivery receipts. The thing is, that SMPP login is NOT selected in the user properties.

I'm wondering if the latest patch you provided for me to request Deliver receipts by default regardless of whether the user requests them or not, is the culprit.

In any case, does a delivery receipt always have to go to EITHER 2-way sms (if its selected) or back to the user? Can it be both?

Also (last question ;-), are there any other parameters besides the wildcard * and simple text that can be used to filter the 2-way sms coming back? In the case of delivery receipts, the wildecard and simple text, is not enough to filter properly.

THanks for any insight into this.
Regards,
Diego.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6712
Registered: 10-2002
Posted on Friday, October 20, 2006 - 10:21 pm:   

Hi Diego,

For some reason it sounds familiar to me that there was an interim release or two where receipts were getting queued for a user account pickup in situations where SMPP (or SMTP) login was not enabled.

We've just posted a new patch this week ... http://www.nowsms.com/download/patch2006.zip ... and I've just tested and confirmed that this definitely does not happen with this version. But for some reason this does stick in my head as a problem that we observed at some point.

Give that update a try, as it still includes the logic that was added for enabling the delivery receipts by default.


quote:

In any case, does a delivery receipt always have to go to EITHER 2-way sms (if its selected) or back to the user? Can it be both?




Yes. No.

The delivery receipt gets routed back to the sending user if SMPP or SMTP login is enabled for the user.

Otherwise, it goes to 2-way SMS ... and if "process received messages" is not enabled, they will pile up in the "SMS-IN" directory.

As for the ability to do both, we're planning to add an inbound SMS accounting callback that could also facilitate similar functionality 2-way SMS for messages that are getting routed to a local user account. (Unfortunately, I don't have a time estimate on that yet.)


quote:

Also (last question ;-), are there any other parameters besides the wildcard * and simple text that can be used to filter the 2-way sms coming back? In the case of delivery receipts, the wildecard and simple text, is not enough to filter properly.




"id:*" should trap receipts that get routed to the 2-way interface, unless you're dealing with a provider that is sending them in some other format?

-bn
Diego Anero
New member
Username: Diegolan

Post Number: 17
Registered: 04-2006
Posted on Tuesday, October 24, 2006 - 10:53 am:   

Thanks Bryce,

Will give it a shot and get back.

Regarding the last question about the wildcard, does the filtering process take place just on the actual text content returned by the incoming sms or delivery receipt, or can it also be used to filter user and senderaddress that are stored in the log files?

An example would be, i Just want 2-way filter for incoming delivery receipts from user diego.
Would "diego" do the trick, and trap everything coming from this user?

Thanks
Diego.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6735
Registered: 10-2002
Posted on Tuesday, October 24, 2006 - 12:27 pm:   

Hi Diego,

No, the 2 way command would filter receipts for any user that does not have SMPP or SMTP login enabled.

-bn