Re: GSM modem

2016-10-14 Thread Kyriacos Sakkas

Hi,

Just ordered this https://www.smsfoxbox.it/en/usb-gsm-gprs-modem.html/
Expecting it some time next week, so not yet tested, but with OpenAT 
support I am expecting it to work fine.


On 14/10/2016 11:54, Andreas Constantinou wrote:


Hello,

Anyone can recommend any GSM Modem (usb) integrated with kannel ? 
Brand/model specific?


Thank you.

--Andreas



--
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: kyria...@netsmart.com.cy
http://www.netsmart.com.cy

Taking Business to a New Level!

** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this  email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at kyria...@netsmart.com.cy **



GSM modem

2016-10-14 Thread Andreas Constantinou
Hello,

 

Anyone can recommend any GSM Modem (usb) integrated with kannel ?
Brand/model specific?

Thank you.

 

--Andreas



GSM Modem (Huawei k3806-Z)

2016-05-05 Thread Andreas Constantinou
I am trying to connect a Huawei 3g gsm modem (Huawei k3806-Z) to my kannel
gsm gateway. This is my kannel.conf setup for the gsm modem:

 

group = modems

id = huawei

name = "Huawei K3806"

detect-string = "huawei"

init-string = "AT+CNMI=2,2,0,0,0"

reset-string = "ATZ"

speed=9600

 

group = smsc

smsc = at

smsc-id = Huawei

modemtype = huawei

device=/dev/ttyACM0

my-number = +35799xx

sms-center = +3579970

log-level = 0

pin = 1234

 

 

Kannel.log

 

2016-05-05 17:14:11 [2744] [9] INFO: AT2[Huawei]: opening device

2016-05-05 17:14:11 [2744] [9] DEBUG: AT2[Huawei]: device opened. Telnet
mode = 0

2016-05-05 17:14:11 [2744] [9] DEBUG: AT2[Huawei]: device opened

2016-05-05 17:14:11 [2744] [9] INFO: AT2[Huawei]: Logging in

2016-05-05 17:14:11 [2744] [9] INFO: AT2[Huawei]: init device

2016-05-05 17:14:11 [2744] [9] INFO: AT2[Huawei]: speed set to 9600

2016-05-05 17:14:11 [2744] [9] DEBUG: AT2[Huawei]: --> ATZ^M

2016-05-05 17:14:12 [2744] [9] DEBUG: AT2[Huawei]: <-- ERROR

2016-05-05 17:14:12 [2744] [9] ERROR: AT2[Huawei]: Generic error: ERROR

2016-05-05 17:14:12 [2744] [9] ERROR: AT2[Huawei]: Wrong or no answer to
ATZ, ignoring

2016-05-05 17:14:12 [2744] [9] ERROR: AT2[Huawei]: Initialization of device
failed. Attempt #3 on -1 max.

2016-05-05 17:14:12 [2744] [9] INFO: AT2[Huawei]: Closing device

2016-05-05 17:14:12 [2744] [9] ERROR: AT2[Huawei]: Couldn't connect
(retrying in 10 seconds).

 

Regards,

Andreas

 



Re: Cofiguring Kannel SMS Gate way in Ubuntu 10.04 and Samsung GT-S5360 as Gsm modem

2014-11-03 Thread Alvaro Cornejo
Hi

Use this as you modem config

group = modems
id = smsc1
name = Samsung
detect-string = "GT-S5360"
#init-string = "AT+CNMI=1,1,0,1,2"

Then test it kannel starts correctly. if so test send & receive.

Regards

Alvaro


|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
  Visitenos en www.perusms.com

On Fri, Oct 31, 2014 at 4:19 AM, Anjaly Kurian 
wrote:

> Hi,
> I am trying to configure kannel sms gateway in ubuntu 10.04. Kannel
> gateway-1.4.4 is downloaded and installed.My configuration file kannel.conf
> is shown below
>
> #
> # THIS IS A SAMPLE CONFIGURATION FOR KANNEL
> #
> # For any modifications to this file, see Kannel User Guide
> # If that does not help, send email to us...@kannel.org
> #
>
> group = core
> admin-port = 13000
> admin-password = bar
> smsbox-port = 13131
> #status-password = foo
> #admin-deny-ip = ""
> #admin-allow-ip = ""
> log-file = "/kannel/log/kannel.log"
> #log-level = 0
> #access-log = "access.log"
> #http-proxy-host = "127.0.0.1"
> #http-proxy-port = 8080
> #http-proxy-exceptions = "127.0.0.1"
> #http-proxy-username = "user"
> #http-proxy-password = "password"
> #ssl-certkey-file = "mycertandprivkeyfile.pem"
>
> # SMSC GSM
> group = smsc
> smsc = at
> modemtype = USB Modem
> device = /dev/ttyACM0
> speed = 460800
> smsc-id = samsung
> log-file = "/kannel/log/smsc.log"
> #pin = 2345
> #validityperiod = 167
>
> group = modems
> id = smsc1
> name = Samsung
> #detect-string2 = "Samsung"
> #init-string = "AT+CNMI=1,1,0,1,2"
>
> # SMSBOX SETUP
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> smsbox-id = smsc1
> bearerbox-port = 13131
> #sendsms-chars = "0123456789 +-"
> global-sender = 13013
> log-file = "/kannel/log/smsbox.log"
> #log-level = 0
> #access-log = "access.log"
> #white-list =
> #black-list =
> #reply-couldnotfetch =
> #reply-couldnotrepresent =
> #reply-requestfailed =
> #reply-emptymessage =
>
>
> #SMS ROUTE
> group = smsbox-route
> smsbox-id = smsc1
> smsc-id = samsung
>
> # SEND-SMS USERS
>
> group = sendsms-user
> username = tester
> password = foobar
> #user-deny-ip = ""
> #user-allow-ip = ""
>
> # this sender is for Kannel relay testing (http_smsc)
>
> group = sendsms-user
> username = kannel
> password = rL4y
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1"
> #name = service_kannel
> #forced-smsc = ID
> #default-smsc = ID
> #faked-sended =
> #max-messages = 1
> #concatenation = 1
> #split-chars =
> #split-suffix =
> #omit-empty =
> #header =
> #footer =
> #allowed-prefix =
> #denied-prefix =
> #white-list =
> #black-list =
>
> # SMS SERVICE Default
> # there should be default always
> group = sms-service
> keyword = default
> text = "No service specified"
>
> When am running bearerbox and smsbox it shows error like
>
> 'System error 111: Connection refused
> 2014-10-31 14:26:42 [7804] [0] ERROR: error connecting to server
> `127.0.0.1' at port `13131''
>
> The kannel.log file is shown below
>
> 2014-10-31 14:26:29 [7793] [0] INFO: Added logfile
> `/kannel/log/kannel.log' with level `0'.
> 2014-10-31 14:26:29 [7793] [0] INFO: SSL not supported, no SSL
> initialization done.
> 2014-10-31 14:26:29 [7793] [0] INFO: HTTP: Opening server at port 13000.
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2014-10-31 14:26:29 [7793] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 7793.
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2014-10-31 14:26:29 [7793] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) maps to pid 7793.
> 2014-10-31 14:26:29 [7793] [2] DEBUG: HTTP: Including port 13000, fd 9 for
> polling in server thread
> 2014-10-31 14:26:29 [7793] [0] DEBUG: starting smsbox connection module
> 2014-10-31 14:26:29 [7793] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run) maps to pid 7793.
> 2014-10-31 14:26:29 [7793] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Adding smsbox routing to id 
> for smsc id 
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2014-10-31 14:26:29 [7793] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 7793.
> 2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2014-10-31 14:26:29 [7793] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2014-10-31 14:26:29 [7793] [0] INFO: SMS resend retry set to unlimited.
> 2014-10-31 14:26:29 [7793] [0] DEBUG: MO concatenated message handling
> enabled
> 2014-10-31 14:26:29 [7793] [0] INFO: DLR rerouting for smsc id 
> disabled.
> 2014-10-31 14:26:29 [7793] [5] DEBUG: Thread 5 (gw/bb_box

Cofiguring Kannel SMS Gate way in Ubuntu 10.04 and Samsung GT-S5360 as Gsm modem

2014-10-31 Thread Anjaly Kurian
Hi,
I am trying to configure kannel sms gateway in ubuntu 10.04. Kannel 
gateway-1.4.4 is downloaded and installed.My configuration file kannel.conf is 
shown below

#
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to us...@kannel.org
#

group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13131
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/kannel/log/kannel.log"
#log-level = 0
#access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC GSM
group = smsc
smsc = at
modemtype = USB Modem
device = /dev/ttyACM0
speed = 460800
smsc-id = samsung
log-file = "/kannel/log/smsc.log"
#pin = 2345
#validityperiod = 167

group = modems
id = smsc1
name = Samsung
#detect-string2 = "Samsung"
#init-string = "AT+CNMI=1,1,0,1,2"

# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
smsbox-id = smsc1
bearerbox-port = 13131
#sendsms-chars = "0123456789 +-"
global-sender = 13013
log-file = "/kannel/log/smsbox.log"
#log-level = 0
#access-log = "access.log"
#white-list =
#black-list =
#reply-couldnotfetch = 
#reply-couldnotrepresent = 
#reply-requestfailed =
#reply-emptymessage = 


#SMS ROUTE
group = smsbox-route
smsbox-id = smsc1
smsc-id = samsung

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
#name = service_kannel
#forced-smsc = ID
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars = 
#split-suffix = 
#omit-empty = 
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =

# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"

When am running bearerbox and smsbox it shows error like

'System error 111: Connection refused
2014-10-31 14:26:42 [7804] [0] ERROR: error connecting to server `127.0.0.1' at 
port `13131''

The kannel.log file is shown below

2014-10-31 14:26:29 [7793] [0] INFO: Added logfile `/kannel/log/kannel.log' 
with level `0'.
2014-10-31 14:26:29 [7793] [0] INFO: SSL not supported, no SSL initialization 
done.
2014-10-31 14:26:29 [7793] [0] INFO: HTTP: Opening server at port 13000.
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2014-10-31 14:26:29 [7793] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 7793.
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)
2014-10-31 14:26:29 [7793] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 7793.
2014-10-31 14:26:29 [7793] [2] DEBUG: HTTP: Including port 13000, fd 9 for 
polling in server thread
2014-10-31 14:26:29 [7793] [0] DEBUG: starting smsbox connection module
2014-10-31 14:26:29 [7793] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 7793.
2014-10-31 14:26:29 [7793] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2014-10-31 14:26:29 [7793] [0] DEBUG: Adding smsbox routing to id  for 
smsc id 
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)
2014-10-31 14:26:29 [7793] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 7793.
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)
2014-10-31 14:26:29 [7793] [0] INFO: Set SMS resend frequency to 60 seconds.
2014-10-31 14:26:29 [7793] [0] INFO: SMS resend retry set to unlimited.
2014-10-31 14:26:29 [7793] [0] DEBUG: MO concatenated message handling enabled
2014-10-31 14:26:29 [7793] [0] INFO: DLR rerouting for smsc id  
disabled.
2014-10-31 14:26:29 [7793] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 7793.
2014-10-31 14:26:29 [7793] [0] INFO: Added logfile `/kannel/log/smsc.log' with 
level `0'.
2014-10-31 14:26:29 [7793] [0] INFO: AT2[samsung]: configuration shows 
modemtype 
2014-10-31 14:26:29 [7793] [0] DEBUG: AT2[samsung]: Reading modem definitions 
from 
2014-10-31 14:26:29 [7793] [0] DEBUG: AT2[samsung]: Found <1> modems in config
2014-10-31 14:26:29 [7793] [0] INFO: AT2[samsung]: modemtype not found, revert 
to autodetect
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)
2014-10-31 14:26:29 [7793] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 7793.
2014-10-31 14:26:29 [7793] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router)
2014-10-31 14:26:29 [7793] [0] INFO: 
2014-10-31 14:26:29 [7793] [0] INFO: Kannel bearerbo

Re: Initialization of device failed Error While connecting Kannel with GSM modem

2014-10-20 Thread Anjaly Kurian
Hi
Thanks for your reply sir. How to solve this problem? Is it require to change 
the configuration..?Please help me sir..
-- 
With regards,
Anjaly Kurian

21.10.2014, 08:44, "Andreas Fink" :
> this part hints that AT+IFC=2,2 does stop the modem from sending the data to 
> your computer because the hardware handshake wires (RTS/CTS) are not 
> connected and thus the modem waits on the computer to become available.
>
>> Am 21.10.2014 um 05:54 schrieb Anjaly Kurian :
>>
>> 2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT+IFC=2,2^M
>> 2014-10-21 09:00:44 [5744] [6] INFO: AT2[simcom]: cannot enable hardware 
>> handshake
>
> Andreas Fink

