3G Modem

3G Modem SearchSearch
Author Message
Dunia Suarez
Unregistered guest
Posted on Wednesday, April 07, 2004 - 04:18 pm:   

Hello everybody,

I have installed the "Now SMS/MMS Gateway". I am trying to make it work with the Vodafone Mobile Connect 3G/GPRS datacard. Does the Gateway support 3G modems?

When I select the 3G modem in the gateway, it is initialized correctly but I cannot send any SMS. Of course, from the application provided from Vodafone there is no problem sending SMSes.

Following the suggestions in the "Quick Start Guide" I tried the SIM card in a mobile phone and I also could send SMSes.

The error message in the "Event Viewer" of Windows is:

"NowSMS Error Report. Error initializing SMSC Interface 'Vodafone Mobile Connect - 3G Modem'. Interface is not available."

And in the SMSDEBUG.LOG file generated by the gateway, the only error received every time from the modem is:

"ERROR - Modem Response (2): +CMS ERROR: 330"

which means "Service Center Address unknown". I attach the SMSDEBUG.LOG file:
text/plainSMSDEBUG.txt
SMSDEBUG.txt (3.7 k)


In a "hyper terminal" session I tried the following:

at+CSMS=0 ;to ask if the SMS service is supported
+CSMS: 1,1,0

OK

at+CSCA? ;to know the SCA stored in the SIM
+CSCA: "+316540881000",145

OK

at+CMGF=1 ;to select text-mode
OK

at+cmgs="+31XXXXXXXXX" ;to send a SMS
> This is a test SMS from Hyper Terminal

+CMS ERROR: 500

And this time, the error is not 330 but 500, which means "Unknown error".

I don't know what else to do. Can someone throw some light on this problem?

Thank you in advance.
Dunia.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2297
Registered: 10-2002
Posted on Saturday, April 17, 2004 - 06:41 am:   

Hi Dunia,

I don't have any experience with that card yet.

But if the 330 error is legitimate, it is possible that the modem is not reading the default SMSC from the SIM for some reason.

There is a way to configure NowSMS to explicitly set the SMSC on each send ... and that would be worth trying.

Edit SMSGW.INI, and under the section header for the modem (e.g., [Modem - Vodafone Mobile Connect - 3G Modem]), add SMSC=+316540881000

Does that make a difference?

-bn
Dunia Suarez
Unregistered guest
Posted on Tuesday, April 20, 2004 - 05:07 pm:   

Hi Bryce,

I tried your advice but the result is the same: +CMS ERROR: 330

In the meantime I borrowed an Ericsson T39m, which has a GSM modem. I tried with my Vodafone SIM card and the gateway works perfectly.

Do you have any other advice?

Kind regards,
Dunia.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2318
Registered: 10-2002
Posted on Tuesday, April 20, 2004 - 08:32 pm:   

Hmm ...

First, check your debug log. Let's make sure that the "SMSC" setting is in there correctly.

If it is, then when you see the "OUT: AT+CMGS=" line, it should be followed by another "OUT:" line where the first two characters are not "00". If the first two characters are still "00", then the change didn't get properly set in the SMSGW.INI file.

If you did see this change, but the error remains ... in the NowSMS SMSC list, highlight the modem definition and press "Properties". For "SMS Access" set "GSM". Perhaps the modem is defaulting to trying to use a 3G or GPRS protocol which is not completely enabled by the operator.

-bn
Dunia Suarez
Unregistered guest
Posted on Wednesday, April 21, 2004 - 10:18 am:   

Hi Bryce,

Yeeeeeeees!!!! Now it is working!!!! Just after setting "GSM" for "SMS Access".

I tell you the details:

I think adding "SMSC=+316540881000" to SMSGW.INI didn't work.

Actually I didn't have an entry such as "[Modem - Vodafone Mobile Connect - 3G Modem]". Instead, I had "Modem1=Vodafone Mobile Connect - 3G Modem".

When I add the modem in the "SMSC" tab from the gateway configuration dialog (and don't have anything else to configure) an entry such as "[Modem - Vodafone Mobile Connect - 3G Modem]" is not included but only "Modem1=Vodafone Mobile Connect - 3G Modem" some lines after the entry [SMSGW].

Only if you click in "Properties" and add something specific for this modem the entry "[Modem - Vodafone Mobile Connect - 3G Modem]" is included in SMSGW.INI

Yesterday, I added "SMSC=+316540881000" below the "Modem1=Vodafone Mobile Connect - 3G Modem" line. Today, I added it below the entry "[Modem - Vodafone Mobile Connect - 3G Modem]" but still didn't work.

When I check the debug log, SMSDEBUG.LOG, I don't see any specific data about the SMSC. The debug log just looks like any other time before.
The "OUT:" lines start always with "00" and I get the +CMS ERROR: 330.

Finally, as I mentioned before, when I selected "GSM" for "SMS Access" it worked inmediately :-)

Now I will try with MMS :-)

Bryce, thank you very much for your help. I think you give a great support. Congratulations for your good work.

Kind regards,
Dunia.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2349
Registered: 10-2002
Posted on Thursday, April 22, 2004 - 04:55 pm:   

Dunia,

Excellent news. Thank you for the feedback. I'm glad there was a solution here.

And you're right, that modem section header ([Modem - Vodafone Mobile Connect - 3G Modem]) does not exist until there is a non-default property defined for the modem.

So if there is someone that needs to explicitly set the SMSC address when sending messages out via a GSM modem with NowSMS, I would advise the following.

Highlight the modem in the "SMSC" page of the NowSMS configuration. Press "Properties". Define a "Phone Number" for the modem (this setting is only used for routing purposes, so it is not critical that this be set for most installations). Press "OK", then "Apply" to save the changes.

Now your SMSGW.INI file will have a section header for your modem, e.g., [Modem - modem driver name]. Under that section header, add the SMSC=+smscPhoneNumber setting that is required.

These days it is very rare that you would have to set this (which is why the configuration option is not presented on-screen).

It is good to know that you did not need this setting. I will have to keep in mind this setting of "GSM" for "SMS Access" in the modem properties, as now that I think about, some other recent unexplained problems that people have reported might also be addressed by this setting.

-bn