Re: Problem with USB to serial for GSM Modem

2006-11-08 Thread Allison Almeida
Divyesh.Your config would work, like in userguide, but my suggest is to add name = mast in sendsms-user group, if you already did not make this.[]sAllison Almeida.
2006/11/8, Divyesh Amipara [EMAIL PROTECTED]:














Hi All,



Another problem with sms-service, it does
not show SVC in access log.



I tried access-log-format and name in
sms-service…but could not get through.



#access-log-format = %t %l [SMSC:%i]
[SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d]
[msg:%L:%b] [udh:%U:%u]



Can anyone tell me what could be wrong? Need
help, please.



Thanks,

 Divyesh A.





Access.log



2006-11-07 21:31:46 Receive SMS
[SMSC:NokiaGSM] [SVC:] [ACT:]
[BINF:] [from:+96899002067] [to: 0096892980968] [flags:-1:0:-1:0:-1]
[msg:4:mast] [udh:0:]

2006-11-07 21:31:46 SMS request
sender:+96899002067 request: 'mast'
fixed answer: 'Testing 1234...'

2006-11-07 21:31:54 Sent SMS
[SMSC:NokiaGSM] [SVC:] [ACT:] [BINF:] [from: 0096892980968] [to:+96899002067]
[flags:-1:0:-1:-1:-1] [msg:15:Testing 1234...] [udh:0:]



Kannel.log



2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMT: ,23

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 07916998390016F0240B916998092060F76011701203716104EDF09C0E

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: received message from SMSC: +96899300610

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Numeric sender (international) +96899002067

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: User data length read as (4)

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Udh decoding done len=4 udhi=0 udhlen=0 udh=''

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CNMA^M

2006-11-07 21:31:46 [10463] [9] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [9] DEBUG:
boxc_sender: sent message to 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: sms received

2006-11-07 21:31:46 [10463] [8] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: got ack

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: TP-Validity-Period: 24.0 hours

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CMGS=28^M

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 1

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 0011000B9169980920

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 60F7A70FD4F29C

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 9E769F4131D98CE672

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- B900

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMGS: 10

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 0



Smsbox.log



2006-11-07 21:31:46 [10473] [4] INFO:
Starting to service mast
from +96899002067 to 0096892980968

2006-11-07 21:31:46 [10473] [4] DEBUG:
formatted text answer: Testing 1234...

2006-11-07 21:31:46 [10473] [4] DEBUG:
message length 15, sending 1 messages

2006-11-07 21:31:46 [10473] [0] DEBUG: Got
ACK (0) of 10bf23ae-cdb0-4361-af57-b4f694431d36



Kannel.conf



group = smsc

smsc = at

smsc-id = NokiaGSM

modemtype = nokiaphone

device = /dev/ttyUSB0

speed = 0

pin = 

keepalive = 30

my-number = 0096892980968



group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia

detect-string2 = Nokia 12i





group = sms-service

name = mast

keyword = mast

send-sender = true

text = Testing 1234...

catch-all = true

accept-x-kannel-headers = true



group = sms-service

name = Default

keyword = default

send-sender = true

text = Hey Dude, You have not
specified service. Please contact customer care for further details.

catch-all = true

accept-x-kannel-headers = true











From: Divyesh Amipara
[mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 06, 2006
1:40 PM
To: users@kannel.org
Subject: Problem with USB to
serial for GSM Modem
Importance: High





Hi,



I am using Nokia 12i GSM modem with Fedora Core 5 with USB
to serial connector as I don't have serial port on my

laptop (Dell Inspiron 6400).



Now, it does not get detected at ttyUSB0, what could be the
problem?



Could any one help me out?



Thanks,

 Divyesh A.














RE: Problem with USB to serial for GSM Modem

2006-11-08 Thread Divyesh Amipara








Hi,



I have one question, 



n
if I put
name=mast in sendsms-user group,
then it will apply to all the sms-service and appear the same for all service?



But I want to use couple of sms-service
and that should appear in access-log.



Any clue?



Thanks,

 Divyesh A.











From: Allison Almeida
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 08, 2006
2:44 PM
To: Divyesh Amipara
Cc: users@kannel.org
Subject: Re: Problem with USB to
serial for GSM Modem





Divyesh.


Your config would work, like in userguide, but my suggest is to add name
= mast in sendsms-user group, if you already did not make
this.


[]s
Allison Almeida.



2006/11/8, Divyesh Amipara [EMAIL PROTECTED]:





Hi All,



Another problem with sms-service, it does not show SVC in
access log.



I tried access-log-format and name in sms-servicebut could
not get through.



#access-log-format = %t %l [SMSC:%i] [SVC:%n] [ACT:%A]
[BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b]
[udh:%U:%u]



Can anyone tell me what could be wrong? Need help, please.



Thanks,

 Divyesh A.





Access.log



2006-11-07 21:31:46 Receive SMS [SMSC:NokiaGSM] [SVC:] [ACT:] [BINF:] [from:+96899002067]
[to: 0096892980968] [flags:-1:0:-1:0:-1] [msg:4:mast] [udh:0:]

2006-11-07 21:31:46 SMS request sender:+96899002067 request: 'mast' fixed answer: 'Testing
1234...'

2006-11-07 21:31:54 Sent SMS [SMSC:NokiaGSM] [SVC:] [ACT:]
[BINF:] [from: 0096892980968] [to:+96899002067] [flags:-1:0:-1:-1:-1]
[msg:15:Testing 1234...] [udh:0:]



Kannel.log



2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: --
+CMT: ,23

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: --
07916998390016F0240B916998092060F76011701203716104EDF09C0E

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]:
received message from SMSC: +96899300610

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: Numeric
sender (international) +96899002067

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: User
data length read as (4)

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: Udh
decoding done len=4 udhi=0 udhlen=0 udh=''

