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-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]: <-- 07916998390016F0240B916998092060F700006011701203716104EDF09C0E

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]: --> 60F70000A70FD4F29C

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 = 1111

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: [email protected]
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.

 

 



Reply via email to