Dear all,

I was trying to optmize my actual  process of sending SMS, to be able to send bulk SMS avoiding the use of a large amount of sockets connected to the port 13013 of my kannel smsbox.

 

My actual php process for sending sms to smsbox is doing the following steps:

 

1- Validates the request for sending an SMS.

2- Inserts the SMS request id into the datadabase (an autoincrement id that corresponds to the smsid).

3- Sends the sms to the smsbox (an http get request to Kannel http://IP/cgi-bin/sendsms), using also the dlr mask and the dlrurl: http://IP/mydlr.php?smsid... so that Kannel can correlate the right DLR to the right smsid.

 

So far so good! My question now , is when I have thousands of sms requests to send, which means thousands of get http and so thousands of sockets opened to 13013. How can avoid this? Is this going to degrade my HTTP server performance? How can I have only one smsbox socket 13013 opened while I'm sending bulk sms?

 

Of course I know that the Kannel's CGI sendsms has the feature of sending bulk sms using several numbers on the field TO for the same request, but I cannot use this solution since I'm using the DLR, which means Kannel must call my dlr.php  for each sms.

 

Can someone help on this matter I would apreciate a lot!

I

 

Best Regards

Michele


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to