SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun May 19, 2024 20:45
SMSTools3 Community » Help and support Bottom

[solved] Problem in Motorola C650

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Hi all,

I'm novice in SMS gateway and had just register in this community.

I've try sms server tools in Fedora 8 and use my handphone Motorola C650 as modem (connected it to PC using its data cable).

The installation and configuration run well. But when I'm try to send a SMS to another handphone (using sms server tools), why it can't send that message?

What's wrong with that?
Or Motorola C650 didn't compatible with sms server tools?

FYI :
1. I've check at http://smstools3.kekekasvi.com/index.php?p=hardwarecomp and found there that sms server tools compablitiy with Motorola G18 (with init string ATE0) and I think my phone (Motorola C650) compatible too.
2. I've try another sms gateway, in this case nowsms (trial) using my motorola C650 and it run well in send and receive sms.

Need your help.

Thanks for your help and your time.

Regard

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
I've connected motorola C650 to my PC (using data cable) and fedora detected it well (using lsusb and then wvdialconf).

Also I'm use the standar PIN (1111) in configuraton and at /etc/smsd.conf using init AT+CPMS="ME".

What should I do?

Thanks.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Have you checked that destination number was given using international format without the + sign?

For more details a piece of log (with loglevel = 7) should be seen. Please post your log here.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
Hi,

Thanks for reply. Sory for the late.

I've try it again in fedora 8 using sms server tools and Motorola C650 (conntected to PC using its data cable).

=======here lsubs , my motorola C650 detected well by Fedora 8 =====
[root@astina-pura 8yt35c0d3]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 22b8:4902 Motorola PCS E398 GSM Phone
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1131:1004 Integrated System Solution Corp.
Bus 002 Device 001: ID 0000:0000

then modprobe
[root@astina-pura 8yt35c0d3]#modprobe usbserial vendor=22b8 product=4902

===here wvdialconf, for know more about information===
[root@astina-pura 8yt35c0d3]# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- 144
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

And according of two information above, I configure sms server tools in smsd.conf (as in its manual)

====here configuration of /etc/smsd.conf============
[root@astina-pura 8yt35c0d3]# vi /etc/smsd.conf
# Example smsd.conf. Read the manual for a description

devices = C650
logfile = /var/log/smsd.log
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
loglevel = 7
#eventhandler = /usr/local/bin/sql_ku

[C650]
device = /dev/ttyACM0
init = AT+CPMS="ME"
baudrate = 460800
incoming = yes
cs_convert = yes
rtscts = yes
send_delay = 300
report = yes
pin = 1111

After that, I'm run it
[root@astina-pura 8yt35c0d3]# /etc/init.d/sms start

And try to send a SMS to another phone (destination to +6285xxx, this is my phone number :) )
[root@astina-pura 8yt35c0d3]# sendsms 62xxx 'hai'

But, it can't send SMS well and I didn't receive that :(

And I check the log file, and found like this..
==========here log of /var/log/smsd.log========


1. What's wrong with that? In my configuration, in my phone or?
2.What should I do?Any suggestion?

Hope you help me. Thanks.


« Last edit by keke on Mon Jul 27, 2009 15:18, 180 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Your modem does not accept the init string. From where did you get that "ME" value for this device?

You could try without init string. Comment it out in the smsd.conf.

Stop all smsd processes. Reset your modem (power off - on). Then communicate with a modem to see some interesting values:

smsd -C C650

After modem is opened, enter a command ATE1

Then AT+CPMS=? and after this AT+CPMS?

Show the results here. Ctrl-C quits, then start smsd using init.d script. If sending and/or receiving does not work, show a new piece of log.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
"ME" value get from handphone memory (in default, handphone will check at SIM, CMIIW).

Sorry if my questions are too stupid... :
1.) You could try without init string. Comment it out in the smsd.conf.
OK, this is my conf at smsd.conf


2. ) Stop all smsd processes.
[root@astina-pura smstools3]# /etc/init.d/sms3 stop

3.) Then I didn't know where to do it ?
smsd -C C650, ATE1, AT+CPMS=? and AT+CPMS?
[root@astina-pura smstools3]# smsd -C C650
There was 1 error while reading the config file:
- Unknown setting for modem C650: baudtrate
There was 1 major problem found.
Cannot start. See the log file for details.

Need your help again sir. Thanks.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
certain_death wrote


...
There was 1 error while reading the config file:
- Unknown setting for modem C650: baudtrate

Just fix the typing mistake: baudtrate --> baudrate ;)

Then, as an example:
# smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB1
Press Enter to start or type an another device name.

