A few simple questions... | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through November 21, 2009 ⬆ |
◄ ► |
Author | Message | |||
Danny New member Username: Dannydisco Post Number: 1 Registered: 02-2009 |
Hi, i have just downloaded the demo version of NOW SMS, as im on the lookout for a sms service. I need the program to perform very little tasks, the tasks are as follows. *Intergrate a pre-existing mobile number database into it. *Send out bulk sms to the numbers *Have a 2way system set up, so if say one of the numbers replys back with the word 'Stop' the program will than automatically remove them off the database. *People can subscribe to the service, be entering a similar tirgger word, but this time add the number to the database and not remove it *Search for duplicates *Have automated responses for certain messeges sent to it That is all i can come up with at the moment, i have worked out the first two, but the other ones i can't seem to get my head around. Any help would be appreciated. Kind Regards. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 508 Registered: 08-2008 |
Hi Danny, A couple of things to keep in mind about NowSMS, that will maybe help you understand it better. First ... it's not an SMS service provider, and it's not a replacement for an SMS service provider. You can't send any messages using NowSMS without at least a connection to an SMS service provider and/or a GSM modem. (More details at http://www.nowsms.com/whatisnowsms.htm.) Second, NowSMS is middleware. What I mean by this is that the customer usually has some additional custom program logic that they are using to integrate NowSMS into their system. It sounds like you already understand those two points. I just mention them to make sure we're on the same page ... lots of people get confused right out of the gate. An application that wants to send SMS messages usually uses HTTP to interface with NowSMS. Your application can manage your distribution list, or you can manage it on the NowSMS server. The following two links talk about managing distribution lists on the NowSMS server: http://blog.nowsms.com/2007/06/editing-distribution-lists-and-address.html http://support.nowsms.com/discus/messages/485/20322.html That said, let's talk about your other questions...
This would be a good question for me to write an example script about. I wish we already had such an example that I could share ... but for now, I'm putting that on my to-do list. Basically, the "2-way" command facility allows you to have different scripts called based upon different commands (prefixes) in the received SMS message. So a message that starts with a prefix of "STOP" could remove the sender from the distribution list and send a reply back confirming the action. If you were using NowSMS distribution lists, your script could initiate a new HTTP connection back to the NowSMS server in order to perform this task: http://server:port/dlists?DListName=dlistName&DListMemberAction=Delete&DListMemb er=number The concept of your script making an HTTP request back to the NowSMS server might seem a little unusual if you've never done this type of thing before, but it's actually pretty simple. In fact, it's very similar to what you would do when submitting an SMS message via HTTP, just a different URL.
Similar to the above example, your script could connect to the following URL. http://server:port/dlists?DListName=dlistName&DListMemberAction=Add&DListMember= number
If you're managing the Dlists on NowSMS, using the URL interface for adding, it won't add a duplicate.
You can have command prefix of "*", which is considered a match on any messages that don't match any of your other commannd prefixes. 2-way SMS pointers: http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm http://support.nowsms.com/discus/messages/1/4520.html -- Des NowSMS Support | |||
Sajid Ahmed New member Username: Sajid Post Number: 30 Registered: 10-2008 |
Hi Danny, What all you said is doable and i have done it by using java,servlets. Its like subscription package. when a user sends request to subscribe user will be notified by sending message that you have been subscribe to so and so contents and user will be recieving content lets say everyday/weeekly twice/etc untill user sends unsubscribe request.once user sends unsubscribe request user will be alerted by sending another notification message saying you are now unsubscribe.here the data is not going to be store in now/sms/mms gateway instead data will be stored in database.By Data i mean phone numbers or content it self,whether it could be images,sms,mms,wap messages.it will be an application which process user request from nowsms/mms by using 2-way and using smpp deliver to smsc and using mmsc route sending mms. If you are interested to know much more about this application ping me on skype : sonu4u_2007 Thanks & Regards, Sajid |