2-way services testing

2-way services testing SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 21, 2007 » 2-way services testing « Previous || Next »
Author Message
Waleed Hameed
New member
Username: Waleed_k

Post Number: 4
Registered: 02-2007
Posted on Monday, March 05, 2007 - 09:03 am:   

Hello,

I would like to ask again for any help considering the Database integration and the 2-Way SMS service.

I have managed to configure most of issues.
1- I am using N70 Nokia as modem.
2- I define VBscript for writing the SMS on txt file in this example. http://support.nowsms.com/discus/messages/1/333.html

BUT the script didn’t do any thing. I have taken in consideration every aspect. Like the files paths.

So what I am asking for as well. How I can test if the 2way sms is working actually and if the script is willing to do its job?!!!!
Is it by sending SMS to the modem SIM card number!!!!

Well I would be pleased with your support and I need to meet some dead line soon next week.

Regards.

Waleed Hamed.
Waleed Hameed
New member
Username: Waleed_k

Post Number: 5
Registered: 02-2007
Posted on Monday, March 05, 2007 - 01:46 pm:   

Hi again, can i please have some answer....... I am still trying on it!!!!

well let me put it in other way.....

I am using with Nokia N70 as modem and I am trying to log the txt sms into a file useing the command line.

I have configured the 2-way service as:

SMS command perfix: "*"

Command to execute: c:\windows\system32\cscript.exe c:\namedarg.vbs "/sender:@@SENDER@@" "/prefix:@@SMSPREFIX@@" "/message:@@FULLSMS@@" "/recipient:@@RECIP@@"

THE CODE IS:
--------------

Set argsNamed = WScript.Arguments.Named
LogTxt = "BEGIN:" & vbcrlf
LogTxt = LogTxt & "Sender=" & argsNamed.Item("sender") & vbcrlf
LogTxt = LogTxt & "prefix=" & argsNamed.Item("prefix") & vbcrlf
LogTxt = LogTxt & "message=" & argsNamed.Item("message") & vbcrlf
LogTxt = LogTxt & "recipient=" & argsNamed.Item("recipient") & vbcrlf
LogTxt = LogTxt & "END" & vbcrlf
writelog(LogTxt)
Set argsNamed = nothing



function writelog(logstr)
Dim fsl,flog
Set fsl=CreateObject("Scripting.FileSystemObject")
if Not (fsl.FileExists("C:\NAMEDTEST.log"))=true Then
Set flog=fsl.CreateTextFile("C:\NAMEDTEST.log",true)
flog.WriteLine(now() & " " & logstr)
flog.Close
Else
Dim fll
Set fll=fsl.OpenTextFile("C:\NAMEDTEST.log",8,true)
fll.WriteLine(now() & " " & logstr)
fll.Close
Set fll=Nothing
End if
Set flog=nothing
Set fsl=nothing
End function
------------------------

the code located on the same PC with the NowSMS.

I send SMS to the gateway using the mobile number of the SIM card into the modem. and the code is not working as no file been created.

please, looking foreward for ur support.

Regards.

Waleed Hamed


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6945
Registered: 10-2002
Posted on Wednesday, March 07, 2007 - 07:03 pm:   

Hi Waleed,

The N70 is a Nokia "Series 60" (a.k.a., "S60") device. It runs the Symbian operating system.

Basically, there is a limitation of all of these "Series 60" devices, that they do not support receiving SMS over the GSM modem interface. They can send ok, however there is no support to allow applications using the GSM modem interface to receive SMS messages.

I wish this were not the case, however, Nokia in the past has said that this is simply a limitation of the Symbian operating system.

-bn

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6946
Registered: 10-2002
Posted on Wednesday, March 07, 2007 - 07:11 pm:   

P.S. - You might want to try the "SMS Message Storage" = "Direct to Modem" setting for the modem under the "Properties" of the modem in the "SMSC" list.

I have not tested with the N70 myself, and it is always possible that Nokia might have implemented some support for received messages in newer versions of the S60 platform. (At least we can always help ... but our past experience, and feedback from Nokia, is what makes me doubt that it will work.)

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