Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
8-port USB GSM modem
sp_NewPost Add Reply sp_NewTopic Add Topic
March 3, 2014
8:39 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Ubaid,

I don't really recommend to use a mobile phone as the GSM modem for Diafaan SMS Server, mobile phones often have only partial support for the GSM modem AT command standard and it is nowadays very rare to find a GSM phone that works well with SMS software.

If you have a license for Diafaan SMS Server that is still in the support period, you can send the communication logs and configuration file to dms@diafaan.com and I will have a look to see if it is perhaps possible to use the Sony-Ericsson W200 but otherwise I recommend that you use a GSM modem or GSM modem pool with Diafaan SMS Server.

Regards, Henk

March 3, 2014
7:02 pm
Ubaid
Guest
Guests

Dear Henk,

Greetings, same problem appeared to me as well. And as soon as I change the port it shows
- Open port: COM22:115200,n,8,1
> AT&FE0

< AT&FE0
AT+CGMI

< Sony Ericsson
AT+CGMM

< AAB-1022044-BV
AT+CGMR

< R4JA011 R4JA011 prgCXC1250719_GENERIC_ME
AT+CPIN?

AT+CMGF=?

< +CMGF: (0)
AT+COPS=3,2

AT+COPS?

< ERROR
- Port closed

Please help and guide.
Regards,

September 26, 2013
9:34 am
Chris
Guest
Guests

Thanks for the advice.
We will try to get modems with Q24plus modules.

Regards, Chris

September 25, 2013
2:56 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Thanks for the logs. The difference between the two modem logs is that the working module is logged on to the GSM network and the other one is not able to log on to the GSM network. There is no clear reason for the difference, my impression is that the quality of the modem modules is problematic and that there are compatibility problems between the modem modules and your GSM network. If you have a SIM card of another GSM operator, you can try it in a GSM module to find out if that makes a difference.

The modules identify themselves as WAYCOM Q2406B, the fact that is identifies as 'WAYCOM' instead of 'WAVECOM' is already an indication that it probably is a very cheap copy of the original Wavecom module. When we order a GSM modem pool from China for testing, we usually buy modem pools with Q24plus modules instead of Q2406B modules. The Q24plus modules are more recent and are usually more reliable then Q2406B modules. You could try to contact the supplier of the modem pool and ask for a replacement of the modem modules.

Apart from trying the modem pool with another GSM network or trying to improve the signal quality of the modem modules, there is not much you can do about the connection problems. As long as the modules are not able to log on to the GSM network, Diafaan SMS Server won't be able to work properly with the modems.

Regards, Henk

September 25, 2013
2:15 pm
Chris
Guest
Guests

Command AT+WMBS? returns ERROR.
But strangely now one of the SIM cards works in 8-port USB GSM modem, I can send sms. Clicking on the 'Test' button still generates errors.
The other one from different GSM network still doesn't work. I sent log files on 'dms@diafaan.com'
Maybe You can figure out what is wrong.

Regards, Chris

September 25, 2013
1:19 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

I'm sorry, the correct AT command is ''AT+WMBS?'.

Regards, Henk

September 25, 2013
1:16 pm
Chris
Guest
Guests

Command AT+WMBS returns ERROR. How can I change the frequency band that the modem is using?
I will send the modem communication log file.
Thanks for the tips.

Regards, Chris

September 25, 2013
12:56 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Can you try the command 'AT+WMBS' in PuTTY? This command checks the frequency bands that the modem is using. If it is set up to use the wrong frequency bands it won't be able to log on to the GSM network in your region.

If you send the modem communication log to 'dms@diafaan.com', I might get a better idea what the problem could be. On this page you can find a description on how to create a modem log.

Regards, Henk

September 25, 2013
12:18 pm
Chris
Guest
Guests

In Status tab of the Gateway it doesn't show: SMSC in Getaway properties and GSM operator or GSM modem information.
I can check in PuTTY GSM modem information using commands:
Manufacturer: AT+CGMI -> "WAYECOM MODULE"
Model: AT+CGMM -> "MULTIBAND G850/900E/1800/1900MHz"
Revision: AT+CGMR -> "652B09gg.Q2406B 1961548 103107 17:50"
IMEI: AT+CGSN

Regards, Chris

September 25, 2013
11:55 am
Chris
Guest
Guests

I can use this SIM card in modem Huawei E3276 sends and receives messages with it, so the sim card does have credit. It works great in Diafaan SMS Server.
When I put this SIM card to 8-port USB GSM modem it gives the error as I sent earlier. Pin code is removed.
Setting the 'RebootBeforeInitialization' property didn't help.
What else can I check?

Regards,
Chris

September 25, 2013
11:32 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