2006-11-07 21:31:46 [10463] [6] DEBUG: AT2[NokiaGSM]: --
AT+CNMA^M

2006-11-07 21:31:46 [10463] [9] DEBUG: send_msg: sending msg
to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [9] DEBUG: boxc_sender: sent
message to 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG: boxc_receiver: sms
received

2006-11-07 21:31:46 [10463] [8] DEBUG: send_msg: sending msg
to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG: boxc_receiver: got ack

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
OK

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]:
TP-Validity-Period: 24.0 hours

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
AT+CMGS=28^M

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --


2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: send
command status: 1

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
0011000B9169980920

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
60F7A70FD4F29C

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
9E769F4131D98CE672

2006-11-07 21:31:47 [10463] [6] DEBUG: AT2[NokiaGSM]: --
B900

2006-11-07 21:31:54 [10463] [6] DEBUG: AT2[NokiaGSM]: --


2006-11-07 21:31:54 [10463] [6] DEBUG: AT2[NokiaGSM]: --
+CMGS: 10

2006-11-07 21:31:54 [10463] [6] DEBUG: AT2[NokiaGSM]: --
OK

2006-11-07 21:31:54 [10463] [6] DEBUG: AT2[NokiaGSM]: send
command status: 0



Smsbox.log



2006-11-07 21:31:46 [10473] [4] INFO: Starting to service mast from +96899002067 to
0096892980968

2006-11-07 21:31:46 [10473] [4] DEBUG: formatted text answer:
Testing 1234...

2006-11-07 21:31:46 [10473] [4] DEBUG: message length 15,
sending 1 messages

2006-11-07 21:31:46 [10473] [0] DEBUG: Got ACK (0) of
10bf23ae-cdb0-4361-af57-b4f694431d36



Kannel.conf



group = smsc

smsc = at

smsc-id = NokiaGSM

modemtype = nokiaphone

device = /dev/ttyUSB0

speed = 0

pin = 

keepalive = 30

my-number = 0096892980968



group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia

detect-string2 = Nokia 12i





group = sms-service

name = mast

keyword = mast

send-sender = true

text = Testing 1234...

catch-all = true

accept-x-kannel-headers = true



group = sms-service

name = Default

keyword = default

send-sender = true

text = Hey Dude, You have not specified service. Please
contact customer care for further details.

catch-all = true

accept-x-kannel-headers = true











From: Divyesh Amipara [mailto:[EMAIL PROTECTED]]

Sent: Monday, November 06, 2006
1:40 PM
To: users@kannel.org
Subject: Problem with USB to
serial for GSM Modem
Importance: High







Hi,



I
am using Nokia 12i GSM modem with Fedora Core 5 with USB to serial connector as
I don't have serial port on my

laptop
(Dell Inspiron 6400).



Now,
it does not get detected at ttyUSB0, what could be the problem?



Could
any one help me out?



Thanks,


Divyesh A.
























RE: Problem with USB to serial for GSM Modem

2006-11-07 Thread Divyesh Amipara








Hi,



Thanks it does work under /dev/ttyUSB0.



 Divyesh A.