Opening device /dev/ttyUSB1
Ready.
ATE1
OK
AT+CPMS=?
+CPMS: (("SM","ME","BM","SR"),("SM","ME"),("SM","ME"))

OK
AT+CPMS?
+CPMS: "SM",0,20,"SM",0,20,"SM",0,20

OK
Ctrl-C

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
OMG, I'm so stupid...
Thanks for your reply :)

OK, I'm try it (in /usr/bin)
But, it didn't open the modem like your example :(


And it is in log


Something wrong with my phone or configuration?
If my phone (Motorola C650) didn't compatible with sms server tools, can I use my another phone (Nokia N81 8GB) as a modem?

Thanks for your great help.


« Last edit by certain_death on Mon Jul 27, 2009 16:31, 180 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
When there was instructed "Press Enter to start or type an another device name.", did you press Enter to start? ;) It seems that you pressed Ctrl-C which is used to abort communication...

Nokia N81 is S60 based smart phone and can be used only for sending messages. Those devices do not show incoming messages through the external AT command interface.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
OMG, fool again :(

here is :


Seem that it same as your example.

here the log :


Wait, I'll try to send a SMS and I will report here the result. Thanks.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
Hi keke, I'm success to send a sms from my PC (fedora 8) using sms server tools (Motorola C650 as modem).

here the log


Thanks for your great help, keke.
Go Linux and open source .


« Last edit by keke on Mon Jul 27, 2009 17:20, 180 months ago. »
Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
Hi keke and all,

I've try again my sms gateway using sms server tools and motorola C650 (as modem) in Fedora 8.
But, seem that any problem here.

My phone (motorola) detected by Fedora 8


But, when tyr to modprobe, why it's show message error like this?


Something wrong with my phone?Or something wrong with Fedora 8 and or its configuration?
What should I do?

FYI :
Yesterday, my motorola is well and I'm success send a sms from PC to my another phone.

Hope you help me.
Thanks.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Yesterday you used modprobe without additional spaces after = sign in parameters:
modprobe usbserial vendor=22b8 product=4902

Does this make any difference?

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
OMG, I'm forget :(

ya, now it can, using space after it.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
Hi keke,

Sorry, but my motorola C650 has a problem again :(
It can't send sms to destination (my another phone).

Here the log :
PDU:
Hidden private text.




My configuration (/etc/smsd.conf)


maybe it cause by this?
Quote
2009-08-04 01:25:12,7, C650: <- +CMS ERROR: 500 (Unknown error)
2009-08-04 01:25:12,3, C650: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)

What the error mean?
Hope you help me. Thanks.


« Last edit by keke on Tue Aug 04, 2009 08:06, 180 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
In some cases CMS 500 error is caused because of the bad network coverage. Your signal level is not very good, but with this level sending was successful last time. As you have not changed any sending options, there should be something else which causes a problem. Are you using the same SIM card as previously and have you changed any settings in the phone (Motorola)?

You could try to move your C650 near to window, to get better signal level. If this does not help, there is not much to do.

Member
Registered:
Jul 2009
Location: Bandung, Indonesia
Topic owner
Hi keke,

Thanks for reply. Seem my modem (motorola) still good.

My mistake that is my SIM is expired, so that it can't sent my sms. But now I've change it with new one, and my sms sent succcesfully :)

Also I've try to tes my eventhandler with ref#(name) and server reply with sms "your format is wrong. Type reg#name".

But, the problem is, why when I'm type as the format (reg#name), in database (I check in phpmyadmin), system didn't save my data (name, phone number) and also generate Id for client?And I didn't reveive sms confirmation from server that contain generated ID (by server) and my name :(
There's empty in bupbdb database :(

What should I do? Need your help. Thanks.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
certain_death wrote
My mistake that is my SIM is expired, so that it can't sent my sms. But now I've change it with new one, and my sms sent succcesfully :)

Okay. As there is no problem with a phone, I close this Motorola C650 topic now.

certain_death wrote
Also I've try to tes my eventhandler with ref#(name) and server reply with sms "your format is wrong. Type reg#name".

But, the problem is, why when I'm type as the format (reg#name), in database (I check in phpmyadmin), system didn't save my data (name, phone number) and also generate Id for client?And I didn't reveive sms confirmation from server that contain generated ID (by server) and my name :(
There's empty in bupbdb database :(

Your script just does not work. Like I have written before, you must check and test the script manually before running it as an eventhandler for smsd. Otherwise you do not see error messages and have no idea about the command which fails. Use additional echo "variable: $variable" lines for debugging and especially with SQL queries: test them directly from the command line until you find the correct syntax. Notice difference between characters ' and ` and notice space characters where they are required.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.