2-Way

2-Way SearchSearch
Author Message
Anonymous
 
Posted on Sunday, April 25, 2004 - 03:27 pm:   

I tried taking out all rules under 2 way. Tested the gateway by sending sms from my cell to the gateway sim card number. I was expecting it will go under SMS-IN directory but did not. The program used to work before so I am not sure what I just changed. I also tested the gateway sim card on another phone and it works.
I am sending the smsdebug file if it helps.
Thanks,
text/plainsmsdebug
SMSDEBUG.BAK (11.9 k)
edong98
Unregistered guest
Posted on Sunday, April 25, 2004 - 04:47 pm:   

Here is another smsdebug file. Thanks, Ed.
text/plainsmsdebug2 file
SMSDEBUG2.bak.txt (11.5 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2399
Registered: 10-2002
Posted on Wednesday, April 28, 2004 - 04:57 pm:   

Hi Ed,

That is a puzzler. I wonder if there is a message on the SIM card that the modem considers to be corrupt.

First, try setting the SMS Message Storage settings in NowSMS for "SIM Card". (From the "SMSC" list, highlight your modem entry, and press "Properties" to see this setting.)

Save that setting, and see if that makes any difference.

My suspicion is that you will still see the same errors in the smsdebug.log.

If that is the case, put the SIM into a phone, and see if you can access the SMS message that is on the SIM. Your debug log suggests that there may be a message on the SIM card. And I am thinking that perhaps there is something about this message that the modem is having a problem with.

Let's try that first ... if that doesn't get us anywhere, then I'll have to think about what AT commands we might be able to send out to the modem to troubleshoot this further.

-bn
edong98
Unregistered guest
Posted on Thursday, April 29, 2004 - 05:23 am:   

Hi Bryce,

I switched the setting of the SMS Message Store to SIM Card, applied the changes and tried sending a few messages from my cell. I then took the SIM card and put it in my cell to check any messages. There was one message only. Cleared it and put the SIM card back in the modem.

I have attached the latest debug file after setting the SMS Message Store back to default.

Much appreciated.
Ed,
application/octet-streamsmsdebug
SMSDEBUG.LOG (59.3 k)
edong98
Unregistered guest
Posted on Thursday, April 29, 2004 - 11:37 am:   

Additional Info:

I tried using the utility that came with the modem that lets you test SMS and Voice from the PC using the modem. It works without any problem.

Thanks,
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2427
Registered: 10-2002
Posted on Thursday, April 29, 2004 - 08:56 pm:   

Ed,

Ok. It does look like that message is gone, so that theory is out.

Let's try connecting to the modem using HyperTerminal (Programs/Accessories/Communications/HyperTerminal).

Connect to the modem using the COM port name.

Verify that you are talking to the modem by typing ATZ followed by the Enter key ... and the modem should respond OK.

If the modem is not echoing back the text that you type, issue the command ATE1V1.

Then issue the following commands, and let me know what responses you get:

AT+CPMS="SM"
AT+CMGL=0
AT+CPMS="ME"
AT+CMGL=0

edong98
Unregistered guest
Posted on Saturday, May 01, 2004 - 02:19 pm:   

Hi there,

I queried the modem with the commands and uploaded the results. I hope it helps.

Thanks,
text/plainQuery Results
hyperterminalqueryresults.txt (93.9 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2456
Registered: 10-2002
Posted on Monday, May 03, 2004 - 04:54 pm:   

Hi Ed,

Unfortunately that log doesn't show the results of commands that you issue.

Could you just do a cut&paste of the HyperTerminal results?

-bn
Alex
Unregistered guest
Posted on Wednesday, May 05, 2004 - 04:36 pm:   

Hi,

I fill some url as "Command to Execute". The url was wrong and the response was "404". NowSMS enter the infinite loop of get requests to this url. How can I configure NowSMS to stop trying to send request in these cases?

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

Post Number: 2509
Registered: 10-2002
Posted on Wednesday, May 05, 2004 - 07:59 pm:   

Hi Alex,

You need to fix the URL (or remove the command from the table).

NowSMS assumes that if there is an error in processing one of the "2-way" commands, that it is a temporary error, and it continually retries.
edong98
Unregistered guest
Posted on Saturday, May 08, 2004 - 03:34 am:   

Hi Bryce,

I tried sending these AT commands to the modem using HyperTerminal but I did not get any response back from the modem. Attached are the modem settings and the results.

Tried it after rebooting my machine but no luck. Am I missing something here?

Thanks,
application/mswordHyperTerminal Settings/Results
nowsms-hyperterminal-settings.doc (9.7 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2558
Registered: 10-2002
Posted on Wednesday, May 12, 2004 - 04:38 pm:   

Ed,

Apologies for the delay in response.

The only thing that I can figure with HyperTerminal is that maybe the modem doesn't like the 9600 bps setting. Check the bps that is configured for the modem driver that you are using in NowSMS ("Enabler-G GPRS Modem"), as that seems to be working just fine. (Go into Control Panel/Phone & Modem Options/Modems/Properties/Modem, and check the "Maximum Port Speed").

I'm not sure what to try next.

You say that this used to work? Can you think of anything that has changed?

I'd try downloading our v5.50 release. And set the "SMS Message Storage" to "SIM Card". If that doesn't work, also try "Direct to Modem".

I can't imagine what is going on here ... I take it that you are sending fine, just that no messages are being received?
EDONG98
Unregistered guest
Posted on Monday, May 17, 2004 - 02:30 am:   

Hi Bryce,

I changed the BPS speed on the modem and this is the results from HyperTerminal.

Does it mean anything?

I will try to download the latest release v5.5 as well.

Thanks,

ATZ


OK

ATE1V1


OK

AT+CPMS="SM"


ERROR

AT+CMGL=0


ERROR

AT+CPMS="ME"


ERROR

AT+CMGL=0


ERROR

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2621
Registered: 10-2002
Posted on Monday, May 17, 2004 - 05:00 pm:   

Ed,

Unfortunately, that's not a good sign.

It is as if the modem has lost the ability to store any received messages.

You say that it was working before, so maybe there is still some hope. Recent versions of NowSMS are more sensitive to errors, performing modem re-initialisations when unexpected errors occur. But maybe your modem doesn't want to receive any SMS messages to memory, and just wants to route them directly over the modem interface.

So let's try this, go back to HyperTerminal, and issue the following command:

AT+CNMI=2,2,2,1,0

That should respond back with an "OK" (I see that in the logs).

Now send a couple of SMS messages to the device.

Does anything get displayed in the HyperTerminal window when these messages are received (you shouldn't need to send any commands, the information should just appear).

-bn
Anonymous
 
Posted on Thursday, June 03, 2004 - 06:20 am:   

hi i have to GSM modems conected,i want to recieve with one and send with the other,can some one explain how can that be done?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2686
Registered: 10-2002
Posted on Friday, June 04, 2004 - 06:55 pm:   


quote:

hi i have to GSM modems conected,i want to recieve with one and send with the other,can some one explain how can that be done?




If you don't want to send any messages out via a particular modem, on the "SMSC" page, highlight the modem and press "Properties". Uncheck "Support any outbound message traffic" ... and then, NowSMS will not try to send any messages over that connection.

-bn
Anonymous
 
Posted on Friday, June 04, 2004 - 07:40 pm:   

hi bryce thank you for your support,what i also want to know is ,if i have 4 modems instaled,and it the Q directory has 30 sms pending to be sent ,will nowsms devid the 30 sms amongst the 4 modems??if not,how do i give each modem an adres,and how wil it be placed in this example file:
[SMS]
SubmittedBy=127.0.0.1
PhoneNumber=6965508
Data=testing
pid=00
dcs=00
Binary=0

can your reply as soon as posible,i don't have many days left on my nowsms trail.thank you
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2718
Registered: 10-2002
Posted on Monday, June 07, 2004 - 08:30 pm:   


quote:

if i have 4 modems instaled,and it the Q directory has 30 sms pending to be sent ,will nowsms devid the 30 sms amongst the 4 modems??




By default, yes.

If you need more control over routing to particular modems, I will describe the process below:

When NowSMS routes a message, it first looks to see if a sender address has been specified for the message submission (normally there is not a sender address specified, unless you submitted the message via HTTP and specified a "Sender=" parameter). If a sender address was specified, then NowSMS checks to see if the sender address matches the "Default Sender Address" that is configured for any of the SMSC links (or the "Phone Number" associated with a GSM modem). If NowSMS finds a match, then it will route the message only via an SMSC connection with a matching sender address.

If NowSMS did not find a match on the sender address, then it evaluates the recipient address, and it will look to see if it finds a match in the "Preferred SMSC Connection for" recipient address masks associated with any
of the SMSC connections. (These recipient address masks can be wildcards such as "+44*" to match any phone number that starts with "+44".) If NowSMS finds a match, then it looks for the longest mask that provides a match, and routes the message via the connection with the longest matching mask. (For example, if you were sending to +441624999999, and you had one connection with a mask of "+44*", and another with "+441624*", then the connection with the mask of "+441624*" would be used as it is a longer match than "+44*".)

If there is no match on the recipient address mask, then the message will be routed via any connection that has "Support any outbound message traffic" checked.