From: Allison Almeida
[mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006
3:29 PM
To: Divyesh Amipara
Cc: users@kannel.org
Subject: Re: Problem with USB to
serial for GSM Modem





Hi All.


Do you need to load a usbserial module on your linux box.

- Disconnect your usb-serial cable;
- Like root user: modprobe usbserial enter
- Connect your usb-serial cable, with your modem connected. 

You'll see a message informing the sucessfull conection.

If don't appear on screen, try dmesg to see some message.


[]s





2006/11/6, Divyesh Amipara  [EMAIL PROTECTED]:





Hi,



I
am using Nokia 12i GSM modem with Fedora Core 5 with USB to serial connector as
I don't have serial port on my

laptop
(Dell Inspiron 6400).



Now,
it does not get detected at ttyUSB0, what could be the problem?



Could
any one help me out?



Thanks,


Divyesh A.






















RE: Problem with USB to serial for GSM Modem

2006-11-07 Thread Divyesh Amipara








Hi All,



Another problem with sms-service, it does
not show SVC in access log.



I tried access-log-format and name in
sms-servicebut could not get through.



#access-log-format = %t %l [SMSC:%i]
[SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d]
[msg:%L:%b] [udh:%U:%u]



Can anyone tell me what could be wrong? Need
help, please.



Thanks,

 Divyesh A.





Access.log



2006-11-07 21:31:46 Receive SMS
[SMSC:NokiaGSM] [SVC:] [ACT:]
[BINF:] [from:+96899002067] [to: 0096892980968] [flags:-1:0:-1:0:-1]
[msg:4:mast] [udh:0:]

2006-11-07 21:31:46 SMS request
sender:+96899002067 request: 'mast'
fixed answer: 'Testing 1234...'

2006-11-07 21:31:54 Sent SMS
[SMSC:NokiaGSM] [SVC:] [ACT:] [BINF:] [from: 0096892980968] [to:+96899002067]
[flags:-1:0:-1:-1:-1] [msg:15:Testing 1234...] [udh:0:]



Kannel.log



2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMT: ,23

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 07916998390016F0240B916998092060F76011701203716104EDF09C0E

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: received message from SMSC: +96899300610

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Numeric sender (international) +96899002067

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: User data length read as (4)

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Udh decoding done len=4 udhi=0 udhlen=0 udh=''

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CNMA^M

2006-11-07 21:31:46 [10463] [9] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [9] DEBUG:
boxc_sender: sent message to 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: sms received

2006-11-07 21:31:46 [10463] [8] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: got ack

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: TP-Validity-Period: 24.0 hours

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CMGS=28^M

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 1

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 0011000B9169980920

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 60F7A70FD4F29C

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 9E769F4131D98CE672

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- B900

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMGS: 10

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 0



Smsbox.log



2006-11-07 21:31:46 [10473] [4] INFO:
Starting to service mast
from +96899002067 to 0096892980968

2006-11-07 21:31:46 [10473] [4] DEBUG:
formatted text answer: Testing 1234...

2006-11-07 21:31:46 [10473] [4] DEBUG:
message length 15, sending 1 messages

2006-11-07 21:31:46 [10473] [0] DEBUG: Got
ACK (0) of 10bf23ae-cdb0-4361-af57-b4f694431d36



Kannel.conf



group = smsc

smsc = at

smsc-id = NokiaGSM

modemtype = nokiaphone

device = /dev/ttyUSB0

speed = 0

pin = 

keepalive = 30

my-number = 0096892980968



group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia

detect-string2 = Nokia 12i





group = sms-service

name = mast

keyword = mast

send-sender = true

text = Testing 1234...

catch-all = true

accept-x-kannel-headers = true



group = sms-service

name = Default

keyword = default

send-sender = true

text = Hey Dude, You have not
specified service. Please contact customer care for further details.

catch-all = true

accept-x-kannel-headers = true











From: Divyesh Amipara
[mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006
1:40 PM
To: users@kannel.org
Subject: Problem with USB to
serial for GSM Modem
Importance: High





Hi,



I am using Nokia 12i GSM modem with Fedora Core 5 with USB
to serial connector as I dont have serial port on my

laptop (Dell Inspiron 6400).



Now, it does not get detected at ttyUSB0, what could be the
problem?



Could any one help me out?



Thanks,

 Divyesh A.












Re: Problem with USB to serial for GSM Modem

2006-11-06 Thread Allison Almeida
Hi All.Do you need to load a usbserial module on your linux box.- Disconnect your usb-serial cable;- Like root user: modprobe usbserial enter- Connect your usb-serial cable, with your modem connected.
You'll see a message informing the sucessfull conection.If don't appear on screen, try dmesg to see some message.[]s2006/11/6, Divyesh Amipara 
[EMAIL PROTECTED]:












Hi,



I am using Nokia 12i GSM modem with Fedora Core 5 with USB
to serial connector as I don't have serial port on my

laptop (Dell Inspiron 6400).



Now, it does not get detected at ttyUSB0, what could be the
problem?



Could any one help me out?



Thanks,

 Divyesh A.














Re: Problem with USB to serial for GSM Modem

2006-11-06 Thread Mihai Zsigmond



Hi there,

You can find it probably at 
/dev/ttyACM0.

Brg,

Mihai

  - Original Message - 
  From: 
  Divyesh Amipara 
  To: users@kannel.org 
  Sent: Monday, November 06, 2006 11:39 
  AM
  Subject: Problem with USB to serial for 
  GSM Modem
  
  
  Hi,
  
  I am using Nokia 12i GSM modem 
  with Fedora Core 5 with USB to serial connector as I don’t have serial port on 
  my
  laptop (Dell Inspiron 
  6400).
  
  Now, it does not get detected at 
  ttyUSB0, what could be the problem?
  
  Could any one help me 
  out?
  
  Thanks,
   Divyesh 
  A.