-- 
With regards,
Anjaly Kurian



Re: Initialization of device failed Error While connecting Kannel with GSM modem

2014-10-20 Thread Andreas Fink
this is a hardware issue, not a software issue. Fix your serial port cable.

> Am 21.10.2014 um 06:59 schrieb Anjaly Kurian :
> 
> Hi
> Thanks for your reply sir. How to solve this problem? Is it require to change 
> the configuration..?Please help me sir..
> -- 
> With regards,
> Anjaly Kurian
> 
> 21.10.2014, 08:44, "Andreas Fink" :
>> this part hints that AT+IFC=2,2 does stop the modem from sending the data to 
>> your computer because the hardware handshake wires (RTS/CTS) are not 
>> connected and thus the modem waits on the computer to become available.
>> 
>>> Am 21.10.2014 um 05:54 schrieb Anjaly Kurian :
>>> 
>>> 2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT+IFC=2,2^M
>>> 2014-10-21 09:00:44 [5744] [6] INFO: AT2[simcom]: cannot enable hardware 
>>> handshake
>> 
>> Andreas Fink
> 
> -- 
> With regards,
> Anjaly Kurian




Andreas Fink

CEO DataCell ehf
CEO Backbone ehf

---
Tel: +41-61-330 Fax: +41-61-331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  andr...@fink.org
www.datacell.com, www.backbone.is, www.finkconsulting.com www.fink.org
---
Jabber/XMPP: andr...@fink.org
ICQ: 8239353 Skype: andreasfink 






Initialization of device failed Error While connecting Kannel with GSM modem

2014-10-20 Thread Anjaly Kurian
Hi
I am setting up Kannel SMS gateway (Version 1.4.4)  Using Cygwin in Windows. I 
am Using GSM modem SIM900A for sending SMS’s.Two times this gateway running 
successfully.It sends SMS's.But now it does not connecting to GSM  modem. It 
shows error 'Initialization of device failed' .My kannel.conf is given below.

#
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to us...@kannel.org
#

group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/Kannel/log/bearerbox.log"
log-level = 0
#dlr-storage = mysql
#access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC SMPP
#group = smsc
#smsc = smpp
#host = 127.0.0.1
#port = 1
#receive-port = 16400
#smsc-username = kannel
#smsc-password = kannel
#system-type = type
#address-range =


# SMSC GSM
group = smsc
smsc = at
modemtype = simcom 
device = /dev/ttyS2
#pin = 1234
speed = auto
smsc-id = simcom
#validityperiod = 167
log-file = "/Kannel/log/smsc.log"
#smsc-username = kannel
#smsc-password = kannel

group = modems
id = simcom 
name = Simcom 
detect-string2 = "SIM900A"
#detect-string2 = “SIM900A”
#init-string = "ATZ"


# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#bearerbox-port = 13001
#sendsms-chars = "0123456789 +-"
#global-sender = 13013
log-file = "/Kannel/log/smsbox.log"
log-level = 0
smsbox-id = smsc1

group = smsbox-route
smsbox-id = smsc1
smsc-id = simcom

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"


# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"

#include = /Kannel/cfg/modems.conf

#mysql connection
#group = mysql-connection
#id = sqlbox-db
#host = localhost
#username = root
#password = “”
#database = kanneldb
#max-connections = 10

# DLR SETUP
#mysql connection
#group = mysql-connection
#id = mydlr
#host = localhost
#username = root
#password = “”
#database = kanneldb
#max-connections = 10

#group = dlr-db
#id = mydlr
#table = kannel_dlr
#field-smsc = smsc
#field-timestamp = timestamp
#field-destination = destination
#field-source = source
#field-service = service
#field-url = url
#field-mask = mask
#field-status = status
#field-boxc-id = boxc_id


And the modem log is shown below

2014-10-21 09:00:34 [5744] [6] INFO: AT2[simcom]: trying to use speed <9600> 
from modem definition
2014-10-21 09:00:34 [5744] [6] INFO: AT2[simcom]: opening device
2014-10-21 09:00:34 [5744] [6] DEBUG: AT2[simcom]: device opened. Telnet mode = 0
2014-10-21 09:00:34 [5744] [6] DEBUG: AT2[simcom]: device opened
2014-10-21 09:00:34 [5744] [6] INFO: AT2[simcom]: speed set to 9600
2014-10-21 09:00:34 [5744] [6] DEBUG: AT2[simcom]: --> ^M
2014-10-21 09:00:36 [5744] [6] DEBUG: AT2[simcom]: --> AT^M
2014-10-21 09:00:36 [5744] [6] DEBUG: AT2[simcom]: <-- AT
2014-10-21 09:00:36 [5744] [6] DEBUG: AT2[simcom]: <-- OK
2014-10-21 09:00:36 [5744] [6] INFO: AT2[simcom]: Closing device
2014-10-21 09:00:36 [5744] [6] INFO: AT2[simcom]: speed is 9600
2014-10-21 09:00:36 [5744] [6] INFO: AT2[simcom]: opening device
2014-10-21 09:00:36 [5744] [6] DEBUG: AT2[simcom]: device opened. Telnet mode = 0
2014-10-21 09:00:36 [5744] [6] DEBUG: AT2[simcom]: device opened
2014-10-21 09:00:36 [5744] [6] INFO: AT2[simcom]: Logging in
2014-10-21 09:00:37 [5744] [6] INFO: AT2[simcom]: init device
2014-10-21 09:00:37 [5744] [6] INFO: AT2[simcom]: speed set to 9600
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> ATZ^M
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- ATZ
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- OK
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT^M
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- AT
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- OK
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT&F^M
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- AT&F
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- OK
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> ATE0^M
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- ATE0
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: <-- OK
2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT+IFC=2,2^M
2014-1

Re: Initialization of device failed Error While connecting Kannel with GSM modem

2014-10-20 Thread Andreas Fink
this part hints that AT+IFC=2,2 does stop the modem from sending the data to 
your computer because the hardware handshake wires (RTS/CTS) are not connected 
and thus the modem waits on the computer to become available.

> Am 21.10.2014 um 05:54 schrieb Anjaly Kurian :
> 
> 2014-10-21 09:00:37 [5744] [6] DEBUG: AT2[simcom]: --> AT+IFC=2,2^M
> 2014-10-21 09:00:44 [5744] [6] INFO: AT2[simcom]: cannot enable hardware 
> handshake




Andreas Fink




Re: Queued for later delivery results while Sending SMS Using Kannel Sms Gateway and GSM modem SIM900A

2014-09-24 Thread Alvaro Cornejo
Hi

Please post logs.

Seems kannel does not find an outgoing route for your message.

Regards

Alvaro

|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
  Visitenos en www.perusms.com

On Tue, Sep 23, 2014 at 11:34 PM, Anjaly Kurian  wrote:

>
> Hi
> I a setting up Kannel SMS gateway (Version 1.4.4)  Using Cygwin in
> Windows. I am Using GSM modem "SIM900A" for sending SMS's. When I am
> sending sms it shows
> "3.Queued For later delivery".  I think my Bearerbox and Smsbox are
> running Correctly.
> When am sending a message , the bearerbox.log file shows the following..
>
> 2014-09-23 17:25:13 [4272] [7] DEBUG: Routing failed, re-queued.
> 2014-09-23 17:25:13 [4272] [7] DEBUG: sms_router: time to sleep 30.00 secs.
>
> I don't Understand where is my problem..Any one please help me..
> I am attaching kannel.conf, and modems.conf files
> --
> With regards,
> Anjaly Kurian


Queued for later delivery results while Sending SMS Using Kannel Sms Gateway and GSM modem SIM900A

2014-09-23 Thread Anjaly Kurian

Hi
I a setting up Kannel SMS gateway (Version 1.4.4)  Using Cygwin in Windows. I 
am Using GSM modem "SIM900A" for sending SMS’s. When I am sending sms it shows
“3.Queued For later delivery”.  I think my Bearerbox and Smsbox are running 
Correctly. 
When am sending a message , the bearerbox.log file shows the following..

2014-09-23 17:25:13 [4272] [7] DEBUG: Routing failed, re-queued.
2014-09-23 17:25:13 [4272] [7] DEBUG: sms_router: time to sleep 30.00 secs.

I don’t Understand where is my problem..Any one please help me..
I am attaching kannel.conf, and modems.conf files
-- 
With regards,
Anjaly Kurian#
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to us...@kannel.org
#

group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/Kannel/log/bearerbox.log"
log-level = 0
#dlr-storage = mysql
#access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC SMPP
#group = smsc
#smsc = smpp
#host = 127.0.0.1
#port = 1
#receive-port = 16400
#smsc-username = kannel
#smsc-password = kannel
#system-type = type
#address-range =


# SMSC GSM
group = smsc
smsc = at
#modemtype = auto
device = /dev/ttyS0
pin = 1234
smsc-id = MDM
#validityperiod = 167
log-file = "/Kannel/log/smsc.log"
smsc-username = kannel
smsc-password = kannel


# SMSC Fake
#group = smsc
#smsc = fake
#host =
#port = 1
#connect-allow-ip =  127.0.0.1
#log-file = "/Kannel/log/smsc.log"


# SMSC HTTP
#group = smsc
#smsc = http
#system-type = kannel
#send-url = 
#port = 
#connect-allow-ip = 
#username = 
#password = 


# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
bearerbox-port = 13001
sendsms-chars = "0123456789 +-"
global-sender = +918129113929
log-file = "/Kannel/log/smsbox.log"
log-level = 0
#access-log = "access.log"
#white-list =
#black-list =
#reply-couldnotfetch = 
#reply-couldnotrepresent = 
#reply-requestfailed =
#reply-emptymessage = 
smsbox-id = smsc1

group = smsbox-route
smsbox-id = smsc1
smsc-id = MDM

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
#name = service_kannel
#forced-smsc = ID
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars = 
#split-suffix = 
#omit-empty = 
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =



# SMS SERVICES

#group = sms-service
#name = nothing
#keyword = nop
#aliases = "noppy;niente"
#text = "You asked nothing and I did it!"
#get-url = "http://";
#post-url = "http://";
#file = "/tmp/"
#accepted-smsc = ID
#allowed-prefix = 
#denied-prefix = 
#catch-all = false
#send-sender = false
#strip-keyword = false
#faked-sender = 
#max-messages = 1
#accept-x-kannel-headers = false
#assume-plain-text = false
#concatenation = false
#split-chars = 
#split-suffix = "+"
#omit-empty = true
#header =
#footer =
#prefix = 
#suffix =
#white-list =
#black-list =


# SMS SERVICE GET-URL EXAMPLE
#group = sms-service
#keyword = relay
#get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t


# SMS SERVICE black-list
#group = sms-service
#keyword = black-list
#text = "You are not alowed to use this service, Go away!"


# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"

include = /Kannel/cfg/modems.conf

#mysql connection
#group = mysql-connection
#id = sqlbox-db
#host = localhost
#username = root
#password = “”
#database = kanneldb
#max-connections = 10

# DLR SETUP
#mysql connection
#group = mysql-connection
#id = mydlr
#host = localhost
#username = root
#password = “”
#database = kanneldb
#max-connections = 10

#group = dlr-db
#id = mydlr
#table = kannel_dlr
#field-smsc = smsc
#field-timestamp = timestamp
#field-destination = destination
#field-source = source
#field-service = service
#field-url = url
#field-mask = mask
#field-status = status
#field-boxc-id = boxc_id

# Modems configuration
#
# Example and default values
# 
# group = modems
# id = "my-id"
# name = "my-name"
# detect-string = "MODEM"
# detect-string2 = "" [Default]
# init-string = "AT+CNMI=1,2,0,0,0" [Default]
# speed = 9600 [Default]
# enable-hwh

Send SMS to mobile phone without GSM Modem

2014-06-23 Thread Balasubramaniyan MIB
Dear Sir / Madam,

I'm new to this kannel,

I have successfully compiled the kannel and ready to start the server.

My aim is to send sms to mobile from PC without any GSM modem or mobile
phones. (I have the internet connection to the PC).

Is it possible through this kannel? If so, please guide me to do the same.

Looking forward for the reply.

-- 
Regards,
Balasubramaniyan
Mob No: +919600230087
Chennai


Re: Kannel and GSM Modem

2012-12-04 Thread Willy Mularto
Googling please ;)



On Dec 5, 2012, at 1:11 PM, saifullah wrote:

> Dear Experts
> 
> Would you like to post name of modems supported tcp/ip Because I want kannel
> and modem eill be on diffrent machine communicating over internet. 
> 
> 
> 
> --
> View this message in context: 
> http://kannel.6189.n7.nabble.com/Kannel-and-GSM-Modem-tp27304p27506.html
> Sent from the Kannel - Dev mailing list archive at Nabble.com.
> 

Willy Mularto
F300HD+MR18DE (NLC1725)












Re: Kannel and GSM Modem

2012-12-04 Thread saifullah
Dear Experts

Would you like to post name of modems supported tcp/ip Because I want kannel
and modem eill be on diffrent machine communicating over internet. 



--
View this message in context: 
http://kannel.6189.n7.nabble.com/Kannel-and-GSM-Modem-tp27304p27506.html
Sent from the Kannel - Dev mailing list archive at Nabble.com.



Re: GSM Modem Pool

2012-12-04 Thread Saifullah
Dear Experts

Thank you for your advice. Would you like to please mention your device
modem, availability. Actually I want that Kannel and the Modem (with
PC/server whatever) will be on different machine, they will communicate
over the internet. Is it possible?
-- 
Regards
Abu Nasar Md. Saifullah
System Engineer, P&D
Banglaphone Ltd.
Mobile:+8801722817250
Phone: +8803593451174

> I have a similar device in use with kannel. They are wavecom devices tied
> together with USB to serial adapters and USB hub. All in one box.
> They work well with kannel. Issues you might get into depending on model
> are to find the serial port driver.
>
>
> On 04.12.2012, at 09:27, Willy Mularto  wrote:
>
>> I think you can integrate it with Kannel. It says "Based on Wavecom
>> module Q24plus " So basically it should works.
>>
>>
>>
>>
>> On Dec 4, 2012, at 3:26 PM, Saifullah wrote:
>>
>>> Dear Experts
>>>
>>>
>>> Please see the link (
>>> http://bailingjianwylsa.en.made-in-china.com/product/zMhEfZjDkdWv/China-GSM-RJ45-Modem-Pool-for-Bulk-Message.html
>>> ).
>>>
>>> I have two question:
>>>
>>> 1.Is it possible to integrate with kannel where kannel and this modem
>>> will
>>> be different location connecting via internet?
>>>
>>> The following question is not kannel related. I will be thankful if
>>> anybody help me.
>>>
>>> 2. If doesn't possible, Is is can be integrated with a SMS sender
>>> server
>>> which will create http url to send SMS via this modem?
>>>
>>> Regards
>>> Saifullah
>>>
>>> Mobile:+8801722817250
>>> Phone: +8803593451174
>>>
>>>
>>>
>>>
>>
>> Willy Mularto
>> F300HD+MR18DE (NLC1725)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>





Re: GSM Modem Pool

2012-12-04 Thread Andreas Fink
I have a similar device in use with kannel. They are wavecom devices tied 
together with USB to serial adapters and USB hub. All in one box.
They work well with kannel. Issues you might get into depending on model are to 
find the serial port driver.


On 04.12.2012, at 09:27, Willy Mularto  wrote:

> I think you can integrate it with Kannel. It says "Based on Wavecom module 
> Q24plus " So basically it should works.
> 
> 
> 
> 
> On Dec 4, 2012, at 3:26 PM, Saifullah wrote:
> 
>> Dear Experts
>> 
>> 
>> Please see the link (
>> http://bailingjianwylsa.en.made-in-china.com/product/zMhEfZjDkdWv/China-GSM-RJ45-Modem-Pool-for-Bulk-Message.html
>> ).
>> 
>> I have two question:
>> 
>> 1.Is it possible to integrate with kannel where kannel and this modem will
>> be different location connecting via internet?
>> 
>> The following question is not kannel related. I will be thankful if
>> anybody help me.
>> 
>> 2. If doesn't possible, Is is can be integrated with a SMS sender server
>> which will create http url to send SMS via this modem?
>> 
>> Regards
>> Saifullah
>> 
>> Mobile:+8801722817250
>> Phone: +8803593451174
>> 
>> 
>> 
>> 
> 
> Willy Mularto
> F300HD+MR18DE (NLC1725)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 





Re: GSM Modem Pool

2012-12-04 Thread Willy Mularto
I think you can integrate it with Kannel. It says "Based on Wavecom module 
Q24plus " So basically it should works.




On Dec 4, 2012, at 3:26 PM, Saifullah wrote:

> Dear Experts
> 
> 
> Please see the link (
> http://bailingjianwylsa.en.made-in-china.com/product/zMhEfZjDkdWv/China-GSM-RJ45-Modem-Pool-for-Bulk-Message.html
> ).
> 
> I have two question:
> 
> 1.Is it possible to integrate with kannel where kannel and this modem will
> be different location connecting via internet?
> 
> The following question is not kannel related. I will be thankful if
> anybody help me.
> 
> 2. If doesn't possible, Is is can be integrated with a SMS sender server
> which will create http url to send SMS via this modem?
> 
> Regards
> Saifullah
> 
> Mobile:+8801722817250
> Phone: +8803593451174
> 
> 
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)












GSM Modem Pool

2012-12-04 Thread Saifullah
Dear Experts


Please see the link (
http://bailingjianwylsa.en.made-in-china.com/product/zMhEfZjDkdWv/China-GSM-RJ45-Modem-Pool-for-Bulk-Message.html
).

I have two question:

1.Is it possible to integrate with kannel where kannel and this modem will
be different location connecting via internet?

The following question is not kannel related. I will be thankful if
anybody help me.

2. If doesn't possible, Is is can be integrated with a SMS sender server
which will create http url to send SMS via this modem?

Regards
Saifullah

Mobile:+8801722817250
Phone: +8803593451174






Re: Kannel and GSM Modem

2012-11-11 Thread Saifullah
Dear Andres Fink

Thank your for your suggestion. Actually my scenario and requirement is
given below.

1. Kannel is run on one PC/Server. And this gateway is connected with
other operators of Bangladesh. I have SMSC (Sender Server) which use
kannel to send SMS to the other operators of Bangladesh. It works fine.

2. Now I want to send SMS in USA from this kannel. I want to do it by the
following step. I want a gsm gateway (not gsm modem. because for this i
need a extra PC/ Server which will increase my cost) which will be in USA
and it will use a SIM Card of USA. My kannel (in Bangladesh) will be
connected with the GSM Gateway (in USA) over internet i.e. Kannel and GSM
Gateway will be on different location. Is it possible? Please help me. I
found many Chinese GSM gateway but I am not sure what to do. Please help
me.


-- 
Regards
Abu Nasar Md. Saifullah
System Engineer, P&D
Banglaphone Ltd.
Mobile:+8801722817250
Phone: +8803593451174

>
> On 07.11.2012, at 07:44, Saifullah  wrote:
>
>> Hi Wlly Mularto
>>
>> Thanks for your reply. It help me very much. I have one important
>> question. Sppose I am sending SMS from kannel to GSM Modems whick work
>> as
>> SMSC what number will be shown on the display of destination user? Will
>> it
>> be number of GSM Modem number or Kannel sending number? Do the modems
>> Nokia Premicell, Siemens M20, Wavecom WM02-G1800 modem support networkin
>> tcp/ip?
>>
>> Thanks in advance.
>
>
> ghe gsm modems are actually not a real SMSC as it submits a SMS-MO to a
> real SMSC who then delivers it to the destination. As such the deliver
> over a GSM modem is working the same way as if you would type an SMS on a
> phone which results in the SIM card's number to be sent as originators.
>
> Some of the modems of today do support GRPS networking (as tcp/ip). If you
> talk about access from kannel to the gsm modems, there are some devices
> which have a gsm modem built in and then present it on a ethernet (usually
> for IP dial-out). Kannel doesnt need TCP/IP to talk to the modem but a
> serial port. I have some boxes out of china which connect 16 or 32 or 64
> GSM modem to a computer by a simple USB cable. The computer will get the
> same amount of serial ports which then can be used directly from kannel.
>
>
>
>





Re: Kannel and GSM Modem

2012-11-11 Thread Marius Huysamen
We use ser2net (http://ser2net.sourceforge.net/) to accomplish this. 
Have kannel running in a virtual machine, connecting to GSM modems on a 
physical Linux machine over IP.

In Kannel conf instead of:

device = /dev/ttyS1

specify:

device = rawtcp
host = ser2nethost
port = ser2net-modem-port

Note: ser2net doesn't provide any authentication mechanism, so you'll 
need to limit access to the port(s) in some other way.

On 07/11/2012 17:12, Andreas Fink wrote:
> On 07.11.2012, at 07:44, Saifullah  wrote:
>
>> Hi Wlly Mularto
>>
>> Thanks for your reply. It help me very much. I have one important
>> question. Sppose I am sending SMS from kannel to GSM Modems whick work as
>> SMSC what number will be shown on the display of destination user? Will it
>> be number of GSM Modem number or Kannel sending number? Do the modems
>> Nokia Premicell, Siemens M20, Wavecom WM02-G1800 modem support networkin
>> tcp/ip?
>>
>> Thanks in advance.
>
> ghe gsm modems are actually not a real SMSC as it submits a SMS-MO to a real 
> SMSC who then delivers it to the destination. As such the deliver over a GSM 
> modem is working the same way as if you would type an SMS on a phone which 
> results in the SIM card's number to be sent as originators.
>
> Some of the modems of today do support GRPS networking (as tcp/ip). If you 
> talk about access from kannel to the gsm modems, there are some devices which 
> have a gsm modem built in and then present it on a ethernet (usually for IP 
> dial-out). Kannel doesnt need TCP/IP to talk to the modem but a serial port. 
> I have some boxes out of china which connect 16 or 32 or 64 GSM modem to a 
> computer by a simple USB cable. The computer will get the same amount of 
> serial ports which then can be used directly from kannel.
>
>
>
>



  

  

  


Re: Kannel and GSM Modem

2012-11-07 Thread Andreas Fink

On 07.11.2012, at 07:44, Saifullah  wrote:

> Hi Wlly Mularto
> 
> Thanks for your reply. It help me very much. I have one important
> question. Sppose I am sending SMS from kannel to GSM Modems whick work as
> SMSC what number will be shown on the display of destination user? Will it
> be number of GSM Modem number or Kannel sending number? Do the modems
> Nokia Premicell, Siemens M20, Wavecom WM02-G1800 modem support networkin
> tcp/ip?
> 
> Thanks in advance.


ghe gsm modems are actually not a real SMSC as it submits a SMS-MO to a real 
SMSC who then delivers it to the destination. As such the deliver over a GSM 
modem is working the same way as if you would type an SMS on a phone which 
results in the SIM card's number to be sent as originators.

Some of the modems of today do support GRPS networking (as tcp/ip). If you talk 
about access from kannel to the gsm modems, there are some devices which have a 
gsm modem built in and then present it on a ethernet (usually for IP dial-out). 
Kannel doesnt need TCP/IP to talk to the modem but a serial port. I have some 
boxes out of china which connect 16 or 32 or 64 GSM modem to a computer by a 
simple USB cable. The computer will get the same amount of serial ports which 
then can be used directly from kannel.






Re: Kannel and GSM Modem

2012-11-06 Thread Willy Mularto
All I know GSM Modem will always send it's own number. Please ask Google for 
the modem specs and features.



On Nov 7, 2012, at 1:44 PM, Saifullah wrote:

> Hi Wlly Mularto
> 
> Thanks for your reply. It help me very much. I have one important
> question. Sppose I am sending SMS from kannel to GSM Modems whick work as
> SMSC what number will be shown on the display of destination user? Will it
> be number of GSM Modem number or Kannel sending number? Do the modems
> Nokia Premicell, Siemens M20, Wavecom WM02-G1800 modem support networkin
> tcp/ip?
> 
> Thanks in advance.
> 
> -- 
> Regards
> Abu Nasar Md. Saifullah
> System Engineer, P&D
> Banglaphone Ltd.
> Mobile:+8801722817250
> Phone: +8803593451174
> 
>> You can have Kannel and GSM Modem in either 1 server or separated. But
>> make sure that your GSM Modem must have networking feature, usually known
>> as tcp/ip stack feature .
>> 
>> 
>> 
>> On Nov 7, 2012, at 1:02 PM, Saifullah wrote:
>> 
>>> Dear Experts
>>> 
>>> I want to use GSM Modem in my kannel to send and receive SMS. My
>>> requirement is that Kannel will be one server and GSM Modem will be
>>> another server. Kannel server and GSM modem PC/server will communicate
>>> over IP network.
>>> 
>>> Please help regards this issue.
>>> --
>>> Regards
>>> Abu Nasar Md. Saifullah
>>> System Engineer, P&D
>>> Banglaphone Ltd.
>>> Mobile:+8801722817250
>>> Phone: +8803593451174
>>> 
>>> 
>>> 
>>> 
>> 
>> Willy Mularto
>> F300HD+MR18DE (NLC1725)
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)












Re: Kannel and GSM Modem

2012-11-06 Thread Saifullah
Hi Wlly Mularto

Thanks for your reply. It help me very much. I have one important
question. Sppose I am sending SMS from kannel to GSM Modems whick work as
SMSC what number will be shown on the display of destination user? Will it
be number of GSM Modem number or Kannel sending number? Do the modems
Nokia Premicell, Siemens M20, Wavecom WM02-G1800 modem support networkin
tcp/ip?

Thanks in advance.

-- 
Regards
Abu Nasar Md. Saifullah
System Engineer, P&D
Banglaphone Ltd.
Mobile:+8801722817250
Phone: +8803593451174

> You can have Kannel and GSM Modem in either 1 server or separated. But
> make sure that your GSM Modem must have networking feature, usually known
> as tcp/ip stack feature .
>
>
>
> On Nov 7, 2012, at 1:02 PM, Saifullah wrote:
>
>> Dear Experts
>>
>> I want to use GSM Modem in my kannel to send and receive SMS. My
>> requirement is that Kannel will be one server and GSM Modem will be
>> another server. Kannel server and GSM modem PC/server will communicate
>> over IP network.
>>
>> Please help regards this issue.
>> --
>> Regards
>> Abu Nasar Md. Saifullah
>> System Engineer, P&D
>> Banglaphone Ltd.
>> Mobile:+8801722817250
>> Phone: +8803593451174
>>
>>
>>
>>
>
> Willy Mularto
> F300HD+MR18DE (NLC1725)
>
>
>
>
>
>
>
>
>
>





Re: Kannel and GSM Modem

2012-11-06 Thread Willy Mularto
You can have Kannel and GSM Modem in either 1 server or separated. But make 
sure that your GSM Modem must have networking feature, usually known as tcp/ip 
stack feature .



On Nov 7, 2012, at 1:02 PM, Saifullah wrote:

> Dear Experts
> 
> I want to use GSM Modem in my kannel to send and receive SMS. My
> requirement is that Kannel will be one server and GSM Modem will be
> another server. Kannel server and GSM modem PC/server will communicate
> over IP network.
> 
> Please help regards this issue.
> -- 
> Regards
> Abu Nasar Md. Saifullah
> System Engineer, P&D
> Banglaphone Ltd.
> Mobile:+8801722817250
> Phone: +8803593451174
> 
> 
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)












Kannel and GSM Modem

2012-11-06 Thread Saifullah
Dear Experts

I want to use GSM Modem in my kannel to send and receive SMS. My
requirement is that Kannel will be one server and GSM Modem will be
another server. Kannel server and GSM modem PC/server will communicate
over IP network.

Please help regards this issue.
-- 
Regards
Abu Nasar Md. Saifullah
System Engineer, P&D
Banglaphone Ltd.
Mobile:+8801722817250
Phone: +8803593451174






GSM Modem listing 2012 kannel compatible

2012-10-11 Thread B2SMS
Hello

I would like to connect a modem GSM with a sim, to send SMS-MT and receive
SMS-MO.
SMS-MO have to be received by kannel to be display inside our web interface.

Which GSM modem would be great and work to do it ?

Thanks for your help

Marcus


Re: Wavecom GSM Modem is not sending SMS After connected with Kannel

2012-10-10 Thread Alvaro Cornejo
Hi

Good to know.

If possible post how you fix the issue son others can benefit from it.

Thanks

Alvaro

On 10/10/12, virendra bhati  wrote:
> yes now it's working. I sent SMS in Singapore and India..
>
> On Wed, Oct 10, 2012 at 7:29 PM, Alvaro Cornejo
> wrote:
>
>> Hi
>>
>> Add AT+CMEE=2 (or 1) to your modem init string so we might get a more
>> verbose error.
>>
>> Also it looks like an error returned from the network... Does the sim
>> is activated and have credit? Can you send sms with that sim from
>> another phone?
>>
>> Regards
>>
>> Alvaro
>>
>>
>> On 10/10/12, virendra bhati  wrote:
>> > Hi Team,
>> >
>> > After lot of effort I am able to connected with Wavecom in Kannel but
>> > SMS
>> > is not through
>> >
>> > Below are the configuration which I used for Wavecom GSM modem..
>> >
>> > *group = core
>> > admin-port = 13000
>> > smsbox-port = 13001
>> > #wapbox-port= 13002
>> > admin-password = hariom
>> > status-password = foo
>> > admin-deny-ip = ""
>> > admin-allow-ip = ""
>> > log-level = 0
>> > log-file = "/var/log/kannel/kannel.log"
>> > box-deny-ip = "*.*.*.*"
>> > box-allow-ip = "127.0.0.1"
>> > access-log = "/var/log/kannel/access.log"
>> > store-location= "/var/log/kannel/a-z.log"
>> > smsbox-max-pending = 10
>> > unified-prefix = "00,+001"
>> > #dlr-storage = mysql
>> >
>> >  group = smsc
>> >  smsc = at
>> >  smsc-id = wavecom
>> >  modemtype = wavecom
>> >  device = /dev/ttyUSB0
>> > # device = /dev/ttyS0
>> >  speed = 115200
>> >  #pin = 1234
>> >  #sim-buffering = "SM"
>> >  log-level = 0
>> >
>> >  # MODEM DEFINITIONS
>> >  group = modems
>> >  id = wavecom
>> >  name = "wavecom"
>> >  detect-string = "wavecom"
>> >  init-string = "ATZ"
>> >  reset-string = "ATZ"
>> >
>> > group = smsbox
>> > bearerbox-host = localhost
>> > sendsms-port = 13003
>> > global-sender = 9718500594
>> > #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
>> > access-log = /var/log/kannel/smsaccess.log
>> > log-file = "/var/log/kannel/smsbox.log"
>> > log-level = 0
>> > #access-log = "access.log"
>> >
>> > # SEND-SMS USERS
>> > group = sendsms-user
>> > username = virendra
>> > password = bhati
>> > *
>> >  ===
>> > bearerbox Log
>> > ===
>> >
>> > root@nathan-desktop:/usr/local/kannel/sbin# ./bearerbox
>> /etc/bhati/b.conf
>> > 2012-10-10 18:42:13 [] [0] INFO: Debug_lvl = -1, log_file = ,
>> > log_lvl = 0
>> > 2012-10-10 18:42:13 [] [0] WARNING: DLR: using default 'internal'
>> > for
>> > storage type.
>> > 2012-10-10 18:42:13 [] [0] INFO: DLR using storage type: internal
>> > 2012-10-10 18:42:13 [] [0] DEBUG: Kannel bearerbox version `1.4.3'.
>> > Build `Oct  3 2012 15:27:19', compiler `4.6.3'.
>> > System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu SMP Fri
>> Sep
>> > 7 16:39:45 UTC 2012, machine i686.
>> > Hostname nathan-desktop, IP 127.0.1.1.
>> > Libxml version 2.7.2.
>> > Compiled with MySQL 5.5.24, using MySQL 5.5.24.
>> > Using native malloc.
>> >
>> > 2012-10-10 18:42:13 [] [0] INFO: Added logfile
>> > `/var/log/kannel/kannel.log' with level `0'.
>> > 2012-10-10 18:42:13 [] [0] INFO: Started access logfile
>> > `/var/log/kannel/access.log'.
>> > 2012-10-10 18:42:13 [] [0] INFO: SSL not supported, no SSL
>> > initialization done.
>> > 2012-10-10 18:42:13 [] [0] INFO: HTTP: Opening server at port
>> > 13000.
>> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 1
>> > (gwlib/fdset.c:poller)
>> > 2012-10-10 18:42:13 [] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> maps
>> > to pid .
>> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 2
>> > (gwlib/http.c:server_thread)
>> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 3
>> > (gw/bb_http.c:httpadmin_run)
>> > 2012-10-10 18:42:13 [] [3] DEBUG: Thread 3
>> (gw/bb_

Re: Wavecom GSM Modem is not sending SMS After connected with Kannel

2012-10-10 Thread virendra bhati
yes now it's working. I sent SMS in Singapore and India..

On Wed, Oct 10, 2012 at 7:29 PM, Alvaro Cornejo wrote:

> Hi
>
> Add AT+CMEE=2 (or 1) to your modem init string so we might get a more
> verbose error.
>
> Also it looks like an error returned from the network... Does the sim
> is activated and have credit? Can you send sms with that sim from
> another phone?
>
> Regards
>
> Alvaro
>
>
> On 10/10/12, virendra bhati  wrote:
> > Hi Team,
> >
> > After lot of effort I am able to connected with Wavecom in Kannel but SMS
> > is not through....
> >
> > Below are the configuration which I used for Wavecom GSM modem..
> >
> > *group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > #wapbox-port= 13002
> > admin-password = hariom
> > status-password = foo
> > admin-deny-ip = ""
> > admin-allow-ip = ""
> > log-level = 0
> > log-file = "/var/log/kannel/kannel.log"
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > access-log = "/var/log/kannel/access.log"
> > store-location= "/var/log/kannel/a-z.log"
> > smsbox-max-pending = 10
> > unified-prefix = "00,+001"
> > #dlr-storage = mysql
> >
> >  group = smsc
> >  smsc = at
> >  smsc-id = wavecom
> >  modemtype = wavecom
> >  device = /dev/ttyUSB0
> > # device = /dev/ttyS0
> >  speed = 115200
> >  #pin = 1234
> >  #sim-buffering = "SM"
> >  log-level = 0
> >
> >  # MODEM DEFINITIONS
> >  group = modems
> >  id = wavecom
> >  name = "wavecom"
> >  detect-string = "wavecom"
> >  init-string = "ATZ"
> >  reset-string = "ATZ"
> >
> > group = smsbox
> > bearerbox-host = localhost
> > sendsms-port = 13003
> > global-sender = 9718500594
> > #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
> > access-log = /var/log/kannel/smsaccess.log
> > log-file = "/var/log/kannel/smsbox.log"
> > log-level = 0
> > #access-log = "access.log"
> >
> > # SEND-SMS USERS
> > group = sendsms-user
> > username = virendra
> > password = bhati
> > *
> >  ===
> > bearerbox Log
> > ===
> >
> > root@nathan-desktop:/usr/local/kannel/sbin# ./bearerbox
> /etc/bhati/b.conf
> > 2012-10-10 18:42:13 [] [0] INFO: Debug_lvl = -1, log_file = ,
> > log_lvl = 0
> > 2012-10-10 18:42:13 [] [0] WARNING: DLR: using default 'internal' for
> > storage type.
> > 2012-10-10 18:42:13 [] [0] INFO: DLR using storage type: internal
> > 2012-10-10 18:42:13 [] [0] DEBUG: Kannel bearerbox version `1.4.3'.
> > Build `Oct  3 2012 15:27:19', compiler `4.6.3'.
> > System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu SMP Fri
> Sep
> > 7 16:39:45 UTC 2012, machine i686.
> > Hostname nathan-desktop, IP 127.0.1.1.
> > Libxml version 2.7.2.
> > Compiled with MySQL 5.5.24, using MySQL 5.5.24.
> > Using native malloc.
> >
> > 2012-10-10 18:42:13 [] [0] INFO: Added logfile
> > `/var/log/kannel/kannel.log' with level `0'.
> > 2012-10-10 18:42:13 [] [0] INFO: Started access logfile
> > `/var/log/kannel/access.log'.
> > 2012-10-10 18:42:13 [] [0] INFO: SSL not supported, no SSL
> > initialization done.
> > 2012-10-10 18:42:13 [] [0] INFO: HTTP: Opening server at port 13000.
> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 1
> > (gwlib/fdset.c:poller)
> > 2012-10-10 18:42:13 [] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps
> > to pid .
> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 2
> > (gwlib/http.c:server_thread)
> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 3
> > (gw/bb_http.c:httpadmin_run)
> > 2012-10-10 18:42:13 [] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run)
> > maps to pid .
> > 2012-10-10 18:42:13 [] [0] DEBUG: starting smsbox connection module
> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes)
> > 2012-10-10 18:42:13 [] [4] DEBUG: Thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid .
> > 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 5
> > (gw/bb_boxc.c:smsboxc_run)
> > 2012-10-10 18:42:13 [] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> > maps to pid .
> > 2012-10-10 18:42:13 [] [0] INFO: Set SMS resend frequency to 60
> &

Re: Wavecom GSM Modem is not sending SMS After connected with Kannel

2012-10-10 Thread Alvaro Cornejo
Hi

Add AT+CMEE=2 (or 1) to your modem init string so we might get a more
verbose error.

Also it looks like an error returned from the network... Does the sim
is activated and have credit? Can you send sms with that sim from
another phone?

Regards

Alvaro


On 10/10/12, virendra bhati  wrote:
> Hi Team,
>
> After lot of effort I am able to connected with Wavecom in Kannel but SMS
> is not through
>
> Below are the configuration which I used for Wavecom GSM modem..
>
> *group = core
> admin-port = 13000
> smsbox-port = 13001
> #wapbox-port= 13002
> admin-password = hariom
> status-password = foo
> admin-deny-ip = ""
> admin-allow-ip = ""
> log-level = 0
> log-file = "/var/log/kannel/kannel.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/var/log/kannel/access.log"
> store-location= "/var/log/kannel/a-z.log"
> smsbox-max-pending = 10
> unified-prefix = "00,+001"
> #dlr-storage = mysql
>
>  group = smsc
>  smsc = at
>  smsc-id = wavecom
>  modemtype = wavecom
>  device = /dev/ttyUSB0
> # device = /dev/ttyS0
>  speed = 115200
>  #pin = 1234
>  #sim-buffering = "SM"
>  log-level = 0
>
>  # MODEM DEFINITIONS
>  group = modems
>  id = wavecom
>  name = "wavecom"
>  detect-string = "wavecom"
>  init-string = "ATZ"
>  reset-string = "ATZ"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13003
> global-sender = 9718500594
> #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
> access-log = /var/log/kannel/smsaccess.log
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> #access-log = "access.log"
>
> # SEND-SMS USERS
> group = sendsms-user
> username = virendra
> password = bhati
> *
>  ===
> bearerbox Log
> ===
>
> root@nathan-desktop:/usr/local/kannel/sbin# ./bearerbox /etc/bhati/b.conf
> 2012-10-10 18:42:13 [] [0] INFO: Debug_lvl = -1, log_file = ,
> log_lvl = 0
> 2012-10-10 18:42:13 [] [0] WARNING: DLR: using default 'internal' for
> storage type.
> 2012-10-10 18:42:13 [] [0] INFO: DLR using storage type: internal
> 2012-10-10 18:42:13 [] [0] DEBUG: Kannel bearerbox version `1.4.3'.
> Build `Oct  3 2012 15:27:19', compiler `4.6.3'.
> System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu SMP Fri Sep
> 7 16:39:45 UTC 2012, machine i686.
> Hostname nathan-desktop, IP 127.0.1.1.
> Libxml version 2.7.2.
> Compiled with MySQL 5.5.24, using MySQL 5.5.24.
> Using native malloc.
>
> 2012-10-10 18:42:13 [] [0] INFO: Added logfile
> `/var/log/kannel/kannel.log' with level `0'.
> 2012-10-10 18:42:13 [] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 2012-10-10 18:42:13 [] [0] INFO: SSL not supported, no SSL
> initialization done.
> 2012-10-10 18:42:13 [] [0] INFO: HTTP: Opening server at port 13000.
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2012-10-10 18:42:13 [] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid .
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2012-10-10 18:42:13 [] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> maps to pid .
> 2012-10-10 18:42:13 [] [0] DEBUG: starting smsbox connection module
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2012-10-10 18:42:13 [] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid .
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2012-10-10 18:42:13 [] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid .
> 2012-10-10 18:42:13 [] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2012-10-10 18:42:13 [] [0] INFO: SMS resend retry set to unlimited.
> 2012-10-10 18:42:13 [] [0] DEBUG: smsbox MO concatenated message
> handling enabled
> 2012-10-10 18:42:13 [] [0] INFO: DLR rerouting for smsc id 
> disabled.
> 2012-10-10 18:42:13 [] [0] INFO: AT2[wavecom]: configuration shows
> modemtype 
> 2012-10-10 18:42:13 [] [0] DEBUG: AT2[wavecom]: Reading modem
> definitions from 
> 2012-10-10 18:42:13 [] [0] DEBUG: AT2[wavecom]: Found <1> modems in
> config
> 2012-10-10 18:42:13 [] [0] INFO: AT2[wavecom]: read modem definition
> for 
> 2012-10-10 18:42:13 [] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread

Re: GSM Modem is not sending SMS or even not putting into queue

2012-10-10 Thread virendra bhati
.162'.
2012-10-10 14:56:04 [3108] [3] INFO: smsbox: Got HTTP request
 from <115.115.95.162>
2012-10-10 14:56:04 [3108] [3] DEBUG: Status: 404 Answer: 
2012-10-10 14:56:04 [3108] [3] DEBUG: HTTP: Resetting HTTPClient for
`115.115.95.162'.
2012-10-10 14:57:04 [3108] [1] DEBUG: Timeout for fd:24 appeares.
2012-10-10 14:57:04 [3108] [1] DEBUG: HTTP: Destroying HTTPClient area
0xb53005c8.
2012-10-10 14:57:04 [3108] [1] DEBUG: HTTP: Destroying HTTPClient for
`115.115.95.162'.


If anything is required from my side then let me know..


On Tue, Oct 9, 2012 at 9:42 AM, Andreas Fink  wrote:

> you have
>
> modemtype = Bluocean
>
> but no modem definition with that name in the config file.
> Try adding this:
>
> group = modems
> id = Bluocean
> name = Bluocean
> speed = 115200
> detect-string = "Bluocean"
> detect-string2 = ""
> init-string = "AT+CNMI=2,2,2,1,0"
> enable-hwhs = ""
> need-sleep = true
> no-pin = true
> no-smsc = false
> sendline-sleep = 100
> keepalive-cmd = "AT"
> broken = false
> message-storage = "SM"
> hardware-flow-control = false
> reset-string = "AT+CFUN=1"
>
>
> You might have to play with the init string, hardware handshake, speed
>  etc.
> Above settings is what I use with my wavecom modems which are pretty much
> following the GSM standards.
>
> Trial and error helps there. Just set it up and watch the bearerbox
> logfile to see what kannel does do when talking to the modem and how the
> modem reacts. Especially in cases where you have lots of incoming SMS or
> delivery reports.
>
> On 09.10.2012, at 06:04, virendra bhati  wrote:
>
> *1) do you have a manual for it?*
>
> http://www.bluocean.biz/gsm_modem.html#usb_gprs
> model 2 is the GSM modem..
>
> *2) what kind of GSM modem options have you configured?*
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = hariom
> status-password = foo
> admin-deny-ip = ""
> admin-allow-ip = ""
> log-level = 0
> log-file = "/var/log/kannel/kannel.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/var/log/kannel/access.log"
> store-location= "/var/log/kannel/a-z.log"
> smsbox-max-pending = 10
> unified-prefix = "91,0091,+91,091"
>
> group = smsc
> smsc = at
> smsc-id = Bluocean
> modemtype = Bluocean
> device = /dev/ttyUSB0
>  my-number = "+6583640330"
> speed = 115200
> log-level = 0
> log-file = "/var/log/kannel/smsc.log"
>
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> log-level = 0
>
> # MODEM DEFINITIONS
> group = modems
> id = wavecom
> name = "wavecom"
> detect-string = "wavecom"
> init-string = "ATZ"
> reset-string = "ATZ"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13003
> global-sender = 9718500594
> #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
> access-log = /var/log/kannel/smsaccess.log
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
>
>
> # SEND-SMS USERS
>
> group = sendsms-user
> username = virendra
> password = bhati
>
> #-
> # SERVICES
>
> group = sms-service
> keyword = default
> text = "This facility is down for maintenance."
> accept-x-kannel-headers = true
> max-messages = 1
> concatenation = true
> get-url = "
> http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a";
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = root
> password =
> database = playsms
> max-connections = 1
>
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc3)what does the bearerbox.log say if you enable
> log-level = 0 ?
>
> *what does the bearerbox.log say if you enable log-level = 0 ?*
> Right now dedicated server center is down when come up then I will provide
> that details as well.
> On Mon, Oct 8, 2012 at 11:12 PM, Andreas Fink  wrote:
>
>>
>> On 08.10.2012, at 19:39, virendra bhati  wrote:
>>
>> Hi Team,
>>
>> I have installed Kannel and working perfectly with *Ubuntu 12.04.1 LTS*.
>> But I am not able to installed *BluOcean™ USB GSM / GPRS Modem*. Could
>> you please help me so that I w

Re: GSM Modem is not sending SMS or even not putting into queue

2012-10-08 Thread Andreas Fink
you have 

modemtype = Bluocean

but no modem definition with that name in the config file.
Try adding this:

group = modems
id = Bluocean
name = Bluocean
speed = 115200
detect-string = "Bluocean"
detect-string2 = ""
init-string = "AT+CNMI=2,2,2,1,0"
enable-hwhs = ""
need-sleep = true
no-pin = true
no-smsc = false
sendline-sleep = 100
keepalive-cmd = "AT"
broken = false
message-storage = "SM"
hardware-flow-control = false
reset-string = "AT+CFUN=1"


You might have to play with the init string, hardware handshake, speed  etc.
Above settings is what I use with my wavecom modems which are pretty much 
following the GSM standards.

Trial and error helps there. Just set it up and watch the bearerbox logfile to 
see what kannel does do when talking to the modem and how the modem reacts. 
Especially in cases where you have lots of incoming SMS or delivery reports.

On 09.10.2012, at 06:04, virendra bhati  wrote:

> 1) do you have a manual for it?
> 
> http://www.bluocean.biz/gsm_modem.html#usb_gprs
> model 2 is the GSM modem..
> 
> 2) what kind of GSM modem options have you configured?
> 
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = hariom
> status-password = foo
> admin-deny-ip = ""
> admin-allow-ip = ""
> log-level = 0
> log-file = "/var/log/kannel/kannel.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/var/log/kannel/access.log"
> store-location= "/var/log/kannel/a-z.log"
> smsbox-max-pending = 10
> unified-prefix = "91,0091,+91,091" 
> 
> group = smsc
> smsc = at 
> smsc-id = Bluocean
> modemtype = Bluocean
> device = /dev/ttyUSB0
>  my-number = "+6583640330"
> speed = 115200
> log-level = 0  
> log-file = "/var/log/kannel/smsc.log"
> 
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> log-level = 0
> 
> # MODEM DEFINITIONS
> group = modems
> id = wavecom
> name = "wavecom"
> detect-string = "wavecom"
> init-string = "ATZ"
> reset-string = "ATZ" 
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13003
> global-sender = 9718500594
> #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
> access-log = /var/log/kannel/smsaccess.log
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> 
> 
> # SEND-SMS USERS
> 
> group = sendsms-user
> username = virendra
> password = bhati
> 
> #-
> # SERVICES
> 
> group = sms-service
> keyword = default
> text = "This facility is down for maintenance."
> accept-x-kannel-headers = true
> max-messages = 1
> concatenation = true
> get-url = 
> "http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a";
> 
> group = mysql-connection
> id = mydlr
> host = localhost
> username = root
> password = 
> database = playsms
> max-connections = 1
> 
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc3)what does the bearerbox.log say if you enable log-level 
> = 0 ?
> 
> what does the bearerbox.log say if you enable log-level = 0 ?
> Right now dedicated server center is down when come up then I will provide 
> that details as well.
> On Mon, Oct 8, 2012 at 11:12 PM, Andreas Fink  wrote:
> 
> On 08.10.2012, at 19:39, virendra bhati  wrote:
> 
>> Hi Team,
>> 
>> I have installed Kannel and working perfectly with Ubuntu 12.04.1 LTS. But I 
>> am not able to installed BluOcean™ USB GSM / GPRS Modem. Could you please 
>> help me so that I will configure and used my GSM modem for sending SMS from 
>> Kannel.
> 
> do you have a manual for it?
> what kind of GSM modem options have you configured?
> what does the bearerbox.log say if you enable log-level = 0 ?
> 
> Usually its only a question of finding the right init strings...(which can be 
> tricky at times...)
> 
>> 
>> 
>> 
>> -- 
>> 
>> Thanks and regards
>> 
>>  Virendra Bhati
>> +91-9718500594
>> Asterisk Developer
>> E-mail-: virbh...@gmail.com
>> Skype id:- virbhati2
>> New Delhi(India)
>> 
>> 
> 
> 
> 
> 
> -- 
> 
> Thanks and regards
> 
>  Virendra Bhati
> +91-9718500594
> Asterisk Developer
> E-mail-: virbh...@gmail.com
> Skype id:- virbhati2
> New Delhi(India)
> 
> 



Re: GSM Modem is not sending SMS or even not putting into queue

2012-10-08 Thread Andreas Fink

On 08.10.2012, at 19:39, virendra bhati  wrote:

> Hi Team,
> 
> I have installed Kannel and working perfectly with Ubuntu 12.04.1 LTS. But I 
> am not able to installed BluOcean™ USB GSM / GPRS Modem. Could you please 
> help me so that I will configure and used my GSM modem for sending SMS from 
> Kannel.

do you have a manual for it?
what kind of GSM modem options have you configured?
what does the bearerbox.log say if you enable log-level = 0 ?

Usually its only a question of finding the right init strings...(which can be 
tricky at times...)

> 
> 
> 
> -- 
> 
> Thanks and regards
> 
>  Virendra Bhati
> +91-9718500594
> Asterisk Developer
> E-mail-: virbh...@gmail.com
> Skype id:- virbhati2
> New Delhi(India)
> 
> 



GSM Modem is not sending SMS or even not putting into queue

2012-10-08 Thread virendra bhati
Hi Team,

I have installed Kannel and working perfectly with *Ubuntu 12.04.1 LTS*.
But I am not able to installed *BluOcean™ USB GSM / GPRS Modem*. Could you
please help me so that I will configure and used my GSM modem for sending
SMS from Kannel.



-- 

Thanks and regards

 Virendra Bhati
+91-9718500594
Asterisk Developer
E-mail-: virbh...@gmail.com
Skype id:- virbhati2
New Delhi(India)
[image: View my profile on
LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755>


Extracting Call details from GSM modem

2011-04-20 Thread Rajendra Pondel
Hello There.

Can anyone solve the following problem?


Consider following scenario:

There are three persons, named A, B and C.

A's mobile no is M, B's no is N and C's no is P.

The C is GSM/GPRS modem and is connected to pc/Server .

B has forwarded all its voice calls to C.

Now, A (call originator) calls to B (call forwarder), call gets
forwarded to C (call terminated).

Here, C is connected to pc/server, how do I extract call details using
at commands?

I want following details to be extracted.
1. the main call originating number (ie, from where call originated,
not from where is forwarded, ie A's no what is M) 2. the number from
where call got forwarde (ie, from where call forwarded from, ie, B's
no N )

So, can any one tell me how do i achive that using AT commands or any other way?



Regards
 - Rajendra Pondel



Re: SMPP Server using telnet GSM modem

2009-11-09 Thread Nikos Balkanas

Hi,

There is a raw_tcp mode that might do what you want...

Kannel is an SMPP client, not server.

BR,
Nikos
- Original Message - 
From: "Steven Maddox" 

To: 
Sent: Monday, November 09, 2009 12:40 PM
Subject: SMPP Server using telnet GSM modem



Hi,

I'm not at all sure this is possible but thought I'd lay the idea out in 
full and see what you think, apologies for all the links! (I'm hoping they 
illustrate things better than I can)


From what I gather SMPP is the closest standard protocol you can get for 
sending/receiving SMS over a TCP/IP based network.  I currently have one 
of these units...


http://portech.com.tw/p3-product1_1.asp?Pid=14

Which is normally used as a SIP based GSM gateway, now although very handy 
in itself the newest firmware supports the sending and receiving of SMS 
namely because it contains two of these modules...


http://www.rfsolutions.co.uk/acatalog/tc35i_atc_v0301.pdf

That document contains all the AT commands, commands that from what I've 
seen of other make/models of GSM modules are generally very similar at 
least in regards to SMS.


It's very simple the send an SMS over telnet using the example in the user 
guide on PDF page 36.


http://portech.com.tw/data/MV-372%20user%20manual.pdf

Would it be possible (or how much work might be needed) to get Kannel to 
communicate with this device (which are proving more and more popular as 
people adopt things like Asterisk and Freeswitch) over telnet to send and 
receive SMS messages?


And can anyone recommend a free or open source (cross platform and/or web 
based) SMPP client that I could then use to instruct Kannel to send and 
receive these messages?


Essentially use Kannel as my SMPP server with an SMPP client or WebSMS 
program... just as I have an SMTP server with an E-mail client or WebMail.


I could just write a PHP based web interface to interact with it on telnet 
directly, but if SMPP is the standards way to go... I'd rather do that.


--
Steven Maddox
Software Engineer

Function Office
www.functionoffice.org






SMPP Server using telnet GSM modem

2009-11-09 Thread Steven Maddox

Hi,

I'm not at all sure this is possible but thought I'd lay the idea out in 
full and see what you think, apologies for all the links! (I'm hoping 
they illustrate things better than I can)


From what I gather SMPP is the closest standard protocol you can get 
for sending/receiving SMS over a TCP/IP based network.  I currently have 
one of these units...


http://portech.com.tw/p3-product1_1.asp?Pid=14

Which is normally used as a SIP based GSM gateway, now although very 
handy in itself the newest firmware supports the sending and receiving 
of SMS namely because it contains two of these modules...


http://www.rfsolutions.co.uk/acatalog/tc35i_atc_v0301.pdf

That document contains all the AT commands, commands that from what I've 
seen of other make/models of GSM modules are generally very similar at 
least in regards to SMS.


It's very simple the send an SMS over telnet using the example in the 
user guide on PDF page 36.


http://portech.com.tw/data/MV-372%20user%20manual.pdf

Would it be possible (or how much work might be needed) to get Kannel to 
communicate with this device (which are proving more and more popular as 
people adopt things like Asterisk and Freeswitch) over telnet to send 
and receive SMS messages?


And can anyone recommend a free or open source (cross platform and/or 
web based) SMPP client that I could then use to instruct Kannel to send 
and receive these messages?


Essentially use Kannel as my SMPP server with an SMPP client or WebSMS 
program... just as I have an SMTP server with an E-mail client or WebMail.


I could just write a PHP based web interface to interact with it on 
telnet directly, but if SMPP is the standards way to go... I'd rather do 
that.


--
Steven Maddox
Software Engineer

Function Office
www.functionoffice.org




Re: Receiving SMS GSM modem Nokia N73

2008-07-29 Thread Andreas Fink

why dont you simply use the default keyword instead of a regexp .* ?

On 29.07.2008, at 21:26, Ricardo España wrote:


Hi guys,

I just recently installed Kannel and I am trying to setup the sms  
feature, to work with sms pull messages and sms-services. I am using  
my cellphone (Nokia N73) as GSM modem to work as my virtual SMSC, it  
is working fine sending sms but when a sms arrives Kannel does not  
see that the incoming message and can't run the sms-services group.  
My configuration file is detailed below, I hope you can help me with  
this thing. Thank you!


#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# This basic version is used for system testing. It expects  
'fakesmsc' to

# send messages which are replied with simple fixed text message.
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
# Note that you can run them in different machines but have to
# add certain command line argument and configuration variables then
#
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, see Kannel web page (http://www.kannel.org)  
and

# various online help and mailing list archives
#
# Notes on those who base their configuration on this:
#  1) check security issues! (allowed IPs, passwords and ports)
#  2) groups cannot have empty rows inside them!
#  3) read the user guide
#
# Kalle Marjola for Kannel project 2001, 2004

#-
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'


group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

#-
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC  
specific
# protocol and message relying. You need these to actually receive  
and send

# messages to handset, but can use GSM modems as virtual SMSCs


# This is a fake smsc connection, _only_ used to test the system and  
services.

# It really cannot relay messages to actual handsets!

group = smsc
smsc = at
#smsc-id = nokia_smsc
modemtype = Nokia
device = /dev/ttyACM0
speed = 19200
pin = 3023

group = modems
id = Nokia
name = "Nokia"
#detect-string = "Nokia Mobile Phone"
init-string = "ATZ"
#enable-hwhs = "AT+IFC=2,2"
#need-sleep = false
#keepalive-cmd = "AT+CBC; +CSQ"
#broken = true
#message-storage = "ME"

#-
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been  
received from
# SMS centers by bearerbox, or before they are given to bearerbox  
for delivery


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

#-
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar 
...


group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#-
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving  
from
# handsets. The response is based on message content. Only one sms- 
service is

# applied, using the first one to match.

group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url="http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=04149157444&text=su 
"


# There should be always a 'default' service. This service is used  
when no

# other 'sms-service' is applied.

group = sms-service
keyword = default
text = "No service specified"

# end of configuration file


Ricardo España
Cel: +58-(0)414.915.74.44
Caracas, Venezuela.




Receiving SMS GSM modem Nokia N73

2008-07-29 Thread Ricardo España
Hi guys,

I just recently installed Kannel and I am trying to setup the sms feature,
to work with sms pull messages and sms-services. I am using my cellphone
(Nokia N73) as GSM modem to work as my virtual SMSC, it is working fine
sending sms but when a sms arrives Kannel does not see that the incoming
message and can't run the sms-services group. My configuration file is
detailed below, I hope you can help me with this thing. Thank you!

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# This basic version is used for system testing. It expects 'fakesmsc' to
# send messages which are replied with simple fixed text message.
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
# Note that you can run them in different machines but have to
# add certain command line argument and configuration variables then
#
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, see Kannel web page (http://www.kannel.org) and
# various online help and mailing list archives
#
# Notes on those who base their configuration on this:
#  1) check security issues! (allowed IPs, passwords and ports)
#  2) groups cannot have empty rows inside them!
#  3) read the user guide
#
# Kalle Marjola for Kannel project 2001, 2004

#-
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'


group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

#-
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = at
#smsc-id = nokia_smsc
modemtype = Nokia
device = /dev/ttyACM0
speed = 19200
pin = 3023

group = modems
id = Nokia
name = "Nokia"
#detect-string = "Nokia Mobile Phone"
init-string = "ATZ"
#enable-hwhs = "AT+IFC=2,2"
#need-sleep = false
#keepalive-cmd = "AT+CBC; +CSQ"
#broken = true
#message-storage = "ME"

#-
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

#-
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#-
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.

group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url="http://localhost:13013/cgi-bin/sendsms?username=tester&password=foo
bar&to=04149157444&text=su" 

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
text = "No service specified"

# end of configuration file


Ricardo España
Cel: +58-(0)414.915.74.44
Caracas, Venezuela.



Receiving SMS GSM modem Nokia N73

2008-07-29 Thread Ricardo España
--- Begin Message ---
Hi guys,I just recently installed Kannel and I am trying to setup the sms feature, to work with sms pull messages and sms-services. I am using my cellphone (Nokia N73) as GSM modem to work as my virtual SMSC, it is working fine sending sms but when a sms arrives Kannel does not see that the incoming message and can't run the sms-services group. My configuration file is detailed below, I hope you can help me with this thing. Thank you!## THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL## This basic version is used for system testing. It expects 'fakesmsc' to# send messages which are replied with simple fixed text message.# It is run like this:##  1% gw/bearerbox gw/smskannel.conf#  2% gw/smsbox gw/smskannel.conf#  3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"## ..all 3 commands in separate shells (or screen sessions)# Note that you can run them in different machines but have to# add certain command line argument and configuration variables then### For any modifications to this file, see Kannel User Guide # If that does not help, see Kannel web page (http://www.kannel.org) and# various online help and mailing list archives## Notes on those who base their configuration on this:#  1) check security issues! (allowed IPs, passwords and ports)#  2) groups cannot have empty rows inside them!#  3) read the user guide## Kalle Marjola for Kannel project 2001, 2004#-# CORE## There is only one core group and it sets all basic settings# of the bearerbox (and system). You should take extra notes on# configuration variables like 'store-file' (or 'store-dir'),# 'admin-allow-ip' and 'access.log'group = coreadmin-port = 13000smsbox-port = 13001admin-password = bar#status-password = foo#admin-deny-ip = ""#admin-allow-ip = ""#log-file = "/tmp/kannel.log"#log-level = 0box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"#unified-prefix = "+358,00358,0;+,00"#access-log = "/tmp/access.log"#store-file = "kannel.store"#ssl-server-cert-file = "cert.pem"#ssl-server-key-file = "key.pem"#ssl-certkey-file = "mycertandprivkeyfile.pem"#-# SMSC CONNECTIONS## SMSC connections are created in bearerbox and they handle SMSC specific# protocol and message relying. You need these to actually receive and send# messages to handset, but can use GSM modems as virtual SMSCs# This is a fake smsc connection, _only_ used to test the system and services.# It really cannot relay messages to actual handsets!group = smscsmsc = at#smsc-id = nokia_smscmodemtype = Nokiadevice = /dev/ttyACM0speed = 19200pin = 3023group = modemsid = Nokianame = "Nokia"#detect-string = "Nokia Mobile Phone"init-string = "ATZ"#enable-hwhs = "AT+IFC=2,2"#need-sleep = false#keepalive-cmd = "AT+CBC; +CSQ"#broken = true#message-storage = "ME"#-# SMSBOX SETUP## Smsbox(es) do higher-level SMS handling after they have been received from# SMS centers by bearerbox, or before they are given to bearerbox for deliverygroup = smsboxbearerbox-host = 127.0.0.1sendsms-port = 13013global-sender = 13013#sendsms-chars = "0123456789 +-"log-file = "/tmp/smsbox.log"log-level = 0access-log = "/tmp/access.log"#-# SEND-SMS USERS## These users are used when Kannel smsbox sendsms interface is used to# send PUSH sms messages, i.e. calling URL like# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...group = sendsms-userusername = testerpassword = foobar#user-deny-ip = ""#user-allow-ip = ""#-# SERVICES## These are 'responses' to sms PULL messages, i.e. messages arriving from# handsets. The response is based on message content. Only one sms-service is# applied, using the first one to match.group = sms-servicekeyword =keyword-regex = .*catch-all = yesmax-messages = 0get-url="" # There should be always a 'default' service. This service is used when no# other 'sms-service' is applied.group = sms-servicekeyword = defaulttext = "No service specified"# end of configuration fileRicardo EspañaCel: +58-(0)414.915.74.44Caracas, Venezuela.--- End Message ---


Kannel with GSM modem (N6230) on Cygwin

2008-07-17 Thread Madhur Vyas
Hi,

 

I'm testing the Kannel server 1.4.1, I was able to compile & run the
server on Cygwin. I was able to run the fake smsc test.

 

When I tried to use the server with GSM modem (nokia 6230) as virtual
smsc I'm running into troubles.

The behavior of server is not consistent, most of the time I got errors
while running it but once I was able to successfully run the bearerbox
it got connected to the virtual smsc. But I was not able to receive any
messages on server.

Again when I tried to use the same config file (attached) I got
following error.

 



$ ./bearerbox.exe smskannelat.conf

2008-07-17 14:56:17 [4048] [0] INFO: Debug_lvl = -1, log_file = ,
log_lvl

= 0

2008-07-17 14:56:17 [4048] [0] WARNING: DLR: using default 'internal'
for storag

e type.

2008-07-17 14:56:17 [4048] [0] INFO: DLR using storage type: internal

2008-07-17 14:56:17 [4048] [0] DEBUG: Kannel bearerbox version `1.4.1'.

Build `Jul 15 2008 10:58:23', compiler `3.4.4 (cygming special) (gdc
0.12, using

 dmd 0.125)'.

System CYGWIN_NT-5.1, release 1.5.18(0.132/4/2), version 2005-07-02
20:30, machi

ne i686.

 

Libxml version 2.6.20.

Using native malloc.

 

2008-07-17 14:56:17 [4048] [0] INFO: SSL not supported, no SSL
initialization do

ne.

2008-07-17 14:56:17 [4048] [0] INFO: HTTP: Opening server at port 13000.

2008-07-17 14:56:17 [4048] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pi

d 4048.

2008-07-17 14:56:17 [4048] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2008-07-17 14:56:17 [4048] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps

 to pid 4048.

2008-07-17 14:56:17 [4048] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thre

ad)

2008-07-17 14:56:17 [4048] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps

 to pid 4048.

2008-07-17 14:56:17 [4048] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_r

un)

2008-07-17 14:56:17 [4048] [0] DEBUG: starting smsbox connection module

2008-07-17 14:56:17 [4048] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using d

efault (100).

2008-07-17 14:56:17 [4048] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) ma

ps to pid 4048.

2008-07-17 14:56:17 [4048] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsb

oxes)

2008-07-17 14:56:17 [4048] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps t

o pid 4048.

2008-07-17 14:56:17 [4048] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run

)

2008-07-17 14:56:17 [4048] [0] INFO: Set SMS resend frequency to 60
seconds.

2008-07-17 14:56:17 [4048] [0] INFO: SMS resend retry set to unlimited.

2008-07-17 14:56:17 [4048] [0] INFO: DLR rerouting for smsc id 
disabled.

2008-07-17 14:56:17 [4048] [0] INFO: AT2[l7]: configuration shows
modemtype 

2008-07-17 14:56:17 [4048] [0] DEBUG: AT2[l7]: Reading modem definitions
from 

2008-07-17 14:56:17 [4048] [0] PANIC: gwlib/thread.c:139:
mutex_lock_real: Mutex

 failure! (Called from gwlib/list.c:503:lock.)



 

Any suggestions how to resolve this issue?

Does the Kannel server works fine on Linux machine? I can switch if
there are issues in Cygwin.

 

--Thanks & Regards

Madhur Vyas

 



smskannelat.conf
Description: smskannelat.conf


Re: GSM Modem "freezes"

2008-02-21 Thread Andreas Fink
Could easily be a bug in the Wavecom modem if it doesnt report anymore  
new messages.



On 20.02.2008, at 23:32, Hillel wrote:


Hi,

We are using the latest Kannel CVS with a Wavecom WMOD2, dual band  
to receive SMSs for a client.


After a few days the GSM modem seems to always “freeze” and does not  
receive any more SMSs until we manually restart Kannel.
This means we can’t provide a reliable service to our client that  
requires SMSs to be received by a GSM Modem.
What is interesting is even when the modem does not accept any more  
SMSs, we still see in the bearerbox.log


2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <-- AT 
+CNMI=1,2,0,1,1

2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <-- OK

Is this a bug in the Kannel AT code?
Any suggestions to prevent this happening and to improve our  
configuration below are most appreciated.


The following is the configuration used:

gsmmodem1.conf:
group = smsc
smsc-id = gsmmodem
allowed-smsc-id = gsmmodem
smsc = at
modemtype = wavecom
validityperiod = 167
my-number= +27x
sms-center = +27831000113
#sim-buffering = true
keepalive= 120
device = /dev/ttyS0
speed = 9600

modems.conf:
group = modems
id = wavecom
name = "wavecom"
detect-string = "WAVECOM"
init-string = "AT+CNMI=1,2,0,1,1"
reset-string = "AT+CNMI=1,2,0,1,1"
speed = 9600
need-sleep = true
message-storage = "SM"
sendline-sleep = 150
keepalive-cmd = "AT+CNMI=1,2,0,1,1"

group = sms-service
accepted-smsc=gsmmodem
keyword = default
get-url = "http:// xxx:[EMAIL PROTECTED]/gsmmodem?from=%p&to=%P&message= 
%a×ent=%t&smsc=%i"

omit-empty= true
max-messages = 0




Re: GSM Modem "freezes"

2008-02-20 Thread Alvaro Cornejo
Have you checked if there are messages locked on modem??

try AT+CMGL and or AT+CMGR=x where x is the sms memory location on the
modem.

I have a similar problem because of messages locked on modem. What I do is
to stop kannel, retrieve all messages on memories and deleted from modem.
Then restart.

I´m not good on C so I don´t know how to patch kannel in order to retry to
retrieve messages once the message memory index it receives from an
incomming message is above half the max modem memory location.

Hope helps

On 2/20/08, Hillel <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>
>
> We are using the latest Kannel CVS with a Wavecom WMOD2, dual band to
> receive SMSs for a client.
>
>
>
> After a few days the GSM modem seems to always "freeze" and does not
> receive any more SMSs until we manually restart Kannel.
>
> This means we can't provide a reliable service to our client that requires
> SMSs to be received by a GSM Modem.
>
> What is interesting is even when the modem does not accept any more SMSs,
> we still see in the bearerbox.log
>
>
>
> 2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <--
> AT+CNMI=1,2,0,1,1
>
> 2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <-- OK
>
>
>
> Is this a bug in the Kannel AT code?
>
> Any suggestions to prevent this happening and to improve our configuration
> below are most appreciated.
>
>
>
> The following is the configuration used:
>
>
>
> gsmmodem1.conf:
>
> group = smsc
>
> smsc-id = gsmmodem
>
> allowed-smsc-id = gsmmodem
>
> smsc = at
>
> modemtype = wavecom
>
> validityperiod = 167
>
> my-number= +27x
>
> sms-center = +27831000113
>
> #sim-buffering = true
>
> keepalive= 120
>
> device = /dev/ttyS0
>
> speed = 9600
>
>
>
> modems.conf:
>
> group = modems
>
> id = wavecom
>
> name = "wavecom"
>
> detect-string = "WAVECOM"
>
> init-string = "AT+CNMI=1,2,0,1,1"
>
> reset-string = "AT+CNMI=1,2,0,1,1"
>
> speed = 9600
>
> need-sleep = true
>
> message-storage = "SM"
>
> sendline-sleep = 150
>
> keepalive-cmd = "AT+CNMI=1,2,0,1,1"
>
>
>
> group = sms-service
>
> accepted-smsc=gsmmodem
>
> keyword = default
>
> get-url = "http:// xxx:[EMAIL PROTECTED]
> /gsmmodem?from=%p&to=%P&message=%a×ent=%t&smsc=%i"
>
> omit-empty= true
>
> max-messages = 0
>



-- 
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
GPRS online
  Visitenos en www.smsglobal.com.mx y www.pravcom.com


GSM Modem "freezes"

2008-02-20 Thread Hillel
Hi,

 

We are using the latest Kannel CVS with a Wavecom WMOD2, dual band to
receive SMSs for a client.

 

After a few days the GSM modem seems to always "freeze" and does not receive
any more SMSs until we manually restart Kannel.

This means we can't provide a reliable service to our client that requires
SMSs to be received by a GSM Modem.

What is interesting is even when the modem does not accept any more SMSs, we
still see in the bearerbox.log 

 

2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <--
AT+CNMI=1,2,0,1,1

2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <-- OK

 

Is this a bug in the Kannel AT code?

Any suggestions to prevent this happening and to improve our configuration
below are most appreciated.

 

The following is the configuration used:

 

gsmmodem1.conf:

group = smsc

smsc-id = gsmmodem

allowed-smsc-id = gsmmodem

smsc = at

modemtype = wavecom

validityperiod = 167

my-number= +27x

sms-center = +27831000113

#sim-buffering = true

keepalive= 120

device = /dev/ttyS0

speed = 9600

 

modems.conf:

group = modems

id = wavecom

name = "wavecom"

detect-string = "WAVECOM"

init-string = "AT+CNMI=1,2,0,1,1"

reset-string = "AT+CNMI=1,2,0,1,1"

speed = 9600

need-sleep = true

message-storage = "SM"

sendline-sleep = 150

keepalive-cmd = "AT+CNMI=1,2,0,1,1"

 

group = sms-service

accepted-smsc=gsmmodem

keyword = default

get-url = "http://
xxx:[EMAIL PROTECTED]/gsmmodem?from=%p&to=%P&message=%a×ent=%t&smsc=%i"

omit-empty= true

max-messages = 0



Re: GSM Modem phones

2006-07-19 Thread John Lauck
Can anyone specify GSM PCMCIA cards that work well for Kannel SMS.  I 
remember using a Sierra AirCard but can't remember the model number and 
I'm not sure it's still being made.


Thanks,

John

Vaibhav Solanki wrote:

Hello all,
 
When i went through the faq of the kannel site, got the

info that
* Nokia Premicell
* Siemens M20
* Wavecom WM02-G1800 modem
will support Kannel.
 
Can anyone suggest any other devices for the same purpose.

Awaiting replies...
 
Thankz
 





Re: GSM Modem phones

2006-07-18 Thread Andrija Petrovic

Vaibhav Solanki wrote:

Hello all,
 
When i went through the faq of the kannel site, got the

info that
* Nokia Premicell
* Siemens M20
* Wavecom WM02-G1800 modem
will support Kannel.
 
Can anyone suggest any other devices for the same purpose.

Awaiting replies...
 
Thankz
 

Hi,
We are successfully using the following Siemens GSM modems:

MC39i
TC45
MC35i

but (being well acquainted with the source code) I believe that any 
HayesATcommand-enabled device will do the job.


Regards,
Andrija




GSM Modem phones

2006-07-18 Thread Vaibhav Solanki
Hello all,
 
When i went through the faq of the kannel site, got the info that    * Nokia Premicell    * Siemens M20    * Wavecom WM02-G1800 modemwill support Kannel.
 
Can anyone suggest any other devices for the same purpose.
Awaiting replies...
 
Thankz 


Patch for iTegno GSM modem failure

2006-03-16 Thread Yulianto Z
Hi all,

I have some iTegno GSM modem that behave very strange.
It suppose to work in PDU mode after first AT+CMGS=0. But this modem was
reset to text mode (AT+CMGS=1) after first SMS being read/sent.
So I though it would be safe to initiate PDU mode right before
sending/reading SMS. Small patch will do.
At the time I send this patch, I'm not sure yet any other AT cmd that
shall be patch as well. Still in hurry to finish the project.

Anyway, attached the patch.
 
--
A diplomatic husband said to his wife, 
  "How do you expect me to remember your birthday
   when you never look any older?"

GPG fingerprint:
  7198 CFCC 255D BF14 6435 62BD CCF4 1929 467E 8019
GPG Public key:
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x467E8019


Index: gw/smsc/smsc_at.c
===
RCS file: /home/cvs/gateway/gw/smsc/smsc_at.c,v
retrieving revision 1.28
diff -u -r1.28 smsc_at.c
--- gw/smsc/smsc_at.c	15 Sep 2005 19:43:42 -	1.28
+++ gw/smsc/smsc_at.c	16 Mar 2006 11:20:36 -
@@ -770,7 +770,8 @@
 char cmd[20];
 int message_count = 0;
 
-sprintf(cmd, "AT+CMGR=%d", message_number);
+/* yulianto: make it safe by set it to PDU mode before read the message */
+sprintf(cmd, "AT+CMGF=0;+CMGR=%d", message_number);
 /* read one message from memory */
 at2_write_line(privdata, cmd);
 if (at2_wait_modem_command(privdata, 0, 0, &message_count) != 0) {
@@ -1945,7 +1946,8 @@
 /* 
  * send the initial command and then wait for > 
  */
-sprintf(command, "AT+CMGS=%ld", octstr_len(pdu) / 2);
+/* yulianto: make it safe by set it to PDU mode before send the message */
+sprintf(command, "AT+CMGF=0;+CMGS=%ld", octstr_len(pdu) / 2);
 
 ret = at2_send_modem_command(privdata, command, 5, 1);
 debug("bb.smsc.at2", 0, "AT2[%s]: send command status: %d",


signature.asc
Description: This is a digitally signed message part


How to connect to gsm modem using bluetooth

2004-09-08 Thread KIANG HENG
Hi,

I have successfully installed Kannel on Redhat FC1 and
have also successfully installed the bluetooth module
from bluez.sourceforge.net. I am able to connect from
my redhat server to my Sony Ericsson T630 cellphone
via bluetooth.

Question is how can I ask Kannel bearer to send or
receive SMS through the Sony Ericsson GSM phone modem
through the bluetooth connection.

Any advise will be greatly appreciated.

Thanks
Heng

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: configure GSM modem with Kannel system

2004-07-19 Thread dido
On Mon, Jul 19, 2004 at 04:44:36PM +, Quan Tran Hong wrote:
> 2004-07-19 16:40:42 [0] INFO: MAIN: Start-up done, entering mainloop
> 2004-07-19 16:40:42 [0] DEBUG: AT2[/dev/ttyS0]: start called
> 2004-07-19 16:40:42 [6] DEBUG: sms_router: list_len = 0
> 2004-07-19 16:40:42 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type
> 2004-07-19 16:40:42 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2004-07-19 16:40:42 [5] ERROR: AT2[/dev/ttyS0]: open failed! ERRNO=13
> 2004-07-19 16:40:42 [5] ERROR: System error 13: Permission denied

Check the permissions mask and ownership of /dev/ttyS0.  What user are
you running the bearerbox as?  This looks like a permissions problem.
The error says that the bearerbox doesn't have permission to open the
file.

-- 
dido
Sans les mathematiques on ne penetre point au fond de la philosophie.  Sans la
philosophie on ne penetre point au fond des mathematiques.  Sans les deux on
ne penetre au fond de rien.



configure GSM modem with Kannel system

2004-07-19 Thread Quan Tran Hong
Hi there,
Please let me know if you have some experience on installing a GSM modem
( Maestro modem 100 ) with Kannel system

Here is the error >>>

2004-07-19 16:40:42 [0] DEBUG: HTTP: Opening server at port 13000.
2004-07-19 16:40:42 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-07-19 16:40:42 [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2004-07-19 16:40:42 [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2004-07-19 16:40:42 [0] DEBUG: starting smsbox connection module
2004-07-19 16:40:42 [0] DEBUG: Started thread 4
(gw/bb_boxc.c:smsboxc_run)
2004-07-19 16:40:42 [0] INFO: AT2[/dev/ttyS0]: configuration doesn't
show modemt   ype. will
autodetect
2004-07-19 16:40:42 [0] DEBUG: Started thread 5
(gw/smsc/smsc_at2.c:at2_device_t   hread)
2004-07-19 16:40:42 [0] DEBUG: Started thread 6
(gw/bb_smscconn.c:sms_router)
2004-07-19 16:40:42 [0] INFO: 
2004-07-19 16:40:42 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2004-07-19 16:40:42 [6] DEBUG: sms_router: time to sleep
2004-07-19 16:40:42 [0] INFO: MAIN: Start-up done, entering mainloop
2004-07-19 16:40:42 [0] DEBUG: AT2[/dev/ttyS0]: start called
2004-07-19 16:40:42 [6] DEBUG: sms_router: list_len = 0
2004-07-19 16:40:42 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type
2004-07-19 16:40:42 [5] INFO: AT2[/dev/ttyS0]: opening device
2004-07-19 16:40:42 [5] ERROR: AT2[/dev/ttyS0]: open failed! ERRNO=13
2004-07-19 16:40:42 [5] ERROR: System error 13: Permission denied
2004-07-19 16:40:42 [5] DEBUG: Thread 5
(gw/smsc/smsc_at2.c:at2_device_thread)
t   erminates.
2004-07-19 16:43:21 [0] WARNING: Killing signal received, shutting
down...
2004-07-19 16:43:21 [0] DEBUG: Shutting down Kannel...
2004-07-19 16:43:21 [0] DEBUG: shutting down smsc
2004-07-19 16:43:21 [0] DEBUG: AT2[/dev/ttyS0]: Shutting down SMSCConn,
slow
2004-07-19 16:43:21 [0] DEBUG: shutting down udp





Wavecom gsm modem config

2003-06-18 Thread kookkai kookkai
.Hi, all

Could you please give me some examples about how to set sms config to work 
with wavecom gsm modem

I had tried to use the default config from document, but it can not send to 
the phone number which I specify (I try to send sms via browser) . It only 
display the word "Sent" in the browser without any error, anywaythe message 
could not be sent to the destination.

Please help me !

Thanks in advance

Jap

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




Re: [RFC] Telit GSM862 GSM modem?

2003-06-04 Thread Stipe Tolj
> anyone ever tried to use the industry GSM862 modems from Telit (IT)?
> 
> They are pretty cheap, compared to Siemens or Falcom.

hmmm, no one?

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



[RFC] Telit GSM862 GSM modem?

2003-06-04 Thread Stipe Tolj
Hi list,

anyone ever tried to use the industry GSM862 modems from Telit (IT)?

They are pretty cheap, compared to Siemens or Falcom.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: UCP protocol with GSM modem

2003-04-01 Thread Stipe Tolj
> In fact, I would like Kannel to 'deliver' SMS to my terminal
> application. Here is the schema:
> 
> Mobile phone -- (submit)--> SMSC ---(deliver)--> Siemens M20 --->
> Kannel --(deliver)--> My PC(UCP API)
> 
> Can you confirm that it's not possible?

yes, but not with the current tools.

What you need would be a MO-to-MT loop within the scope of bearerbox.
Or you could cause smsbox to execute a specific command within
sms-service (which then performs the EMI/UCP delivery).

The end point you call "My PC(UCP API)". Is this a UCP/EMI SMSC? If
yes, then you may construct such bridging, but it would cause some
changes within bearerbox processing logic.

you could do that by using the get-url sms-service to send the MO SMS
data to an HTTP SMSC URL, hence convert it from MO to MT.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: UCP protocol with GSM modem

2003-04-01 Thread Stipe Tolj
Tronet Sarah wrote:
> 
> As far as I know, it is possible to connect Kannel to the mobile network via a GSM 
> modem (e.g. Siemens M20).
> In that case, I would like to connect my terminal application to Kannel via UCP-EMI 
> protocol as if Kannel was my SMSC in order to receive SMS from the mobile network?

Kannel does yet not include server-side implementations of SMSC
protocolls, excepts it's HTTP interface provided via smsbox.

But this is to come. We have smppbox and emibox which implement the
server-sides that will be added as seperate CVS modules to the Kannel
reposority in some near future.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



RE: UCP protocol with GSM modem

2003-04-01 Thread Tronet Sarah



In 
fact, I would like Kannel to 'deliver' SMS to my terminal application. Here is 
the schema:
 
Mobile 
phone -- (submit)--> SMSC ---(deliver)--> Siemens M20 ---> Kannel 
--(deliver)--> My PC(UCP API)
 
Can 
you confirm that it's not possible?
 
Thanks.
 
    Sarah Tronet.

  -Original Message-From: Andreas Fink 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, April 01, 2003 5:12 
  PMTo: Tronet SarahCc: [EMAIL PROTECTED]; Braud 
  ArnaudSubject: Re: UCP protocol with GSM 
  modem
  On Dienstag, April 1, 2003, at 05:06 Uhr, Tronet Sarah wrote: 
  Hi, 
  As far as I know, it is possible to connect Kannel to the mobile network 
  via a GSM modem (e.g. Siemens M20). 
  In that case, I would like to connect my terminal application to Kannel via 
  UCP-EMI protocol as if Kannel was my SMSC in order to receive SMS from the 
  mobile network? 
  No. Kannel implements the User side of EMI/UCP but not the server side. 

  You can use HTTP to sumbit to a EMI/UCP SMSC or via a GSM modem but you can 
  not drive kannel for submitting in EMI/UCP. 
  For that you need a real SMSC or SMSC emulation 
  Andreas Fink 
  Global Networks Switzerland AG 
  -- 
  
  Tel: +41-61-333 Fax: +41-61-334 Mobile: 
  +41-79-2457333 
  Global Networks, Inc. Clarastrasse 3, 4058 Basel, 
  Switzerland 
  Web: http://www.global-networks.ch/  
  [EMAIL PROTECTED] 
  -- 
  
  Send SMS to +979 979 UNICEF (+979979864233) to 
  donate a 
  small amount to the children of Iraq. 
  http://www.gni.ch/unicef 


Re: UCP protocol with GSM modem

2003-04-01 Thread Andreas Fink

On Dienstag, April 1, 2003, at 05:06  Uhr, Tronet Sarah wrote:

Hi, 

As far as I know, it is possible to connect Kannel to the mobile network via a GSM modem (e.g. Siemens M20). 
In that case, I would like to connect my terminal application to Kannel via UCP-EMI protocol as if Kannel was my SMSC in order to receive SMS from the mobile network?


No. Kannel implements the User side of EMI/UCP but not the server side.
You can use HTTP to sumbit to a EMI/UCP SMSC or via a GSM modem but you can not drive kannel for submitting in EMI/UCP.
For that you need a real SMSC or SMSC emulation

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Send SMS to +979 979 UNICEF (+979979864233) to donate a
small amount to the children of Iraq. http://www.gni.ch/unicef



UCP protocol with GSM modem

2003-04-01 Thread Tronet Sarah
Hi, 

As far as I know, it is possible to connect Kannel to the mobile network via a GSM 
modem (e.g. Siemens M20). 
In that case, I would like to connect my terminal application to Kannel via UCP-EMI 
protocol as if Kannel was my SMSC in order to receive SMS from the mobile network?

Thanks in advance.

  Sarah Tronet
SIEMENS Réseaux Informatiques et Télécommunications
> 3, rue Blaise Pascal
> 22300 LANNION
> Phone :   + 33 (0)2 96 48 74 11
> Fax : + 33 (0)2 96 48 74 73
> 
   mailto:[EMAIL PROTECTED]
> http://intranet.srit.siemens.fr/group/d2/
> 
>