It looks like the modem pool works and Diafaan SMS Server can communicate with it but that the modem module on COM9 is in a initialization state or perhaps it is not logged on to the GSM network. Can you use the SIM card that you use in the modem module on COM9 in a normal phone and send and receive messages with it?

I recommend that you set the 'RebootBeforeInitialization' property in the advanced settings of the GSM Modem Gateway to 'True'. It is also a good idea to remove the PIN code from the SIM card (if you have not done so already). You can remove the PIN code using a normal phone. It is also possible to remove the PIN code from the SIM card in the settings of the GSM Modem Gateway but this option is only available when the 'Test' procedure is successful.

Regards, Henk

September 25, 2013
11:12 am
Chris
Guest
Guests

Hello Henk,

When I select one of the ports and click on the 'Test' button it also generates errors:
"- Open port: COM9:115200,n,8,1
> AT&FE0\r
< AT&FE0
< ERROR"
If I finish the setup wizard regardless of the errors, it looks like everything is ok (Status of Gateway says: "Ready to send and receive messages"), but I can't send sms.
When I try to send sms there's an error. In Events tab there is: "Network error, the registration to the mobile network was denied" and "The GSM Modem returned +CMS ERROR: 515 (please wait, init or command processing in progress) after the 07918497908952F031070B918405794202F60000AA06F4F29C1E8301 command. Reset modem connection."

Regards,
Chris

September 25, 2013
10:42 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

What happens when, instead of using the 'Search' button, you select one of the modem ports and click on the 'Test' button? Does it go through this test OK or does this also generate errors?

If this also generates an error, you can try to finish the setup wizard regardless of the errors. There is a chance that the GSM Modem Gateway now works but if it still cannot find the GSM modem after a minute or so you can try to change the 'FlowControl' parameter in the advanced settings of the GSM Modem Gateway to 'None' or 'XonXoff' or change other communication parameters, like the baudrate, manually.

Regards, Henk

September 25, 2013
9:39 am
Chris
Guest
Guests

Henk Helmantel said
Have you tried to connect to one of the ports manually with a terminal program like Hyperterminal or PuTTY? The GSM modem should return OK after you enter AT commands like ATE1[enter] or AT+CMGF=0[enter].

Hello Henk,
Thanks for replay.

I've connected to COM port using PuTTY and the commands returned:
ATE1 -> OK
ATE0 -> OK
AT+CMGF=0 -> OK

After that if I try "Search" button in Diafaan SMS Server I get "COM9 - port not accessible"and all others ports COM "No GSM modem detected". Log shows:
"- Open port: COM9:115200,n,8,1
- port not accessible"
Which is ok becouse I was connected to this COM via PuTTy.
Is it something wrong with Diafaan SMS Server or do I have to change some settings?

Regards,
Chris

September 24, 2013
7:06 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Chris,

My first impression is that there might be a malfunction in the hardware of the 8-port modem pool or that there is a problem with the USB port or USB drivers. Normally, Diafaan SMS Server should detect the 8 USB modem modules without any problems.

Have you tried to connect to one of the ports manually with a terminal program like Hyperterminal or PuTTY? The GSM modem should return OK after you enter AT commands like ATE1[enter] or AT+CMGF=0[enter].

If the modem does not return OK then there is probably something wrong with the modem pool, USB port or USB driver. When you use Hyperterminal or PuTTY you can try different baudrates and communication parameters to see if that helps, most GSM modem modules use a baudrate of 115200 (or 9600 for older modules), no parity, 8 databits and 1 stopbit.

Regards, Henk

September 24, 2013
4:21 pm
Chris
Guest
Guests

Hello,

I have some troubles with 8-port USB GSM modem.
http://www.diafaan.com/PHP_script_to_send_SMS_messagesviews/8-port-usb-gsm-modem-pool/
I'm using Windows7 64bit, and Diafaan SMS Server full edition (trial) v2.1.3.1
I've tried various drivers for this modem included on CD and from internet, but still can't get it to work.
When I try to add gateway -> GSM Modem Gateway and click "Search" button I get on all COM ports "No GSM modem detected"
Log file shows:
"- Open port: COM8:115200,n,8,1
> AT&FE0

- Timeout
- Close port
- Open port: COM8:9600,n,8,1
> AT&FE0

- Timeout
- Close port" and it continous on all 8 COM ports
None of the ports passed the "Test" Button, Log shows:
"> AT&FE0

- Timeout
- Port closed"
and sometimes:
"- Open port: COM7:9600,n,8,1
> AT&FE0

< AT&FE0
< ERROR"
I tried 2 sim cards from different GSM networks, which works fine in Huawei modem. I can send SMS using Huawei modem, but I can't send by 8-port USB GSM modem.

Can you help me solve this problem?

Regards,
Chris

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488