Consulting about NowSMS application - Urgently

Consulting about NowSMS application - Urgently SearchSearch
Author Message
kariem hamdy
New member
Username: Itchrome

Post Number: 2
Registered: 04-2010
Posted on Thursday, April 15, 2010 - 09:21 am:   

for command to execute “c:\winnt\system32\cmd.exe /c echo Echo @@FULLSMS@@”
i think this command would help me for autoreply on sms through nowsms application, right ?

i have attached to you SMPP config. that i received from my Service provider, please check it and let me know how u can help me in this issue ?

to make it clear for you:
1- i have now a computer connected with my service provider.
2- i should install your application on the computer i have now to make these things:
* when user send a short-code like this: QSA to the number 92600 user receive sms on his mobile with some informations these informations is a text so i can define a text message for every short-code.

so please try to help me to find a solution for that after i can test this service and make sure its working my IT manager going to make a payment to buy a license for nowsms software.

Thanks & Regards,
Kariem
application/msword
SMPP Configuration test account for statistic.doc (64.0 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2007
Registered: 08-2008
Posted on Friday, April 16, 2010 - 05:46 pm:   

Hi Kariem,

It is unclear to me what part of the configuration process you need help with.

The basic process that you would follow would be to add an SMPP SMSC connection for your provider.

The settings supplied are quite standard.

"SERVER IP ADDRESS" is the NowSMS "Server Host Name".

"SERVER PORT" is the NowSMS "Server Port".

"USERNAME" is the NowSMS "User Name".

"PASSWORD" is the NowSMS "Password".

"SMPP VERSION" is the NowSMS "SMPP Version" (v3.4 is the default).

"ADDRESS RANGE" is the NowSMS "Address Range".

"SYSTEM TYPE" is the NowSMS "System Type".

"SENDER ADDRESS" is the NowSMS "Sender Address".

The other settings can be left at their defaults, except that you should check "Receive SMS Messages".

I would also recommend clicking on "Advanced Settings", and checking the option "Send and Receive Messages over the same connection (Transceiver)".

At this point, I would suggest that you verify the connection by attempting to send SMS messages via the NowSMS web interface.

Any messages that you receive should be visible with the "View" button on the "2-way" page of the NowSMS configuration.

The next step would be configuring a 2-way command.

The "ECHO" example that you mention is a good start ... it just sends the same text back with "Echo" in front of the text. For this to work, you need to verify the correct directory location of CMD.EXE.

The "ECHO" example is good for testing, but it is not good for building an application.

Basically, when NowSMS receives an SMS message, it wants to either pass it to a script running on a web server somewhere, or to a local executable program. We call this "2-way" SMS.

The basics of 2-way SMS can be found here: http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

Many of our customers use PHP scripts to process received messages. There are some practical PHP examples here: http://support.nowsms.com/discus/messages/1/4520.html

This link will search our web site for other 2-way SMS references:

http://www.nowsms.com/search.htm?q=2-way+SMS&sa=Search&cx=013875355595574434335: le6xjerdzna&cof=FORID:9

--
Des
NowSMS Support
kariem hamdy
New member
Username: Itchrome

Post Number: 3
Registered: 04-2010
Posted on Saturday, April 17, 2010 - 09:26 am:   

in 2 way sms part, i just need from nowsms application to make this:
when a user send sms with a character like this: QSA to our short-code number 96800 he got a reply back message on his mobile like that:
Thanks for using our service

( Only i need a reply back messages for a special characters user send to our short-code number )
kariem hamdy
New member
Username: Itchrome

Post Number: 4
Registered: 04-2010
Posted on Monday, April 19, 2010 - 03:17 pm:   

i have installed NowSMS and configured it successfully with my SMPP configuration But still have a problem:
i have added a command c:\windows\system32\cmd.exe /c echo Echo @@FULLSMS@@ with prefix *
and when am trying to send sms to my short-code number with prefix * i don't get a reply back on my mobile however i get these messages on outpound sms and queued & i applied receieving sms and everything working fine, so please help me asap in this problem.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2023
Registered: 08-2008
Posted on Monday, April 19, 2010 - 08:28 pm:   

Are you able to send any SMS messages from the NowSMS web interface, or do they also get stuck in the outbound SMS queue?

Look for the SMSOUT-yyyymmdd.LOG (yyyymmdd = year, month, day, such as 20100419). Is it showing errors?

I suspect that your provider is rejecting SMS messages that you are submitting ... likely because one of the configuration parameters is not set the way they require it to be set.

The error code in the log file may give us a clue.

--
Des
NowSMS Support
kariem hamdy
New member
Username: Itchrome

Post Number: 5
Registered: 04-2010
Posted on Tuesday, April 20, 2010 - 06:46 am:   

no there isn't anything written in SMSOUT log file and still have 3 messages in Queue
kariem hamdy
New member
Username: Itchrome

Post Number: 6
Registered: 04-2010
Posted on Tuesday, April 20, 2010 - 06:58 am:   

i used nowsms interface for sending sms and its working fine with me, but still have a problem when someone send a prefix message to our short-code number and did't get any autoreply cause all sms sent get stuck in sms queue and log file don't have any errors
kariem hamdy
New member
Username: Itchrome

Post Number: 7
Registered: 04-2010
Posted on Tuesday, April 20, 2010 - 07:02 am:   

here is it req file for one of sms:

[SMS]
SubmittedBy=Auto-response to 9746936584
SubmitUser=localsystem-2way
Sender=92613
PhoneNumber=9746936584
Data=Echo q\r\n
pid=00
dcs=00

SMSCRoute="‘|
kariem hamdy
New member
Username: Itchrome

Post Number: 8
Registered: 04-2010
Posted on Tuesday, April 20, 2010 - 09:50 am:   

i make it working now and everything is done but i have another problem with Arabic as when i try to add arabic in command C:\WINDOWS\system32\cmd.exe /c echo كريم

with UTF-8 or iso-8859-6 in character set
i get message in out log and i receieve message with invlid character not arabic
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2028
Registered: 08-2008
Posted on Tuesday, April 20, 2010 - 03:19 pm:   

The problem with the 2-way responses not going out is a bug that we have observed on a few systems (some Windows XP systems). The "SMSCRoute=" with garbage characters is being added to the message because of a bug, and that prevents the message from being routed out.

There is an update for NowSMS which corrects this problem, which can be downloaded at http://www.nowsms.com/download/nowsmsinterim.zip

Unfortunately, it is not possible to enter non-Latin (including Arabic) text in the 2-way command configuration.

There is no problem with sent or received messages containing non-Latin characters (such as Arabic), you cannot include these characters in the command itself.

If you wanted to do a proof of concept, you could do this by creating a batch file.

For example, create the following batch file ... let's call it smsrecv.bat, and for simplicity, put it in a directory called c:\sms.

@echo off
cmd /c echo كريم @@FULLSMS@@

I believe you will need to configure iso-8859-6 as the character set in order for this to work.


If you want to do more processing, but you are not familiar with PHP, Perl or other scripting languages, here is an old example that might help you, which uses VBScript:

http://support.nowsms.com/discus/messages/1/333.html

--
Des
NowSMS Support