2 way SMS

2 way SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 16, 2008 » 2 way SMS « Previous || Next »
Author Message
Kjell-Einat Anderssen
New member
Username: Kjellea

Post Number: 1
Registered: 09-2008
Posted on Wednesday, September 24, 2008 - 01:36 pm:   

Hi, I'm trying to test a 2 way SMS service using a 60 day trail version of your sw. Using a SonyEricsson W810 as modem.
My settings are:
SMSCommand prefix:*
Command to execute:c:\windows\system32\cmd.exe /c Echo @@FULLSMS@@

If I understad this correctly the GW should return back an SMS to the mobile phone I send the SMS from. (a Nokia phone). This is not happening. Can see from log file that the SMS is received by GW but no SMS is sent out again.

Can anyone help me getting this up and running?
mamatozay
New member
Username: Mamatozay

Post Number: 1
Registered: 09-2008
Posted on Thursday, September 25, 2008 - 02:10 am:   

hi, i have the same problem.
i can't receive incoming sms.
my setting :
SmsCommandPrefix : *
CommandToExecute : http://127.0.0.1:80/tpscount/index.php?sender=@@SENDER@@&isi=@@FULLSMS@@

here my index.php
<?php
$db_host = "localhost";
$db_user = "root";
$db_pass = "";
$db_name = "sms";

$link = mysql_pconnect ($db_host, $db_user, $db_pass) or die ("Ga bisa connect");
mysql_select_db ($db_name) or die ("Ga bisa select database");

$isid = $_REQUEST['isi'];

$sql = "INSERT INTO inbox
SET id='',
isi='$isid'";
$query = mysql_query($sql) ;
?>

the incoming sms should automatically go to the my db. but this is not happening.

please help for my problem.
Des - NowSMS Support
New member
Username: Desosms

Post Number: 5
Registered: 08-2008
Posted on Monday, September 29, 2008 - 06:49 pm:   

Hi,

Apologies for the delay in response. We moved this web server last week, and of course, took much more of my time than planned.

What I usually suggest to troubleshoot these types of problem is to first confirm that NowSMS is receiving the inbound message.

How do you confirm this? A good first step is to check the SMSIN-yyyymmdd.LOG (which it looks like the first poster has done).

If you don't see a received message showing up in this log, make sure that "Receive SMS Messages" is checked under "Properties" for your SMSC connection on the "SMSC" page of NowSMS.

If you're still not seeing a received message, then if it's a phone acting as a GSM modem, then the GSM modem implementation of that mobile phone might not support routing received messages over the GSM modem interface (this is the case with most Nokia phones, which have a limited GSM modem interface).

To further troubleshoot receiving messages, delete the 2-way command that you have defined, and look to see if you are receiving any messages into the SMS-IN subdirectory of NowSMS (NowSMS will receive each message into a separate file in this directory).

If you see these received messages going into the SMS-IN directory and/or being written to the SMSIN-yyyymmdd.LOG file, but your 2-way command does not seem to be processing them correctly ... then the next step is to enable the SMSDEBUG.LOG and take a closer look at the exact command that NowSMS is trying to execute.

To enable the SMSDEBUG.LOG, check the checkbox setting on the "Serial #" page of the NowSMS configuration.

When NowSMS tries to process a 2-way command, it will log the exact command that it is trying to process to the SMSDEBUG.LOG ... and it may also log other relevant details.

For HTTP 2-way commands, try issuing the same URL shown in the SMSDEBUG.LOG into a web browser. See if your script is doing what you expect it to do when the URL is submitted by a web browser. It is a lot easier to debug your script with tests from a browser, before you move back to testing as a 2-way command.

It can be a little trickier to troubleshoot EXE commands. But try issuing the command from a command-line prompt. Maybe there's a typo ... or in the case of the "ECHO" test, maybe your Windows installation is not in the default directory of "c:\windows".

--
Des
NowSMS Support
mamatozay
New member
Username: Mamatozay

Post Number: 2
Registered: 09-2008
Posted on Wednesday, October 01, 2008 - 07:29 pm:   

thank you very much for your support...

my sms gateway is working well now.

my next question is:

when my sms server received a new sms, where it will be saved?
what happen to my gsm modem sms inbox if it full?
can we still received sms if my inbox is full?

i am using gsm modem sierra wireless 875 hsdpa.

thanks a alot for your concern.
Des - NowSMS Support
New member
Username: Desosms

Post Number: 3
Registered: 08-2008
Posted on Friday, October 03, 2008 - 01:40 pm:   

When messages are initially received by NowSMS, they are queued in the SMS-IN directory until they can be routed to your 2-way command.

For best results with a dedicated modem device (like your Sierra Wireless modem), under "Properties" of the modem in the "SMSC" list, set the "SMS Message Storage" option to be "Direct to Modem".

When the "Direct to Modem" option is selected, received messages are routed directly to NowSMS as they are received, without being stored in any "inbox" on the modem itself.

With other settings, NowSMS does poll an inbox on the modem. Polling is often the only way that phones acting as a modem will work. However, with dedicated modem devices, they generally offer the option to route received messages directly to the application, bypassing any inbox.

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics