Kannel With SIM300 GSM Modem

2012-09-12 Thread sudhakar_yg

Hi,
I am setting up the kannel over simcom GSM modem. Attached is my
configuration file. 
http://old.nabble.com/file/p34422189/simcom.conf simcom.conf 
When I try to bring up my bearerbox  monitor the SMPP log, Following are my
SMPP  Kannel log,
--
SMPP LOG
--
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed. 
2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet mode =
0
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

---
Kannel Log
--
sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf 
2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = none,
log_lvl = 0
2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal' for
storage type.
2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
`svn-r4910M'.
Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri Jul
27 17:25:43 UTC 2012, machine i686.
Hostname 5DMark-II, IP 127.0.1.1.
Libxml version 2.7.8.
Compiled with MySQL 5.5.24, using MySQL 5.5.24.
Using native malloc.

2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
`/home/sudhakar/kannel/logs/kannel.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
`/home/sudhakar/kannel/logs/access.log'.
2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
initialization done.
2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port 13000.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 14593.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module
2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id smsbox
for smsc id gsm
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
seconds.
2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited.
2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
enabled
2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
disabled.
2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
`/home/sudhakar/kannel/logs/smpp.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't show
modemtype. will autodetect
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2012-09-12 12:55:42 [14593] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14593.
2012-09-12 12:55:42 [14593] [6] INFO: Logging thread `6' to logfile
`/home/sudhakar/kannel/logs/smpp.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2012-09-12 12:55:42 [14593] [0] INFO:

2012-09-12 12:55:42 [14593] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 14593.
2012-09-12 12:55:42 [14593] [0] INFO: Kannel bearerbox II version svn-r4910M
starting
2012-09-12 12:55:42 [14593] [0] INFO: Loading store file
`/home/sudhakar/kannel/logs/kannel.store'
2012-09-12 12:55:42 [14593] [0] INFO: Store-file size 0, starting to unpack
2012-09-12 12:55:42 [14593] [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 8
(gw/bb_store_file.c:store_dumper)
2012-09-12 12:55:42 [14593] [8] DEBUG: Thread 8
(gw/bb_store_file.c:store_dumper) maps to pid 14593.
2012-09-12 12:55:42 [14593] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 14593.
2012-09-12 12:55:42 [14593] [0] INFO: MAIN: Start-up done, entering mainloop

Re: set sender address on SMPP connection

2012-09-12 Thread Guy Antony Halse
On Thu 2012-09-06 (16:45), Guy Antony Halse wrote:
 What I'd like is a single sendsms-user that can send to any number (prefix)
 without the end user needing to know anything about the underlying routing
 or the sender number.  Thus I need a way to set the sender number based on
 the destination prefix.

I've managed to do this by running multiple instances of Kannel.  

I have a master instance that receives web requests from users (it has a
number of sendsms-users, corresponding to real users).  The master has a
number of smscs configured, each being another instance of kannel (smsc =
http, system-type = kannel).  Individual destination prefixes are routed to
different instances by using the allowed-prefix/denied-prefix options.

I then have four separate slave instances, all of which connect to the
same SMPP provider.  However, the connections from the master come into a
single proxy sendsms-user (the only user in each instance).  This user uses
faked-sender to set the correct source address for the prefix.

So I do prefix routing in the master, and use it to set the sender address
in a slave.  This works, but it is an ugly hack :(

The net result is that I'm establishing four separate SMPP connections to
the same provider, one for each source address I need to set (one per slave
instance). This is obviously not particularly efficient, and it confuses the
routing of incoming SMSes (the SMS is received by the first instance to
poll, and has to route it to the master because it might be for the wrong
prefix).  I'm waiting for the provider to complain about the four connections.

If anyone has a cleaner way to do this (preferably with a single instance of
kannel), please let me know :)

- Guy
-- 
Manager: Systems, IT Division, Rhodes University, Grahamstown, South Africa
Email: g.ha...@ru.ac.za   Web: http://mombe.org/   IRC: rm...@irc.atrum.org
*** ANSI Standard Disclaimer ***J.A.P.H



Re: Kannel WAP Push in production

2012-09-12 Thread [Digital^Dude] ®
So in wap 1.0 I can't change the mask?

On Wed, Sep 12, 2012 at 2:05 AM, Alvaro Cornejo cornejo.alv...@gmail.comwrote:

 Hi

 I think kannel supports only wap 1.0 For wap 2.0, mms  others you
 might want to try mbuni...

 Regards

 Alvaro

 On 9/11/12, [Digital^Dude] ® millennium@gmail.com wrote:
  Hello,
 
  Having tested wap pushes as explained in:
  http://kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG
  1. Is there any way wap pushes can be used via API? Just like smses are
  sent via kannel? I am using SMPP for sms.
  2. How do I change the mask of wap push messages?
 
  --
  Thanks
 


 --

 |-|
 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.NET www.smsglobal.com.mx y
 www.pravcom.com



Re: help configuring smppbox addon

2012-09-12 Thread Natalia Spoon
Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

# opensmppbox.conf
--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_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 = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




SMSC im connected to:


#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3





Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

Thanks for everything.




 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon
 

At this moment, opensmppbox only connects to 1 smsc at the time.
For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.
 
To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.
 
== Rene
 
From:users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon
 
Dear Team,

My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's userguide, (please note We have 2 operators).
 
Another question, how can I get in touch with companies providing services for 
kannel? ranges from mostly configuring + maintenance to sometimes backend 
server developments...
 
Thank for your time.

RE: Shutting down Kannel

2012-09-12 Thread Ombongi Moraa Fe
Hello Team,

I usually start Kannel Instance for network  by running:

sudo /etc/init.d/ start

however, I cant run the same with the stop command, I get the error :
  not yet implemented.

how can i stop the kannel instance for  at once without killing the pid
manually? For a since kannel configuration, I have upto 8 PID's.


Saludos

Ombongi Moraa fe


Re: Kannel WAP Push in production

2012-09-12 Thread [Digital^Dude] ®
FeaturesWAP


   -

   Fully compliant with WAP 1.1 specification
   -

   Already implements some WAP 1.2 and even WAP 2.0 features.

Source: http://kannel.org/download/kannel-userguide-snapshot/userguide.html

On Wed, Sep 12, 2012 at 2:06 PM, [Digital^Dude] ®
millennium@gmail.comwrote:

 So in wap 1.0 I can't change the mask?

 On Wed, Sep 12, 2012 at 2:05 AM, Alvaro Cornejo 
 cornejo.alv...@gmail.comwrote:

 Hi

 I think kannel supports only wap 1.0 For wap 2.0, mms  others you
 might want to try mbuni...

 Regards

 Alvaro

 On 9/11/12, [Digital^Dude] ® millennium@gmail.com wrote:
  Hello,
 
  Having tested wap pushes as explained in:
  http://kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG
  1. Is there any way wap pushes can be used via API? Just like smses are
  sent via kannel? I am using SMPP for sms.
  2. How do I change the mask of wap push messages?
 
  --
  Thanks
 


 --

 |-|
 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.NET www.smsglobal.com.mx y
 www.pravcom.com





RE: Shutting down Kannel

2012-09-12 Thread Amin Mukhaimer
Issue the following linux command, to kill bearerbox, rest of the boxes
shutdown after it.

 

killall -9 bearerbox

 

Have a nice day.

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Ombongi Moraa Fe
Sent: Wednesday, September 12, 2012 12:35 PM
To: users@kannel.org
Subject: RE: Shutting down Kannel

 

Hello Team,

I usually start Kannel Instance for network  by running:

sudo /etc/init.d/ start

however, I cant run the same with the stop command, I get the error :
  not yet implemented.

how can i stop the kannel instance for  at once without killing the pid
manually? For a since kannel configuration, I have upto 8 PID's.


Saludos

Ombongi Moraa fe



Usb HUBs with GSM modems

2012-09-12 Thread Rudy Matela
Hello,

I don't really have a place to ask this question, it is indirectly
related to kannel. But this seems the best channel for it. I'm sorry
for the incovenience this may cause.

I have a box running kannel and I'm sending messages using E220
modems. I'd like to have a lot of them by using USB HUBs. I've tried
some cheap hubs (with external power source) but they do not work (I
get some errors on dmesg and kannel cannot send messages through
them).

Someone has a good hint on a usb hub that would do the task?

Regards,
Rudy



RE: SS7 and Kannel

2012-09-12 Thread Rene Kluwen
There’s an ss7 stack, which is half-finished.

But it’s not free.

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Webmaster HC
Sent: Tuesday, 11 September, 2012 23:18
To: us...@vm1.kannel.org
Subject: SS7 and Kannel

 

All,

 

Is it possible to turn use Kannel and SS7? If so, where can I find some info on 
it.

 

Erik

 



RE: Kannel With SIM300 GSM Modem

2012-09-12 Thread Rene Kluwen
Are you sure minicom responds when you enter /dev/ttyUSB0?
If yes, maybe it's a permission issue.

-Original Message-
From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On
Behalf Of sudhakar_yg
Sent: Wednesday, 12 September, 2012 09:48
To: us...@vm1.kannel.org
Subject: Kannel With SIM300 GSM Modem


Hi,
I am setting up the kannel over simcom GSM modem. Attached is my
configuration file. 
http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try to
bring up my bearerbox  monitor the SMPP log, Following are my SMPP  Kannel
log,

--
SMPP LOG

--
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed. 
2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet mode =
0
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M


---
Kannel Log

--
sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = none,
log_lvl = 0
2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal' for
storage type.
2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
`svn-r4910M'.
Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri Jul
27 17:25:43 UTC 2012, machine i686.
Hostname 5DMark-II, IP 127.0.1.1.
Libxml version 2.7.8.
Compiled with MySQL 5.5.24, using MySQL 5.5.24.
Using native malloc.

2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
`/home/sudhakar/kannel/logs/kannel.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
`/home/sudhakar/kannel/logs/access.log'.
2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
initialization done.
2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port 13000.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 14593.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module
2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id smsbox
for smsc id gsm
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
seconds.
2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited.
2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
enabled
2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
disabled.
2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
`/home/sudhakar/kannel/logs/smpp.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't show
modemtype. will autodetect
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2012-09-12 12:55:42 [14593] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14593.
2012-09-12 12:55:42 [14593] [6] INFO: Logging thread `6' to logfile
`/home/sudhakar/kannel/logs/smpp.log' with level `0'.
2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2012-09-12 12:55:42 [14593] [0] INFO:

2012-09-12 12:55:42 [14593] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 14593.
2012-09-12 12:55:42 [14593] [0] INFO: Kannel bearerbox II version svn-r4910M
starting
2012-09-12 12:55:42 [14593] [0] INFO: Loading store file
`/home/sudhakar/kannel/logs/kannel.store'
2012-09-12 12:55:42 [14593] [0] INFO: Store-file size 0, starting to unpack
2012-09-12 12:55:42 [14593] [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2012-09-12 12:55:42 [14593] [0] 

RE: help configuring smppbox addon

2012-09-12 Thread Rene Kluwen
Change:

 

route-to-smsc = my-default-smsc



 

to

 

route-to-smsc = operator1_tx

 

From: Natalia Spoon [mailto:natalia.sp...@yahoo.com] 
Sent: Wednesday, 12 September, 2012 11:17
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: help configuring smppbox addon

 

Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

 

# opensmppbox.conf

--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_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 = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




 

SMSC im connected to:

 

 

#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3

 



 

Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

 

Thanks for everything.

 

  _  

From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon





At this moment, opensmppbox only connects to 1 smsc at the time.

For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.

 

To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.

 

== Rene

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon

 

Dear Team,


My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's 

RE: problem connection to a bearerbox in other server

2012-09-12 Thread Rene Kluwen
Yes, probably the version mismatch of your smsbox and your bearerbox is the
problem.

 

Try to run the same version.

 

== Rene

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On
Behalf Of Singularnet
Sent: Wednesday, 12 September, 2012 14:51
To: users
Subject: problem connection to a bearerbox in other server

 

Hello

 

I tried to connect from smsbox  to a bearerbox box which each box in
different server

 

I have the following problem in my smsbox log

 

2012-09-12 12:17:43 [2213] [0] INFO: Connected to bearerbox at 50.62.143.121
port 13001.

2012-09-12 12:17:43 [2213] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)

2012-09-12 12:17:43 [2213] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 2213.

2012-09-12 12:17:44 [2213] [0] ERROR: Packet too short while unpacking Msg.

2012-09-12 12:17:44 [2213] [0] ERROR: Msg packet was invalid.

2012-09-12 12:17:44 [2213] [0] ERROR: Failed to unpack data!

2012-09-12 12:17:44 [2213] [0] ERROR: Bearerbox is gone, restarting

2012-09-12 12:17:44 [2213] [0] INFO: Received (and handled?) 0 requests in 1
seconds (0.00 per second)

2012-09-12 12:17:44 [2213] [0] INFO: Kannel smsbox terminating.

 

I dont have direct access to bearerbox log or config file cause is in other
machine out the country but the administrator of the bearerbox send me by
email part of the log

 

[5] INFO: Client connected from 107.22.172.176

2012-09-11 22:55:32 [21921] [19] INFO: Connection closed by the box
107.22.172.176

2012-09-11 22:55:32 [21921] [4] WARNING: Could not route message to smsbox
id smsbox_nic, smsbox is gone!

2012-09-11 22:55:32 [21921] [4] WARNING: Could not route message to smsbox
id smsbox_nic, smsbox is gone!

2012-09-11 22:55:43 [21921] [5] INFO: Client connected from 107.22.172.176

2012-09-11 22:55:43 [21921] [21] INFO: Connection closed by the box
107.22.172.176

2012-09-11 22:55:43 [21921] [4] WARNING: Could not route message to smsbox
id smsbox_nic, smsbox is gone!

2012-09-11 22:55:43 [21921] [4] WARNING: Could not route message to smsbox
id smsbox_nic, smsbox is gone!

 

the proper smsbox-route is in the config file of the bearerbox, so i guess
is not releated to routing, it seem that my smsbox suddenly disconnect from
bearerbox. cause bearerbox suddenly is gone, and smsbox disconnect also,
this from my side of the log, but if i see the log of bearerbox it seem to
me the opposit, that smsbox close by itself and disconect from bearerbox.

 

I also realize that we have different version of kannel, the bearerbox
machine is running 1.4 and i'm running svn-r4939, i dont know it this could
be related.

 

if somebody cound give me a tips about what could happen i really
appreciated

thanks



RE: problem connection to a bearerbox in other server

2012-09-12 Thread Singularnet
Thanks
On Sep 12, 2012 7:16 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 Yes, probably the version mismatch of your smsbox and your bearerbox is
 the problem.

 ** **

 Try to run the same version.

 ** **

 == Rene

 ** **

 *From:* users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
 *On Behalf Of *Singularnet
 *Sent:* Wednesday, 12 September, 2012 14:51
 *To:* users
 *Subject:* problem connection to a bearerbox in other server

 ** **

 Hello

 ** **

 I tried to connect from smsbox  to a bearerbox box which each box in
 different server

 ** **

 I have the following problem in my smsbox log

 ** **

 2012-09-12 12:17:43 [2213] [0] INFO: Connected to bearerbox at
 50.62.143.121 port 13001.

 2012-09-12 12:17:43 [2213] [0] DEBUG: Started thread 7
 (gw/heartbeat.c:heartbeat_thread)

 2012-09-12 12:17:43 [2213] [7] DEBUG: Thread 7
 (gw/heartbeat.c:heartbeat_thread) maps to pid 2213.

 2012-09-12 12:17:44 [2213] [0] ERROR: Packet too short while unpacking Msg.
 

 2012-09-12 12:17:44 [2213] [0] ERROR: Msg packet was invalid.

 2012-09-12 12:17:44 [2213] [0] ERROR: Failed to unpack data!

 2012-09-12 12:17:44 [2213] [0] ERROR: Bearerbox is gone, restarting

 2012-09-12 12:17:44 [2213] [0] INFO: Received (and handled?) 0 requests in
 1 seconds (0.00 per second)

 2012-09-12 12:17:44 [2213] [0] INFO: Kannel smsbox terminating.

 ** **

 I dont have direct access to bearerbox log or config file cause is in
 other machine out the country but the administrator of the bearerbox send
 me by email part of the log

 ** **

 [5] INFO: Client connected from 107.22.172.176

 2012-09-11 22:55:32 [21921] [19] INFO: Connection closed by the box
 107.22.172.176

 2012-09-11 22:55:32 [21921] [4] WARNING: Could not route message to smsbox
 id smsbox_nic, smsbox is gone!

 2012-09-11 22:55:32 [21921] [4] WARNING: Could not route message to smsbox
 id smsbox_nic, smsbox is gone!

 2012-09-11 22:55:43 [21921] [5] INFO: Client connected from
 107.22.172.176

 2012-09-11 22:55:43 [21921] [21] INFO: Connection closed by the box
 107.22.172.176

 2012-09-11 22:55:43 [21921] [4] WARNING: Could not route message to smsbox
 id smsbox_nic, smsbox is gone!

 2012-09-11 22:55:43 [21921] [4] WARNING: Could not route message to smsbox
 id smsbox_nic, smsbox is gone!

 ** **

 the proper smsbox-route is in the config file of the bearerbox, so i guess
 is not releated to routing, it seem that my smsbox suddenly disconnect from
 bearerbox. cause bearerbox suddenly is gone, and smsbox disconnect also,
 this from my side of the log, but if i see the log of bearerbox it seem to
 me the opposit, that smsbox close by itself and disconect from bearerbox.*
 ***

 ** **

 I also realize that we have different version of kannel, the bearerbox
 machine is running 1.4 and i'm running svn-r4939, i dont know it this could
 be related.

 ** **

 if somebody cound give me a tips about what could happen i really
 appreciated

 thanks



RE: Kannel With SIM300 GSM Modem

2012-09-12 Thread sudhakar_yg

Thanks for reply Rene, 
I has read about the permission issue on /dev/ttyUSB0. I have given chmod
777 permission to /dev/ttyUSB0.
I am able to access the modem over same port using minicom without any
issues.
If this permission is not proper, what else permissions i need to give?

Cheers,
Sudhakar



Rene Kluwen wrote:
 
 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.
 
 -Original Message-
 From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem
 
 
 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file. 
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed. 
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet mode
 =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 
 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal' for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.
 
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
 (gw/bb_http.c:httpadmin_run)
 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module
 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not set,
 using default (100).
 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id
 smsbox
 for smsc id gsm
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
 (gw/bb_boxc.c:sms_to_smsboxes)
 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
 (gw/bb_boxc.c:smsboxc_run)
 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
 seconds.
 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited.
 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
 enabled
 2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
 disabled.
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/smpp.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't show
 modemtype. will autodetect
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6
 (gw/smsc/smsc_at.c:at2_device_thread)
 2012-09-12 12:55:42 [14593] [6] DEBUG: Thread 6
 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [6] INFO: Logging thread `6' to logfile
 `/home/sudhakar/kannel/logs/smpp.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 7
 (gw/bb_smscconn.c:sms_router)
 2012-09-12 12:55:42 [14593] [0] INFO:
 
 2012-09-12 12:55:42 [14593] [5] DEBUG: Thread 5 

RE: Kannel With SIM300 GSM Modem

2012-09-12 Thread sudhakar_yg

Also I have followed the Modem initialization section in the 1.4.3 UG 
have done the permissions settings accordingly.
I have also tried run the kannel service as root user. But dont see any
changes in the behavior. 




sudhakar_yg wrote:
 
 Thanks for reply Rene, 
 I had read about the permission issue on /dev/ttyUSB0. I have given chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without any
 issues.
 If this permission is not proper, what else permissions i need to give?
 
 Cheers,
 Sudhakar
 
 
 
 Rene Kluwen wrote:
 
 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.
 
 -Original Message-
 From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem
 
 
 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file. 
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed. 
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 
 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.
 
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
 (gw/bb_http.c:httpadmin_run)
 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module
 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not set,
 using default (100).
 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id
 smsbox
 for smsc id gsm
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
 (gw/bb_boxc.c:sms_to_smsboxes)
 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
 (gw/bb_boxc.c:smsboxc_run)
 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
 seconds.
 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited.
 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
 enabled
 2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
 disabled.
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/smpp.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't
 show
 modemtype. will autodetect
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6
 (gw/smsc/smsc_at.c:at2_device_thread)
 2012-09-12 12:55:42 [14593] [6] DEBUG: Thread 6
 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [6] INFO: Logging thread `6' to logfile
 

Re: Usb HUBs with GSM modems

2012-09-12 Thread sudhakar_yg

Hi Rudy,
Ideally any USB hubs should work. I assume you are using Linux.
Try out these links for more info, 
http://ubuntuforums.org/archive/index.php/t-678950.html
http://unix.stackexchange.com/questions/38121/how-can-i-uniquely-identify-which-device-is-on-usb-hub-6-01-0-port-2
http://www.ehow.com/how_6246598_mount-usb-hubs-linux.html

Cheers...



Rudy Matela-2 wrote:
 
 Hello,
 
 I don't really have a place to ask this question, it is indirectly
 related to kannel. But this seems the best channel for it. I'm sorry
 for the incovenience this may cause.
 
 I have a box running kannel and I'm sending messages using E220
 modems. I'd like to have a lot of them by using USB HUBs. I've tried
 some cheap hubs (with external power source) but they do not work (I
 get some errors on dmesg and kannel cannot send messages through
 them).
 
 Someone has a good hint on a usb hub that would do the task?
 
 Regards,
 Rudy
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Usb-HUBs-with-GSM-modems-tp34422981p34423837.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Transformer Pro SmartTrust WIB

2012-09-12 Thread dhcmega
Hi George
Any luck on this?
Thanks

On Thu, Sep 8, 2011 at 5:42 AM, George Karagheaur 
george.karaghe...@gmail.com wrote:

  Dear Friends,
 Could somebody help me to get SmartTrust Transformer Pro for WIB WML to
 bytecode convertion? Or WAC proffesional edition for same scope...

 Sorry to write a little bit off top.. just need a really urgent help... I
 hope somebody have the installation...

 Thank you all and have a nice day!

 --
 Best regards,
 George Karagheaur
 Mob: +79165482960
 Skype: george.karagheaur
 Email/MSN: george.karaghe...@gmail.com






 --
 Best regards,
 George Karagheaur
 Mob: +79165482960
 Skype: george.karagheaur
 Email/MSN: george.karaghe...@gmail.com





Re: Kannel With SIM300 GSM Modem

2012-09-12 Thread Alvaro Cornejo
Just for sake of better troubleshoot add a separate logfile for the
modem. This way it will be easyer to debug just modem.



On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Also I have followed the Modem initialization section in the 1.4.3 UG 
 have done the permissions settings accordingly.
 I have also tried run the kannel service as root user. But dont see any
 changes in the behavior.




 sudhakar_yg wrote:

 Thanks for reply Rene,
 I had read about the permission issue on /dev/ttyUSB0. I have given chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without any
 issues.
 If this permission is not proper, what else permissions i need to give?

 Cheers,
 Sudhakar



 Rene Kluwen wrote:

 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.

 -Original Message-
 From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem


 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file.
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.

 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port
 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
 (gw/bb_http.c:httpadmin_run)
 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module
 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not
 set,
 using default (100).
 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id
 smsbox
 for smsc id gsm
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
 (gw/bb_boxc.c:sms_to_smsboxes)
 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
 (gw/bb_boxc.c:smsboxc_run)
 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
 seconds.
 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited.
 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
 enabled
 2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
 disabled.
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/smpp.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't
 show
 modemtype. will autodetect
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6
 (gw/smsc/smsc_at.c:at2_device_thread)
 2012-09-12 

Re: Kannel With SIM300 GSM Modem

2012-09-12 Thread sudhakar_yg

How do i set the log for modem? I tried adding log field in group modems
section, but kannel wouldn't start with it.


Alvaro Cornejo wrote:
 
 Just for sake of better troubleshoot add a separate logfile for the
 modem. This way it will be easyer to debug just modem.
 
 
 
 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Also I have followed the Modem initialization section in the 1.4.3 UG 
 have done the permissions settings accordingly.
 I have also tried run the kannel service as root user. But dont see any
 changes in the behavior.




 sudhakar_yg wrote:

 Thanks for reply Rene,
 I had read about the permission issue on /dev/ttyUSB0. I have given
 chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without any
 issues.
 If this permission is not proper, what else permissions i need to give?

 Cheers,
 Sudhakar



 Rene Kluwen wrote:

 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.

 -Original Message-
 From: users-boun...@vm1.kannel.org
 [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem


 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file.
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file =
 none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.

 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port
 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
 (gw/bb_http.c:httpadmin_run)
 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection
 module
 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not
 set,
 using default (100).
 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id
 smsbox
 for smsc id gsm
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
 (gw/bb_boxc.c:sms_to_smsboxes)
 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
 (gw/bb_boxc.c:smsboxc_run)
 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
 seconds.
 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to
 unlimited.
 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling
 enabled
 2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id gsm
 disabled.
 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/smpp.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration 

Re: Kannel With SIM300 GSM Modem

2012-09-12 Thread Alvaro Cornejo
Hi

You need to add it on your smsc-at definition. You can set a separate
log for each smsc.

group = smsc
smsc = at
smsc-id = modem1
log-level = 0
log-file = /var/log/kannel/modem1.log
...


Regards

Alvaro

On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 How do i set the log for modem? I tried adding log field in group modems
 section, but kannel wouldn't start with it.


 Alvaro Cornejo wrote:

 Just for sake of better troubleshoot add a separate logfile for the
 modem. This way it will be easyer to debug just modem.



 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Also I have followed the Modem initialization section in the 1.4.3 UG
 
 have done the permissions settings accordingly.
 I have also tried run the kannel service as root user. But dont see any
 changes in the behavior.




 sudhakar_yg wrote:

 Thanks for reply Rene,
 I had read about the permission issue on /dev/ttyUSB0. I have given
 chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without any
 issues.
 If this permission is not proper, what else permissions i need to give?

 Cheers,
 Sudhakar



 Rene Kluwen wrote:

 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.

 -Original Message-
 From: users-boun...@vm1.kannel.org
 [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem


 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file.
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I
 try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file =
 none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.

 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port
 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3
 (gw/bb_http.c:httpadmin_run)
 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection
 module
 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not
 set,
 using default (100).
 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id
 smsbox
 for smsc id gsm
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4
 (gw/bb_boxc.c:sms_to_smsboxes)
 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5
 (gw/bb_boxc.c:smsboxc_run)
 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60
 seconds.
 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to
 unlimited.
 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message
 

Re: Kannel With SIM300 GSM Modem

2012-09-12 Thread sudhakar_yg

Did that configuration  getting the same log message,
--
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed.
2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet mode =
0
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M 




Alvaro Cornejo wrote:
 
 Hi
 
 You need to add it on your smsc-at definition. You can set a separate
 log for each smsc.
 
 group = smsc
 smsc = at
 smsc-id = modem1
 log-level = 0
 log-file = /var/log/kannel/modem1.log
 ...
 
 
 Regards
 
 Alvaro
 
 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 How do i set the log for modem? I tried adding log field in group modems
 section, but kannel wouldn't start with it.


 Alvaro Cornejo wrote:

 Just for sake of better troubleshoot add a separate logfile for the
 modem. This way it will be easyer to debug just modem.



 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Also I have followed the Modem initialization section in the 1.4.3 UG
 
 have done the permissions settings accordingly.
 I have also tried run the kannel service as root user. But dont see any
 changes in the behavior.




 sudhakar_yg wrote:

 Thanks for reply Rene,
 I had read about the permission issue on /dev/ttyUSB0. I have given
 chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without any
 issues.
 If this permission is not proper, what else permissions i need to
 give?

 Cheers,
 Sudhakar



 Rene Kluwen wrote:

 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.

 -Original Message-
 From: users-boun...@vm1.kannel.org
 [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem


 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file.
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I
 try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem
 speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file =
 none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default
 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type:
 internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP
 Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.

 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL
 initialization done.
 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port
 13000.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1
 (gwlib/fdset.c:poller)
 maps
 to pid 14593.
 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 

Re: Kannel With SIM300 GSM Modem

2012-09-12 Thread Alvaro Cornejo
Ok then

maybe something is wrong with the port speed and autodetect... do you
know modems default speed? you can try seting it to a fixed speed;
else you can try with minicom to get the right port settings

also you can run:

# wvdialconf wvdial.conf

It will test all ports in your equipment and will try to get a
init-string for it

Regards

Alvaro



On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Did that configuration  getting the same log message,
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet mode
 =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 



 Alvaro Cornejo wrote:

 Hi

 You need to add it on your smsc-at definition. You can set a separate
 log for each smsc.

 group = smsc
 smsc = at
 smsc-id = modem1
 log-level = 0
 log-file = /var/log/kannel/modem1.log
 ...


 Regards

 Alvaro

 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 How do i set the log for modem? I tried adding log field in group modems
 section, but kannel wouldn't start with it.


 Alvaro Cornejo wrote:

 Just for sake of better troubleshoot add a separate logfile for the
 modem. This way it will be easyer to debug just modem.



 On 9/12/12, sudhakar_yg sudhakar...@gmail.com wrote:

 Also I have followed the Modem initialization section in the 1.4.3
 UG
 
 have done the permissions settings accordingly.
 I have also tried run the kannel service as root user. But dont see
 any
 changes in the behavior.




 sudhakar_yg wrote:

 Thanks for reply Rene,
 I had read about the permission issue on /dev/ttyUSB0. I have given
 chmod
 777 permission to /dev/ttyUSB0.
 I am able to access the modem over same port using minicom without
 any
 issues.
 If this permission is not proper, what else permissions i need to
 give?

 Cheers,
 Sudhakar



 Rene Kluwen wrote:

 Are you sure minicom responds when you enter /dev/ttyUSB0?
 If yes, maybe it's a permission issue.

 -Original Message-
 From: users-boun...@vm1.kannel.org
 [mailto:users-boun...@vm1.kannel.org]
 On
 Behalf Of sudhakar_yg
 Sent: Wednesday, 12 September, 2012 09:48
 To: us...@vm1.kannel.org
 Subject: Kannel With SIM300 GSM Modem


 Hi,
 I am setting up the kannel over simcom GSM modem. Attached is my
 configuration file.
 http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I
 try
 to
 bring up my bearerbox  monitor the SMPP log, Following are my SMPP
 
 Kannel
 log,
 
 --
 SMPP LOG
 
 --
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem
 speed.
 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device
 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened.
 Telnet
 mode =
 0
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened
 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200
 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: -- ^M
 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: -- AT^M
 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: -- AT^M

 
 ---
 Kannel Log
 
 --
 sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf
 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file =
 none,
 log_lvl = 0
 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default
 'internal'
 for
 storage type.
 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type:
 internal
 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version
 `svn-r4910M'.
 Build `Sep  6 2012 09:22:08', compiler `4.6.3'.
 System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP
 Fri
 Jul
 27 17:25:43 UTC 2012, machine i686.
 Hostname 5DMark-II, IP 127.0.1.1.
 Libxml version 2.7.8.
 Compiled with MySQL 5.5.24, using MySQL 5.5.24.
 Using native malloc.

 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile
 `/home/sudhakar/kannel/logs/kannel.log' with level `0'.
 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile
 `/home/sudhakar/kannel/logs/access.log'.
 

Re: SS7 and Kannel

2012-09-12 Thread Webmaster HC
Rene,

Thanks. That is what I saw looking online but wanted to make sure. I am not 
sure I will for certain go with a paid solution as I have some alternatives but 
please do tell me the price model separately.

Erik

Sent from my iPad


On Sep 12, 2012, at 6:06 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 There’s an ss7 stack, which is half-finished.
 But it’s not free.
  
 From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
 Behalf Of Webmaster HC
 Sent: Tuesday, 11 September, 2012 23:18
 To: us...@vm1.kannel.org
 Subject: SS7 and Kannel
  
 All,
  
 Is it possible to turn use Kannel and SS7? If so, where can I find some info 
 on it.
  
 Erik
  


Outgoing SMS routing via different SMSC by destination number prefix

2012-09-12 Thread Eugene Prokopiev
Hi,

What is the right way to route outgoing SMS routing via different SMSC
by destination number prefix + default route for any unknown prefixes?
I tried to do it by this configuration:

group = core
admin-port = 13000
admin-password = admin
smsbox-port = 13001
dlr-storage = internal

group = smsbox
bearerbox-host = localhost
smsbox-id = smsbox-0
sendsms-port = 13013

group = smsc
smsc = fake
smsc-id = smsc-7
port = 10007
connect-allow-ip = 127.0.0.1
allowed-prefix = 007

group = smsc
smsc = fake
smsc-id = smsc-8
port = 10008
connect-allow-ip = 127.0.0.1
allowed-prefix = 008

group = smsc
smsc = fake
smsc-id = smsc-0
port = 1
connect-allow-ip = 127.0.0.1

group = sendsms-user
username = 
password = 

Messages with prefox 007 are routed via smsc-7 but sometimes are
routed via smsc-0. Why can it be? What is the best configuration for
my use case?

--
Regards,
Eugene Prokopiev