smppbox

2010-05-07 Thread Rene Kluwen
Lectori Salutem,

This email is about Chimit's smppbox.

The rights to the smppbox code have been obtained by a third party, but
fortunately there is some good news for the open source community.

An early version of smppbox (smpp v.3.0) will now be donated back to the
community. This version is by no means perfect and developers and investors
are invited to contribute. All in the spirit of being an open-source
community.

Chimit already developed the successful sqlbox, which is now part of the
main stream Kannel distribution, so if we all cooperate, this smppbox can go
the same way.

To get you started, here is a preliminary download:
http://www.chimit.nl/kannel/smppbox.tar.

Unfortunately, due to the expected response, we cannot give you support on
this software, other than via the usual Kannel users mailing groups. There
is nobody with experience on this particular matter of software, so please
bear with me. I have little time to spend on free software. But releasing
smppbox is a priority now, even when I cannot give sufficient support to all
of you.

If you want a carrier-grade, commerialy widely deployed smppbox or EMI
server functionality, we direct you to the alternatives. For instance the
smppbox that Stipe Tolj provides (s...@tolj.org).

Cheers to all,

Rene Kluwen
Chimit





RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
Check your init string and in particular AT+CNMI=..

 

This setting will let your phone notify if there is any incoming message to
Kannel. There's a few options you have there. Depending on which settings
your phone supports (not sure about the 5610).

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Ahmad Pakhri Yahya
Sent: dinsdag 18 mei 2010 10:58
To: users@kannel.org
Subject: Problem getting Kannel to receive SMS

 

Hi,

I'm new to Kannel and am having problem to get Kannel to receive SMS from
the phone.  Currently it's running on Ubuntu and using Nokia 5610 as the
modem.  I have no problem sending sms through kannel, but receiving SMS is
still unsuccessful.  No messages in the log (bearer or sms) regarding
received sms, which I suspect that kannel is not being notified by the phone
about the sms.  How do I get the phone to inform Kannel about the SMS
received. Below is my config.

# HTTP administration is disabled by default. Make sure you set the

# password if you enable it.

group = core

admin-port = 13000

admin-password = bar

admin-deny-ip = "*.*.*.*"

admin-allow-ip = "127.0.0.1"

admin-allow-ip = "192.168.1.16"

log-file = "/var/log/kannel/bearerbox.log"

log-level = 0

smsbox-port = 13001

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

box-allow-ip = "192.168.1.16"

#store-file="/etc/kannel/kannel.store"

# SMSC

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM6

#device = /dev/ttyS0

speed = 0

smsc-id = nokiaphone

port = 13013

log-level = 0

log-file = "/var/log/kannel/smsbox.log"

#sim-buffering = true

# Nokia mobile phone setup

group = modems

id = nokiaphone

name = "Nokia 6500 config"

detect-string="Nokia"

detect-string2="Nokia 6500"

init-string = "ATZ"

#init-string = "AT+CMGF=1"

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

#init-string = "AT+CNMI=?"

#init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

#speed = 19200

enable-hwhs = "AT+IFC=2,2"

message-storage = "SM"

need-sleep=true

keepalive-cmd="AT+CBC;+CSQ"

group = smsbox

smsbox-id = smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

log-level=0

log-file = "/var/log/kannel/smsbox.log"

sendsms-chars="0123456789 +-"

access-log = "/var/log/kannel/access.log"

group = smsbox-route

smsbox-id = smsbox

smsc-id = nokiaphone

# SEND-SMS USERS

group = sendsms-user

username = kanneluser

password = kannelpass

max-messages = 10

concatenation = true

# SMS Service

group = sms-service

keyword = default

#keyword-regex = .*

catch-all = yes

#max-messages = 10

#concatenation = true

get-url = "http://localhost/test";

#exec /home/brite/watcer/stopwatch

omit-empty = true

accept-x-kannel-headers = true

Please help me to read the SMS from the phone.  Thank you.

Regards,

Ahmad Pakhri Yahya



RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
What do you get if you send AT+CNMI=? (in hyper terminal or as an init
string in Kannel).

 

-  If you get an error: Probably you are out of luck and your phone
doesn't support relaying messages to the TE. Try another phone as modem.



-  If you get a string like: +CNMI:
(0,1,2,3),(0,1,2,3),(0,2),(0,1,2),(0,1) then try to get the best options,
e.g.: AT+CNMI=3,1,0,2,0 (in this case), depending on the values returned.

 

 

From: Ahmad Pakhri Yahya [mailto:pakhri.ya...@ymail.com] 
Sent: dinsdag 18 mei 2010 11:30
To: 'Rene Kluwen'; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

Hi Rene,

 

I tried adding the AT+CNMI= command, but it gave me error during
initialization.

 

Messages from the log.

 

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATZ^M

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT&F^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT&F

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATE0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ATE0

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+IFC=2,2^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CPIN?^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CPIN: READY

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CMGF=0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CSMS=?^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CSMS: (0)

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -->
AT+CNMI=0,0,0,0,0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ERROR

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Generic error: ERROR

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Initialization of
device failed.

2010-05-18 16:25:29 [31637] [6] INFO: AT2[nokiaphone]: Closing device

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Couldn't connect
(retrying in 10 seconds).

 

Cheers,

Ahmad Pakhri Yahya

 

From: Rene Kluwen [mailto:rene.klu...@chimit.nl] 
Sent: Tue, 18 May, 2010 17:09
To: pakhri.ya...@ymail.com; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

Check your init string and in particular AT+CNMI=..

 

This setting will let your phone notify if there is any incoming message to
Kannel. There's a few options you have there. Depending on which settings
your phone supports (not sure about the 5610).

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Ahmad Pakhri Yahya
Sent: dinsdag 18 mei 2010 10:58
To: users@kannel.org
Subject: Problem getting Kannel to receive SMS

 

Hi,

I'm new to Kannel and am having problem to get Kannel to receive SMS from
the phone.  Currently it's running on Ubuntu and using Nokia 5610 as the
modem.  I have no problem sending sms through kannel, but receiving SMS is
still unsuccessful.  No messages in the log (bearer or sms) regarding
received sms, which I suspect that kannel is not being notified by the phone
about the sms.  How do I get the phone to inform Kannel about the SMS
received. Below is my config.

# HTTP administration is disabled by default. Make sure you set the

# password if you enable it.

group = core

admin-port = 13000

admin-password = bar

admin-deny-ip = "*.*.*.*"

admin-allow-ip = "127.0.0.1"

admin-allow-ip = "192.168.1.16"

log-file = "/var/log/kannel/bearerbox.log"

log-level = 0

smsbox-port = 13001

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

box-allow-ip = "192.168.1.16"

#store-file="/etc/kannel/kannel.store"

# SMSC

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM6

#device = /dev/ttyS0

speed = 0

smsc-id = nokiaphone

port = 13013

log-level = 0

log-file = "/var/log/kannel/smsbox.log"

#sim-buffering = true

# Nokia mobile phone setup

group = modems

id = nokiaphone

name = "Nokia 6500 config"

detect-string="Nokia"

detect-string2="Nokia 6500"

init-string = "ATZ"

#init-string = "AT+CMGF=1"

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

#init-string = "AT+C

Re: SMS Relaying

2010-05-18 Thread Rene Kluwen
Is your client also using Kannel? Then maybe setting up a http relay will
work. See documentation.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Innocent Muchedzi
Sent: dinsdag 18 mei 2010 12:03
To: us...@vm1.kannel.org
Subject: SMS Relaying

 

Hie

 

I need to perform an sms relay from my client to my Kannel server of which I
will forward to my Mobile SMSC Network. Please help on how to do it. I am
using SMPP for my connection the Mobile SMSC network and running Linux
Fedora 11. 

 

thank you


-- 
This message has been scanned for viruses and 
dangerous content by 
the BBI SMTP filter and is 
believed to be clean. 



RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
CMS ERROR 303 means: The operation to be done by the AT command is not
supported.

But judging from your log file: Are you using a sony (ericsson?) phone? Or a
Nokia phone?

 

Like I said: Try to send AT+CNMI=? And see what you get. Depending on the
values returned you can adapt your final AT+CNMI command in the init string.

 

Maybe some other people on the list can recommend you a phone or gsm modem
that will work. Personally I have experience with the (old) Siemens SL45,
TC35 and related phones that work. But that was a long time ago.

 

From: Ahmad Pakhri Yahya [mailto:pakhri.ya...@ymail.com] 
Sent: dinsdag 18 mei 2010 12:43
To: 'Rene Kluwen'; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

The error message I got is

 

2010-05-18 17:10:56 [32143] [6] DEBUG: AT2[sonyphone]: -->
AT+CNMI=1,1,0,0,0^M

2010-05-18 17:10:56 [32143] [6] DEBUG: AT2[sonyphone]: <-- +CMS ERROR: 303

2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: CMS ERROR: +CMS
ERROR: 303

2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: CMS ERROR: Operation
not supported (303)

2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: Initialization of
device failed.

2010-05-18 17:10:56 [32143] [6] INFO: AT2[sonyphone]: Closing device

2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: Couldn't connect
(retrying in 10 seconds).

2010-05-18 17:11:06 [32143] [6] INFO: AT2[sonyphone]: opening device

2010-05-18 17:11:06 [32143] [6] DEBUG: AT2[sonyphone]: device opened. Telnet
mode = 0

 

 

It could be due to the phone not supporting the feature.  Do you know any
normal GSM phone that might work?

 

Cheers,

Ahmad Pakhri Yahya

 

From: Rene Kluwen [mailto:rene.klu...@chimit.nl] 
Sent: Tue, 18 May, 2010 18:30
To: pakhri.ya...@ymail.com; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

What do you get if you send AT+CNMI=? (in hyper terminal or as an init
string in Kannel).

 

-  If you get an error: Probably you are out of luck and your phone
doesn't support relaying messages to the TE. Try another phone as modem.

-  If you get a string like: +CNMI:
(0,1,2,3),(0,1,2,3),(0,2),(0,1,2),(0,1) then try to get the best options,
e.g.: AT+CNMI=3,1,0,2,0 (in this case), depending on the values returned.

 

 

From: Ahmad Pakhri Yahya [mailto:pakhri.ya...@ymail.com] 
Sent: dinsdag 18 mei 2010 11:30
To: 'Rene Kluwen'; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

Hi Rene,

 

I tried adding the AT+CNMI= command, but it gave me error during
initialization.

 

Messages from the log.

 

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATZ^M

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT&F^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT&F

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATE0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ATE0

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+IFC=2,2^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CPIN?^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CPIN: READY

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CMGF=0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CSMS=?^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CSMS: (0)

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -->
AT+CNMI=0,0,0,0,0^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ERROR

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Generic error: ERROR

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Initialization of
device failed.

2010-05-18 16:25:29 [31637] [6] INFO: AT2[nokiaphone]: Closing device

2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Couldn't connect
(retrying in 10 seconds).

 

Cheers,

Ahmad Pakhri Yahya

 

From: Rene Kluwen [mailto:rene.klu...@chimit.nl] 
Sent: Tue, 18 May, 2010 17:09
To: pakhri.ya...@ymail.com; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

Check your init string and in particular AT+CNMI=..

 

This setting will let your phone notify if there is any incoming message to
Kannel. There's a few

RE: SMS Relaying

2010-05-18 Thread Rene Kluwen
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN2276

 

 

From: Innocent Muchedzi [mailto:innoc...@syldah.co.bw] 
Sent: dinsdag 18 mei 2010 13:53
To: Rene Kluwen
Subject: Re: SMS Relaying

 

Yes they all use kannel, How do I set up http relay

- Original Message - 

From: Rene Kluwen <mailto:rene.klu...@chimit.nl>  

To: 'Innocent <mailto:innoc...@syldah.co.bw>  Muchedzi' 

Sent: Tuesday, May 18, 2010 12:17 PM

Subject: RE: SMS Relaying

 

Is your client also using Kannel? Then maybe setting up a http relay will
work.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Innocent Muchedzi
Sent: dinsdag 18 mei 2010 12:03
To: us...@vm1.kannel.org
Subject: SMS Relaying

 

Hie

 

I need to perform an sms relay from my client to my Kannel server of which I
will forward to my Mobile SMSC Network. Please help on how to do it. I am
using SMPP for my connection the Mobile SMSC network and running Linux
Fedora 11. 

 

thank you


-- 
This message has been scanned for viruses and 
dangerous content by 
the BBI SMTP filter and is 
believed to be clean. 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and 
dangerous content by 
the BBI SMTP filter and is 
believed to be clean. 



RE: kannel delivery report

2010-05-28 Thread Rene Kluwen
The open source version is stable enough to use it in production.
I use it for a couple of years myself now and others too.
Never had a problem with it.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: vrijdag 28 mei 2010 8:00
To: bwib...@gmail.com
Cc: users@kannel.org
Subject: Re: kannel delivery report

Hi,

The suggestions I made will replace your SMPP server (more likely proxy). 
For the commercial SMPPbox you need to contact Stipe (s...@tolj.org) or 
download the opensource SMPPbox from 
http://www.chimit.nl/kannel/smppbox.tar. Bear in mind that the opensource 
has not been tested in production, yet.

BR,
Nikos
- Original Message - 
From: "Budi wibowo" 
To: "Nikos Balkanas" ; 
Sent: Friday, May 28, 2010 8:49 AM
Subject: Re: kannel delivery report


> Hi nikos
> Assume I don't to change anything on smpp server so addon option is more 
> suitable for me. Where I can the add ons?
>
> Thx
> --Original Message--
> From: Nikos Balkanas
> To: budi wibowo
> To: users@kannel.org
> Subject: Re: kannel delivery report
> Sent: May 28, 2010 11:36
>
> Hi,
>
> You cannot pass through the exact PDU. But you can use kannel's dlr-url
> feature to pass important parameters you want from it (for a list read
> User's guide). For this to work SMPPServer should have an HTTP interface.
>
> Another option is to look into SMPPBox. It will handle DLRs and exists 
> both
> as a commercial add-on provided by Stipe, or as an open-source addition to
> bearerbox, however, its production stability is unknown.
>
> BR,
> Nikos
> - Original Message - 
> From: budi wibowo
> To: users@kannel.org
> Sent: Friday, May 28, 2010 3:45 AM
> Subject: kannel delivery report
>
>
> hi list
> i have kannel installed and used as sender-ID modifier, topology as 
> follows
>
>
> client--->SMPPServer--->kannel>SMSC
>
>
> 1. client send sms to SMPPServer,
> 2. SMPPServer send sms to kannel, kannel modify sender-ID and send back to
> SMPP Server
> 3. SMPPSever send sms to SMSC
>
>
> in this scenario SMPPServer will always get DLR 100% from kannel, is there
> any mechanism on kannel to passthrough DLR from SMSC , so i can get real 
> DLR
> from SMSC
>
>
> TIA
>
>
>
>
> budi
>
>
> 







RE: SMPPBox

2010-05-28 Thread Rene Kluwen
The current open-source smppbox is built just like Kannel itself. Without any 
billing support.
But you have the source. Feel free to contribute.

An option that you have is use smppbox like an "smsbox" and put sqlbox in 
between. This allows for post-paid setups.

Rene Kluwen
Chimit

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Barry Murphy
Sent: vrijdag 28 mei 2010 23:45
To: Users
Subject: SMPPBox

Hey guys,

Not sure if this is the right forum for SMPPBox questions but here goes...

If I install the opensource version of SMPPBox, how can I get smppbox to
check my local database to see if the user has credit to send a message and
also to ensure it removes credit from a user when they send messages? I
know this is more a billing related question however I'm sure others have
had a similar setup so wondering how they have done it... Obviously with
websms based messages I pass people through my own php code that checks
user balance and removes credits based on destination etc and my PHP then
uses sqlbox to clear the message... How can I create some form of proxy for
the billing with SMPP server?

thanks
Barry






RE: DLR queue problems.

2010-05-30 Thread Rene Kluwen
The obvious answer would be: Why not giving each smsc the same smsc-id?

But then again… you may have valid reasons to do it.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Konstantin Vayner
Sent: zondag 30 mei 2010 11:59
To: Kannel Users
Subject: DLR queue problems.

 

Hi Everyone!

 

I'm having troubles with DLRs.

 

1) We have multiple links (smpp / ucp) to same remote SMSC with same credentials

2) When a DLR arrives, remote SMSC randomly pushes it to one of the active 
links that are connected with credentials that pushed the message

3) When the DLR is pushed to kannel over "wrong" link (not the same one that 
pushed it to remote), kannel cannot match the reciepted dlr to dlr queue..

 

Right now, i have distinct unique smsc-id for each connection (e.g. 
smsc_operA_mt1 , smsc_operA_mt2 , ... smsc_operB_mt1 , smsc_operB_mt2 , ...).

 

Any ideas? 

 

P.S. I'm digging architecture docs atm as i want to understand how dlr-routing 
works, but i would appreciate an answer from someone who has experience in such 
configurations.

 

Thanks in advance,

  Konstantin



RE: Installing opensource SMPPBox with kannel

2010-05-31 Thread Rene Kluwen
The short answer: Yes, it can. Regardless of which smppbox you are using.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Budi wibowo
Sent: maandag 31 mei 2010 15:13
To: users@kannel.org
Subject: Re: Installing opensource SMPPBox with kannel

Hi all 
Somebody can confirm that smppbox can be used to passthrough dlr? 
I put kannel between smsc and smpp server. 
Warm regards

Budi wibowo
--Original Message--
From: Nikos Balkanas
Sender: users-boun...@kannel.org
To: Kiran Reddy
To: users@kannel.org
Subject: Re: Installing opensource SMPPBox with kannel
Sent: May 31, 2010 19:18

Hi

1) Do not spam. 2 messages the same day with the same subject is spamming.
2) man spam
3) man patch

BR,
Nikos
- Original Message - 
From: "Kiran Reddy" 
To: 
Sent: Monday, May 31, 2010 2:22 PM
Subject: Installing opensource SMPPBox with kannel


> Hi All,
>
> How to install Open Source SMPPBox with kannel or How to patch kannel with

> SMPPBox.
>
> Can some one help please 
>
>
> Regards,
> 
> Kiran Reddy
> 










RE: Urgent! HELP!

2010-06-01 Thread Rene Kluwen
What do you get if you set log-level to 'debug' (0)?
Do you see which command exactly gives the error?

Here, you can find an overview of possibly possible init strings:
http://alumni.ipt.pt/~pmad/s35i_c35i_m35i_atc_commandset_v01.pdf.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of pe...@hotsource.net
Sent: dinsdag 1 juni 2010 17:30
To: users@kannel.org
Subject: Urgent! HELP!

Hi

I have 3 days trying to resolved this and has even replaced my GSM  
modem but still unresolved...

Anyone knows the init-string for the GSM modem MC37i? (cinterion mc37i  
or siemens MC37i)

I tried many variations of CMNI=, etc but still couldn't get Kannel to  
run smoothly.

This is my latest:
group = modems
id = siemens_m37i
name = "Siemens M37i"
detect-string = "Cinterion"
detect-string2 = "MC37i"
speed= 115200
#init-string = "AT+CNMI=2,0,0,2,1;+CMGF=0;+CMEE=2"
init-string = "AT+CNMI=2,1,0,0,0;+CMEE=2"
enable-hwhs = "AT\\Q3"
#keepalive-cmd = "AT+CBC;+CSQ"


I keep getting this error inj kannel.log

opening device
2010-06-01 23:18:50 [12804] [6] INFO: AT2[HSSMSC1]: Logging in
2010-06-01 23:18:50 [12804] [6] INFO: AT2[HSSMSC1]: init device
2010-06-01 23:18:50 [12804] [6] INFO: AT2[HSSMSC1]: speed set to 115200
2010-06-01 23:18:51 [12804] [6] INFO: AT2[HSSMSC1]: Phase 2+ is supported
2010-06-01 23:18:51 [12804] [6] ERROR: AT2[HSSMSC1]: Generic error: ERROR
2010-06-01 23:18:51 [12804] [6] ERROR: AT2[HSSMSC1]: Initialization of  
device failed.
2010-06-01 23:18:51 [12804] [6] INFO: AT2[HSSMSC1]: Closing device
2010-06-01 23:18:51 [12804] [6] ERROR: AT2[HSSMSC1]: Couldn't connect  
(retrying in 10 seconds).
2010-06-01 23:19:01 [12804] [6] INFO: AT2[HSSMSC1]: opening device
2010-06-01 23:19:01 [12804] [6] INFO: AT2[HSSMSC1]: Logging in
2010-06-01 23:19:02 [12804] [6] INFO: AT2[HSSMSC1]: init device
2010-06-01 23:19:02 [12804] [6] INFO: AT2[HSSMSC1]: speed set to 115200


HELP!! HELP!!






Re: Sending long message with Payload

2010-06-01 Thread Rene Kluwen
I think I made a patch for that. It is freely available. Just that in
stead of submit_sm, it uses data_sm pdu's. Not sure if that is what you
want.



>
> Dear all,
>
>
>
> I am new to kannel, i currently use nowsms gateway for sms connectivity.
> my smsc provider requested some features that aren't availabe in nowsms.
> Basically it needs the following:
>
>
>
> 1- Destination alphanumeric + long message using UDH
>
>
>
> 2- Destination alphanumeric + long message using Payload
>
>
>
> I tried the first and i think it worked, however i am not sure if it is
> possible to specify payload as option in kannel. What i should add to
> config ?
>
>
>
> Well i didn't tried kannel in receive yet, i just bound a transmitter
> connection. So i wonder does it work in SAR in both sender and in receive?
>
>
>
> Thanks
>
> _
> Hotmail has tools for the New Busy. Search, chat and e-mail from your
> inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1




RE: DLR not being emptied for numbers it can't send to

2010-06-01 Thread Rene Kluwen
To prevent messages from being sent twice (e.g. if the subscriber has their
hand set off), use (see documentation):

Validity number (minutes) Optional. If given, Kannel will inform SMS Center
that it should only try to send the message for this many minutes. If the
destination mobile is off other situation that it cannot receive the sms,
the smsc discards the message. Note: you must have your Kannel box time
synchronized with the SMS Center.

== Rene Kluwen


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: woensdag 2 juni 2010 6:44
To: Barry Murphy; Alan McNatty
Cc: Users
Subject: Re: DLR not being emptied for numbers it can't send to

Hi,

Then you should wait more. Failure can be either immediate (unknown 
subscriber) or can take up to 2 days (expired).  In the latter case you 
should wait at least that long before cleaning DB, else kannel will report 
"Error: Cannot find dlr for message..." when it receives final failure.

"Bufferred" is not a final dlr and kannel is waiting for the final DLR 
before deleting from DB.

BR,
Nikos
- Original Message - 
From: "Barry Murphy" 
To: "Alan McNatty" 
Cc: "Users" 
Sent: Wednesday, June 02, 2010 6:37 AM
Subject: Re: DLR not being emptied for numbers it can't send to


> Hi,
>
> Thanks for your input. Yes they seem to be dropped, if I login to either
> of my current SMSC providers, they report as "Buffering" or something 
> along
> those lines. I am using DLR DB so a manual clean out is easy enough for 
> me,
> however I'd like to re-send the message via another carrier if not
> delivered within X minutes to which I'm currently seeking a carrier that
> can deliver to 2Degrees (NZ) with MNP
>
> P.s. Good to see another kiwi on the list :)
>
> Thanks
> Barry
>
>
> On Wed, 02 Jun 2010 15:10:41 +1200, Alan McNatty 
> wrote:
>> Hi Barry,
>>
>> Yeah - my understanding is the messages are silently dropped if off-net
>> (without any notification). Your best option might be treat them as
>> expired (possibly with a manual clean-up) after a standard network TTL
>> if no DLR received (messages don't typically live on the network more
>> than 5 days if undelivered). Obviously this would be best achieved using
>> a DB for DLR storage.
>>
>> HTH's
>>
>> Cheers,
>> Alan
>>
>> On 02/06/10 14:59, Barry Murphy wrote:
>>> Yes I do use dlr-mask=31 and get nothing back in reurn from either
> SMSC.
>>> amdtelecom are a company I am looking at possibly using as a SMSC if
> they
>>> can route correctly to this network I'm having issues to.
>>>
>>> Thanks
>>> Barry
>>>
>>>
>>>
>>> On Wed, 2 Jun 2010 05:46:25 +0300, "Nikos Balkanas"
> 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Nope. For that you would need portability support in bearerbox. I have
>
>>>> developed such a feature for a commercial version used by amdtelecom.
>>>>
>>>> Nevertheless your carriers should return a failed DLR if they fail to
>>>> deliver. Are you using dlr-mask=31?
>>>>
>>>> BR,
>>>> Nikos
>>>> - Original Message - 
>>>> From: "Barry Murphy" 
>>>> To: "Users" 
>>>> Sent: Wednesday, June 02, 2010 5:33 AM
>>>> Subject: DLR not being emptied for numbers it can't send to
>>>>
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I have a problem where if a number cannot be delivered to, it stays
> in
>>>>> DLR
>>>>> table until manually removed. I have this problem with both SMSc
>>>>> providers
>>>>> I use and it's only when trying to deliver to a single carrier that
> is
>>>>> having issues with MNP. I wish to know if it's possible to have
> kannel
>>>>> attempt to redeliver a message that is stuck in DLR table using
> another
>>>>> SMSc that I have as a backup.
>>>>>
>>>>> Look forward to your response
>>>>> Thanks
>>>>> Barry
>>>>>
>>>>>
>>>>>
>>>
> 







RE: DLR's to MySQL

2010-06-02 Thread Rene Kluwen
Wild guess: Is the host “sms-gw” defined in /etc/hosts?

Maybe Kannel has problems resolving it.

 

Could you post your Kannel log files (debug level 0)?

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Aubrey Oosthuizen
Sent: woensdag 2 juni 2010 13:27
To: users@kannel.org
Cc: users@kannel.org
Subject: DLR's to MySQL

 

Dear developers

 

We are working on implementing Kannel into Zimbra collaboration suite by adding 
a Zimlet allowing users to send sms' from their mail inbox. So far we have 
completed the entire send process of the project, the only thing remaining is 
setting up the DLR logging into a mySQL database.

 

I have read through the user guide numerous times, and have read blog and 
forums to figure out how to do this. I have come to the following stepped 
conclusion. 

 

1.  Append the dlr-url and dlr-mask to your sendsms-url. This 
is the method we use, it gets the information from a .pl script and this calls 
the sendsms script.

 

*   URL EXAMPLE:  
 
http://sms-gw/dlr.php?sender=$from&subject=$subject&time=$theTime
*   This URL is however URL encoded.

 

my $dlr-url = 
http%3A%2F%2Fsms-gw%2Fdlr.php%3Fsender%3D%24from%26subject%3D%24subject%26time%3D%24theTime

 

my $url = ' 
 
http://sms-gw:13013/cgi-bin/sendsms?username=tester&password=654321&to=' . 
$numbz . '&text='. $text . '&dlr-mask=31' . '&dlr-url=$dlr-url';

$html = getprint ($url); # ok shoot to kannel to send sms.

 

OR

 

Append add a field to the sendsms-user group in your smskannel.conf 
file. (Note inserted but not used)

 

 

group = sendsms-user

username=XXX

password=XXX

concatenation=true

name=XXX

footer=" "

header=

faked-sender=XXX

default-sender=

default-smsc=smsc

max-messages=10

#dlr-url = 
"http%3A%2F%2Fsms-gw%2Fdlr.php%3Fsender%3D%24from%26subject%3D%24subject%26time%3D%24theTime"

#dlr-mask = 31

#user-deny-ip = ""

#user-allow-ip = ""

 

2. Create a php script in localhost/ called dlr.php. I put the 
script into /var/WWW/ though, although I have no idea which directory 
localhost/script would call for scripts. Now the script does create logs if you 
would call it through your browser andpass it the 
parameters. But the sendsms url does not seem to call it. I have heard that DLR 
url uses mostly predefined parameters, what are these, and would this affect 
the data being passed in any way?

 

 

dlr.php

 



 

 

3. Create a MySQL database following this format in some manor. 

 

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

 

 

 

 

 

Problem:

 

Now the table's in the MySQL database do get filled when the script is called, 
therefore I do not believe the real problem to be located there. 

The real problem it seems is that the script is never called, that I do not 
understand.

*   Is there something important missing? 
*   Does using predefined variables in the DLR-URL affect anything? 
*   What are these? 
*   Do you require an unique ID for each DLR? 
*   Which method is recomended for adding the DLR-URL or DLR-mask to the 
sendsms url?
*   Can there be something missing in the configuration that causes this? 

If you require the configuration file, please just ask. If there is anything 
missing. Please do tell.

 

PS: Excuse my bad terminology, I have never done anything like this before.

 

Best Regards

 

Aubrey

 

 

 

 



RE: Sending long message with Payload

2010-06-02 Thread Rene Kluwen
I attached the patch. But only use it if your provider really expects
data_sm, otherwise you will spend a lot of work for nothing.

 

By the way, running Kannel on Cygwin is considered instable. But if it works
for you, then I guess there should be no problem.

 

You can configure the patch by an extra parameter in group = smsc, named:
send-binary-as-datasm (set it to true).

 

As for patching and compiling, etc. That is pretty much related to Linux
administration and a little bit out of topic on the list.

 

== Rene

 

From: falou zaynoun [mailto:fzayn...@hotmail.com] 
Sent: woensdag 2 juni 2010 13:43
To: nbalka...@gmail.com; rene.klu...@chimit.nl
Cc: users@kannel.org
Subject: RE: Sending long message with Payload

 

1st sorry if i sent to wrong place.
 
About SAR receive, i will try bind and check if Kannel will concatenate
messages together.
 
Sorry Rene, but i am really new and actually i use Kannel on windows using
Cygwin binaries (i am not even the one who compiled it). I don't know where
to find patches, so please if you can specify when i download.
 
About the patch itself, can i configure SMPP smsc to send data_sm, or use
some parameter in the http request used to send sms. About payload, i am not
sure what my operator is requesting, i think in smpp 3.4 specifications,
there is a payload_type, and message_payload parameters (table 4.10,
5.3.2.10, 5.3.2.32), i believe these are the parameters that they're
requesting. 
 
Is there a place to request "features", in general, is it hard to implement
such feature ?
 
Regards
Zaynoun
 
> From: nbalka...@gmail.com
> To: fzayn...@hotmail.com
> CC: users@kannel.org
> Subject: Re: Sending long message with Payload
> Date: Wed, 2 Jun 2010 03:42:12 +0300
> 
> Hi,
> 
> Kannel supports only UDH concatenation out of the box, not sar. Rene's
patch 
> might do it. It will support alpanumeric sender/receiver natively.
> 
> BR,
> Nikos
> - Original Message - 
> From: "Rene Kluwen" 
> To: "falou zaynoun" 
> Cc: 
> Sent: Wednesday, June 02, 2010 3:21 AM
> Subject: Re: Sending long message with Payload
> 
> 
> I think I made a patch for that. It is freely available. Just that in
> stead of submit_sm, it uses data_sm pdu's. Not sure if that is what you
> want.
> 
> 
> 
> >
> > Dear all,
> >
> >
> >
> > I am new to kannel, i currently use nowsms gateway for sms connectivity.
> > my smsc provider requested some features that aren't availabe in nowsms.
> > Basically it needs the following:
> >
> >
> >
> > 1- Destination alphanumeric + long message using UDH
> >
> >
> >
> > 2- Destination alphanumeric + long message using Payload
> >
> >
> >
> > I tried the first and i think it worked, however i am not sure if it is
> > possible to specify payload as option in kannel. What i should add to
> > config ?
> >
> >
> >
> > Well i didn't tried kannel in receive yet, i just bound a transmitter
> > connection. So i wonder does it work in SAR in both sender and in
receive?
> >
> >
> >
> > Thanks
> >
> > _
> > Hotmail has tools for the New Busy. Search, chat and e-mail from your
> > inbox.
> >
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W
L:en-US:WM_HMP:042010_1
> 
> 

  _  

Hotmail is redefining busy with tools for the New Busy. Get more from your
inbox. See how.
<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:
WL:en-US:WM_HMP:042010_2> 



kannel-cdma-patch.diff
Description: Binary data


RE: Checkin/out by sending SMS

2010-06-02 Thread Rene Kluwen
Start by reading the Kannel Userguide:
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html.

I figure if you copy the right bits and bytes out of that guide, you almost
have your application.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Helge Wiemann
Sent: woensdag 2 juni 2010 14:12
To: users@kannel.org
Subject: Checkin/out by sending SMS

Hello altogether!

Unfortunately I am very new to the themes SMS and kannel.

My task is developing a checkin/out process for a tomcat web app by sending
an SMS.
For example a person is starting his/her work, sending an SMS to a special
number with a special text and therefore the web database is getting an
update with a timestamp. The same procedure for the finishing of work.

Can anybody help with some ideas to develop it?
Thanks in advance!

Greetings

Helge




RE: DLR's to MySQL

2010-06-02 Thread Rene Kluwen
I would like to see a little bit more of your log file. And especially if you 
enable incoming DLR’s with the AT+CNMI command.

What is your modem init string?

 

The DLR rerouting warning is safe to ignore. Kannel will route the DLR to the 
smsc that it was sent from originally.

 

== Rene

 

From: Aubrey Oosthuizen [mailto:aubrey.oosthui...@ob7.co.za] 
Sent: woensdag 2 juni 2010 15:05
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: DLR's to MySQL

 

Hi

 

I believe it is. Although I have no idea how to verify this? The configuration 
is being done on a remote computer to which I have to ssh? 

 

In the log file it gives a DLR routing for smsc id  disabled warning. I 
don't know if this could be why the script is not being processed.

 

Here's the log file:

 

2010-05-26 17:27:51 [4684] [0] INFO: Added logfile `/tmp/kannel.log' with level 
`0'.

2010-05-26 17:27:51 [4684] [0] INFO: Started access logfile `/tmp/access.log'.

2010-05-26 17:27:51 [4684] [0] INFO: HTTP: Opening server at port 13010.

2010-05-26 17:27:51 [4684] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 4684.

2010-05-26 17:27:51 [4684] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)

2010-05-26 17:27:51 [4684] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 4684.

2010-05-26 17:27:51 [4684] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)

2010-05-26 17:27:51 [4684] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)

2010-05-26 17:27:51 [4684] [0] DEBUG: starting smsbox connection module

2010-05-26 17:27:51 [4684] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 4684.

2010-05-26 17:27:51 [4684] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).

2010-05-26 17:27:51 [4684] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 4684.

2010-05-26 17:27:51 [4684] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)

2010-05-26 17:27:51 [4684] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 4684.

2010-05-26 17:27:51 [4684] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)

2010-05-26 17:27:51 [4684] [0] INFO: Set SMS resend frequency to 60 seconds.

2010-05-26 17:27:51 [4684] [0] INFO: SMS resend retry set to unlimited.

2010-05-26 17:27:51 [4684] [0] INFO: DLR rerouting for smsc id <01010101> 
disabled.

2010-05-26 17:27:51 [4684] [0] INFO: AT2[0828151814]: configuration shows 
modemtype 

2010-05-26 17:27:51 [4684] [0] DEBUG: AT2[0828151814]: Reading modem 
definitions from 

2010-05-26 17:27:51 [4684] [0] DEBUG: AT2[0828151814]: Found <1> modems in 
config

2010-05-26 17:27:51 [4684] [0] INFO: AT2[0828151814]: read modem definition for 


 

 

Note: The 01010101 has been substituted for a cellphone number.

 

Please let me know if there is anything else you might need.

 

Billions of thank you's for your help

 

BR

 

Aubrey

 

 


- Original Message -
From: "Rene Kluwen" 
To: "Aubrey Oosthuizen" , users@kannel.org
Cc: users@kannel.org
Sent: Wednesday, June 2, 2010 2:35:32 PM
Subject: RE: DLR's to MySQL

Wild guess: Is the host “sms-gw” defined in /etc/hosts?

Maybe Kannel has problems resolving it.

 

Could you post your Kannel log files (debug level 0)?

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Aubrey Oosthuizen
Sent: woensdag 2 juni 2010 13:27
To: users@kannel.org
Cc: users@kannel.org
Subject: DLR's to MySQL

 

Dear developers

 

We are working on implementing Kannel into Zimbra collaboration suite by adding 
a Zimlet allowing users to send sms' from their mail inbox. So far we have 
completed the entire send process of the project, the only thing remaining is 
setting up the DLR logging into a mySQL database.

 

I have read through the user guide numerous times, and have read blog and 
forums to figure out how to do this. I have come to the following stepped 
conclusion. 

 

1.  Append the dlr-url and dlr-mask to your sendsms-url. This 
is the method we use, it gets the information from a .pl script and this calls 
the sendsms script.

 

*   URL EXAMPLE:  
<http://sms-gw/dlr.php?sender=$from&subject=$subject&time=$theTime> 
http://sms-gw/dlr.php?sender=$from&subject=$subject&time=$theTime
*   This URL is however URL encoded.

 

my $dlr-url = 
http%3A%2F%2Fsms-gw%2Fdlr.php%3Fsender%3D%24from%26subject%3D%24subject%26time%3D%24theTime

 

my $url = ' 
<http://sms-gw:13013/cgi-bin/sendsms?username=tester&password=654321&to=> 
http://sms-gw:13013/cgi-bin/sendsms?username=tester&password=654321&to=' . 
$numbz . '&text='. $text . '&dlr-mask=31' . '&dlr-url=$dlr-url';

$html = getprint ($url); # ok shoot to kannel to send sms.

 

OR

 

Append add a field to the sendsms-user group in your smskannel.conf 
file. (Note inse

RE: Kannel and MCC MNC

2010-06-03 Thread Rene Kluwen
You need SS7 access and support to do a HLR lookup. That's not standard Kannel 
functionality.
A short cut to do this, is that some providers allow a DNS based (ip) lookup on 
certain numbers and they return an operator code.

Chimit has code that allows for both options (an ss7 smsc and dns based routing 
for Kannel). But since this is a quite expensive option, better try an 
alternative option, like having a major smsc to do those lookups for you.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Barry Murphy
Sent: donderdag 3 juni 2010 2:18
To: Users
Subject: Kannel and MCC MNC

Hi,

Is it possible for kannel to do HLR lookup to see a numbers MCC MNC so I
can deal with ported numbers myself and choose which route to use based on
this information?

thanks
Barry







RE: Route modem as SMS Sender

2010-06-03 Thread Rene Kluwen
Look up "allowed-smsc-id" in the Kannel users guide.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Aan Isnaini - Gmail
Sent: donderdag 3 juni 2010 6:11
To: Nikos Balkanas
Cc: users@kannel.org
Subject: Re: Route modem as SMS Sender

Dear Nikos,
After trial for few days, I still got negative result.
below is the kannel.conf and url to send the SMS
--- kannel.conf

#core
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = adminpwd
status-password = statuspwd
admin-deny-ip = ""
admin-allow-ip = "127.0.0.1"
log-file = "var/log/kannel/bearerbox.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
#dlr-storage = mysql


#smsc
#wavecom 1
group = smsc
smsc = at
connect-allow-ip = 127.0.0.1
smsc-id = wavecom1
modemtype = wavecom
device = /dev/ttyS0
speed = 115200
#pin = 1234
#include = /etc/modems.conf

#wavecom 2
group = smsc
smsc = at
connect-allow-ip = 127.0.0.1
smsc-id = wavecom2
modemtype = wavecom
device = /dev/ttyS1
speed = 115200
#pin = 1234
#include = /etc/modems.conf

#wavecom 3
group = smsc
smsc = at
connect-allow-ip = 127.0.0.1
smsc-id = wavecom3
modemtype = wavecom
device = /dev/ttyUSB0
speed = 115200
#pin = 1234
#include = /etc/modems.conf

#modem
group = modems
id = wavecom
detect-string = WAVECOM
message-storage = SM
init-string = AT+CNMI=2,1,0,0,0;+CMEE=1
#init-string = AT+CNMI=2,2,0,0,0;+CMEE=1

#smsbox
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#smsbox-id = wavecom
sendsms-chars = "0123456789 +-"
global-sender = "+628110"
log-file = "/var/log/kannel/smsbox.log"
log-level = 1

#send-sms users
group = sendsms-user
username = sms
password = smspwd

#services
group = sms-service
keyword = default
#accept-x-kannel-headers = true
max-messages = 0 # 0 no reply
assume-plain-text = true
concatenation = true
catch-all = true
get-url = "http://localhost/tsg/modem?sender=%p&message=%a";
-

url to send SMS is:
http://127.0.0.1:13013/cgi-bin/sendsms?username=sms&password=smspwd&smsc=wavecom3&to=0811918808&text=test

I need smsc=wavecom3 only act as sender by put parameter smsc as
above, but the result is seem randomly when send sms (random using
wavecom1, wavecom2 and wavecom3)


Looking forward to have advice and help to fix the problem.

Thank you
Best Regard
AI

2010/5/29 Nikos Balkanas :
> Hi,
>
> I think the correct variable is &smsc=xxx in your send-url, not
> &smsc-id=xxx.
>
> BR,
> Nikos
> - Original Message - From: "Alvaro Cornejo"
> 
> To: 
> Cc: 
> Sent: Friday, May 28, 2010 4:29 PM
> Subject: Re: Route modem as SMS Sender
>
>
> use &smsc-id=xxx in your sendsms url as well as prefered/denied smsc
> parameters in smsc configs.
>
> Check manual for details
>
> 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.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
>
> On Fri, May 28, 2010 at 3:28 AM, Aan Isnaini  wrote:
>>
>> Dear All,
>> I have 3 modems connected to kannel.
>> how to choose / route the modem as sender when I send SMS?
>> Is possible to choose which one modem will send the SMS?
>> Looking forward to have advice and example.
>> Thank you
>>
>> PIN: 21C3628D
>> Powered by Telkomsel BlackBerry®
>
>






RE: Delete all SMS in "SM" storage at start up

2010-06-04 Thread Rene Kluwen
Set sim-buffering = true in your config.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Aan Isnaini - Gmail
Sent: vrijdag 4 juni 2010 13:09
To: users@kannel.org
Subject: Delete all SMS in "SM" storage at start up

Dear All,
How to to delete all SMS reside at "SM" on kannel start up?
When I start the bearerbox, I need to delete all message in simcard
storage, to make sure that simcard storage is empty before kannel
running.
As I know, it is using AT+CNMI, but I don't understand the parameter
should be input.
May be other tips/tricks to do that (delete all SMS in "SM" at start up)?

Thank you






RE: Route modem as SMS Sender

2010-06-04 Thread Rene Kluwen
In short:

If you have smsc-id = wavecom1 in your group = smsc, also put allowed-smsc-id = 
wavecom1 in the same group.
Do this for all your smsc groups.

-Original Message-
From: Aan Isnaini - Gmail [mailto:aan.isna...@gmail.com] 
Sent: vrijdag 4 juni 2010 13:02
To: Rene Kluwen
Cc: Nikos Balkanas; users@kannel.org
Subject: Re: Route modem as SMS Sender

Dear Rene,
I will try first and find out the solution also example.
Thank you

On Fri, Jun 4, 2010 at 12:52 AM, Rene Kluwen  wrote:
> Look up "allowed-smsc-id" in the Kannel users guide.
>
> == Rene
>
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
> Aan Isnaini - Gmail
> Sent: donderdag 3 juni 2010 6:11
> To: Nikos Balkanas
> Cc: users@kannel.org
> Subject: Re: Route modem as SMS Sender
>
> Dear Nikos,
> After trial for few days, I still got negative result.
> below is the kannel.conf and url to send the SMS
> --- kannel.conf
> 
> #core
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = adminpwd
> status-password = statuspwd
> admin-deny-ip = ""
> admin-allow-ip = "127.0.0.1"
> log-file = "var/log/kannel/bearerbox.log"
> log-level = 1
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/var/log/kannel/access.log"
> store-file = "/var/log/kannel/kannel.store"
> #dlr-storage = mysql
>
>
> #smsc
> #wavecom 1
> group = smsc
> smsc = at
> connect-allow-ip = 127.0.0.1
> smsc-id = wavecom1
> modemtype = wavecom
> device = /dev/ttyS0
> speed = 115200
> #pin = 1234
> #include = /etc/modems.conf
>
> #wavecom 2
> group = smsc
> smsc = at
> connect-allow-ip = 127.0.0.1
> smsc-id = wavecom2
> modemtype = wavecom
> device = /dev/ttyS1
> speed = 115200
> #pin = 1234
> #include = /etc/modems.conf
>
> #wavecom 3
> group = smsc
> smsc = at
> connect-allow-ip = 127.0.0.1
> smsc-id = wavecom3
> modemtype = wavecom
> device = /dev/ttyUSB0
> speed = 115200
> #pin = 1234
> #include = /etc/modems.conf
>
> #modem
> group = modems
> id = wavecom
> detect-string = WAVECOM
> message-storage = SM
> init-string = AT+CNMI=2,1,0,0,0;+CMEE=1
> #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1
>
> #smsbox
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> #smsbox-id = wavecom
> sendsms-chars = "0123456789 +-"
> global-sender = "+628110"
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 1
>
> #send-sms users
> group = sendsms-user
> username = sms
> password = smspwd
>
> #services
> group = sms-service
> keyword = default
> #accept-x-kannel-headers = true
> max-messages = 0 # 0 no reply
> assume-plain-text = true
> concatenation = true
> catch-all = true
> get-url = "http://localhost/tsg/modem?sender=%p&message=%a";
> -
>
> url to send SMS is:
> http://127.0.0.1:13013/cgi-bin/sendsms?username=sms&password=smspwd&smsc=wavecom3&to=0811918808&text=test
>
> I need smsc=wavecom3 only act as sender by put parameter smsc as
> above, but the result is seem randomly when send sms (random using
> wavecom1, wavecom2 and wavecom3)
>
>
> Looking forward to have advice and help to fix the problem.
>
> Thank you
> Best Regard
> AI
>
> 2010/5/29 Nikos Balkanas :
>> Hi,
>>
>> I think the correct variable is &smsc=xxx in your send-url, not
>> &smsc-id=xxx.
>>
>> BR,
>> Nikos
>> - Original Message - From: "Alvaro Cornejo"
>> 
>> To: 
>> Cc: 
>> Sent: Friday, May 28, 2010 4:29 PM
>> Subject: Re: Route modem as SMS Sender
>>
>>
>> use &smsc-id=xxx in your sendsms url as well as prefered/denied smsc
>> parameters in smsc configs.
>>
>> Check manual for details
>>
>> 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.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>>
>> On Fri, May 28, 2010 at 3:28 AM, Aan Isnaini  wrote:
>>>
>>> Dear All,
>>> I have 3 modems connected to kannel.
>>> how to choose / route the modem as sender when I send SMS?
>>> Is possible to choose which one modem will send the SMS?
>>> Looking forward to have advice and example.
>>> Thank you
>>>
>>> PIN: 21C3628D
>>> Powered by Telkomsel BlackBerry®
>>
>>
>
>
>
>






RE: Delete all SMS in "SM" storage at start up

2010-06-04 Thread Rene Kluwen
AT+CGMD=4 only deletes the sms at the 4th position. Not all of them.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: vrijdag 4 juni 2010 16:04
To: Rene Kluwen; 'Aan Isnaini - Gmail'; users@kannel.org
Subject: Re: Delete all SMS in "SM" storage at start up

That will delete all SMS from SIM and then send them. Besides, I suspect 
that Aan already uses that setting when he refers to "SM".

I would add in the init-string +CMGD=4 to delete all SMS in SIM at startup, 
without processing them.

This is just a recommendation, I don't have a modem to test it.

BR,
Nikos

----- Original Message - 
From: "Rene Kluwen" 
To: "'Aan Isnaini - Gmail'" ; 
Sent: Friday, June 04, 2010 2:59 PM
Subject: RE: Delete all SMS in "SM" storage at start up


> Set sim-buffering = true in your config.
>
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Aan Isnaini - Gmail
> Sent: vrijdag 4 juni 2010 13:09
> To: users@kannel.org
> Subject: Delete all SMS in "SM" storage at start up
>
> Dear All,
> How to to delete all SMS reside at "SM" on kannel start up?
> When I start the bearerbox, I need to delete all message in simcard
> storage, to make sure that simcard storage is empty before kannel
> running.
> As I know, it is using AT+CNMI, but I don't understand the parameter
> should be input.
> May be other tips/tricks to do that (delete all SMS in "SM" at start up)?
>
> Thank you
>
>
>
> 






RE: Newbie: How to send multiple messages to sms recipients?

2010-06-06 Thread Rene Kluwen
Also to send the same sms message to multiple recipients:


"http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=30957095+123456+78910+etc.&text=(insert
 text)"

This will send an sms message to 30957095, 123456, 78910, etc.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Thomas Sieh
Sent: zondag 6 juni 2010 17:51
To: Martin J.
Cc: users@kannel.org
Subject: Re: Newbie: How to send multiple messages to sms recipients?

hi,

if you want to receive messages you have to set up a sms-service in your
config. there are multiple ways. you can send the content via parameters
to a script (see exec) or to an url, for example (get-url). the content
of the message is accessible by the parameters like %b for full binary
message, %p for the sender-number... (see documentation).
two very simple examples:
1.
  exec = /home/thomas/sms.sh %q %Q %t %u %a %b

  sms.sh:
#!/bin/bash

for var in $@; do
  echo "$var" | tee -a /home/goofy/sms_message.txt
done
echo "---" | tee -a /home/thomas/sms_message.txt

2.
  get-url = http://127.0.0.1/receive_sms?from=%q&date=%t&text=%a

  http://127.0.0.1/receive_sms:

  



For sending sms in a script you can use lynx -dump ... for example or
the GET and POST commands.
For example:
lynx -dump 
"http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=30957095&text=insert+you+text+here";
your sending string should be inside a loop over an array with the
destination addresses.


BR,
Thomas


On Sun, Jun 06, 2010 at 05:04:08PM +0200, Martin J. wrote:
| Hi,
| 
| I have a newbie question: I just started to use Kannel and successfully made
| this work:
| 
| ./bearerbox -v 1 sms_GATEWAY_k700i.conf
| ./smsbox sms_GATEWAY_k700i.conf
| 
http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=30957095&text=(insertyou
| text here)
| 
| So, I can send sms'es... Still haven't figured out how to receive them yet,
| however... My question is this: I'm volunteer in an organization and we
| talked about the possibility of having this kannel-software send out mass
| sms'es to multiple recipients... However, I don't want to type each sms
| message in the browser bar... I don't know much about http
| send/get/receive/whatever so I hoped I could just send sms'es from the
| terminal/console under Mac os X
| 
| How to send sms'es from terminal, so I can make a script to send same
| message to multiple sms recipients?
| 
| 
| Thanks...




RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Rene Kluwen
Nikos is right, DLR's are routed automagically.

There's 2 remarks that go with this:

1. In the file smpplogins.txt, the system-type is used as "smsbox-id".
So for different users, a different system-type is advised. Based on this
"id", DLR's are routed to the correct user.

2. DLR's are sent from the bearerbox to smsbox (in this case an smppbox
user) and if the current user is not logged on, bearerbox takes it as the
particular smsbox is not connected. I am not sure what happens then, but I
think the DLR is silently ignored, with a mere warning message. Can somebody
confirm this?

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Budi wibowo
Sent: maandag 7 juni 2010 14:28
To: Nikos Balkanas
Cc: users@kannel.org
Subject: Re: Is there any user guide for opensource smppbox


Yes I have tried it, the kannel reside between smpp server and smsc. 
DLR between smpp server kannel always 100%, and DLR between kannel and smsc
is normal, less than 100%.
That's why I need kannel to pass through the dlr. Appreciate if somebody
share the config for smppbox. 

TIA
Budi

--Original Message--
From: Nikos Balkanas
To: bwib...@gmail.com
Cc: users@kannel.org
Subject: Re: Is there any user guide for opensource smppbox
Sent: Jun 7, 2010 19:13

Why, have you tried it and it won't pass through DLRs? It should do it 
transparently.

BR,
Nikos
- Original Message - 
From: "Budi wibowo" 
To: "Kiran Reddy" ; 
Sent: Monday, June 07, 2010 1:35 PM
Subject: Re: Is there any user guide for opensource smppbox


> Dear all
> Anybody can share smppbox configuration to pass through delivery report 
> (dlr) .
> Any help is highly appreciated.
> Regards
> Budi
> --Original Message--
> From: Kiran Reddy
> Sender: users-boun...@kannel.org
> To: users@kannel.org
> ReplyTo: Kiran Reddy
> Subject: Is there any user guide for opensource smppbox
> Sent: Jun 7, 2010 16:34
>
> Hi All,
>
> Is there any opensource SMPPbox user guide is available in  online.
>
>
> Regards,
> 
> Kiran Reddy
>
>
>
> 






RE: Subversion URL?

2010-06-07 Thread Rene Kluwen
Try: svn co https://svn.kannel.org/gateway/trunk

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
"Peter Valdemar Mørch (Lists)"
Sent: maandag 7 juni 2010 15:47
To: users@kannel.org
Subject: Subversion URL?

Hi,

What is the URL for subversion/svn access?

The "Source Code" link on the kannel.org points to
http://redmine.kannel.org/repositories/show/kannel
which doesn't tell me where to point my svn client...

So I took a look at the downloads page at
http://www.kannel.org/download.shtml which talks about "instructions for
accessing the CVS server" - but the redmine interface sure looks like it
is showing an svn repository.

I tried to check out from CVS and the ChangeLog has newest entry older
than the changes in redmine - from 2010-03-20. (Which, btw, just happens
to be the last day the daily snapshots where created) Looks like the
daily snapshots and the download page are from the good-ol CVS times,
but everybody else has moved to SVN. Where?

Also, the download page features a "bug tracking system" link to
http://bugs.kannel.org/ which really is just www.kannel.org.

So perhaps the "Download Page" needs an update. Or just a notice that it
contains some outdated info.

Peter


-- 
Peter Valdemar Mørch
http://www.morch.com






RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Rene Kluwen
In smppbox.conf:

group = smppbox
smpp-logins = "/path/to/smpplogins.txt"

This file should exist as a text file with 3 entries per line per smppbox user:

<-- sample -->
system-id-01 password-01 system-type-01
client-02 password-02 vma
<-- end sample -->

Note that the system type field (3rd field) is used as smsbox-id and routing 
rules are complied with accordingly.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Kiran Reddy
Sent: maandag 7 juni 2010 15:40
To: Nikos Balkanas; bwib...@gmail.com
Cc: users@kannel.org
Subject: Re: Is there any user guide for opensource smppbox

Hi All,

Can some one share with me smppbox working configuration with smpp users with 
example or some one please help me to create users for smppbox so that user can 
connect smppbox using kannel.


Regards,

Kiran Reddy



 ---Original Message---
 From: Nikos Balkanas 
 To: bwib...@gmail.com
 Cc: users@kannel.org
 Subject: Re: Is there any user guide for opensource smppbox
 Sent: Jun 07 '10 6:22pm
 
 What are you talking about? opensmppbox is part of bearerbox. It doesn't
 reside outside bearerbox. Have you tried it?
 
 Nikos
 - Original Message -
 From: "Budi wibowo" 
 To: "Nikos Balkanas" 
 Cc: 
 Sent: Monday, June 07, 2010 3:28 PM
 Subject: Re: Is there any user guide for opensource smppbox
 
 
 >
 > Yes I have tried it, the kannel reside between smpp server and smsc.
 > DLR between smpp server kannel always 100%, and DLR between kannel and
 > smsc is normal, less than 100%.
 > That's why I need kannel to pass through the dlr. Appreciate if somebody
 > share the config for smppbox.
 >
 > TIA
 > Budi
 >
 > --Original Message--
 > From: Nikos Balkanas
 > To: bwib...@gmail.com
 > Cc: users@kannel.org
 > Subject: Re: Is there any user guide for opensource smppbox
 > Sent: Jun 7, 2010 19:13
 >
 > Why, have you tried it and it won't pass through DLRs? It should do it
 > transparently.
 >
 > BR,
 > Nikos
 > - Original Message -
 > From: "Budi wibowo" 
 > To: "Kiran Reddy" ; 
 > Sent: Monday, June 07, 2010 1:35 PM
 > Subject: Re: Is there any user guide for opensource smppbox
 >
 >
 >> Dear all
 >> Anybody can share smppbox configuration to pass through delivery report
 >> (dlr) .
 >> Any help is highly appreciated.
 >> Regards
 >> Budi
 >> --Original Message--
 >> From: Kiran Reddy
 >> Sender: users-boun...@kannel.org
 >> To: users@kannel.org
 >> ReplyTo: Kiran Reddy
 >> Subject: Is there any user guide for opensource smppbox
 >> Sent: Jun 7, 2010 16:34
 >>
 >> Hi All,
 >>
 >> Is there any opensource SMPPbox user guide is available in  online.
 >>
 >>
 >> Regards,
 >> 
 >> Kiran Reddy
 >>
 >>
 >>
 >>
 >
 >
 >
 
 
 






RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Rene Kluwen
The smpplogins.txt file that is shown with two example user entries.

 

Every smppbox user entry consists of one line, which is three words, separated 
by spaces or tabs.

First word: Username of smppbox user

Second word: Password of smppbox user

Third word: system-type of smppbox user

 

So in the example, there’s two users: “system-id-01” and “client02”. Clear 
enough?

 

== Rene

 

 

From: Kiran Reddy [mailto:ki...@uniceltech.com] 
Sent: maandag 7 juni 2010 17:16
To: Rene Kluwen; 'Nikos Balkanas'; bwib...@gmail.com
Cc: users@kannel.org
Subject: RE: Is there any user guide for opensource smppbox

 

Hi All,

I Need Small clarification for below configuration.

In smppbox.conf:

group = smppbox
smpp-logins = "/path/to/smpplogins.txt"

This file should exist as a text file with 3 entries per line per smppbox user:

<-- sample -->
system-id-01 password-01 system-type-01
client-02 password-02 vma
<-- end sample -->

SMPPBOX
-
system-id-01  ?
password-01 ?
system-type-01 is smsbox-id

Client
--
client-02 ? (Username ?)
password-02 ? (Password ?)
vma ? (System Type ?)


Regards,

Kiran Reddy



---Original Message---
From: Rene Kluwen 
To: 'Kiran Reddy' , 'Nikos Balkanas' , bwib...@gmail.com
Cc: users@kannel.org
Subject: RE: Is there any user guide for opensource smppbox
Sent: Jun 07 '10 7:25pm

In smppbox.conf:

group = smppbox
smpp-logins = "/path/to/smpplogins.txt"

This file should exist as a text file with 3 entries per line per smppbox user:

<-- sample -->
system-id-01 password-01 system-type-01
client-02 password-02 vma
<-- end sample -->

Note that the system type field (3rd field) is used as smsbox-id and routing 
rules are complied with accordingly.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Kiran Reddy
Sent: maandag 7 juni 2010 15:40
To: Nikos Balkanas; bwib...@gmail.com
Cc: users@kannel.org
Subject: Re: Is there any user guide for opensource smppbox

Hi All,

Can some one share with me smppbox working configuration with smpp users with 
example or some one please help me to create users for smppbox so that user can 
connect smppbox using kannel.


Regards,

Kiran Reddy



---Original Message---
From: Nikos Balkanas 
To: bwib...@gmail.com
Cc: users@kannel.org
Subject: Re: Is there any user guide for opensource smppbox
Sent: Jun 07 '10 6:22pm

What are you talking about? opensmppbox is part of bearerbox. It doesn't
reside outside bearerbox. Have you tried it?

Nikos
- Original Message -
From: "Budi wibowo" 
To: "Nikos Balkanas" 
Cc: 
Sent: Monday, June 07, 2010 3:28 PM
Subject: Re: Is there any user guide for opensource smppbox


>
> Yes I have tried it, the kannel reside between smpp server and smsc.
> DLR between smpp server kannel always 100%, and DLR between kannel and
> smsc is normal, less than 100%.
> That's why I need kannel to pass through the dlr. Appreciate if somebody
> share the config for smppbox.
>
> TIA
> Budi
>
> --Original Message--
> From: Nikos Balkanas
> To: bwib...@gmail.com
> Cc: users@kannel.org
> Subject: Re: Is there any user guide for opensource smppbox
> Sent: Jun 7, 2010 19:13
>
> Why, have you tried it and it won't pass through DLRs? It should do it
> transparently.
>
> BR,
> Nikos
> - Original Message -
> From: "Budi wibowo" 
> To: "Kiran Reddy" ; 
> Sent: Monday, June 07, 2010 1:35 PM
> Subject: Re: Is there any user guide for opensource smppbox
>
>
>> Dear all
>> Anybody can share smppbox configuration to pass through delivery report
>> (dlr) .
>> Any help is highly appreciated.
>> Regards
>> Budi
>> --Original Message--
>> From: Kiran Reddy
>> Sender: users-boun...@kannel.org
>> To: users@kannel.org
>> ReplyTo: Kiran Reddy
>> Subject: Is there any user guide for opensource smppbox
>> Sent: Jun 7, 2010 16:34
>>
>> Hi All,
>>
>> Is there any opensource SMPPbox user guide is available in  online.
>>
>>
>> Regards,
>> 
>> Kiran Reddy
>>
>>
>>
>>
>
>
>










RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Rene Kluwen
Currently, there is no user guide.

== Rene


-Original Message-
From: Kiran Reddy [mailto:ki...@uniceltech.com] 
Sent: maandag 7 juni 2010 17:35
To: Rene Kluwen; 'Nikos Balkanas'; bwib...@gmail.com
Cc: users@kannel.org
Subject: RE: Is there any user guide for opensource smppbox

Hi Rene,

Sorry for asking question do you have  user guide for smppbox. If you have user 
guide can you provide me please.


Regards,

Kiran Reddy



 ---Original Message---
 From: Rene Kluwen 
 To: 'Kiran Reddy' , 'Nikos Balkanas' 
, bwib...@gmail.com
 Cc: users@kannel.org
 Subject: RE: Is there any user guide for opensource smppbox
 Sent: Jun 07 '10 8:56pm
 
 The smpplogins.txt file that is shown with two example user entries.
 
 
 Every smppbox user entry consists of one line, which is three words,
 separated by spaces or tabs.
 
 First word: Username of smppbox user
 
 Second word: Password of smppbox user
 
 Third word: system-type of smppbox user
 
 
 So in the example, there’s two users: “system-id-01” and
 “client02”. Clear enough?
 
 
 == Rene
 
 
 FROM: Kiran Reddy [mailto:ki...@uniceltech.com]
 SENT: maandag 7 juni 2010 17:16
 TO: Rene Kluwen; 'Nikos Balkanas'; bwib...@gmail.com
 CC: users@kannel.org
 SUBJECT: RE: Is there any user guide for opensource smppbox
 
 
 Hi All,
 
 I Need Small clarification for below configuration.
 
 In smppbox.conf:
 
 group = smppbox
 smpp-logins = "/path/to/smpplogins.txt"
 
 This file should exist as a text file with 3 entries per line per smppbox
 user:
 
 <-- sample -->
 system-id-01 password-01 system-type-01
 client-02 password-02 vma
 <-- end sample -->
 
 SMPPBOX
 -
 system-id-01  ?
 password-01 ?
 system-type-01 is smsbox-id
 
 CLIENT
 --
 client-02 ? (Username ?)
 password-02 ? (Password ?)
 vma ? (System Type ?)
 
 
 Regards,
 ----
 Kiran Reddy
 
 
 ---Original Message---
 From: Rene Kluwen
 To: 'Kiran Reddy' , 'Nikos Balkanas' , bwib...@gmail.com
 Cc: users@kannel.org
 Subject: RE: Is there any user guide for opensource smppbox
 Sent: Jun 07 '10 7:25pm
 
 In smppbox.conf:
 
 group = smppbox
 smpp-logins = "/path/to/smpplogins.txt"
 
 This file should exist as a text file with 3 entries per line per smppbox
 user:
 
 <-- sample -->
 system-id-01 password-01 system-type-01
 client-02 password-02 vma
 <-- end sample -->
 
 Note that the system type field (3rd field) is used as smsbox-id and
 routing rules are complied with accordingly.
 
 == Rene
 
 
 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Kiran Reddy
 Sent: maandag 7 juni 2010 15:40
 To: Nikos Balkanas; bwib...@gmail.com
 Cc: users@kannel.org
 Subject: Re: Is there any user guide for opensource smppbox
 
 Hi All,
 
 Can some one share with me smppbox working configuration with smpp users
 with example or some one please help me to create users for smppbox so that
 user can connect smppbox using kannel.
 
 
 Regards,
 
 Kiran Reddy
 
 
 ---Original Message---
 From: Nikos Balkanas
 To: bwib...@gmail.com
 Cc: users@kannel.org
 Subject: Re: Is there any user guide for opensource smppbox
 Sent: Jun 07 '10 6:22pm
 
 What are you talking about? opensmppbox is part of bearerbox. It doesn't
 reside outside bearerbox. Have you tried it?
 
 Nikos
 - Original Message -
 From: "Budi wibowo"
 To: "Nikos Balkanas"
 Cc:
 Sent: Monday, June 07, 2010 3:28 PM
 Subject: Re: Is there any user guide for opensource smppbox
 
 
 >
 > Yes I have tried it, the kannel reside between smpp server and smsc.
 > DLR between smpp server kannel always 100%, and DLR between kannel and
 > smsc is normal, less than 100%.
 > That's why I need kannel to pass through the dlr. Appreciate if somebody
 > share the config for smppbox.
 >
 > TIA
 > Budi
 >
 > --Original Message--
 > From: Nikos Balkanas
 > To: bwib...@gmail.com
 > Cc: users@kannel.org
 > Subject: Re: Is there any user guide for opensource smppbox
 > Sent: Jun 7, 2010 19:13
 >
 > Why, have you tried it and it won't pass through DLRs? It should do it
 > transparently.
 >
 > BR,
 > Nikos
 > - Original Message -
 > From: "Budi wibowo"
 > To: "Kiran Reddy" ;
 > Sent: Monday, June 07, 2010 1:35 PM
 > Subject: Re: Is there any user guide for opensource smppbox
 >
 >
 >> Dear all
 >> Anybody can share smppbox configuration to pass through delivery report
 >> (dlr) .
 >> Any help is highly appreciated.
 >> Regards
 >> Budi
 >> --Original Message--
 >> From: Kiran Reddy
 >> Sender: users-boun...@kannel.org
 >> To: users@kannel.org
 >> ReplyTo: Kiran Reddy
 >> Subject: Is there any user guide for opensource smppbox
 >> Sent: Jun 7, 2010 16:34
 >>
 >> Hi All,
 >>
 >> Is there any opensource SMPPbox user guide is available in  online.
 >>
 >>
 >> Regards,
 >> 
 >> Kiran Reddy
 >>
 >>
 >>
 >>
 >
 >
 >






RE: SIM Data download using kannel

2010-06-08 Thread Rene Kluwen
Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS
that Kannel is using?
Just a question.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Arnar Gestsson
Sent: dinsdag 8 juni 2010 16:05
To: users@kannel.org
Subject: SIM Data download using kannel

Hi guys,

I want to do sim data download using http interface of kannel.  I want 
to send command to sim to read binary of a EF, such as

A0A4023F00A0A4027F20A0A4026F7BA0B000

given that I have the profile data required, i.e. the keys, SPI, KiC, 
KiD values as well as the TAR value.  Then the correct way to send it 
would be

.../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text=&coding=1&pid=127&mclass=2

wouldn't it?

This message should come correctly into the ME and been packed into 
SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it?

Isn't there anyone out there that can confirm this?

BR.

Arnar






RE: SIM Data download using kannel

2010-06-08 Thread Rene Kluwen
What are you trying to do? Write a virus? Heh...

I don't believe it is going to work... but if it does: please share ;)

== Rene


-Original Message-
From: Arnar Gestsson [mailto:arnargests...@gmail.com] 
Sent: dinsdag 8 juni 2010 16:14
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: SIM Data download using kannel

Hi Rene,

I intend to send this over an SMPP connection, so I'm not using AT 
commands at all.


Arnar



On 06/08/2010 04:11 PM, Rene Kluwen wrote:
> Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS
> that Kannel is using?
> Just a question.
>
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Arnar Gestsson
> Sent: dinsdag 8 juni 2010 16:05
> To: users@kannel.org
> Subject: SIM Data download using kannel
>
> Hi guys,
>
> I want to do sim data download using http interface of kannel.  I want
> to send command to sim to read binary of a EF, such as
>
> A0A4023F00A0A4027F20A0A4026F7BA0B000
>
> given that I have the profile data required, i.e. the keys, SPI, KiC,
> KiD values as well as the TAR value.  Then the correct way to send it
> would be
>
>
.../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2
>
> wouldn't it?
>
> This message should come correctly into the ME and been packed into
> SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't
it?
>
> Isn't there anyone out there that can confirm this?
>
> BR.
>
> Arnar
>
>
>
>
>






RE: DLR-url not being called

2010-06-10 Thread Rene Kluwen
Could you also post your smsbox.log?

 

From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf
Of Matthew Muscat
Sent: donderdag 10 juni 2010 5:28
To: de...@kannel.org
Subject: DLR-url not being called

 

Hey everyone,

cannot seem to figure out whats going wrong here and was hoping someone
might have an idea as to whats wrong...

basically all my sms's are able to be sent out however getting a status of
the message doesn't work

 

(please note ive blanked out specific urls and usernames/passwords -
smpp1test.com is replaced too)

 

basiaclly my php script calls the sendsms cgi which all works fine and sends
dlr-mask=31 and a urlencoded dlr-url 

 

$dlr_url = "http://sms.*.com.au/delivery_report.php?smsId=$messageId[$i]
 &smscId=%i&status=%A&dest=%p";

$r= new HttpRequest("http://127.0.0.1:13002/cgi-bin/sendsms";,
HttpRequest::METH_GET);

$r->addQueryData(array(username=>"matthew",password=>"password",from=>$sende
rId,to=>$sendList[$i],text=>urlencode($message),dlr-mask=>"31",dlr-url=>urle
ncode($dlr_url)));

 

so overall my request turns out like...

http://127.0.0.1:13002/cgi-bin/sendsms?username=

&password=&from=$from&to=$to&text=$tmessage&dlr-mask=31&dlr-url=$dlr_url

 

message gets sent, can see it on the providers ends - however no report
comes back - of which i can type in the url manually and it will update my
database accordingly

 

i think the issue stems from this line

2010-06-10 13:07:39 [27802] [0] INFO: DLR rerouting for smsc id 
disabled.

 

however i dont know what is causing this

 

any ideas? - a big thanks to anyone that can help!

 

my log file for the core is...

 

2010-06-10 13:07:39 [27802] [0] INFO: Added logfile `/home/*/kannel.log'
with level `0'.

2010-06-10 13:07:39 [27802] [0] INFO: HTTP: Opening server at port 13000.

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

2010-06-10 13:07:39 [27802] [0] DEBUG: starting smsbox connection module

2010-06-10 13:07:39 [27802] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 27802.

2010-06-10 13:07:39 [27802] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 27802.

2010-06-10 13:07:39 [27802] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 27802.

2010-06-10 13:07:39 [27802] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).

2010-06-10 13:07:39 [27802] [0] DEBUG: Adding smsbox routing to id 
for receiver no <*> and smsc id 

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)

2010-06-10 13:07:39 [27802] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 27802.

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)

2010-06-10 13:07:39 [27802] [0] INFO: Set SMS resend frequency to 60
seconds.

2010-06-10 13:07:39 [27802] [0] INFO: SMS resend retry set to unlimited.

2010-06-10 13:07:39 [27802] [0] DEBUG: smsbox MO concatenated message
handling enabled

2010-06-10 13:07:39 [27802] [0] INFO: DLR rerouting for smsc id 
disabled.

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 6
(gw/smsc/smsc_smpp.c:io_thread)

2010-06-10 13:07:39 [27802] [6] DEBUG: Thread 6
(gw/smsc/smsc_smpp.c:io_thread) maps to pid 27802.

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 7
(gw/smsc/smsc_smpp.c:io_thread)

2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 8
(gw/bb_smscconn.c:sms_router)

2010-06-10 13:07:39 [27802] [0] INFO:


2010-06-10 13:07:39 [27802] [0] INFO: Kannel bearerbox II version 1.4.3
starting

2010-06-10 13:07:39 [27802] [8] DEBUG: Thread 8
(gw/bb_smscconn.c:sms_router) maps to pid 27802.

2010-06-10 13:07:39 [27802] [0] INFO: MAIN: Start-up done, entering mainloop

2010-06-10 13:07:39 [27802] [7] DEBUG: Thread 7
(gw/smsc/smsc_smpp.c:io_thread) maps to pid 27802.

2010-06-10 13:07:39 [27802] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 27802.

2010-06-10 13:07:40 [27802] [6] DEBUG: SMPP[smpp1]: Sending PDU:

2010-06-10 13:07:40 [27802] [6] DEBUG: SMPP PDU 0x2b5d080010a0 dump:

2010-06-10 13:07:40 [27802] [6] DEBUG:   type_name: bind_transceiver

2010-06-10 13:07:40 [27802] [6] DEBUG:   command_id: 9 = 0x0009

2010-06-10 13:07:40 [27802] [6] DEBUG:   command_status: 0 = 0x

2010-06-10 13:07:40 [27802] [6] DEBUG:   sequence_number: 1 = 0x0001

2010-06-10 13:07:40 [27802] [6] DEBUG:   system_id: "*"

2010-06-10 13:07:40 [27802] [6] DEBUG:   password: "*"

2010-06-10 13:07:40 [27802] [6] DEBUG:   system_type: "default"

2010-06-10 13:07:40 [27802] [6] DEBUG:   i

RE: SMS Forwarding

2010-06-10 Thread Rene Kluwen
Sure, this is very well possible with Kannel.
Your Asterisk server won't help you very much, but Kannel is the only thing
you need for this.
Which country should the local DID be in? There's two options: Purchase a
DID via an sms aggregrator. Or hook up a cellphone or cellular modem with a
local SIM card in it.
To relay the sms messages you have the same options and depending on the
country of the destination numbers, one of those two options is the
cheapest.

One small disadvantage: If you are doing the same trick with phone calls via
your Asterisk server, probably you cannot use the same number to dial and to
send sms.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Mike Weichert
Sent: donderdag 10 juni 2010 19:53
To: users@kannel.org
Subject: SMS Forwarding

Hi,

I'm wondering if I could somehow use Kannel for SMS forwarding.

For my company, all of our cell phones have an SMS plan that allows
them to receive SMS messages internationally for free, but only send
SMS messages locally. However, there are two international numbers
that we want the ability to send SMS messages to.

What I was hoping to achieve is something similar to the following:
- Purchase a DID that will be local for all of our cell phones
- The DID will be terminated with a Kannel gateway - meaning that when
a message is sent to the DID, it will go through the Kennel gateway
- The Kannel gateway will then send the SMS to a specified
international number, that would not have been possible for the cell
phone originally

Is this possible? What sort of pieces do I need to get together. We
have an Asterisk server for our VoIP/Telephony needs that we can use
to help achieve this.

Any ideas?

Thanks,
Mike






[PATCH] RE: Messages with php stripslashes

2010-06-11 Thread Rene Kluwen
Sorry for crossposting. But I think the users are allowed to know what is
going on, even if this is a developers matter.

I think I found the solution to the problem below, which affects all
smsbox->sqlbox->bearerbox users.

I must admit: Haven't tested it yet. But it should work.

See attached patch. Votes?


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tomasz
Sent: vrijdag 11 juni 2010 15:10
To: Kannel list
Subject: Re: Messages with php stripslashes

Hi,

I've got the same issue - when we send MT message by CGI which
contains ' sign, the recipient gets \' (escaped '). When we inject MT
directly to MySQL Database, recipient get only ' sing (valid!).

Our configuration is:

PHP MT PUSH  - SMSBOX - SQLBOX - BEARERBOX - SMSC

The problem is caused probably by SQLBOX - somewhere there must be
some kind of addslashes function. Escaped sign is being delivered to
BEARERBOX. I've tried to find this is source code but I was unable.

Have someone fixed this problem yet?

Thanks
Tomasz

W Twoim liście datowanym 24 maja 2010 (02:05:22) można przeczytać:

> I have posted some weeks ago a similar issue with sqlbox but it is not
> resolved for the moment, Alejandro to check on his side to reproduce the
> issue.

> Check my post in the mailling list archive to see if it the same problem:

> Object: *Quote and backslash issue*

> As you when using CGI interface to send a SMS I got the quote escaped on
the
> mobile, BUT when using directly SQL injection on sqlbox it works
correctly.

> Regards,

> Emmanuel





sql-escape.patch
Description: Binary data


RE: [PATCH] RE: Messages with php stripslashes

2010-06-12 Thread Rene Kluwen
msg_duplicate is the normal function from msg.h. No special meaning.

What happens is that gw_sql_save has a side effect. It escapes all text
strings with a backslash before the "'" sign because it displays them in the
INSERT INTO... statement in the database.
When I designed the function I was under the impression that it escaped the
strings in a copy... But apparently it doesn't.

What happens in the "old" version is that gw_sql_save_msg escapes the
strings inline and later it does a "send_msg(conn->smsbox_connection, conn,
msg)" with the same message... which has a backslash in front of the "'".

By duplicating the message before calling the gw_sql_save_msg, this behavior
is eliminated.

Someone on the mailinglist (Tomasz) has already confirmed that the problem
has been solved with this patch.

== Rene



-Original Message-
From: Alejandro Guerrieri [mailto:aguerri...@kannel.org] 
Sent: vrijdag 11 juni 2010 23:52
To: Rene Kluwen
Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org
Subject: Re: [PATCH] RE: Messages with php stripslashes

+   msg_escaped = msg_duplicate(msg);
 if (msg->sms.sms_type != report_mo)
-gw_sql_save_msg(msg, octstr_imm("MO"));
+gw_sql_save_msg(msg_escaped, octstr_imm("MO"));
 else
-gw_sql_save_msg(msg, octstr_imm("DLR"));
+gw_sql_save_msg(msg_escaped, octstr_imm("DLR"));
+   msg_destroy(msg_escaped);

and

-gw_sql_save_msg(msg, octstr_imm("MT"));
+   msg_escaped = msg_duplicate(msg);
+gw_sql_save_msg(msg_escaped, octstr_imm("MT"));
+   msg_destroy(msg_escaped);
 
(and other similar lines)

You're duplicating the msg to msg_escaped and then running the same
gw_sql_save_msg function? What difference does it make?

Or maybe msg_duplicate does some escaping magic I'm not aware of? If
msg_duplicate does what the name says, I don't see what's changed.

Regards,

Alex
--
Alejandro Guerrieri
aguerri...@kannel.org



On 11/06/2010, at 23:25, Rene Kluwen wrote:

> Sorry for crossposting. But I think the users are allowed to know what is
> going on, even if this is a developers matter.
> 
> I think I found the solution to the problem below, which affects all
> smsbox->sqlbox->bearerbox users.
> 
> I must admit: Haven't tested it yet. But it should work.
> 
> See attached patch. Votes?
> 
> 
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Tomasz
> Sent: vrijdag 11 juni 2010 15:10
> To: Kannel list
> Subject: Re: Messages with php stripslashes
> 
> Hi,
> 
> I've got the same issue - when we send MT message by CGI which
> contains ' sign, the recipient gets \' (escaped '). When we inject MT
> directly to MySQL Database, recipient get only ' sing (valid!).
> 
> Our configuration is:
> 
> PHP MT PUSH  - SMSBOX - SQLBOX - BEARERBOX - SMSC
> 
> The problem is caused probably by SQLBOX - somewhere there must be
> some kind of addslashes function. Escaped sign is being delivered to
> BEARERBOX. I've tried to find this is source code but I was unable.
> 
> Have someone fixed this problem yet?
> 
> Thanks
> Tomasz
> 
> W Twoim liście datowanym 24 maja 2010 (02:05:22) można przeczytać:
> 
>> I have posted some weeks ago a similar issue with sqlbox but it is not
>> resolved for the moment, Alejandro to check on his side to reproduce the
>> issue.
> 
>> Check my post in the mailling list archive to see if it the same problem:
> 
>> Object: *Quote and backslash issue*
> 
>> As you when using CGI interface to send a SMS I got the quote escaped on
> the
>> mobile, BUT when using directly SQL injection on sqlbox it works
> correctly.
> 
>> Regards,
> 
>> Emmanuel
> 
> 
> 
> 






RE: Issue with concatenated messages and load balancing over SMPP

2010-06-15 Thread Rene Kluwen
Yes, it seems to be a bug in the current version.


-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: dinsdag 15 juni 2010 15:35
To: Tomasz; rene.klu...@chimit.nl
Cc: users@kannel.org
Subject: Re: Issue with concatenated messages and load balancing over SMPP

Yes. That is pretty much what I said (concerning concatenation). SMPPbox 
seems to need a patch for that.

@Rene: Have you come across this issue in production?

BR,
Nikos
- Original Message - 
From: "Tomasz" 
To: 
Sent: Tuesday, June 15, 2010 3:31 PM
Subject: Re: Issue with concatenated messages and load balancing over SMPP


Hi Nikos,

Sorry, I didn't make it so clear in my first post.

I use other smsc-id for each SMSC but I use also some "virtual"
smsc-id at allowed-smsc-id which is identical for several SMSC. It
allows me to make several SMSC groups with load balancing - each group
has several modems.

Then I specify this "virtual" smsc-id in SMPPBOX config
(route-to-smsc) and kannel makes load-balancing :) Everything works
great with non-concatenated messages.

I've also found that issue is caused by SMPPBOX as it pass to
bearerbox two messages (received from BB 1) instead of 1. It makes
that each part of concatenated is being sent via different smsc, due
to load balancing.

Regards,
Tomasz



> Hi,

> You are not using correct configuration for load-balancing. Use different
> smsc-id for each smsc and simply do not specify smsc in your sendsms url.
> Kannel will load-balance SMS using rand() and load on each smsc. This will
> allow finer control (load) over your smscs, since when you want to use a
> specific SMSc (termination issues?) you can still direct to a specific 
> SMSc
> from your sendsms URL. For that you will want to specify preferred-smsc-id
> as itself in each smsc definition.

> However, I suspect that this will not fix your problem. For a fix, SMPPbox
> needs to reassemble SMS to 1 before sending it to bearerbox 2. Any takers 
> on
> that?

> BR,
> Nikos







RE: Mask shorcode and reply to number

2010-06-18 Thread Rene Kluwen
Either you specify 9696 in "from=" or Offers. You cannot do both at the same
time.

Maybe you can start with "Offers" in your SMS, if that is an option for you.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Sergio Gabriel Gallegos
Sent: vrijdag 18 juni 2010 16:30
To: users@kannel.org
Subject: Mask shorcode and reply to number

 

I wish put mask  at shortcode ( 9696 ) maybe "Offer" , but if the user want
reply i wish he sending the message at 9696 not at "Offers" , now sending
the mask "Offers" is this :
usr=".USER."&pwd=".PASSWORD."&from=Ofers&to=123456789012&text=Promotions&sms
c=transmitter"; but when recieve the MT in the mobil and the user want reply
appear "Offers" not 9696 ,  how to i can make the user reply at my short
code ?

Thks 



RE: Kannel as an SMSC

2010-06-18 Thread Rene Kluwen
Please note that the most current version of (open) smppbox is in the svn 
repository, not the cvs.

But maybe you meant svn in stead of cvs.

 

Either way, good to know that it works for you now.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mohamed Ould Mohamed Salem
Sent: vrijdag 18 juni 2010 19:25
To: Kannel users
Subject: Re: Kannel as an SMSC

 


I got it, 
I downloaded the latest cvs, compiled it and it worked.

thank you,

--- On Fri, 6/18/10, sangprabv  wrote:


From: sangprabv 
Subject: Re: Kannel as an SMSC
To: medms...@yahoo.fr
Cc: "Kannel users" 
Date: Friday, June 18, 2010, 6:35 PM

Please do man patch, you will find the answer.

 

 

 

sangprabv
sangpr...@gmail.com

 

On Jun 18, 2010, at 10:46 PM, Mohamed Ould Mohamed Salem wrote:






I downloaded the SMPPBox, tried to compile it but it gives some errors after 
make:

--
SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 
-I/usr/include/mysql -MT smppbox.o -MD -MP -MF ".deps/smppbox.Tpo" -c -o 
smppbox.o smppbox.c; \
then mv -f ".deps/smppbox.Tpo" ".deps/smppbox.Po"; else rm -f 
".deps/smppbox.Tpo"; exit 1; fi
smppbox.c:1851:1: warning: "OCTSTR" redefined
smppbox.c:1827:1: warning: this is the location of the previous definition
smppbox.c:1852:1: warning: "SINGLE_GROUP" redefined
smppbox.c:1830:1: warning: this is the location of the previous definition
smppbox.c:1855:1: warning: "MULTI_GROUP" redefined
smppbox.c:1837:1: warning: this is the location of the previous definition
smppbox.c: In function ‘send_pdu’:
smppbox.c:379: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible 
pointer type
/usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct 
SMPP_PDU *’ but argument is of type ‘struct Octstr *’
smppbox.c:379: error: too many arguments to function ‘smpp_pdu_pack’
smppbox.c: In function ‘read_pdu’:
smppbox.c:436: error: too many arguments to function ‘smpp_pdu_unpack’
make[2]: *** [smppbox.o] Error 1
make[2]: Leaving directory `/root/trunks/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trunks'
make: *** [all] Error 2

---
I saw in one thread on the list that it should be patched, probably not the 
right place to ask this question, but patch with what and how?


Yours,
Mohamed
--- On Fri, 6/18/10, Konstantin Vayner  wrote:


From: Konstantin Vayner 
Subject: Re: Kannel as an SMSC
To: "Mohamed Ould Mohamed Salem" 
Date: Friday, June 18, 2010, 3:35 PM

It's an svn tree

Use an svn (subversion) client and point it to that repository

On Fri, Jun 18, 2010 at 4:30 PM, Mohamed Ould Mohamed Salem  
wrote:

Sorry for being a nood,

but how do i download it, file by file? or is there a compressed file that i 
missed?



Yours,
Mohamed

  _  

From: Konstantin Vayner 
To: Mohamed Ould Mohamed Salem 
Cc: Kannel users 
Sent: Fri, June 18, 2010 1:09:13 PM
Subject: Re: Kannel as an SMSC

 

Hi Mohamed,

 

You can use SMPPbox with Kannel - it is an smpp server

 

There is opensource one release by Rene Kluwen - you can find it here:  
<https://svn.kannel.org/smppbox/trunk> https://svn.kannel.org/smppbox/trunk and 
it is supported by regular community means (via this mailing list).

OR

Theres commercial smppbox created, maintained and supported by Stipe Tolj - in 
this case you need to contact him directly regarding pricing and availability.

 

Regards,

  Konstantin

 

On Fri, Jun 18, 2010 at 3:57 PM, Mohamed Ould Mohamed Salem  
wrote:

Hello everyone,

I want to connect my kannel box with another sms gateway via SMPP, with neither 
of them being an smsc, is there a way to do this with kannel.
If not, can kannel act as an smsc?


Yours,
Mohamed

 

 

 

 

 

 



RE: smppbox sms

2010-06-18 Thread Rene Kluwen
It should be possible to put sqlbox in between (open) smppbox and bearerbox.

It will log all messages that are passed in between.

 

Honestly, I didn’t test it. But I don’t see any reason why it shouldn’t
work.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Omar THIAM
Sent: vrijdag 18 juni 2010 18:12
To: s...@arial-concept.com
Cc: users@kannel.org
Subject: smppbox sms

 


Hi,
I'm working on smppbox 
and i know that it works like smsc but.
Now my question is how can i store all sms(MO and MT) throw the smppbox? 



  _  

Hotmail : une messagerie performante et gratuite avec une sécurité signée
Microsoft Profitez-en  



For the ones using (open) smppbox...

2010-06-18 Thread Rene Kluwen
Today, I committted a patch to smppbox svn trunk that allows for long
(catenated) messages to be delivered via the same smsc, in case of load
balancing.

This version obsoletes that patch that is available for download on the
chimit server.

For the latest (stand-alone) version, use svn co
https://svn.kannel.org/smppbox/trunk

== Rene Kluwen





RE: Mask shorcode and reply to number

2010-06-18 Thread Rene Kluwen
I think the maximum length of an alphanumeric sender ID is 11 characters?
But maybe I am wrong.

== Rene

-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: vrijdag 18 juni 2010 23:19
To: Rene Kluwen
Cc: Sergio Gabriel Gallegos; users@kannel.org
Subject: Re: Mask shorcode and reply to number

maybe "Offers (9696)"  ?
|---
--|
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



On Fri, Jun 18, 2010 at 1:47 PM, Rene Kluwen  wrote:
> Either you specify 9696 in “from=” or Offers. You cannot do both at the
same
> time.
>
> Maybe you can start with “Offers” in your SMS, if that is an option for
you.
>
>
>
> == Rene
>
>
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Sergio Gabriel Gallegos
> Sent: vrijdag 18 juni 2010 16:30
> To: users@kannel.org
> Subject: Mask shorcode and reply to number
>
>
>
> I wish put mask  at shortcode ( 9696 ) maybe "Offer" , but if the user
want
> reply i wish he sending the message at 9696 not at "Offers" , now sending
> the mask "Offers" is this :
>
usr=".USER."&pwd=".PASSWORD."&from=Ofers&to=123456789012&text=Promotions&sms
c=transmitter";
> but when recieve the MT in the mobil and the user want reply appear
"Offers"
> not 9696 ,  how to i can make the user reply at my short code ?
>
> Thks






RE: Mask shorcode and reply to number

2010-06-18 Thread Rene Kluwen
Apologies for the dubbel post.
Also, still, people won't be able to reply.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: zaterdag 19 juni 2010 0:23
To: 'Alvaro Cornejo'
Cc: users@kannel.org
Subject: RE: Mask shorcode and reply to number

I think the maximum length of an alphanumeric sender ID is 11 characters?
But maybe I am wrong.

== Rene

-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: vrijdag 18 juni 2010 23:19
To: Rene Kluwen
Cc: Sergio Gabriel Gallegos; users@kannel.org
Subject: Re: Mask shorcode and reply to number

maybe "Offers (9696)"  ?
|---
--|
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



On Fri, Jun 18, 2010 at 1:47 PM, Rene Kluwen  wrote:
> Either you specify 9696 in “from=” or Offers. You cannot do both at the
same
> time.
>
> Maybe you can start with “Offers” in your SMS, if that is an option for
you.
>
>
>
> == Rene
>
>
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Sergio Gabriel Gallegos
> Sent: vrijdag 18 juni 2010 16:30
> To: users@kannel.org
> Subject: Mask shorcode and reply to number
>
>
>
> I wish put mask  at shortcode ( 9696 ) maybe "Offer" , but if the user
want
> reply i wish he sending the message at 9696 not at "Offers" , now sending
> the mask "Offers" is this :
>
usr=".USER."&pwd=".PASSWORD."&from=Ofers&to=123456789012&text=Promotions&sms
c=transmitter";
> but when recieve the MT in the mobil and the user want reply appear
"Offers"
> not 9696 ,  how to i can make the user reply at my short code ?
>
> Thks









RE: For the ones using (open) smppbox...

2010-06-19 Thread Rene Kluwen
I am thinking of a possibility. Does the group = smsbox-route also route
incoming message from a box? Or just incoming messages from the smsc-link?

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: zaterdag 19 juni 2010 14:15
To: sangprabv
Cc: users@kannel.org
Subject: Re: For the ones using (open) smppbox...

Nope. The way it works is (SMPP_CLIENT = ESME):

ESME -> SMPPBOX ->Bearerbox->SMSC

The connection from ESME is SMPP. The connection to Bearerbox is (Msg *), 
which is a kannel protocol. ESME can be any SMPP client.

BR,
Nikos

- Original Message - 
From: "sangprabv" 
To: "Rene Kluwen" 
Cc: 
Sent: Saturday, June 19, 2010 2:55 PM
Subject: Re: For the ones using (open) smppbox...


What about a pass-thru(forward) configuration between connections? Is it 
possible, let's say we want to pass traffics SMPP_CLIENT_A 
<->SMPPBOX<->SMPP_CLIENT_B.



sangprabv
sangpr...@gmail.com


On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:

> Today, I committted a patch to smppbox svn trunk that allows for long
> (catenated) messages to be delivered via the same smsc, in case of load
> balancing.
>
> This version obsoletes that patch that is available for download on the
> chimit server.
>
> For the latest (stand-alone) version, use svn co
> https://svn.kannel.org/smppbox/trunk
>
> == Rene Kluwen
>
>
>








RE: For the ones using (open) smppbox...

2010-06-19 Thread Rene Kluwen
Pass-thru seems to work the other way around. For this to work, your clients
need to run smppbox.

The setup will be as follows:

/SMPPBOX_CLIENT_1
YOUR_BEARERBOX <
\SMPPBOX_CLIENT_2


With the bearerbox reroute-smsc-id messages can be passed in between the
client.

Probably this setup is not what you wanted. But it is a possibility.

== Rene


-Original Message-
From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: zaterdag 19 juni 2010 13:55
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: For the ones using (open) smppbox...

What about a pass-thru(forward) configuration between connections? Is it
possible, let's say we want to pass traffics SMPP_CLIENT_A
<->SMPPBOX<->SMPP_CLIENT_B. 



sangprabv
sangpr...@gmail.com


On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:

> Today, I committted a patch to smppbox svn trunk that allows for long
> (catenated) messages to be delivered via the same smsc, in case of load
> balancing.
> 
> This version obsoletes that patch that is available for download on the
> chimit server.
> 
> For the latest (stand-alone) version, use svn co
> https://svn.kannel.org/smppbox/trunk
> 
> == Rene Kluwen
> 
> 
> 






RE: For the ones using (open) smppbox...

2010-06-19 Thread Rene Kluwen
I agree with that.

I was looking at some alternatives today. And this seems the most
appropriate.

 

== Rene

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: zaterdag 19 juni 2010 17:47
To: sangprabv
Cc: Rene Kluwen; users@kannel.org
Subject: Re: For the ones using (open) smppbox...

 

What about implementing "reroute-smsbox-id" on bearerbox? That would provide
a consistent interface, similar to what "reroute-smsc-id" does already.

 

Regards,

 

Alex

On Sat, Jun 19, 2010 at 5:26 PM, sangprabv  wrote:

My goal is pass all traffics from ESME A to ESME B and vice versa (it's a
about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX
in between, CMIIW :)



sangprabv
sangpr...@gmail.com



On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote:

> Pass-thru seems to work the other way around. For this to work, your
clients
> need to run smppbox.
>
> The setup will be as follows:
>
>/SMPPBOX_CLIENT_1
> YOUR_BEARERBOX <
>\SMPPBOX_CLIENT_2
>
>
> With the bearerbox reroute-smsc-id messages can be passed in between the
> client.
>
> Probably this setup is not what you wanted. But it is a possibility.
>
> == Rene
>
>
> -Original Message-
> From: sangprabv [mailto:sangpr...@gmail.com]
> Sent: zaterdag 19 juni 2010 13:55
> To: Rene Kluwen
> Cc: users@kannel.org
> Subject: Re: For the ones using (open) smppbox...
>

> What about a pass-thru(forward) configuration between connections? Is it
> possible, let's say we want to pass traffics SMPP_CLIENT_A
> <->SMPPBOX<->SMPP_CLIENT_B.
>
>
>
> sangprabv
> sangpr...@gmail.com
>
>
> On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:
>
>> Today, I committted a patch to smppbox svn trunk that allows for long
>> (catenated) messages to be delivered via the same smsc, in case of load
>> balancing.
>>
>> This version obsoletes that patch that is available for download on the
>> chimit server.
>>
>> For the latest (stand-alone) version, use svn co
>> https://svn.kannel.org/smppbox/trunk
>>
>> == Rene Kluwen
>>
>>
>>
>
>
>



 



RE: For the ones using (open) smppbox...

2010-06-19 Thread Rene Kluwen
Yes, that is the idea.

 

From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: zaterdag 19 juni 2010 19:12
To: Alejandro Guerrieri
Cc: Rene Kluwen; users@kannel.org
Subject: Re: For the ones using (open) smppbox...

 

So the configuration would be like this:
ESME_A<->SMPPBOX_A<->BEARERBOX<->SMPPBOX_B<->ESME_B is it?

 

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote:





What about implementing "reroute-smsbox-id" on bearerbox? That would provide
a consistent interface, similar to what "reroute-smsc-id" does already.

 

Regards,

 

Alex

On Sat, Jun 19, 2010 at 5:26 PM, sangprabv  wrote:

My goal is pass all traffics from ESME A to ESME B and vice versa (it's a
about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX
in between, CMIIW :)



sangprabv
sangpr...@gmail.com



On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote:

> Pass-thru seems to work the other way around. For this to work, your
clients
> need to run smppbox.
>
> The setup will be as follows:
>
>/SMPPBOX_CLIENT_1
> YOUR_BEARERBOX <
>\SMPPBOX_CLIENT_2
>
>
> With the bearerbox reroute-smsc-id messages can be passed in between the
> client.
>
> Probably this setup is not what you wanted. But it is a possibility.
>
> == Rene
>
>
> -Original Message-
> From: sangprabv [mailto:sangpr...@gmail.com]
> Sent: zaterdag 19 juni 2010 13:55
> To: Rene Kluwen
> Cc: users@kannel.org
> Subject: Re: For the ones using (open) smppbox...
>

> What about a pass-thru(forward) configuration between connections? Is it
> possible, let's say we want to pass traffics SMPP_CLIENT_A
> <->SMPPBOX<->SMPP_CLIENT_B.
>
>
>
> sangprabv
> sangpr...@gmail.com
>
>
> On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:
>
>> Today, I committted a patch to smppbox svn trunk that allows for long
>> (catenated) messages to be delivered via the same smsc, in case of load
>> balancing.
>>
>> This version obsoletes that patch that is available for download on the
>> chimit server.
>>
>> For the latest (stand-alone) version, use svn co
>> https://svn.kannel.org/smppbox/trunk
>>
>> == Rene Kluwen
>>
>>
>>
>
>
>



 

 



RE: For the ones using (open) smppbox...

2010-06-19 Thread Rene Kluwen
I’ve been thinking about scheme’s like this.
Even, the way you are suggesting, you can replace smsbox with smppbox and
http smsc with smpp smsc.
But in the end, things won't come down exactly to what sangprabv wants.

== Rene

From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: zaterdag 19 juni 2010 20:25
To: sangprabv; Rene Kluwen
Cc: users@kannel.org
Subject: Re: For the ones using (open) smppbox...

There is another way to do this using the sendsms interface. 
 
smsbox1->bearerbox1->HTTP smsc->smsbox2->bearerbox2
 
BR,
Nikos
- Original Message - 
From: sangprabv 
To: Rene Kluwen 
Cc: users@kannel.org 
Sent: Saturday, June 19, 2010 8:36 PM
Subject: Re: For the ones using (open) smppbox...

This will be very exciting achievements for Kannel community. It will be an
enterprise achievements. +1 for this project Rene. 


sangprabv
sangpr...@gmail.com



On Jun 20, 2010, at 12:22 AM, Rene Kluwen wrote:


Yes, that is the idea.
From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: zaterdag 19 juni 2010 19:12
To: Alejandro Guerrieri
Cc: Rene Kluwen; us...@kannel.org
Subject: Re: For the ones using (open) smppbox...
So the configuration would be like this:
ESME_A<->SMPPBOX_A<->BEARERBOX<->SMPPBOX_B<->ESME_B is it?
sangprabv
sangpr...@gmail.com



On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote:



What about implementing "reroute-smsbox-id" on bearerbox? That would provide
a consistent interface, similar to what "reroute-smsc-id" does already.
Regards,
Alex
On Sat, Jun 19, 2010 at 5:26 PM, sangprabv  wrote:
My goal is pass all traffics from ESME A to ESME B and vice versa (it's a
about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX
in between, CMIIW :)



sangprabv
sangpr...@gmail.com


On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote:

> Pass-thru seems to work the other way around. For this to work, your
clients
> need to run smppbox.
>
> The setup will be as follows:
>
>                /    SMPPBOX_CLIENT_1
> YOUR_BEARERBOX <
>                \    SMPPBOX_CLIENT_2
>
>
> With the bearerbox reroute-smsc-id messages can be passed in between the
> client.
>
> Probably this setup is not what you wanted. But it is a possibility.
>
> == Rene
>
>
> -Original Message-
> From: sangprabv [mailto:sangpr...@gmail.com]
> Sent: zaterdag 19 juni 2010 13:55
> To: Rene Kluwen
> Cc: us...@kannel.org
> Subject: Re: For the ones using (open) smppbox...
>
> What about a pass-thru(forward) configuration between connections? Is it
> possible, let's say we want to pass traffics SMPP_CLIENT_A
> <->SMPPBOX<->SMPP_CLIENT_B.
>
>
>
> sangprabv
> sangpr...@gmail.com
>
>
> On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:
>
>> Today, I committted a patch to smppbox svn trunk that allows for long
>> (catenated) messages to be delivered via the same smsc, in case of load
>> balancing.
>>
>> This version obsoletes that patch that is available for download on the
>> chimit server.
>>
>> For the latest (stand-alone) version, use svn co
>> https://svn.kannel.org/smppbox/trunk
>>
>> == Rene Kluwen
>>
>>
>>
>
>
>







RE: SMPPBox routing (was: RE: For the ones using (open) smppbox...)

2010-06-19 Thread Rene Kluwen
Okay, what you say now is a method that didn't occur to me before:

I could easily patch smppbox so that an incoming message is forwarded to
another connected client, and vice versa.

 

>From an architectural point of view, regarding Kannel, this is the least
interesting one. Also, logging (via sqlbox perhaps?) and a couple of other
Kannel goodies (routing) won't be available.

 

I would very much prefer the reroute-smsbox-id option. Even if it poses some
implementation challenges that still need to be worked out.

 

But after all else fails, I could come up with a patch for you (that won't
go into svn trunk) that does the trick.

 

== Rene

 

 

From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: zondag 20 juni 2010 4:08
To: Nikos Balkanas
Cc: Rene Kluwen; users@kannel.org
Subject: Re: For the ones using (open) smppbox...

 

This scheme is known as relaying between Kannel and it is handled by
kannel_*_sms() in the smsc_http.c where by default or we can redefine it by
ourself. Using this scheme there will be too many inside hops. And I'm not
sure this is the correct solution. I prefer ESME_A <-> SMPPBOX <->ESME_B
(The best thing) or ESME_A<->SMPPBOX_A<->BEARERBOX<->SMPPBOX_B<->ESME_B
where reroute will be directly handled by smppbox or bearerbox
configuration. Well this is a subjective opinion from me.

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 20, 2010, at 1:24 AM, Nikos Balkanas wrote:





There is another way to do this using the sendsms interface.

 

smsbox1->bearerbox1->HTTP smsc->smsbox2->bearerbox2

 

BR,

Nikos

- Original Message -

From: sangprabv <mailto:sangpr...@gmail.com> 

To: Rene Kluwen <mailto:rene.klu...@chimit.nl> 

Cc: users@kannel.org

Sent: Saturday, June 19, 2010 8:36 PM

Subject: Re: For the ones using (open) smppbox...

 

This will be very exciting achievements for Kannel community. It will be an
enterprise achievements. +1 for this project Rene.

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 20, 2010, at 12:22 AM, Rene Kluwen wrote:





Yes, that is the idea.

From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: zaterdag 19 juni 2010 19:12
To: Alejandro Guerrieri
Cc: Rene Kluwen; users@kannel.org
Subject: Re: For the ones using (open) smppbox...

So the configuration would be like this:
ESME_A<->SMPPBOX_A<->BEARERBOX<->SMPPBOX_B<->ESME_B is it?

sangprabv
sangpr...@gmail.com





On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote:






What about implementing "reroute-smsbox-id" on bearerbox? That would provide
a consistent interface, similar to what "reroute-smsc-id" does already.

Regards,

Alex

On Sat, Jun 19, 2010 at 5:26 PM, sangprabv  wrote:

My goal is pass all traffics from ESME A to ESME B and vice versa (it's a
about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX
in between, CMIIW :)



sangprabv
sangpr...@gmail.com



On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote:

> Pass-thru seems to work the other way around. For this to work, your
clients
> need to run smppbox.
>
> The setup will be as follows:
>
>/SMPPBOX_CLIENT_1
> YOUR_BEARERBOX <
>\SMPPBOX_CLIENT_2
>
>
> With the bearerbox reroute-smsc-id messages can be passed in between the
> client.
>
> Probably this setup is not what you wanted. But it is a possibility.
>
> == Rene
>
>
> -Original Message-
> From: sangprabv [mailto:sangpr...@gmail.com]
> Sent: zaterdag 19 juni 2010 13:55
> To: Rene Kluwen
> Cc: users@kannel.org
> Subject: Re: For the ones using (open) smppbox...
>

> What about a pass-thru(forward) configuration between connections? Is it
> possible, let's say we want to pass traffics SMPP_CLIENT_A
> <->SMPPBOX<->SMPP_CLIENT_B.
>
>
>
> sangprabv
> sangpr...@gmail.com
>
>
> On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote:
>
>> Today, I committted a patch to smppbox svn trunk that allows for long
>> (catenated) messages to be delivered via the same smsc, in case of load
>> balancing.
>>
>> This version obsoletes that patch that is available for download on the
>> chimit server.
>>
>> For the latest (stand-alone) version, use svn co
>> https://svn.kannel.org/smppbox/trunk
>>
>> == Rene Kluwen
>>
>>
>>
>
>
>




 

 

 



RE: Scheduling Question

2010-06-20 Thread Rene Kluwen
Yes, sqlbox does scheduling of writing with a simple (1-line) patch.

 

You can find it on the mailinglist, but to facilitate your search, here it
is again:

 

in gw/sqlbox_mysql.h

  something like:

  SELECT sql_id, momt, sender, receiver, udhdata, \
msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding,
\
compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
charset, boxc_id, binfo, meta_data FROM %S WHERE time <
UNIX_TIMESTAMP(NOW()) LIMIT 0,1"

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of sangprabv
Sent: zondag 20 juni 2010 16:04
To: T.K.Thapa
Cc: users@kannel.org
Subject: Re: Scheduling Question

 

Quick and dirty way is patch the query in the sqlbox source code.

 

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:






Hello, 

Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If
yes how?

Regards
Tapan Thapa

 

 



RE: Scheduling Question

2010-06-21 Thread Rene Kluwen
Throughput is for smsc trotteling.

The bearerbox queue will only get larger if you use this.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of sangprabv
Sent: maandag 21 juni 2010 9:50
To: T.K.Thapa
Cc: Kannel list
Subject: Re: Scheduling Question

 

it's in the smsc group, check it out.

 

 

 

sangprabv
 <mailto:sangpr...@gmail.com> sangpr...@gmail.com




 

On Jun 21, 2010, at 2:26 PM, T.K.Thapa wrote:






Where i need to configure throughput directive?

Do i need to configure in bearerbox or sqlbox?

if i am configuring in bearerbox then it will only limit bearerbox to submit
at defined rate to smsc. it will not limit sqlbox to submit at defined rate
to bearerbox.

Regards
Tapan Thapa

--- On Mon, 21/6/10, sangprabv  wrote:


From: sangprabv 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "Rene Kluwen" , "Kannel list" 
Date: Monday, 21 June, 2010, 10:41 AM

You can use throughput directive. 

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:






Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5
message per second so that no queue is built at bearerbox for particular
smsc.
2. If there is a queue at bearerbox (particular smsc), lets say 100 then
till the time queue come down to less than 100, sqlbox do not push further
messages to that particular smsc.

Regards
Tapan Thapa

--- On Mon, 21/6/10, T.K.Thapa  wrote:


From: T.K.Thapa 
Subject: RE: Scheduling Question
To: "Rene Kluwen" 
Cc: "Kannel list" 
Date: Monday, 21 June, 2010, 9:37 AM


Hello,

I have seen the same feature requested by many users. Can't we have the same
by default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'sangprabv'" , "'T.K.Thapa'"

Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM

Yes, sqlbox does scheduling of writing with a simple (1-line) patch.

 

You can find it on the mailinglist, but to facilitate your search, here it
is again:

 

in gw/sqlbox_mysql.h

  something like:

  SELECT sql_id, momt, sender, receiver, udhdata, \
msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding,
\
compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
charset, boxc_id, binfo, meta_data FROM %S WHERE time <
UNIX_TIMESTAMP(NOW()) LIMIT 0,1"

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of sangprabv
Sent: zondag 20 juni 2010 16:04
To: T.K.Thapa
Cc: users@kannel.org
Subject: Re: Scheduling Question

 

Quick and dirty way is patch the query in the sqlbox source code.

 

 

 

sangprabv
sangpr...@gmail.com



 

On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:

 


Hello, 

Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If
yes how?

Regards
Tapan Thapa

 

 

 

 

 



RE: SMPPBOX

2010-06-21 Thread Rene Kluwen
Don't worry. For sure, a message will be posted on the list when it's ready.

So please be patient. Remember, this is a free contribution (free as in
speech AND as in beer).

 

= Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Omar THIAM
Sent: maandag 21 juni 2010 14:56
To: ki...@uniceltech.com; nbalka...@gmail.com
Cc: a...@cleartalk.net; users@kannel.org
Subject: RE: SMPPBOX

 

His Nikos,
you told me last time that you ara working on the documentation of smppbox
and may be it'll be up today.
And so it'll contain a chapter on config.
How can'i have it? If it's ready

> Date: Sat, 19 Jun 2010 20:12:28 +0530
> From: ki...@uniceltech.com
> To: nbalka...@gmail.com
> CC: tomarth...@hotmail.com; users@kannel.org; a...@cleartalk.net
> Subject: Re: SMPPBOX
> 
> Thanks Nikos.
> 
> :-)
> 
> On 6/18/2010 9:13 PM, Nikos Balkanas wrote:
> > Hi,
> >
> > I am working on the documentation. Should be up sometime next Monday. 
> > It will contain a chapter on configuration.
> >
> > BR,
> > Nikos
> > - Original Message - From: Omar THIAM
> > To: nbalka...@gmail.com ; users@kannel.org ; a...@cleartalk.net
> > Sent: Friday, June 18, 2010 6:38 PM
> > Subject: SMPPBOX
> >
> >
> >
> > Hi,
> > I've one question about SPPBOX
> > How can i configure smppbox as a smsc smpp connecting to the real smsc 
> > of operator?
> >
> >
> >
> > Hotmail : une messagerie fiable avec la protection anti-spam 
> > performante de Microsoft Inscrivez-vous
> >
> >

  _  

Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en
 



RE: Scheduling Question

2010-06-21 Thread Rene Kluwen
That's correct. It depends on what you want to achieve.
If you don't want to the queue to be too large because you are getting
throttling errors. Then the throughput directive of group = smsc is the item
to use.
See documentation.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: maandag 21 juni 2010 15:34
To: Rene Kluwen; 'sangprabv'; 'T.K.Thapa'
Cc: 'Kannel list'
Subject: Re: Scheduling Question

Not only that. It will also limit bandwidth on each smsc traffic, according 
to your agreements/specifications. I believe that the SMPP driver supports 
it now correctly. By all means, use it, if you are getting a lot of 
throttling errors in your logs and your SMSc will allow only a certain 
amount of SMS/s. After all, that is what it was created for. Don't be 
concerned about your queue. It will not get any larger if you already get 
throttling errors.

BR,
Nikos
----- Original Message - 
From: Rene Kluwen
To: 'sangprabv' ; 'T.K.Thapa'
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 3:04 PM
Subject: RE: Scheduling Question


Throughput is for smsc trotteling.
The bearerbox queue will only get larger if you use this.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of sangprabv
Sent: maandag 21 juni 2010 9:50
To: T.K.Thapa
Cc: Kannel list
Subject: Re: Scheduling Question

it's in the smsc group, check it out.



sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 2:26 PM, T.K.Thapa wrote:



Where i need to configure throughput directive?

Do i need to configure in bearerbox or sqlbox?

if i am configuring in bearerbox then it will only limit bearerbox to submit

at defined rate to smsc. it will not limit sqlbox to submit at defined rate 
to bearerbox.

Regards
Tapan Thapa

--- On Mon, 21/6/10, sangprabv  wrote:

From: sangprabv 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "Rene Kluwen" , "Kannel list" 
Date: Monday, 21 June, 2010, 10:41 AM
You can use throughput directive.


sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:



Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
message per second so that no queue is built at bearerbox for particular 
smsc.
2. If there is a queue at bearerbox (particular smsc), lets say 100 then 
till the time queue come down to less than 100, sqlbox do not push further 
messages to that particular smsc.

Regards
Tapan Thapa

--- On Mon, 21/6/10, T.K.Thapa  wrote:

From: T.K.Thapa 
Subject: RE: Scheduling Question
To: "Rene Kluwen" 
Cc: "Kannel list" 
Date: Monday, 21 June, 2010, 9:37 AM
Hello,

I have seen the same feature requested by many users. Can't we have the same

by default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen  wrote:

From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'sangprabv'" , "'T.K.Thapa'" 

Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM
Yes, sqlbox does scheduling of writing with a simple (1-line) patch.

You can find it on the mailinglist, but to facilitate your search, here it 
is again:

in gw/sqlbox_mysql.h
  something like:
  SELECT sql_id, momt, sender, receiver, udhdata, \
msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding,

\
compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
charset, boxc_id, binfo, meta_data FROM %S WHERE time < 
UNIX_TIMESTAMP(NOW()) LIMIT 0,1"

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of sangprabv
Sent: zondag 20 juni 2010 16:04
To: T.K.Thapa
Cc: users@kannel.org
Subject: Re: Scheduling Question

Quick and dirty way is patch the query in the sqlbox source code.



sangprabv
sangpr...@gmail.com



On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:

Hello,

Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If 
yes how?

Regards
Tapan Thapa








 






RE: cvs instalation

2010-06-21 Thread Rene Kluwen
See:
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN180.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: maandag 21 juni 2010 15:22
To: users@kannel.org
Subject: cvs instalation

 

Hi all.
How to install the cvs version of kannel.
And plz can u tell me where to get a free version of smppbox and how to
install it.
Regards

 



RE: cvs instalation

2010-06-21 Thread Rene Kluwen
You can check out smppbox at: https://svn.kannel.org/smppbox/trunk

Then follow the same steps:

./configure
make

If you run into problems, please check the mailinglist archives first.

== Rene


From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: maandag 21 juni 2010 16:18
To: users@kannel.org; Rene Kluwen
Subject: RE: cvs instalation

thanks
and what about smppbox

--- On Mon, 6/21/10, Rene Kluwen  wrote:

From: Rene Kluwen 
Subject: RE: cvs instalation
To: "'ishagh ouldbah'" , users@kannel.org
Date: Monday, June 21, 2010, 7:13 AM
See:
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN180.
 
== Rene
 
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: maandag 21 juni 2010 15:22
To: users@kannel.org
Subject: cvs instalation
 
Hi all.
How to install the cvs version of kannel.
And plz can u tell me where to get a free version of smppbox and how to
install it.
Regards
 





RE: Scheduling Question

2010-06-21 Thread Rene Kluwen
Then, indeed the throughput directive is your companion.

If your provider allows you, then possibly you can define two smsc's in your
kannel.conf: one for sqlbox and one for smsbox. Each with a different value
of "throughput".

 

Sqlbox is able to "schedule" messages. See the patch that I gave earlier.

 

== Rene

 

From: T.K.Thapa [mailto:tapan_thapa2...@yahoo.com] 
Sent: maandag 21 juni 2010 16:41
To: 'Nikos Balkanas'; 'sangprabv'; Rene Kluwen
Cc: 'Kannel list'
Subject: RE: Scheduling Question

 


What exactly i am trying to achieve here is, our SMPP provider has provided
us 5 msg per second throughput and i have two users. First user is
submitting sms directly into sqlbox database (sqlbox is connected to
bearerbox) and second user is submitting sms via cgi url (smsbox directly
connected to same bearerbox). Messages of second user are very critical so
if first user (sqlbox) submit large/huge sms into sqlbox then also sqlbox
should not send sms to bearerbox more then 5 msg per second although if
first user sends sms in-between then, first user sms should pass immediately
before sqlbox submitted messages.

I also want to know if messages submitted by sqlbox are high in quantity
then can we somehow tweak sqlbox to submit sms to bearerbox between 9 A.M.
to 7 P.M. (or any timing configurable)  

Please suggest.

Regards
Tapan Thapa

--- On Mon, 21/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'Nikos Balkanas'" , "'sangprabv'"
, "'T.K.Thapa'" 
Cc: "'Kannel list'" 
Date: Monday, 21 June, 2010, 7:40 PM

That's correct. It depends on what you want to achieve.
If you don't want to the queue to be too large because you are getting
throttling errors. Then the throughput directive of group = smsc is the item
to use.
See documentation.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: maandag 21 juni 2010 15:34
To: Rene Kluwen; 'sangprabv'; 'T.K.Thapa'
Cc: 'Kannel list'
Subject: Re: Scheduling Question

Not only that. It will also limit bandwidth on each smsc traffic, according 
to your agreements/specifications. I believe that the SMPP driver supports 
it now correctly. By all means, use it, if you are getting a lot of 
throttling errors in your logs and your SMSc will allow only a certain 
amount of SMS/s. After all, that is what it was created for. Don't be 
concerned about your queue. It will not get any larger if you already get 
throttling errors.

BR,
Nikos
- Original Message - 
From: Rene Kluwen
To: 'sangprabv' ; 'T.K.Thapa'
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 3:04 PM
Subject: RE: Scheduling Question


Throughput is for smsc trotteling.
The bearerbox queue will only get larger if you use this.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of sangprabv
Sent: maandag 21 juni 2010 9:50
To: T.K.Thapa
Cc: Kannel list
Subject: Re: Scheduling Question

it's in the smsc group, check it out.



sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 2:26 PM, T.K.Thapa wrote:



Where i need to configure throughput directive?

Do i need to configure in bearerbox or sqlbox?

if i am configuring in bearerbox then it will only limit bearerbox to submit

at defined rate to smsc. it will not limit sqlbox to submit at defined rate 
to bearerbox.

Regards
Tapan Thapa

--- On Mon, 21/6/10, sangprabv  wrote:

From: sangprabv 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "Rene Kluwen" , "Kannel list" 
Date: Monday, 21 June, 2010, 10:41 AM
You can use throughput directive.


sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:



Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
message per second so that no queue is built at bearerbox for particular 
smsc.
2. If there is a queue at bearerbox (particular smsc), lets say 100 then 
till the time queue come down to less than 100, sqlbox do not push further 
messages to that particular smsc.

Regards
Tapan Thapa

--- On Mon, 21/6/10, T.K.Thapa  wrote:

From: T.K.Thapa 
Subject: RE: Scheduling Question
To: "Rene Kluwen" 
Cc: "Kannel list" 
Date: Monday, 21 June, 2010, 9:37 AM
Hello,

I have seen the same feature requested by many users. Can't we have the same

by default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen  wrote:

From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'sangprabv'" , "'T.K.Thapa'" 

Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM
Yes, sqlbox does scheduling of writing with a simple (1-line) patch.

You can find it on the mailinglist

RE: smppbox forwarding

2010-06-22 Thread Rene Kluwen
You can forward messages to another gateway using Kannel just like if you
were using smsbox instead of smppbox.

See documentation about smsc = http.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: dinsdag 22 juni 2010 20:45
To: users@kannel.org
Subject: smppbox forwarding

 


I am running smppbox as smsc
How do i forward messages to another gatway running kannel
Thanks



 



RE: smppbox forwarding

2010-06-22 Thread Rene Kluwen
Just change http to smpp accordingly.

 

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: dinsdag 22 juni 2010 21:36
To: users@kannel.org; Rene Kluwen
Subject: RE: smppbox forwarding

 


Tanks. But I need to do it smpp not http

--- On Tue, 6/22/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: smppbox forwarding
To: "'ishagh ouldbah'" , users@kannel.org
Date: Tuesday, June 22, 2010, 12:29 PM

You can forward messages to another gateway using Kannel just like if you
were using smsbox instead of smppbox.

See documentation about smsc = http.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: dinsdag 22 juni 2010 20:45
To: users@kannel.org
Subject: smppbox forwarding

 


I am running smppbox as smsc
How do i forward messages to another gatway running kannel
Thanks

 

 



RE: smppbox installation message Nothing to be done for 'install-exec-am'

2010-06-23 Thread Rene Kluwen
If you see smppbox in /usr/local/sbin then it installed.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: woensdag 23 juni 2010 15:21
To: users@kannel.org
Subject: smppbox installation message Nothing to be done for
'install-exec-am'

 


Hi all
I was installing smpp box
and it ends up with messages lik
Nothing to be done for 'install-exec-am'

what  i did was
1- downlod kannel svn
2-download smpp svn
3-install kannel svn (OK)
4-istall smppbox (ended with above msg)

is this an error (did smppbox install)

Regards

 



RE: smppbox forwarding

2010-06-24 Thread Rene Kluwen
Wouldn't it be possible with setting up one bearerbox, having two smsc's of
type http?
I think yes.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: donderdag 24 juni 2010 15:31
To: ishagh ouldbah; users@kannel.org; Rene Kluwen
Subject: Re: smppbox forwarding

Hi,

Actually, no. There is a 3rd, simpler way. If you notice the answer by A. 
Malysh, you can just do it with the minimum, i.e. 2 bearerboxes. You have to

use the http_smsc with system-type kannel. Just be cautious, http_smsc is 
not the most reliable or robust.

(smpp|sms)box->bearerbox1->bearerbox2->...

BR,
Nikos
- Original Message - 
From: ishagh ouldbah
To: Nikos Balkanas ; users@kannel.org ; Rene Kluwen
Sent: Thursday, June 24, 2010 3:36 PM
Subject: Re: smppbox forwarding


Thanks all
It seems that i need two smppboxes or do it via http
thanks any way





From: Nikos Balkanas 
To: ishagh ouldbah ; users@kannel.org; Rene Kluwen 

Sent: Wed, June 23, 2010 3:51:32 PM
Subject: Re: smppbox forwarding

Yes, it requires both smppbox.conf (2x) and kannel.conf (2x). You asked for 
smpp. If you want to use kannel.conf only, you need to go with http and read

the relay example from Userguide as Rene suggested.

BR,
Nikos
- Original Message - From: ishagh ouldbah
To: users@kannel.org ; Rene Kluwen ; Nikos Balkanas
Sent: Wednesday, June 23, 2010 3:55 PM
Subject: Re: smppbox forwarding


But this does not seem to me like kannel conf
thanks

--- On Wed, 6/23/10, Nikos Balkanas  wrote:


From: Nikos Balkanas 
Subject: Re: smppbox forwarding
To: "ishagh ouldbah" , users@kannel.org, "Rene Kluwen" 

Date: Wednesday, June 23, 2010, 4:46 AM


Hi,

Like that:

ESME -> SMPPBOX -> BB ->Another SMPPBOX -> Another BB -> ...

Nikos
- Original Message - From: ishagh ouldbah
To: users@kannel.org ; Rene Kluwen
Sent: Wednesday, June 23, 2010 12:46 PM
Subject: RE: smppbox forwarding


Does this work with a kannel client smpp
the gateway does not run smppbox

--- On Tue, 6/22/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: smppbox forwarding
To: "'ishagh ouldbah'" , users@kannel.org
Date: Tuesday, June 22, 2010, 2:03 PM


Just change http to smpp accordingly.


From: ishagh ouldbah [mailto:ishagh...@yahoo.com]
Sent: dinsdag 22 juni 2010 21:36
To: users@kannel.org; Rene Kluwen
Subject: RE: smppbox forwarding

Tanks. But I need to do it smpp not http

--- On Tue, 6/22/10, Rene Kluwen  wrote:

From: Rene Kluwen 
Subject: RE: smppbox forwarding
To: "'ishagh ouldbah'" , users@kannel.org
Date: Tuesday, June 22, 2010, 12:29 PM
You can forward messages to another gateway using Kannel just like if you 
were using smsbox instead of smppbox.
See documentation about smsc = http.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of ishagh ouldbah
Sent: dinsdag 22 juni 2010 20:45
To: users@kannel.org
Subject: smppbox forwarding

I am running smppbox as smsc
How do i forward messages to another gatway running kannel
Thanks 






RE: Receive SMS using Kannel

2010-06-24 Thread Rene Kluwen
Look for group = sms-service in the users manual.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Harbhag Singh Sohal
Sent: donderdag 24 juni 2010 15:37
To: users@kannel.org
Subject: Re: Receive SMS using Kannel

 

I am sorry for the double post . I higly appreciate the help of users .

On Thu, Jun 24, 2010 at 3:51 PM, Harbhag Singh Sohal
 wrote:

Hi everyone , I want to know that how can i receive SMS using Kannel . I can
successfully send SMS through the addressbar of the browser . I am using
kannel on Ubuntu 10.04 and I have lamp installed on this system . If more
information is required from my side then please ask me and i will provide
accordingly . 
Thanks 
This is my kannel.conf file

group = core

admin-port = 13000

admin-password = ***

admin-deny-ip = "*.*.*.*"

admin-allow-ip = ""

smsbox-port = 13001

#wdp-interface-name = "*"

log-file = "/var/log/kannel/bearerbox.log"

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

log-level = 1

 

group = wapbox

bearerbox-host = localhost

log-file = "/var/log/kannel/wapbox.log"

 

group = smsc

smsc = at

modemtype = auto

device= /dev/ttyACM0

my-number = +91**

connect-allow-ip = 127.0.0.1

log-level = 0

 

group = modems

 id = nokia

 name = "Nokia 3500c"

 detect-string = "Nokia"

 init-string = "ATZ"

 init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13013

global-sender = +9

log-level = 0

 

group = sendsms-user

username =*

password = ***

concatenation= true

max-messages = 10



-- 
Harbhag Singh Sohal
Website : http://harbhag.wordpress.com/






-- 
Harbhag Singh Sohal
Website : http://harbhag.wordpress.com/





RE: How to disable kannel reponse 202

2010-06-24 Thread Rene Kluwen
I think there is no Kannel option for that, other than by patching the
source.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: donderdag 24 juni 2010 15:38
To: users@kannel.org
Subject: How to disable kannel reponse 202

 

Hi 
I've configure kannel and it worked
my probleme is that when i send sms it replies to the client with the
message
accepted for delivery
How to disble that message from going to the client
Thanks

 



RE: Receive SMS using Kannel

2010-06-24 Thread Rene Kluwen
Lamp is Linux-Apache-Mysql-PHP, see
http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: donderdag 24 juni 2010 15:46
To: Harbhag Singh Sohal; users@kannel.org
Subject: Re: Receive SMS using Kannel

Hi,

Please send detailed relevant bb logs from modem initialization and an 
attempt to receive an SMS from SMSc. When you push SMS, do you get DLRs OK? 
What is lamp?

BR,
Nikos
- Original Message - 
From: Harbhag Singh Sohal
To: users@kannel.org
Sent: Thursday, June 24, 2010 1:21 PM
Subject: Receive SMS using Kannel


Hi everyone , I want to know that how can i receive SMS using Kannel . I can

successfully send SMS through the addressbar of the browser . I am using 
kannel on Ubuntu 10.04 and I have lamp installed on this system . If more 
information is required from my side then please ask me and i will provide 
accordingly .
Thanks
This is my kannel.conf file

group = core
admin-port = 13000
admin-password = ***
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
smsbox-port = 13001
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-level = 1


group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"


group = smsc
smsc = at
modemtype = auto
device= /dev/ttyACM0
my-number = +91**
connect-allow-ip = 127.0.0.1
log-level = 0


group = modems
 id = nokia
 name = "Nokia 3500c"
 detect-string = "Nokia"
 init-string = "ATZ"
 init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = +9
log-level = 0


group = sendsms-user
username =*
password = ***
concatenation= true
max-messages = 10


-- 
Harbhag Singh Sohal
Website : http://harbhag.wordpress.com/ 







RE: SMPPBox Questions

2010-06-24 Thread Rene Kluwen
Few answers to your questions:

1. Yes, you can see in the admin page of bearerbox, a different connected 
smsbox for each user
2. No, this cannot be done as of the current version
3. No, also this is not possible
4. Maybe some users on the list that use this currently can provide more 
information. As for myself, and some clients, we are using it for over a year 
already in production.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 18:01
To: Kannel list
Subject: SMPPBox Questions

Hi,

Few questions about SMPPBox.

1. Do we have any admin port/interface for SMPPBOX to see how many connected 
users are in SMPPBOX?
2. In client config of SMPPBox, can we restrict created user to login as tx,rx 
or trx with limited sessions.
3. Can we create prepaid SMPPBox accounts?
4. Is opensource SMPPbox Production ready? 

Regards
Tapan Thapa 





RE: Scheduling Question

2010-06-24 Thread Rene Kluwen
A more complex solution would be:

 

2 sms groups that connect to the localhost http service (or smppbox)… Each with 
a different throughput. This box further relays to your provider in one session.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 17:45
To: Nikos Balkanas
Cc: Kannel list
Subject: Re: Scheduling Question

 


Thanks for the reply Nikos but my provider is not ready to provide me two 
sessions. Can we have something else here.

Regards
Tapan Thapa

--- On Thu, 24/6/10, Nikos Balkanas  wrote:


From: Nikos Balkanas 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "'Kannel list'" 
Date: Thursday, 24 June, 2010, 9:58 AM

Hi,

You could also define 2 smsc groups, with different smsc-ids, all to the same 
smsc. Assign throughput 3 to the 1 & 2 to the other. Then put preferred-smsc-id 
to 1 itself and allowed-smsc-id to 2 itself. Send sqlbox traffic to the 1(3) 
and important traffic (I assume less) to the 2. This way you will have 
guaranteed reserved 2 SMS/s always for important traffic, and if it fills up 
you could send it over smsc 1 as well.

Hope this helps,
Nikos
- Original Message - From: T.K.Thapa
To: 'Nikos Balkanas' ; 'sangprabv' ; Rene Kluwen
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 5:40 PM
Subject: RE: Scheduling Question


What exactly i am trying to achieve here is, our SMPP provider has provided us 
5 msg per second throughput and i have two users. First user is submitting sms 
directly into sqlbox database (sqlbox is connected to bearerbox) and second 
user is submitting sms via cgi url (smsbox directly connected to same 
bearerbox). Messages of second user are very critical so if first user (sqlbox) 
submit large/huge sms into sqlbox then also sqlbox should not send sms to 
bearerbox more then 5 msg per second although if first user sends sms 
in-between then, first user sms should pass immediately before sqlbox submitted 
messages.

I also want to know if messages submitted by sqlbox are high in quantity then 
can we somehow tweak sqlbox to submit sms to bearerbox between 9 A.M. to 7 P.M. 
(or any timing configurable)

Please suggest.

Regards
Tapan Thapa

--- On Mon, 21/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'Nikos Balkanas'" , "'sangprabv'" 
, "'T.K.Thapa'" 
Cc: "'Kannel list'" 
Date: Monday, 21 June, 2010, 7:40 PM


That's correct. It depends on what you want to achieve.
If you don't want to the queue to be too large because you are getting
throttling errors. Then the throughput directive of group = smsc is the item
to use.
See documentation.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: maandag 21 juni 2010 15:34
To: Rene Kluwen; 'sangprabv'; 'T.K.Thapa'
Cc: 'Kannel list'
Subject: Re: Scheduling Question

Not only that. It will also limit bandwidth on each smsc traffic, according
to your agreements/specifications. I believe that the SMPP driver supports
it now correctly. By all means, use it, if you are getting a lot of
throttling errors in your logs and your SMSc will allow only a certain
amount of SMS/s. After all, that is what it was created for. Don't be
concerned about your queue. It will not get any larger if you already get
throttling errors.

BR,
Nikos
- Original Message - From: Rene Kluwen
To: 'sangprabv' ; 'T.K.Thapa'
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 3:04 PM
Subject: RE: Scheduling Question


Throughput is for smsc trotteling.
The bearerbox queue will only get larger if you use this.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of sangprabv
Sent: maandag 21 juni 2010 9:50
To: T.K.Thapa
Cc: Kannel list
Subject: Re: Scheduling Question

it's in the smsc group, check it out.



sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 2:26 PM, T.K.Thapa wrote:



Where i need to configure throughput directive?

Do i need to configure in bearerbox or sqlbox?

if i am configuring in bearerbox then it will only limit bearerbox to submit

at defined rate to smsc. it will not limit sqlbox to submit at defined rate
to bearerbox.

Regards
Tapan Thapa

--- On Mon, 21/6/10, sangprabv  wrote:

From: sangprabv 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "Rene Kluwen" , "Kannel list" 
Date: Monday, 21 June, 2010, 10:41 AM
You can use throughput directive.


sangprabv
sangpr...@gmail.com




On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:



Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5
message per second so that no queue is built at bearerbox for particular
smsc.
2. If there is a queue at bearerbox (particular s

RE: SMPPBox Questions

2010-06-24 Thread Rene Kluwen
No, that is not possible. But maybe you can grep the kannel-access.log file?


== Rene

 

From: T.K.Thapa [mailto:tapan_thapa2...@yahoo.com] 
Sent: donderdag 24 juni 2010 18:40
To: 'Kannel list'; Rene Kluwen
Subject: RE: SMPPBox Questions

 


One more question.

1. Can we create different logging file for each created user so that 
mis/reports can be made accordingly?

Regards
Tapan Thapa

--- On Thu, 24/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: SMPPBox Questions
To: "'T.K.Thapa'" , "'Kannel list'" 

Date: Thursday, 24 June, 2010, 9:39 PM

Few answers to your questions:

1. Yes, you can see in the admin page of bearerbox, a different connected 
smsbox for each user
2. No, this cannot be done as of the current version
3. No, also this is not possible
4. Maybe some users on the list that use this currently can provide more 
information. As for myself, and some clients, we are using it for over a year 
already in production.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 18:01
To: Kannel list
Subject: SMPPBox Questions

Hi,

Few questions about SMPPBox.

1. Do we have any admin port/interface for SMPPBOX to see how many connected 
users are in SMPPBOX?
2. In client config of SMPPBox, can we restrict created user to login as tx,rx 
or trx with limited sessions.
3. Can we create prepaid SMPPBox accounts?
4. Is opensource SMPPbox Production ready? 

Regards
Tapan Thapa 



 



RE: Scheduling Question

2010-06-24 Thread Rene Kluwen
Probably you need a small patch to the sqlbox source code, before it will work.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 18:53
To: Alvaro Cornejo
Cc: Kannel list
Subject: Re: Scheduling Question

 


This seems great idea. I will check this out.

Two SQLBOXs, 1st will have 3 messages per second in sqlbox query and 2nd will 
have 2 message per second in sqlbox query.

Rane: Can you confirm if this will work?

Regards
Tapan Thapa

--- On Thu, 24/6/10, Alvaro Cornejo  wrote:


From: Alvaro Cornejo 
Subject: Re: Scheduling Question
To: "Rene Kluwen" 
Cc: "T.K.Thapa" , "Nikos Balkanas" 
, "Kannel list" 
Date: Thursday, 24 June, 2010, 10:19 PM

Maybe you can doit with sqlbox??? 

 

If I do remember well, sqlbox has an option where you can configure how many 
messages get per loop it sends to bb. You can connect 2 sqlboxes each with a 
different number of messages per loop/query

 

??

 

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



On Thu, Jun 24, 2010 at 11:11 AM, Rene Kluwen  wrote:

A more complex solution would be:

 

2 sms groups that connect to the localhost http service (or smppbox)… Each with 
a different throughput. This box further relays to your provider in one session.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 17:45
To: Nikos Balkanas 


Cc: Kannel list
Subject: Re: Scheduling Question

 


Thanks for the reply Nikos but my provider is not ready to provide me two 
sessions. Can we have something else here.

Regards
Tapan Thapa

--- On Thu, 24/6/10, Nikos Balkanas  wrote:


From: Nikos Balkanas 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "'Kannel list'" 
Date: Thursday, 24 June, 2010, 9:58 AM

Hi,

You could also define 2 smsc groups, with different smsc-ids, all to the same 
smsc. Assign throughput 3 to the 1 & 2 to the other. Then put preferred-smsc-id 
to 1 itself and allowed-smsc-id to 2 itself. Send sqlbox traffic to the 1(3) 
and important traffic (I assume less) to the 2. This way you will have 
guaranteed reserved 2 SMS/s always for important traffic, and if it fills up 
you could send it over smsc 1 as well.

Hope this helps,
Nikos
- Original Message - From: T.K.Thapa
To: 'Nikos Balkanas' ; 'sangprabv' ; Rene Kluwen
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 5:40 PM
Subject: RE: Scheduling Question


What exactly i am trying to achieve here is, our SMPP provider has provided us 
5 msg per second throughput and i have two users. First user is submitting sms 
directly into sqlbox database (sqlbox is connected to bearerbox) and second 
user is submitting sms via cgi url (smsbox directly connected to same 
bearerbox). Messages of second user are very critical so if first user (sqlbox) 
submit large/huge sms into sqlbox then also sqlbox should not send sms to 
bearerbox more then 5 msg per second although if first user sends sms 
in-between then, first user sms should pass immediately before sqlbox submitted 
messages.

I also want to know if messages submitted by sqlbox are high in quantity then 
can we somehow tweak sqlbox to submit sms to bearerbox between 9 A.M. to 7 P.M. 
(or any timing configurable)

Please suggest.

Regards
Tapan Thapa

--- On Mon, 21/6/10, Rene Kluwen http://mc/compose?to=rene.klu...@chimit.nl> > wrote:


From: Rene Kluwen http://mc/compose?to=rene.klu...@chimit.nl> >
Subject: RE: Scheduling Question
To: "'Nikos Balkanas'" http://mc/compose?to=nbalka...@gmail.com> >, "'sangprabv'" 
http://mc/compose?to=sangpr...@gmail.com> >, 
"'T.K.Thapa'" http://mc/compose?to=tapan_thapa2...@yahoo.com> >
Cc: "'Kannel list'" http://mc/compose?to=us...@kannel.org> >
Date: Monday, 21 June, 2010, 7:40 PM


That's correct. It depends on what you want to achieve.
If you don't want to the queue to be too large because you are getting
throttling errors. Then the throughput directive of group = smsc is the item
to use.
See documentation.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com 
<http://mc/compose?to=nbalka...@gmail.com> ]
Sent: maandag 21 juni 2010 15:34
To: Rene Kluwen; 'sangprabv'; 'T.K.Thapa'
Cc: 'Kannel list'
Subject: Re: Scheduling Question

Not only that. It will also limit bandwidth on each smsc traffic, according
to your agreement

RE: Scheduling Question

2010-06-25 Thread Rene Kluwen
Or use sqlbox with the scheduling patch that was posted recently.

And send out 3 messages per time-frame/second.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 18:53
To: Alvaro Cornejo
Cc: Kannel list
Subject: Re: Scheduling Question

 


This seems great idea. I will check this out.

Two SQLBOXs, 1st will have 3 messages per second in sqlbox query and 2nd will 
have 2 message per second in sqlbox query.

Rane: Can you confirm if this will work?

Regards
Tapan Thapa

--- On Thu, 24/6/10, Alvaro Cornejo  wrote:


From: Alvaro Cornejo 
Subject: Re: Scheduling Question
To: "Rene Kluwen" 
Cc: "T.K.Thapa" , "Nikos Balkanas" 
, "Kannel list" 
Date: Thursday, 24 June, 2010, 10:19 PM

Maybe you can doit with sqlbox??? 

 

If I do remember well, sqlbox has an option where you can configure how many 
messages get per loop it sends to bb. You can connect 2 sqlboxes each with a 
different number of messages per loop/query

 

??

 

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



On Thu, Jun 24, 2010 at 11:11 AM, Rene Kluwen  wrote:

A more complex solution would be:

 

2 sms groups that connect to the localhost http service (or smppbox)… Each with 
a different throughput. This box further relays to your provider in one session.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 17:45
To: Nikos Balkanas 


Cc: Kannel list
Subject: Re: Scheduling Question

 


Thanks for the reply Nikos but my provider is not ready to provide me two 
sessions. Can we have something else here.

Regards
Tapan Thapa

--- On Thu, 24/6/10, Nikos Balkanas  wrote:


From: Nikos Balkanas 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "'Kannel list'" 
Date: Thursday, 24 June, 2010, 9:58 AM

Hi,

You could also define 2 smsc groups, with different smsc-ids, all to the same 
smsc. Assign throughput 3 to the 1 & 2 to the other. Then put preferred-smsc-id 
to 1 itself and allowed-smsc-id to 2 itself. Send sqlbox traffic to the 1(3) 
and important traffic (I assume less) to the 2. This way you will have 
guaranteed reserved 2 SMS/s always for important traffic, and if it fills up 
you could send it over smsc 1 as well.

Hope this helps,
Nikos
- Original Message - From: T.K.Thapa
To: 'Nikos Balkanas' ; 'sangprabv' ; Rene Kluwen
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 5:40 PM
Subject: RE: Scheduling Question


What exactly i am trying to achieve here is, our SMPP provider has provided us 
5 msg per second throughput and i have two users. First user is submitting sms 
directly into sqlbox database (sqlbox is connected to bearerbox) and second 
user is submitting sms via cgi url (smsbox directly connected to same 
bearerbox). Messages of second user are very critical so if first user (sqlbox) 
submit large/huge sms into sqlbox then also sqlbox should not send sms to 
bearerbox more then 5 msg per second although if first user sends sms 
in-between then, first user sms should pass immediately before sqlbox submitted 
messages.

I also want to know if messages submitted by sqlbox are high in quantity then 
can we somehow tweak sqlbox to submit sms to bearerbox between 9 A.M. to 7 P.M. 
(or any timing configurable)

Please suggest.

Regards
Tapan Thapa

--- On Mon, 21/6/10, Rene Kluwen http://mc/compose?to=rene.klu...@chimit.nl> > wrote:


From: Rene Kluwen http://mc/compose?to=rene.klu...@chimit.nl> >
Subject: RE: Scheduling Question
To: "'Nikos Balkanas'" http://mc/compose?to=nbalka...@gmail.com> >, "'sangprabv'" 
http://mc/compose?to=sangpr...@gmail.com> >, 
"'T.K.Thapa'" http://mc/compose?to=tapan_thapa2...@yahoo.com> >
Cc: "'Kannel list'" http://mc/compose?to=us...@kannel.org> >
Date: Monday, 21 June, 2010, 7:40 PM


That's correct. It depends on what you want to achieve.
If you don't want to the queue to be too large because you are getting
throttling errors. Then the throughput directive of group = smsc is the item
to use.
See documentation.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com 
<http://mc/compose?to=nbalka...@gmail.com> ]
Sent: maandag 21 juni 2010 15:34
To: Rene Kluwen; 'sangprabv'; 'T.K.Thapa'
Cc: 'Kannel list'
Subject: Re: Scheduling Question

Not only that. It will also limit bandwidth on

RE: DLR

2010-06-25 Thread Rene Kluwen
Especially the parts about dlr-mask and dlr-url.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: vrijdag 25 juni 2010 15:34
To: Omar THIAM
Cc: users@kannel.org
Subject: Re: DLR

Hi,

Please do not ask such questions from devel. Use users list instead.

DLR_SUCCESS is sent by the SIM of the recipient mobile. Therefore it is as 
final as possible, without the recipient himself answering it.
As far as sending SMS with kannel, please read the User's guide in 
http://www.kannel.org.

BR,
Nikos
- Original Message - 
From: Omar THIAM
To: nbalka...@gmail.com ; de...@kannel.org
Sent: Friday, June 25, 2010 4:22 PM
Subject: DLR


Hello evrybody,

I'm asquing about DLR.
when i use kannel for sendig sms to mobile,
How can i no that my sms is delivered compledly to the destination mobile?



Votre messagerie et bien plus oω que vous soyez. Passez ΰ Windows Live 
Hotmail, c'est gratuit ! Inscrivez-vous 







RE: Scheduling Question

2010-06-25 Thread Rene Kluwen
Yes, I am talking about changing the sql query.

After that, you can send each message with a specified interval of your own.

 

Note also the throughput per smsc thread. The above mentioned workaround 
doesn’t allow for telling if an smsc is (temporarily) down.

 

== Rene

 

From: T.K.Thapa [mailto:tapan_thapa2...@yahoo.com] 
Sent: vrijdag 25 juni 2010 18:49
To: 'Alvaro Cornejo'; Rene Kluwen
Cc: 'Kannel list'
Subject: RE: Scheduling Question

 


Hi Rene,

What do you mean "use sqlbox with the scheduling patch"?  Do you mean sql query 
in the code which need to be tweaked or you have made some changes in the 
sqlbox code with scheduling feature or something else?

Regards
Tapan Thapa

--- On Fri, 25/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: Scheduling Question
To: "'T.K.Thapa'" , "'Alvaro Cornejo'" 

Cc: "'Kannel list'" 
Date: Friday, 25 June, 2010, 4:36 PM

Or use sqlbox with the scheduling patch that was posted recently.

And send out 3 messages per time-frame/second.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 18:53
To: Alvaro Cornejo
Cc: Kannel list
Subject: Re: Scheduling Question

 


This seems great idea. I will check this out.

Two SQLBOXs, 1st will have 3 messages per second in sqlbox query and 2nd will 
have 2 message per second in sqlbox query.

Rane: Can you confirm if this will work?

Regards
Tapan Thapa

--- On Thu, 24/6/10, Alvaro Cornejo  wrote:


From: Alvaro Cornejo 
Subject: Re: Scheduling Question
To: "Rene Kluwen" 
Cc: "T.K.Thapa" , "Nikos Balkanas" 
, "Kannel list" 
Date: Thursday, 24 June, 2010, 10:19 PM

Maybe you can doit with sqlbox??? 

 

If I do remember well, sqlbox has an option where you can configure how many 
messages get per loop it sends to bb. You can connect 2 sqlboxes each with a 
different number of messages per loop/query

 

??

 

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

On Thu, Jun 24, 2010 at 11:11 AM, Rene Kluwen  wrote:

A more complex solution would be:

 

2 sms groups that connect to the localhost http service (or smppbox)… Each with 
a different throughput. This box further relays to your provider in one session.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
T.K.Thapa
Sent: donderdag 24 juni 2010 17:45
To: Nikos Balkanas 


Cc: Kannel list
Subject: Re: Scheduling Question

 


Thanks for the reply Nikos but my provider is not ready to provide me two 
sessions. Can we have something else here.

Regards
Tapan Thapa

--- On Thu, 24/6/10, Nikos Balkanas  wrote:


From: Nikos Balkanas 
Subject: Re: Scheduling Question
To: "T.K.Thapa" 
Cc: "'Kannel list'" 
Date: Thursday, 24 June, 2010, 9:58 AM

Hi,

You could also define 2 smsc groups, with different smsc-ids, all to the same 
smsc. Assign throughput 3 to the 1 & 2 to the other. Then put preferred-smsc-id 
to 1 itself and allowed-smsc-id to 2 itself. Send sqlbox traffic to the 1(3) 
and important traffic (I assume less) to the 2. This way you will have 
guaranteed reserved 2 SMS/s always for important traffic, and if it fills up 
you could send it over smsc 1 as well.

Hope this helps,
Nikos
- Original Message - From: T.K.Thapa
To: 'Nikos Balkanas' ; 'sangprabv' ; Rene Kluwen
Cc: 'Kannel list'
Sent: Monday, June 21, 2010 5:40 PM
Subject: RE: Scheduling Question


What exactly i am trying to achieve here is, our SMPP provider has provided us 
5 msg per second throughput and i have two users. First user is submitting sms 
directly into sqlbox database (sqlbox is connected to bearerbox) and second 
user is submitting sms via cgi url (smsbox directly connected to same 
bearerbox). Messages of second user are very critical so if first user (sqlbox) 
submit large/huge sms into sqlbox then also sqlbox should not send sms to 
bearerbox more then 5 msg per second although if first user sends sms 
in-between then, first user sms should pass immediately before sqlbox submitted 
messages.

I also want to know if messages submitted by sqlbox are high in quantity then 
can we somehow tweak sqlbox to submit sms to bearerbox between 9 A.M. to 7 P.M. 
(or any timing configurable)

Please suggest.

Regards
Tapan Thapa

--- On Mon, 21/6/10, Rene Kluwen < <http://mc/compose?to=rene.klu...@chimit.nl> 

RE: SMPPBOX - problem with long Incoming SMS (MO)

2010-06-28 Thread Rene Kluwen
Sure thing. We are working on it at this very moment.
Just remember: This is free software (free as in speech AND as in beer).
Sometimes it takes a little bit longer to get things done.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tomasz
Sent: maandag 28 juni 2010 22:02
To: users@kannel.org
Subject: Re: SMPPBOX - problem with long Incoming SMS (MO)

Hi,

I've read in SMPP specification that short_message field in The
deliver_sm PDU can contain 0-254 chars only. I've found that SMPPBOX
sends more characters here so it breaks SMPP protocol and that is why
Kannel 1 can't receive that message correctly. So it is 100% SMPPBOX
bug.

In SMPP specification (by SMPP Developers Forum), near short_message
field description I can read :

"Up to 254 octets of short message user data. When sending messages
longer than 254 octets the message_payload parameter should be used
and the sm_length parameter should be set to zero.

Note: The message data should be inserted in either the short_message
or the message_payload parameters. Both parameters must not be used
simultaneously.

Could someone provide a patch to resolve this issue?

Thanks,
Tomasz


W Twoim liście datowanym 25 czerwca 2010 (07:41:05) można przeczytać:

> Hi,

> I'm sending logs of Bearerbox 1 & 2 and SMPPBOX on debug level:

> SMPPBOX log (Kannel 2):

> 2010-06-25 07:12:01 [21850] [1] INFO: We received an SMS message.
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Manually forced
> source addr ton = 0, source add npi = 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Manually forced
> dest addr ton = 0, dest add npi = 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Sending PDU:
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP PDU 0x70b3c0 dump:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   type_name: deliver_sm
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   command_id: 5 = 0x0005
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   command_status: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sequence_number: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   service_type: NULL
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr_ton: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr_npi: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr: "+48601232323"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   dest_addr_ton: 1 = 0x0001
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   dest_addr_npi: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   destination_addr: "48513123434"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   esm_class: 3 = 0x0003
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   protocol_id: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   priority_flag: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   schedule_delivery_time: NULL
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   validity_period:
"100625051201000+"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   registered_delivery: 0 =
0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   replace_if_present_flag: 0 =
0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   data_coding: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sm_default_msg_id: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sm_length: 256 = 0x0100
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   short_message:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:Octet string at 0x70b5d0:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  len:  256
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  size: 257
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  immutable: 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 54 65 73 74 20 74
> 65 73 74 20 74 75 74 75 75 75   Test test tutuuu
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 20 6a 6a 6a 6a 6a
> 20 6a 6a 6a 6a 6a 20 6b 6c 61j j kla
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 63 63 61 63 61 63
> 61 20 62 61 62 61 20 6a 6a 6a   ccacaca baba jjj
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 6a 6a 20 6a 6a 6a
> 6a 6a 20 6a 6a 6a 6a 6a 20 6b   jj j j k
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 6c 69 6b 20 3a 2d
> 29 3a 2d 29 3a 2d 29 3a 2d 29   lik :-):-):-):-)
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 2e 31 3a 2d 29 3a
> 2d 29 3a 2d 29 3a 2d 29 3a 2d   .1:-):-):-):-):-
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 29 3a 2d 29 3a 2d
> 29 3a 2d 29 3a 2d 29 3a 2d 29   ):-):-):-):-):-)
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 3a 29 3a 2d 29 3a
> 2d 29 3a 2d 29 3a 2d 29 3a 2d   :):-):-):-):-):-
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 29 3a 2d 29 3a 2d
> 29 3a 2d 29 3a 2d 29 3a 2d 29   ):-):-):-):-):-)
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 3a 29 62 61 20 3a
> 2d 29 3a 2d 29 3a 2d 29 3a 2d   :)ba :-):-):-):-
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 29 2e 2d 62 61 62
> 61 31 61 61 61 61 61 61 61 61   ).-baba1
> 2010-06-25 07:12:01 [2185

RE: Kannel SMS speed control

2010-06-29 Thread Rene Kluwen
Look at the troughput directive in group = smsc.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Harmeet Singh Dhingra
Sent: dinsdag 29 juni 2010 4:51
To: users@kannel.org
Subject: Kannel SMS speed control

Hi,

I am using Kannel CVS Version.

Please help me to know that How many SMS can kannel sent PER/MIN using
SMPP server.

Can i control the speed of sending message of Kannel on the basis of
send-sms user group.

Regards
Harmeet Singh






RE: ESME Session

2010-06-29 Thread Rene Kluwen
I think current SMPP box version only allows for one session per user at the
same time.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Sandesh Waman // Viva
Sent: dinsdag 29 juni 2010 12:51
To: Kannel Users
Subject: ESME Session

 

Dear All,

I am using SMPP BOX but getting some error.
Scenario:

I am using kannel as client and SMPPBOX as server.
When I bind accounts for more than 1 instance on kannel and starting the
kannel, then Unknown sessions on SMPP BOX (ESME) get increase automatically.
Is this a bug or I have done any mistake.

Waiting for reply.

Thanks in advance,
Sandesh 



RE: Does Kannel always place the message_id from a submit_sm_resp into timestamp for a DLR using SMPP 3.4

2010-06-29 Thread Rene Kluwen
Yes, this is always the case. But the row get deleted again after the
message reaches a final delivery state.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of brett skinner
Sent: dinsdag 29 juni 2010 13:21
To: users@kannel.org
Subject: Does Kannel always place the message_id from a submit_sm_resp into
timestamp for a DLR using SMPP 3.4

 

Hi

I was checking in the SMPP 3.4 spec and came across the submit_sm_resp PDU
which specifies a message_id field. According to the spec:

This field contains the SMSC
message ID of the submitted
message. It may be used at a
later stage to query the status
of a message, cancel or
replace the message.

We are using MySql DLR. Looking at the debug output from Kannel:

2010-06-29 13:13:31 [3124] [6] DEBUG:   message_id: "50062913133840086"
2010-06-29 13:13:31 [3124] [6] DEBUG: SMPP PDU dump ends.
2010-06-29 13:13:31 [3124] [6] DEBUG: DLR[mysql]: Adding DLR smsc=,
ts=50062913133840086, src=+1231234, dst=+1231234, mask=31, boxc=
 
It seems that it is placing the message_id into the ts field. Is this always
the case?

Regards,



RE: SMPPBOX - problem with long Incoming SMS (MO)

2010-06-29 Thread Rene Kluwen
Sorry, I was mistaken.
Point that I was making is that most of us have a day time occupation and have 
limited time available to make patches for Kannel.

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: dinsdag 29 juni 2010 4:20
To: Rene Kluwen; 'Tomasz'; users@kannel.org
Subject: Re: SMPPBOX - problem with long Incoming SMS (MO)

But, beer is not free! :-(

Nikos
- Original Message - 
From: "Rene Kluwen" 
To: "'Tomasz'" ; 
Sent: Monday, June 28, 2010 11:43 PM
Subject: RE: SMPPBOX - problem with long Incoming SMS (MO)


Sure thing. We are working on it at this very moment.
Just remember: This is free software (free as in speech AND as in beer).
Sometimes it takes a little bit longer to get things done.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tomasz
Sent: maandag 28 juni 2010 22:02
To: users@kannel.org
Subject: Re: SMPPBOX - problem with long Incoming SMS (MO)

Hi,

I've read in SMPP specification that short_message field in The
deliver_sm PDU can contain 0-254 chars only. I've found that SMPPBOX
sends more characters here so it breaks SMPP protocol and that is why
Kannel 1 can't receive that message correctly. So it is 100% SMPPBOX
bug.

In SMPP specification (by SMPP Developers Forum), near short_message
field description I can read :

"Up to 254 octets of short message user data. When sending messages
longer than 254 octets the message_payload parameter should be used
and the sm_length parameter should be set to zero.

Note: The message data should be inserted in either the short_message
or the message_payload parameters. Both parameters must not be used
simultaneously.

Could someone provide a patch to resolve this issue?

Thanks,
Tomasz


W Twoim li¶cie datowanym 25 czerwca 2010 (07:41:05) moΏna przeczytaζ:

> Hi,

> I'm sending logs of Bearerbox 1 & 2 and SMPPBOX on debug level:

> SMPPBOX log (Kannel 2):

> 2010-06-25 07:12:01 [21850] [1] INFO: We received an SMS message.
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Manually forced
> source addr ton = 0, source add npi = 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Manually forced
> dest addr ton = 0, dest add npi = 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP[main]: Sending PDU:
> 2010-06-25 07:12:01 [21850] [1] DEBUG: SMPP PDU 0x70b3c0 dump:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   type_name: deliver_sm
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   command_id: 5 = 0x0005
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   command_status: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sequence_number: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   service_type: NULL
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr_ton: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr_npi: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   source_addr: "+48601232323"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   dest_addr_ton: 1 = 0x0001
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   dest_addr_npi: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   destination_addr: "48513123434"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   esm_class: 3 = 0x0003
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   protocol_id: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   priority_flag: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   schedule_delivery_time: NULL
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   validity_period:
"100625051201000+"
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   registered_delivery: 0 =
0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   replace_if_present_flag: 0 =
0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   data_coding: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sm_default_msg_id: 0 = 0x
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   sm_length: 256 = 0x0100
> 2010-06-25 07:12:01 [21850] [1] DEBUG:   short_message:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:Octet string at 0x70b5d0:
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  len:  256
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  size: 257
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  immutable: 0
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 54 65 73 74 20 74
> 65 73 74 20 74 75 74 75 75 75   Test test tutuuu
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 20 6a 6a 6a 6a 6a
> 20 6a 6a 6a 6a 6a 20 6b 6c 61j j kla
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 63 63 61 63 61 63
> 61 20 62 61 62 61 20 6a 6a 6a   ccacaca baba jjj
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 6a 6a 20 6a 6a 6a
> 6a 6a 20 6a 6a 6a 6a 6a 20 6b   jj j j k
> 2010-06-25 07:12:01 [21850] [1] DEBUG:  data: 6c 69 6b 20 3a 2

RE: SMPP Delivery Reports Issue

2010-06-29 Thread Rene Kluwen
What happens if you try to do the same insert, manually? Do you get an error
message?

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jinson
Sent: dinsdag 29 juni 2010 19:00
To: users
Subject: SMPP Delivery Reports Issue

 

Hello Users,

 

I've configured a new SMSC on my existing kannel installation. My DLRs are
not working on this SMSC. I'm using mysql DLR storage. I can see the insert
queries in the log but nothing gets inserted into the DB. DLRs are coming on
SMPP properly.

 

 

2010-06-29 16:55:18 [24139] [22] DEBUG:   priority_flag: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   schedule_delivery_time: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   validity_period: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   registered_delivery: 1 =
0x0001

2010-06-29 16:55:18 [24139] [22] DEBUG:   replace_if_present_flag: 0 =
0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   data_coding: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_default_msg_id: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_length: 8 = 0x0008

2010-06-29 16:55:18 [24139] [22] DEBUG:   short_message: "Test SMS"

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU 0x795bf0 dump:

2010-06-29 16:55:18 [24139] [22] DEBUG:   type_name: submit_sm_resp

2010-06-29 16:55:18 [24139] [22] DEBUG:   command_id: 2147483652 =
0x8004

2010-06-29 16:55:18 [24139] [22] DEBUG:   command_status: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sequence_number: 18 = 0x0012

2010-06-29 16:55:18 [24139] [22] DEBUG:   message_id: "51"

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.

2010-06-29 16:55:18 [24139] [22] DEBUG: DLR[mysql]: Adding DLR
smsc=160by2SMPP, ts=51, src=91X, dst=91X, mask=31,
boxc=fabox

2010-06-29 16:55:18 [24139] [22] DEBUG: sql: INSERT INTO kannel_table (smsc,
ts, source, destination, service, url, mask, boxc, status) VALUES
('XXXSMPP', '51', '91X', '91X', '',
'http://xxx.xxx.xxx/dlr.php?type=%d

&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=900629222518-836128', '31',
'faaabox', '0')

 

 

This is not getting inserted into the DB. Is there anything to do with
msg-id-type? Can somebody help me on this?



Thanks
Jinson Abraham






RE: SMPP Delivery Reports Issue

2010-06-29 Thread Rene Kluwen
Then maybe you should indeed set msg-id-type.

Someone else on the list may know what is going on.

I don't see how 51 translates to 70, no matter what base numerical system.

 

== Rene

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 19:37
To: Rene Kluwen
Cc: users
Subject: Re: SMPP Delivery Reports Issue

 

Hello,

 

I'm sorry for the confusion. It was getting inserted. But not processing the
DLRs.

 

I could see the following in my smsbox log

 

010-06-29 17:35:36 [24643] [4] WARNING: No translation found for
 from <+xx> to <+xx>

2010-06-29 17:35:36 [24643] [4] ERROR: request failed

 

 



Thanks
Jinson Abraham





On Tue, Jun 29, 2010 at 10:56 PM, Rene Kluwen  wrote:

What happens if you try to do the same insert, manually? Do you get an error
message?

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jinson
Sent: dinsdag 29 juni 2010 19:00
To: users
Subject: SMPP Delivery Reports Issue

 

Hello Users,

 

I've configured a new SMSC on my existing kannel installation. My DLRs are
not working on this SMSC. I'm using mysql DLR storage. I can see the insert
queries in the log but nothing gets inserted into the DB. DLRs are coming on
SMPP properly.

 

 

2010-06-29 16:55:18 [24139] [22] DEBUG:   priority_flag: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   schedule_delivery_time: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   validity_period: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   registered_delivery: 1 =
0x0001

2010-06-29 16:55:18 [24139] [22] DEBUG:   replace_if_present_flag: 0 =
0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   data_coding: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_default_msg_id: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_length: 8 = 0x0008

2010-06-29 16:55:18 [24139] [22] DEBUG:   short_message: "Test SMS"

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU 0x795bf0 dump:

2010-06-29 16:55:18 [24139] [22] DEBUG:   type_name: submit_sm_resp

2010-06-29 16:55:18 [24139] [22] DEBUG:   command_id: 2147483652 =
0x8004

2010-06-29 16:55:18 [24139] [22] DEBUG:   command_status: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sequence_number: 18 = 0x0012

2010-06-29 16:55:18 [24139] [22] DEBUG:   message_id: "51"

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.

2010-06-29 16:55:18 [24139] [22] DEBUG: DLR[mysql]: Adding DLR
smsc=160by2SMPP, ts=51, src=91X, dst=91X, mask=31,
boxc=fabox

2010-06-29 16:55:18 [24139] [22] DEBUG: sql: INSERT INTO kannel_table (smsc,
ts, source, destination, service, url, mask, boxc, status) VALUES
('XXXSMPP', '51', '91X', '91X', '',
'http://xxx.xxx.xxx/dlr.php?type=%d
<http://xxx.xxx.xxx/dlr.php?type=%25d&kannel_id=%25F&msisdn=%25p&dlrvalue=%2
5A&message_id=900629222518-836128>
&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=900629222518-836128', '31',
'faaabox', '0')

 

 

This is not getting inserted into the DB. Is there anything to do with
msg-id-type? Can somebody help me on this?



Thanks
Jinson Abraham



 



RE: SMPP Delivery Reports Issue

2010-06-29 Thread Rene Kluwen
Destination address cannot be alpha-numeric.

You need to send to a real number.

 

Maybe you mixed up source and destination address?

 

== Rene

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 19:55
To: Rene Kluwen
Cc: users
Subject: Re: SMPP Delivery Reports Issue

 

That was for a different message ID. 

I tried all the combinations of message ID. But I doubt that the SMSC is
acting weired.

 

Please find the logs.

 

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP[160by2SMPP]: Sending PDU:

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU 0x2c00a580 dump:

2010-06-29 17:43:23 [24617] [22] DEBUG:   type_name: submit_sm

2010-06-29 17:43:23 [24617] [22] DEBUG:   command_id: 4 = 0x0004

2010-06-29 17:43:23 [24617] [22] DEBUG:   command_status: 0 = 0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   sequence_number: 37 = 0x0025

2010-06-29 17:43:23 [24617] [22] DEBUG:   service_type: NULL

2010-06-29 17:43:23 [24617] [22] DEBUG:   source_addr_ton: 1 = 0x0001

2010-06-29 17:43:23 [24617] [22] DEBUG:   source_addr_npi: 1 = 0x0001

2010-06-29 17:43:23 [24617] [22] DEBUG:   source_addr: "918089x"

2010-06-29 17:43:23 [24617] [22] DEBUG:   dest_addr_ton: 1 = 0x0001

2010-06-29 17:43:23 [24617] [22] DEBUG:   dest_addr_npi: 1 = 0x0001

2010-06-29 17:43:23 [24617] [22] DEBUG:   destination_addr: "Jinson"

2010-06-29 17:43:23 [24617] [22] DEBUG:   esm_class: 3 = 0x0003

2010-06-29 17:43:23 [24617] [22] DEBUG:   protocol_id: 0 = 0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   priority_flag: 0 = 0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   schedule_delivery_time: NULL

2010-06-29 17:43:23 [24617] [22] DEBUG:   validity_period: NULL

2010-06-29 17:43:23 [24617] [22] DEBUG:   registered_delivery: 0 =
0x

2010-06-29 17:43:23 [24617] [24] DEBUG: boxc_receiver: got ack

2010-06-29 17:43:23 [24617] [22] DEBUG:   replace_if_present_flag: 0 =
0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   data_coding: 0 = 0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   sm_default_msg_id: 0 = 0x

2010-06-29 17:43:23 [24617] [22] DEBUG:   sm_length: 14 = 0x000e

2010-06-29 17:43:23 [24617] [22] DEBUG:   short_message: "Request Failed"

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU dump ends.

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU 0x2c00a580 dump:

2010-06-29 17:43:23 [24617] [22] DEBUG:   type_name: submit_sm_resp

2010-06-29 17:43:23 [24617] [22] DEBUG:   command_id: 2147483652 =
0x8004

2010-06-29 17:43:23 [24617] [22] DEBUG:   command_status: 11 = 0x000b

2010-06-29 17:43:23 [24617] [22] DEBUG:   sequence_number: 37 = 0x0025

2010-06-29 17:43:23 [24617] [22] DEBUG:   message_id: NULL

2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU dump ends.

 

Thanks
Jinson Abraham




On Tue, Jun 29, 2010 at 11:13 PM, Rene Kluwen  wrote:

Then maybe you should indeed set msg-id-type.

Someone else on the list may know what is going on.

I don't see how 51 translates to 70, no matter what base numerical system.

 

== Rene

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 19:37
To: Rene Kluwen
Cc: users
Subject: Re: SMPP Delivery Reports Issue

 

Hello,

 

I'm sorry for the confusion. It was getting inserted. But not processing the
DLRs.

 

I could see the following in my smsbox log

 

010-06-29 17:35:36 [24643] [4] WARNING: No translation found for
 from <+xx> to <+xx>

2010-06-29 17:35:36 [24643] [4] ERROR: request failed

 

 



Thanks
Jinson Abraham




On Tue, Jun 29, 2010 at 10:56 PM, Rene Kluwen  wrote:

What happens if you try to do the same insert, manually? Do you get an error
message?

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jinson
Sent: dinsdag 29 juni 2010 19:00
To: users
Subject: SMPP Delivery Reports Issue

 

Hello Users,

 

I've configured a new SMSC on my existing kannel installation. My DLRs are
not working on this SMSC. I'm using mysql DLR storage. I can see the insert
queries in the log but nothing gets inserted into the DB. DLRs are coming on
SMPP properly.

 

 

2010-06-29 16:55:18 [24139] [22] DEBUG:   priority_flag: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   schedule_delivery_time: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   validity_period: NULL

2010-06-29 16:55:18 [24139] [22] DEBUG:   registered_delivery: 1 =
0x0001

2010-06-29 16:55:18 [24139] [22] DEBUG:   replace_if_present_flag: 0 =
0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   data_coding: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_default_msg_id: 0 = 0x

2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_length: 8 = 0x0008

2010-06-29 16:55:18 [24139] [22] DEBUG:   short_message: "Test SMS"

2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP

RE: SMPP Delivery Reports Issue

2010-06-29 Thread Rene Kluwen
It looks like your smsc sends the wrong esm_class for delivery receipts.

 

== Rene

 

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 20:10
To: Nikos Balkanas
Cc: Rene Kluwen; users
Subject: Re: SMPP Delivery Reports Issue

 

Yes. I have a dlr url and send-sms url works fine for all other SMSCs
configured. The problem is with this particular SMSC

 

I guess bb doesn't consider DLR and process it as an MO. Have attached
detailed logs.



Thanks
Jinson Abraham





2010/6/29 Nikos Balkanas 

Hi,

What do you mean "not processing"? Have you specified a dlr-url? What is
your sendsms url?

Please post also detailed bb logs of the deliver_sm for the DLR along with
some context. It seems that bb doesn't consider it a DLR, instead it thinks
it is an MO SMS, tries to find an sms-service for it and fails.

BR,
Nikos
- Original Message - From: Jinson


To: Rene Kluwen
Cc: users

Sent: Tuesday, June 29, 2010 8:37 PM
Subject: Re: SMPP Delivery Reports Issue




Hello,


I'm sorry for the confusion. It was getting inserted. But not processing the
DLRs.


I could see the following in my smsbox log


010-06-29 17:35:36 [24643] [4] WARNING: No translation found for
 from <+xx> to <+xx>
2010-06-29 17:35:36 [24643] [4] ERROR: request failed






Thanks
Jinson Abraham





On Tue, Jun 29, 2010 at 10:56 PM, Rene Kluwen  wrote:

What happens if you try to do the same insert, manually? Do you get an error
message?

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jinson
Sent: dinsdag 29 juni 2010 19:00
To: users
Subject: SMPP Delivery Reports Issue

Hello Users,

I've configured a new SMSC on my existing kannel installation. My DLRs are
not working on this SMSC. I'm using mysql DLR storage. I can see the insert
queries in the log but nothing gets inserted into the DB. DLRs are coming on
SMPP properly.


2010-06-29 16:55:18 [24139] [22] DEBUG:   priority_flag: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   schedule_delivery_time: NULL
2010-06-29 16:55:18 [24139] [22] DEBUG:   validity_period: NULL
2010-06-29 16:55:18 [24139] [22] DEBUG:   registered_delivery: 1 =
0x0001
2010-06-29 16:55:18 [24139] [22] DEBUG:   replace_if_present_flag: 0 =
0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   data_coding: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_default_msg_id: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_length: 8 = 0x0008
2010-06-29 16:55:18 [24139] [22] DEBUG:   short_message: "Test SMS"
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU 0x795bf0 dump:
2010-06-29 16:55:18 [24139] [22] DEBUG:   type_name: submit_sm_resp
2010-06-29 16:55:18 [24139] [22] DEBUG:   command_id: 2147483652 =
0x8004
2010-06-29 16:55:18 [24139] [22] DEBUG:   command_status: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sequence_number: 18 = 0x0012
2010-06-29 16:55:18 [24139] [22] DEBUG:   message_id: "51"
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 16:55:18 [24139] [22] DEBUG: DLR[mysql]: Adding DLR
smsc=160by2SMPP, ts=51, src=91X, dst=91X, mask=31,
boxc=fabox
2010-06-29 16:55:18 [24139] [22] DEBUG: sql: INSERT INTO kannel_table (smsc,
ts, source, destination, service, url, mask, boxc, status) VALUES
('XXXSMPP', '51', '91X', '91X', '',
'http://xxx.xxx.xxx/dlr.php?type=%d
<http://xxx.xxx.xxx/dlr.php?type=%25d&kannel_id=%25F&msisdn=%25p&dlrvalue=%2
5A&message_id=900629222518-836128>
&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=900629222518-836128', '31',
'faaabox', '0')


This is not getting inserted into the DB. Is there anything to do with
msg-id-type? Can somebody help me on this?


Thanks
Jinson Abraham 

 



RE: SMPP Delivery Reports Issue

2010-06-29 Thread Rene Kluwen
It should be 2C hex or more.

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 20:21
To: Rene Kluwen
Cc: Nikos Balkanas; users
Subject: Re: SMPP Delivery Reports Issue

 

Whats the correct esm_class for DLRs?

Thanks
Jinson Abraham



On Tue, Jun 29, 2010 at 11:49 PM, Rene Kluwen  wrote:

It looks like your smsc sends the wrong esm_class for delivery receipts.

 

== Rene

 

 

From: Jinson [mailto:jin...@mobme.in] 
Sent: dinsdag 29 juni 2010 20:10
To: Nikos Balkanas
Cc: Rene Kluwen; users


Subject: Re: SMPP Delivery Reports Issue

 

Yes. I have a dlr url and send-sms url works fine for all other SMSCs
configured. The problem is with this particular SMSC

 

I guess bb doesn't consider DLR and process it as an MO. Have attached
detailed logs.



Thanks
Jinson Abraham




2010/6/29 Nikos Balkanas 

Hi,

What do you mean "not processing"? Have you specified a dlr-url? What is
your sendsms url?

Please post also detailed bb logs of the deliver_sm for the DLR along with
some context. It seems that bb doesn't consider it a DLR, instead it thinks
it is an MO SMS, tries to find an sms-service for it and fails.

BR,
Nikos
- Original Message - From: Jinson


To: Rene Kluwen
Cc: users

Sent: Tuesday, June 29, 2010 8:37 PM
Subject: Re: SMPP Delivery Reports Issue




Hello,


I'm sorry for the confusion. It was getting inserted. But not processing the
DLRs.


I could see the following in my smsbox log


010-06-29 17:35:36 [24643] [4] WARNING: No translation found for
 from <+xx> to <+xx>
2010-06-29 17:35:36 [24643] [4] ERROR: request failed






Thanks
Jinson Abraham





On Tue, Jun 29, 2010 at 10:56 PM, Rene Kluwen  wrote:

What happens if you try to do the same insert, manually? Do you get an error
message?

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jinson
Sent: dinsdag 29 juni 2010 19:00
To: users
Subject: SMPP Delivery Reports Issue

Hello Users,

I've configured a new SMSC on my existing kannel installation. My DLRs are
not working on this SMSC. I'm using mysql DLR storage. I can see the insert
queries in the log but nothing gets inserted into the DB. DLRs are coming on
SMPP properly.


2010-06-29 16:55:18 [24139] [22] DEBUG:   priority_flag: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   schedule_delivery_time: NULL
2010-06-29 16:55:18 [24139] [22] DEBUG:   validity_period: NULL
2010-06-29 16:55:18 [24139] [22] DEBUG:   registered_delivery: 1 =
0x0001
2010-06-29 16:55:18 [24139] [22] DEBUG:   replace_if_present_flag: 0 =
0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   data_coding: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_default_msg_id: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sm_length: 8 = 0x0008
2010-06-29 16:55:18 [24139] [22] DEBUG:   short_message: "Test SMS"
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU 0x795bf0 dump:
2010-06-29 16:55:18 [24139] [22] DEBUG:   type_name: submit_sm_resp
2010-06-29 16:55:18 [24139] [22] DEBUG:   command_id: 2147483652 =
0x8004
2010-06-29 16:55:18 [24139] [22] DEBUG:   command_status: 0 = 0x
2010-06-29 16:55:18 [24139] [22] DEBUG:   sequence_number: 18 = 0x0012
2010-06-29 16:55:18 [24139] [22] DEBUG:   message_id: "51"
2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 16:55:18 [24139] [22] DEBUG: DLR[mysql]: Adding DLR
smsc=160by2SMPP, ts=51, src=91X, dst=91X, mask=31,
boxc=fabox
2010-06-29 16:55:18 [24139] [22] DEBUG: sql: INSERT INTO kannel_table (smsc,
ts, source, destination, service, url, mask, boxc, status) VALUES
('XXXSMPP', '51', '91X', '91X', '',
'http://xxx.xxx.xxx/dlr.php?type=%d
<http://xxx.xxx.xxx/dlr.php?type=%25d&kannel_id=%25F&msisdn=%25p&dlrvalue=%2
5A&message_id=900629222518-836128>
&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=900629222518-836128', '31',
'faaabox', '0')


This is not getting inserted into the DB. Is there anything to do with
msg-id-type? Can somebody help me on this?


Thanks
Jinson Abraham 

 

 



RE: Open DLRs

2010-07-01 Thread Rene Kluwen
Exactly: Responses are transmitted over the same link that they are
originated.
So that means when a submit_sm is sent (over the transmitter link) the
submit_sm__resp will also be sent to the transmitter link.

If not, you wouldn't even be able to bind successfully.

So Brett is right here.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: donderdag 1 juli 2010 17:03
To: brett skinner; users@kannel.org
Subject: Re: Open DLRs

Submit_sm_resp is originated on the SMSc. Therefore it, is sent over the 
Receiver. Where does it say on the SMPP spec that responses are transmitted 
differently than requests?

Nikos
- Original Message - 
From: brett skinner
To: users@kannel.org
Sent: Thursday, July 01, 2010 3:23 PM
Subject: Re: Open DLRs


It makes perfect sense according to the SMPP specification.


A connection is either bound as transmitter, receiver or both (transceiver).


A transmitter is for messages set to SMSC from ESME.
A receiver is for messages from SMSC to EMSE.
Transceiver does both.


So a submit_sm is a request to SMSC from ESME and the EMSE will acknowledge 
via a sm_submit_resp.


The deliver_sm is an SMSC originated message and will therefore go the 
receiver not the submitted. But all of this I am sure you know.


I had not set up a receiver port because I had intended to be in transceiver

mode but during all my testing I had commented out the transceiver-mode line

so effectively had this in my config.


#transceiver-mode = true


As soon as I took away the comments and started up again I received all the 
deliver_sm from the SMSC that had been queuing.


I have not submitted any logs or config because I have resolved my issue and

what happened can be easily explained by the SMPP protocol. Everything seems

to be working as designed.




2010/7/1 Nikos Balkanas 

Hi,

Nope. The same way you were getting submit_sm_resp, you should have gotten 
deliver_sm. What you say doesn't make much sense, but is difficult to say, 
since you never submitted any logs.


BR,
Nikos
- Original Message - From: brett skinner
To: users@kannel.org

Sent: Thursday, July 01, 2010 10:26 AM

Subject: Re: Open DLRs


Hi


I am assuming because I had bound as a transmitter and was sending submit_sm

packets that they were responding with submit_sm_resp. I think that is 
according to SMPP 3.4 spec. The only problem is that I was not getting the 
delivery receipts. It seems that Kannel treats the a positive submit_sm_resp

as a DLR to say enqueued.


Regards,


2010/6/30 Nikos Balkanas 

Hi,

How then did you get the submit_sm_resp from the SMSc?


BR,
Nikos
- Original Message - From: brett skinner
To: users@kannel.org

Sent: Wednesday, June 30, 2010 12:37 PM

Subject: Re: Open DLRs


Hi


It turns out that I had commented out the section where I put the bind into 
transceiver mode. Everything is working as expected.


Thank you for the help.


2010/6/30 Nikos Balkanas 

Hi,

No. You have done all you needed from kannel's side. If not seeing 
deliver_sm, try talking to your SMSc.


BR,
Nikos
- Original Message - From: brett skinner
To: users@kannel.org

Sent: Wednesday, June 30, 2010 11:17 AM
Subject: Re: Open DLRs



Hi Nikos


Thanks for your reply. That is the impression that I got. The only thing 
that is a little confusing right now is that I am not seeing the temporary 
DLRs in the MySQL table ever being removed. I am using SMPP and am testing 
by sending to an actual SMSC and I am getting the message on my handset. I 
see the submit_sm and submit_sm_resp in the logs. But no where do I see any 
deliver_sm in the logs. Do I need to specify anything extra when calling the

sends_sms URL? (I didn't see any additional parameters in the user guide). I

have waited a couple of hours after I received the SMS on my handset and 
still nothing from the SMSC and the DLRs are still in the table.


Last question: How does Kannel do the lookup to remove the DLR once it is 
received? Does it use the smsc and the ts fields assuming you are using 
SMPP?


Regards,



2010/6/30 Nikos Balkanas 

Hi,

The documentation is correct. DLR entries (internal to kannel but without 
final status) are created and inserted when the SMS is accepted by the SMSc 
and deleted when the external DLR (with final status) arrives from the SMSc.

This could last for the time it takes to deliver the SMS to the mobile. It 
could be anything from a few minutes to a couple of days. If DLRs are in 
memory, bb is restarted, and the final DLR from the SMSc is still pending, 
the entries will be erased from memory. The result is that when the external

status DLR arrives from the SMSc, there is no corresponding entry to match 
in kannel, and discarded. This doesn't happen if you use a DB for 
dlr-storage.

The DLR tables are to be used only internally by kannel. You can see the DLR

from bb access logs and you can even store it in your external web

RE: SMS TO EMAIL and EMAL TO SMS

2010-07-02 Thread Rene Kluwen
This is more of a question that belongs in the procmail mailing list than here.

The basic idea is to catch an email with procmail and feed it through a script 
in the language of your choice (e.g. perl).
This script then makes a connection to smsbox or sqlbox sending a message.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Waleed Zubair
Sent: vrijdag 2 juli 2010 11:57
To: users@kannel.org
Subject: Re: SMS TO EMAIL and EMAL TO SMS



Hi,
I am quite new to kannel, although i have configured kannel with sms and
database with php scripts.Now what i want is to use kannel for receiving an
email (SMTP format) and retrieve information from database as required or
mentioned in the email.I was reading in this forum that i can use procmail.
I tried to understand how procmail would be used , but failed.
Can you please help me out in this matter???
Thanks in advance..






Stipe Tolj wrote:
> 
> Tharanga schrieb:
>> Hi folks,
>> 
>> I need to redirect all my SMS to an specific email address and also reply
>> to
>> that email should be delivered to that particular mail box. is there any
>> opensource tool for that. or any plugin to kannel ?
> 
> consider using procmail as a "bridge way" from SMTP<->Kannel. I have no 
> setup for procmail, but it should be considerable easy to setup. For 
> SMTP->Kannel you would trigger the sendsms HTTP interface of smsbox. And 
> for MO you would call a sms-service URL that hits the SMTP interface
> again.
> 
> Of course this works very well when configured, but is not for high-load 
> messaging. In that case you would need to glue i.e. Exim or your 
> relevant MTA more directly to Kannel.
> 
> Stipe
> 
> ---
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
> 
> tolj.org system architecture  Kannel Software Foundation (KSF)
> http://www.tolj.org/  http://www.kannel.org/
> 
> mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
> ---
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SMS-TO-EMAIL--and--EMAL-TO-SMS-tp16043591p29054429.html
Sent from the Kannel - User mailing list archive at Nabble.com.







RE: Processing reply messages/SMS messages sent from SMSC

2010-07-02 Thread Rene Kluwen
Small hint: You can also contribute making the documentation clearer ;=).

 

I use:

 

group = sms-service

keyword = default

catch-all = true

get-url =
http://www.mydomain.com/sms/process_mo.php?text=%a&from=%p&to=%P&time=%T&bil
ling=%B&smsc=%i

accepted-smsc = my_smsc

omit-empty = true

accept-x-kannel-headers = true

 

I guess there is more than one way to achieve what you want and one doesn't
necessarily needs to be better than the other one.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of brett skinner
Sent: vrijdag 2 juli 2010 14:33
To: users@kannel.org
Subject: Processing reply messages/SMS messages sent from SMSC

 

Hi

 

Firstly I would like to thank the group for all the help that I have
received. I really appreciate it. Secondly I have found usig Kannel to be a
very pleasant experience so thanks for all the hard work. I unfortunately
know absolutely nothing about C and I think my Java knowledge just won't cut
it so I won't be able to make any contributions in terms of code.

 

I would just like to double check something with the group because the user
guide wasn't clear regarding my scenario. I would like to be able to process
replies SMSs to messages that I have been sent. The SMSC has given us some
numbers to use as the origin (or sender) number. If the person replies to
the message it will go the SMSC who then forwards it to us. From the logs it
appears as they are forwarding the messages to us as deliver_sm PDUs. 

 

When I get the message I would like to be able to process it. I don't want
to answer the message or do anything else. From what I gather I need to
setup an sms-service group as follows:

 

group = sms-service

keyword-regex = .*

catch-all = yes

get-url = "http://localhost:/Replies.php?params";

omit-empty = true

 

I want all SMS messages to be handled in the same way regardless of their
origins or keywords etc. I am also not looking to do any shortcode magic or
any replies. This is why I setup the keyword-regex to * so that this occurs
for all messages. I don't want to send anything back to their handset, this
is why I have included omit-empty = true. I found without this option that
the handset would receive .

 

Is this the preferred way to achieve what I am aiming for?

Is there anything that I should be aware of or any complications that might
arise?

 

Regards,



RE: SMS TO EMAIL and EMAL TO SMS

2010-07-02 Thread Rene Kluwen
Procmail can catch the email and pass it through to a php script.
That php script should parse the email body and send out sms messages. Also it 
can "reply" to the email with the retrieved information with mail().

Just my question: Why are you posting in the Kannel group if you have an email 
problem? No where you state where you want to send an sms message.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Waleed Zubair
Sent: vrijdag 2 juli 2010 16:08
To: users@kannel.org
Subject: RE: SMS TO EMAIL and EMAL TO SMS


Thanx rene kluwen for replying.i m little bit confused.let me tell you my
problem in detail.

I have received an email, in which there is a query in the body of that
email.i want some sort of gateway(e.g procmail) which would initiate a php
script and that gateway(e.g procmail) should also pass some parameters from
the email's body to the php script.and then that php script after resolving
the query (as passed from email) from the database should sent the
appropriate required information back to that gateway (e.g procmail),and
then that gateway (e.g procmail) would be able to send that retrieved
information back to that particular email id.

is the above stated problem can be handled by procmail?if no, then do u know
any other gateway,which can counter this problem?
Once again thanx for ur cooperation.







Rene Kluwen wrote:
> 
> This is more of a question that belongs in the procmail mailing list than
> here.
> 
> The basic idea is to catch an email with procmail and feed it through a
> script in the language of your choice (e.g. perl).
> This script then makes a connection to smsbox or sqlbox sending a message.
> 
> == Rene
> 
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Waleed Zubair
> Sent: vrijdag 2 juli 2010 11:57
> To: users@kannel.org
> Subject: Re: SMS TO EMAIL and EMAL TO SMS
> 
> 
> 
> Hi,
> I am quite new to kannel, although i have configured kannel with sms and
> database with php scripts.Now what i want is to use kannel for receiving
> an
> email (SMTP format) and retrieve information from database as required or
> mentioned in the email.I was reading in this forum that i can use
> procmail.
> I tried to understand how procmail would be used , but failed.
> Can you please help me out in this matter???
> Thanks in advance..
> 
> 
> 
> 
> 
> 
> Stipe Tolj wrote:
>> 
>> Tharanga schrieb:
>>> Hi folks,
>>> 
>>> I need to redirect all my SMS to an specific email address and also
>>> reply
>>> to
>>> that email should be delivered to that particular mail box. is there any
>>> opensource tool for that. or any plugin to kannel ?
>> 
>> consider using procmail as a "bridge way" from SMTP<->Kannel. I have no 
>> setup for procmail, but it should be considerable easy to setup. For 
>> SMTP->Kannel you would trigger the sendsms HTTP interface of smsbox. And 
>> for MO you would call a sms-service URL that hits the SMTP interface
>> again.
>> 
>> Of course this works very well when configured, but is not for high-load 
>> messaging. In that case you would need to glue i.e. Exim or your 
>> relevant MTA more directly to Kannel.
>> 
>> Stipe
>> 
>> ---
>> Kölner Landstrasse 419
>> 40589 Düsseldorf, NRW, Germany
>> 
>> tolj.org system architecture  Kannel Software Foundation (KSF)
>> http://www.tolj.org/  http://www.kannel.org/
>> 
>> mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
>> ---
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://old.nabble.com/SMS-TO-EMAIL--and--EMAL-TO-SMS-tp16043591p29054429.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SMS-TO-EMAIL--and--EMAL-TO-SMS-tp16043591p29056808.html
Sent from the Kannel - User mailing list archive at Nabble.com.







RE: Processing reply messages/SMS messages sent from SMSC

2010-07-02 Thread Rene Kluwen
Afaik, Kannel only sends the whole message to the get-url. Not the distinct
parts.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of brett skinner
Sent: vrijdag 2 juli 2010 15:29
To: users@kannel.org
Subject: Re: Processing reply messages/SMS messages sent from SMSC

 

Hi

 

Last thing, when receiving SMSes from the SMSC, is there a setting that will
instruct Kannel to concatenate long messages into a single message before
calling the URL. I tried using the combine-concatenated-mo = true option on
core group but this didn't work. I can understand why it didn't work because
technically it isn't a mobile originated. I did a search for concat and
couldn't find anything else in the user-guide,

 

Thanks for your assistance.

On Fri, Jul 2, 2010 at 2:48 PM, Rene Kluwen  wrote:

Small hint: You can also contribute making the documentation clearer ;=).

 

I use:

 

group = sms-service

keyword = default

catch-all = true

get-url = http://www.mydomain.com/sms/process_mo.php?text=%a
<http://www.mydomain.com/sms/process_mo.php?text=%25a&from=%25p&to=%25P&time
=%25T&billing=%25B&smsc=%25i> &from=%p&to=%P&time=%T&billing=%B&smsc=%i

accepted-smsc = my_smsc

omit-empty = true

accept-x-kannel-headers = true

 

I guess there is more than one way to achieve what you want and one doesn't
necessarily needs to be better than the other one.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of brett skinner
Sent: vrijdag 2 juli 2010 14:33
To: users@kannel.org
Subject: Processing reply messages/SMS messages sent from SMSC

 

Hi

 

Firstly I would like to thank the group for all the help that I have
received. I really appreciate it. Secondly I have found usig Kannel to be a
very pleasant experience so thanks for all the hard work. I unfortunately
know absolutely nothing about C and I think my Java knowledge just won't cut
it so I won't be able to make any contributions in terms of code.

 

I would just like to double check something with the group because the user
guide wasn't clear regarding my scenario. I would like to be able to process
replies SMSs to messages that I have been sent. The SMSC has given us some
numbers to use as the origin (or sender) number. If the person replies to
the message it will go the SMSC who then forwards it to us. From the logs it
appears as they are forwarding the messages to us as deliver_sm PDUs. 

 

When I get the message I would like to be able to process it. I don't want
to answer the message or do anything else. From what I gather I need to
setup an sms-service group as follows:

 

group = sms-service

keyword-regex = .*

catch-all = yes

get-url = "http://localhost:/Replies.php?params";

omit-empty = true

 

I want all SMS messages to be handled in the same way regardless of their
origins or keywords etc. I am also not looking to do any shortcode magic or
any replies. This is why I setup the keyword-regex to * so that this occurs
for all messages. I don't want to send anything back to their handset, this
is why I have included omit-empty = true. I found without this option that
the handset would receive .

 

Is this the preferred way to achieve what I am aiming for?

Is there anything that I should be aware of or any complications that might
arise?

 

Regards,

 



RE: smpp restrict connection to a specific client

2010-07-06 Thread Rene Kluwen
If you are talking about restricting source ip addresses, I use iptables for
that.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: dinsdag 6 juli 2010 16:00
To: users@kannel.org
Subject: smpp restrict connection to a specific client

 

Hi all
I have this question regarding smppbox
can  i allow conction to only clients that i want
Regards

 



RE: smpp restrict connection to a specific client

2010-07-06 Thread Rene Kluwen
Of course it is possible to add an ip address or list of ip addresses in
smpplogins.txt.
But then again: Is anybody waiting for that?

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: dinsdag 6 juli 2010 20:36
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

Hi,

All clients need to authenticate against smppbox to send SMPP.

Otherwise any descent firewall should restrict network access.

BR,
Nikos
- Original Message ----- 
From: Rene Kluwen
To: 'ishagh ouldbah' ; users@kannel.org
Sent: Tuesday, July 06, 2010 7:21 PM
Subject: RE: smpp restrict connection to a specific client


If you are talking about restricting source ip addresses, I use iptables for

that.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of ishagh ouldbah
Sent: dinsdag 6 juli 2010 16:00
To: users@kannel.org
Subject: smpp restrict connection to a specific client

Hi all
I have this question regarding smppbox
can  i allow conction to only clients that i want
Regards
 






RE: smpp restrict connection to a specific client

2010-07-06 Thread Rene Kluwen
I agree that this kind of stuff is better arranged by real firewall
software.
But in Kannel we have connect-allow-ip c.s. right? So I don't see it is
contrary to Kannel philosophy.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: woensdag 7 juli 2010 1:56
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

I wouldn't recommend it. It is contrary to kannel philosophy (vis a vis 
sendsms-user). Besides there is better external software for this and anyone

concerned about that level of security, already has a dedicated firewall 
installed.

BR,
Nikos
- Original Message - 
From: "Rene Kluwen" 
To: "'Nikos Balkanas'" ; "'ishagh ouldbah'" 
; 
Sent: Wednesday, July 07, 2010 1:58 AM
Subject: RE: smpp restrict connection to a specific client


> Of course it is possible to add an ip address or list of ip addresses in
> smpplogins.txt.
> But then again: Is anybody waiting for that?
>
> == Rene
>
> -Original Message-
> From: Nikos Balkanas [mailto:nbalka...@gmail.com]
> Sent: dinsdag 6 juli 2010 20:36
> To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
> Subject: Re: smpp restrict connection to a specific client
>
> Hi,
>
> All clients need to authenticate against smppbox to send SMPP.
>
> Otherwise any descent firewall should restrict network access.
>
> BR,
> Nikos
> - Original Message - 
> From: Rene Kluwen
> To: 'ishagh ouldbah' ; users@kannel.org
> Sent: Tuesday, July 06, 2010 7:21 PM
> Subject: RE: smpp restrict connection to a specific client
>
>
> If you are talking about restricting source ip addresses, I use iptables 
> for
>
> that.
>
> == Rene
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of ishagh ouldbah
> Sent: dinsdag 6 juli 2010 16:00
> To: users@kannel.org
> Subject: smpp restrict connection to a specific client
>
> Hi all
> I have this question regarding smppbox
> can  i allow conction to only clients that i want
> Regards
>
>
>
> 






RE: smpp restrict connection to a specific client

2010-07-06 Thread Rene Kluwen
Also it will allow ip connections on a per-user level.
Something that cannot be done with external firewall hardware or software.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: woensdag 7 juli 2010 2:23
To: 'Nikos Balkanas'; 'ishagh ouldbah'; users@kannel.org
Subject: RE: smpp restrict connection to a specific client

I agree that this kind of stuff is better arranged by real firewall
software.
But in Kannel we have connect-allow-ip c.s. right? So I don't see it is
contrary to Kannel philosophy.

== Rene

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: woensdag 7 juli 2010 1:56
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

I wouldn't recommend it. It is contrary to kannel philosophy (vis a vis 
sendsms-user). Besides there is better external software for this and anyone

concerned about that level of security, already has a dedicated firewall 
installed.

BR,
Nikos
----- Original Message - 
From: "Rene Kluwen" 
To: "'Nikos Balkanas'" ; "'ishagh ouldbah'" 
; 
Sent: Wednesday, July 07, 2010 1:58 AM
Subject: RE: smpp restrict connection to a specific client


> Of course it is possible to add an ip address or list of ip addresses in
> smpplogins.txt.
> But then again: Is anybody waiting for that?
>
> == Rene
>
> -Original Message-
> From: Nikos Balkanas [mailto:nbalka...@gmail.com]
> Sent: dinsdag 6 juli 2010 20:36
> To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
> Subject: Re: smpp restrict connection to a specific client
>
> Hi,
>
> All clients need to authenticate against smppbox to send SMPP.
>
> Otherwise any descent firewall should restrict network access.
>
> BR,
> Nikos
> - Original Message - 
> From: Rene Kluwen
> To: 'ishagh ouldbah' ; users@kannel.org
> Sent: Tuesday, July 06, 2010 7:21 PM
> Subject: RE: smpp restrict connection to a specific client
>
>
> If you are talking about restricting source ip addresses, I use iptables 
> for
>
> that.
>
> == Rene
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of ishagh ouldbah
> Sent: dinsdag 6 juli 2010 16:00
> To: users@kannel.org
> Subject: smpp restrict connection to a specific client
>
> Hi all
> I have this question regarding smppbox
> can  i allow conction to only clients that i want
> Regards
>
>
>
> 









RE: smpp restrict connection to a specific client

2010-07-07 Thread Rene Kluwen
Currently, ip address restrictions don't exist nor are enforced.

It is something to be added in the future.

 

== Rene

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: woensdag 7 juli 2010 14:34
To: Rene Kluwen
Subject: RE: smpp restrict connection to a specific client

 


Thanks all
Rene, what is the syntax of smpplogins.txt when adding ip address
Regards

--- On Tue, 7/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: smpp restrict connection to a specific client
To: "'Rene Kluwen'" , "'Nikos Balkanas'"
, "'ishagh ouldbah'" ,
users@kannel.org
Date: Tuesday, July 6, 2010, 5:59 PM

Also it will allow ip connections on a per-user level.
Something that cannot be done with external firewall hardware or software.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: woensdag 7 juli 2010 2:23
To: 'Nikos Balkanas'; 'ishagh ouldbah'; users@kannel.org
Subject: RE: smpp restrict connection to a specific client

I agree that this kind of stuff is better arranged by real firewall
software.
But in Kannel we have connect-allow-ip c.s. right? So I don't see it is
contrary to Kannel philosophy.

== Rene

-Original Message-----
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: woensdag 7 juli 2010 1:56
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

I wouldn't recommend it. It is contrary to kannel philosophy (vis a vis 
sendsms-user). Besides there is better external software for this and anyone

concerned about that level of security, already has a dedicated firewall 
installed.

BR,
Nikos
- Original Message - 
From: "Rene Kluwen" 
To: "'Nikos Balkanas'" ; "'ishagh ouldbah'" 
; 
Sent: Wednesday, July 07, 2010 1:58 AM
Subject: RE: smpp restrict connection to a specific client


> Of course it is possible to add an ip address or list of ip addresses in
> smpplogins.txt.
> But then again: Is anybody waiting for that?
>
> == Rene
>
> -Original Message-
> From: Nikos Balkanas [mailto:nbalka...@gmail.com]
> Sent: dinsdag 6 juli 2010 20:36
> To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
> Subject: Re: smpp restrict connection to a specific client
>
> Hi,
>
> All clients need to authenticate against smppbox to send SMPP.
>
> Otherwise any descent firewall should restrict network access.
>
> BR,
> Nikos
> - Original Message - 
> From: Rene Kluwen
> To: 'ishagh ouldbah' ; users@kannel.org
> Sent: Tuesday, July 06, 2010 7:21 PM
> Subject: RE: smpp restrict connection to a specific client
>
>
> If you are talking about restricting source ip addresses, I use iptables 
> for
>
> that.
>
> == Rene
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of ishagh ouldbah
> Sent: dinsdag 6 juli 2010 16:00
> To: users@kannel.org
> Subject: smpp restrict connection to a specific client
>
> Hi all
> I have this question regarding smppbox
> can  i allow conction to only clients that i want
> Regards
>
>
>
> 







 



RE: kannel as smpp server

2010-07-07 Thread Rene Kluwen
I would suggest reading the users' manual a little bit and maybe also the
architecture document.

 

http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html

 

If you have specific questions that are not covered there, you can post them
here.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of ishagh ouldbah
Sent: woensdag 7 juli 2010 19:04
To: users@kannel.org
Subject: kannel as smpp server

 

Hi all 
I want to run kannel as smpp server
I have two question regarding this
My situation is
I recieve sms on a modem and forward it to smpp client and vice versa
I know that I can tell smppbox to forward to the modem but how to tell the
modem to forward to smppbox
How would I keep truck of messages passing through my server
And finally, I recive sms in binary format would it be transfered in the
same format and how to add udh to it
Regards

 



RE: Huawei E220 / +CMS ERROR: The memory/message storage index assigned to the AT command is invalid (321)

2010-07-07 Thread Rene Kluwen
Don't know why this is occurs or how to solve it.

But a workaround might be using "me" memory instead of "sm"?

It may speed up things a little bit as well and probably you will have more
memory indices.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Emmanuel CHANSON
Sent: donderdag 8 juli 2010 0:07
To: users
Subject: Huawei E220 / +CMS ERROR: The memory/message storage index assigned
to the AT command is invalid (321)

 

A little question about Huawei E220 and this issue:

+CMS ERROR: The memory/message storage index assigned to the AT command is
invalid (321)

The only solution I have is to connect using minicom to the modem and delete
the message.
Do you know why does this happen on this modem ?


2010-07-08 09:01:01 [7101] [18] DEBUG: AT2[huawei_e220]: <--
^BOOT:92407792,0,0,0,6
2010-07-08 09:01:31 [7101] [18] DEBUG: AT2[huawei_e220]: <--
^BOOT:92407792,0,0,0,6
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: <-- +CPMS:
"SM",1,60,"SM",1,60,"SM",1,60
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: <-- OK
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: 1 messages waiting
in memory
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: --> AT+CMGR=1^M
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: <-- OK
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: not deleted.
2010-07-08 09:01:47 [7101] [18] DEBUG: AT2[huawei_e220]: --> AT+CMGR=2^M
...
...
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: not deleted.
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: --> AT+CMGR=59^M
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: <-- OK
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: not deleted.
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: --> AT+CMGR=60^M
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: <-- +CMS ERROR: 321
2010-07-08 09:01:53 [7101] [18] ERROR: AT2[huawei_e220]: +CMS ERROR: +CMS
ERROR: 321
2010-07-08 09:01:53 [7101] [18] ERROR: AT2[huawei_e220]: +CMS ERROR: The
memory/message storage index assigned to the AT command is invalid (321)
2010-07-08 09:01:53 [7101] [18] DEBUG: AT2[huawei_e220]: failed to get
message 60.

My modems config:


group = modems
id = huawei_e220
name = "Huawei E220"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,2,2,0"
message-storage = sm
speed = 460800

kannel.conf:
...
# SMSC GSM
group = smsc
smsc = at
#SMSC: HUAWEI E220
device = /dev/ttyUSB1
smsc-id = "huawei_e220"
modemtype = huawei_e220
allowed-smsc-id = "huawei_e220"
sms-center = "+687xx"
#mynumber = 687xx
pin = 
validityperiod = 167
sim-buffering = true
log-file = "/var/log/kannel/smsc.log"
log-level = 0
include = /etc/kannel/modems.conf
...


Regards,
-- 
Emmanuel



RE: smpp restrict connection to a specific client

2010-07-07 Thread Rene Kluwen
For the ones who want to give it a try:

 

The smpplogins.txt is now as follows (but backward compatible):

 

My-idMy-password   My-system-typeallowed-ips

 

Like:

 

Joe secret   joesbox192.168.0.1

 

If the last ip address is omitted, then everybody is allowed to connect.

If the last ip address is given, then only that ip address is allowed to
connect.

Works exactly like connect-allow-ip and connect-deny-ip. The latter has a
mask of "*.*.*.*".

 

== Rene

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: woensdag 7 juli 2010 14:34
To: Rene Kluwen
Subject: RE: smpp restrict connection to a specific client

 


Thanks all
Rene, what is the syntax of smpplogins.txt when adding ip address
Regards

--- On Tue, 7/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: smpp restrict connection to a specific client
To: "'Rene Kluwen'" , "'Nikos Balkanas'"
, "'ishagh ouldbah'" ,
users@kannel.org
Date: Tuesday, July 6, 2010, 5:59 PM

Also it will allow ip connections on a per-user level.
Something that cannot be done with external firewall hardware or software.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: woensdag 7 juli 2010 2:23
To: 'Nikos Balkanas'; 'ishagh ouldbah'; users@kannel.org
Subject: RE: smpp restrict connection to a specific client

I agree that this kind of stuff is better arranged by real firewall
software.
But in Kannel we have connect-allow-ip c.s. right? So I don't see it is
contrary to Kannel philosophy.

== Rene

-Original Message-----
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: woensdag 7 juli 2010 1:56
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

I wouldn't recommend it. It is contrary to kannel philosophy (vis a vis 
sendsms-user). Besides there is better external software for this and anyone

concerned about that level of security, already has a dedicated firewall 
installed.

BR,
Nikos
- Original Message - 
From: "Rene Kluwen" 
To: "'Nikos Balkanas'" ; "'ishagh ouldbah'" 
; 
Sent: Wednesday, July 07, 2010 1:58 AM
Subject: RE: smpp restrict connection to a specific client


> Of course it is possible to add an ip address or list of ip addresses in
> smpplogins.txt.
> But then again: Is anybody waiting for that?
>
> == Rene
>
> -Original Message-
> From: Nikos Balkanas [mailto:nbalka...@gmail.com]
> Sent: dinsdag 6 juli 2010 20:36
> To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
> Subject: Re: smpp restrict connection to a specific client
>
> Hi,
>
> All clients need to authenticate against smppbox to send SMPP.
>
> Otherwise any descent firewall should restrict network access.
>
> BR,
> Nikos
> - Original Message - 
> From: Rene Kluwen
> To: 'ishagh ouldbah' ; users@kannel.org
> Sent: Tuesday, July 06, 2010 7:21 PM
> Subject: RE: smpp restrict connection to a specific client
>
>
> If you are talking about restricting source ip addresses, I use iptables 
> for
>
> that.
>
> == Rene
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of ishagh ouldbah
> Sent: dinsdag 6 juli 2010 16:00
> To: users@kannel.org
> Subject: smpp restrict connection to a specific client
>
> Hi all
> I have this question regarding smppbox
> can  i allow conction to only clients that i want
> Regards
>
>
>
> 







 



RE: smpp restrict connection to a specific client

2010-07-07 Thread Rene Kluwen
Sorry for the double post.

So also 127.0.0.1;213.193.241.40 will work.

 

Current svn trunk revision is 16.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: donderdag 8 juli 2010 2:19
To: 'ishagh ouldbah'
Cc: 'users'
Subject: RE: smpp restrict connection to a specific client

 

For the ones who want to give it a try:

 

The smpplogins.txt is now as follows (but backward compatible):

 

My-idMy-password   My-system-typeallowed-ips

 

Like:

 

Joe secret   joesbox192.168.0.1

 

If the last ip address is omitted, then everybody is allowed to connect.

If the last ip address is given, then only that ip address is allowed to
connect.

Works exactly like connect-allow-ip and connect-deny-ip. The latter has a
mask of "*.*.*.*".

 

== Rene

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: woensdag 7 juli 2010 14:34
To: Rene Kluwen
Subject: RE: smpp restrict connection to a specific client

 


Thanks all
Rene, what is the syntax of smpplogins.txt when adding ip address
Regards

--- On Tue, 7/6/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: smpp restrict connection to a specific client
To: "'Rene Kluwen'" , "'Nikos Balkanas'"
, "'ishagh ouldbah'" ,
users@kannel.org
Date: Tuesday, July 6, 2010, 5:59 PM

Also it will allow ip connections on a per-user level.
Something that cannot be done with external firewall hardware or software.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: woensdag 7 juli 2010 2:23
To: 'Nikos Balkanas'; 'ishagh ouldbah'; users@kannel.org
Subject: RE: smpp restrict connection to a specific client

I agree that this kind of stuff is better arranged by real firewall
software.
But in Kannel we have connect-allow-ip c.s. right? So I don't see it is
contrary to Kannel philosophy.

== Rene

-----Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: woensdag 7 juli 2010 1:56
To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
Subject: Re: smpp restrict connection to a specific client

I wouldn't recommend it. It is contrary to kannel philosophy (vis a vis 
sendsms-user). Besides there is better external software for this and anyone

concerned about that level of security, already has a dedicated firewall 
installed.

BR,
Nikos
- Original Message - 
From: "Rene Kluwen" 
To: "'Nikos Balkanas'" ; "'ishagh ouldbah'" 
; 
Sent: Wednesday, July 07, 2010 1:58 AM
Subject: RE: smpp restrict connection to a specific client


> Of course it is possible to add an ip address or list of ip addresses in
> smpplogins.txt.
> But then again: Is anybody waiting for that?
>
> == Rene
>
> -Original Message-
> From: Nikos Balkanas [mailto:nbalka...@gmail.com]
> Sent: dinsdag 6 juli 2010 20:36
> To: Rene Kluwen; 'ishagh ouldbah'; users@kannel.org
> Subject: Re: smpp restrict connection to a specific client
>
> Hi,
>
> All clients need to authenticate against smppbox to send SMPP.
>
> Otherwise any descent firewall should restrict network access.
>
> BR,
> Nikos
> - Original Message - 
> From: Rene Kluwen
> To: 'ishagh ouldbah' ; users@kannel.org
> Sent: Tuesday, July 06, 2010 7:21 PM
> Subject: RE: smpp restrict connection to a specific client
>
>
> If you are talking about restricting source ip addresses, I use iptables 
> for
>
> that.
>
> == Rene
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of ishagh ouldbah
> Sent: dinsdag 6 juli 2010 16:00
> To: users@kannel.org
> Subject: smpp restrict connection to a specific client
>
> Hi all
> I have this question regarding smppbox
> can  i allow conction to only clients that i want
> Regards
>
>
>
> 






 



RE: kannel as smpp server

2010-07-08 Thread Rene Kluwen
In your group = smppbox, include:

 

route-to-smsc = (your smsc, type=modem).

 

And also:

 

group = smsbox-route

smsbox-id = system-type of smppbox-user

smsc-id = (your smsc, type = modem)

 

Something like this.

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: donderdag 8 juli 2010 14:30
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


thans but the userguid does not contain any thing about smppbox

my question is does smppbox send msgs coming to it from
bearerbox to connected client

Regards

--- On Wed, 7/7/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" , users@kannel.org
Date: Wednesday, July 7, 2010, 11:11 AM

I would suggest reading the users’ manual a little bit and maybe also the 
architecture document.

 

 <http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html> 
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html

 

If you have specific questions that are not covered there, you can post them 
here.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
ishagh ouldbah
Sent: woensdag 7 juli 2010 19:04
To: users@kannel.org
Subject: kannel as smpp server

 

Hi all 
I want to run kannel as smpp server
I have two question regarding this
My situation is
I recieve sms on a modem and forward it to smpp client and vice versa
I know that I can tell smppbox to forward to the modem but how to tell the 
modem to forward to smppbox
How would I keep truck of messages passing through my server
And finally, I recive sms in binary format would it be transfered in the same 
format and how to add udh to it
Regards

 

 



RE: smppbox status page

2010-07-08 Thread Rene Kluwen
In the status page of bearerbox, you will see one connected "smsbox"
instance per connected smpp user.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Aldo Zavala
Sent: donderdag 8 juli 2010 19:28
To: users@kannel.org
Subject: smppbox status page

Hi, is there a way to view a detailed status of smppbox? Like details of
connected clients, etc... the only thing I can see is the console a message
like this:

2010-07-08 10:00:34 [985] [1] INFO: Client connected from <192.168.2.224>
accept_smpp


Thanks,

Aldo Zavala






RE: smppbox status page

2010-07-08 Thread Rene Kluwen
It should appear in between the "Box connections".

== Rene

-Original Message-
From: Aldo Zavala [mailto:a...@cleartalk.net] 
Sent: donderdag 8 juli 2010 19:53
To: Rene Kluwen; users@kannel.org
Subject: RE: smppbox status page

In the bearerbox status page I can see the SMC Connections, but how can I
see the devices connected to the smppbox? For instance I connected to
smppbox from SMPP Client 192.168.2.224 and is not showed here...

Box connections:
smsbox:SMPP, IP 127.0.0.1 (0 queued), (on-line 0d 0h 50m 58s)

SMSC connections:
huawei[huawei]SMPP:xx.xx.xx.xx:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)
primal[primal]SMPP:yy.yy.yy.yy:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)


Thanks,

Aldo Zavala


- Original Message -----
From: Rene Kluwen
[mailto:rene.klu...@chimit.nl]
To: 'Aldo Zavala'
[mailto:a...@cleartalk.net], users@kannel.org
Sent: Thu, 08 Jul 2010
10:47:39 -0700
Subject: RE: smppbox status page


> In the status page of bearerbox, you will see one connected "smsbox"
> instance per connected smpp user.
> 
> == Rene
> 
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Aldo Zavala
> Sent: donderdag 8 juli 2010 19:28
> To: users@kannel.org
> Subject: smppbox status page
> 
> Hi, is there a way to view a detailed status of smppbox? Like details of
> connected clients, etc... the only thing I can see is the console a
message
> like this:
> 
> 2010-07-08 10:00:34 [985] [1] INFO: Client connected from <192.168.2.224>
> accept_smpp
> 
> 
> Thanks,
> 
> Aldo Zavala
> 
> 
> 
> 






RE: smppbox status page

2010-07-08 Thread Rene Kluwen
I see ONE box connected from localhost (as SMPP).

That should be the one. The real ip address is not used, since the box that
is actually connected to bearerbox is smppbox itself and not the smpp
client.

 

== Rene

 

From: Aldo Zavala [mailto:a...@cleartalk.net] 
Sent: donderdag 8 juli 2010 20:23
To: Rene Kluwen; users@kannel.org
Subject: RE: smppbox status page

 

I have one SMPP Client already connected [ with IP 192.168.2.224] and,
actually can send SMPP text messages from that client to both SMSC
connections through smppbox, is there a reason by not show it on status
page?

Thanks,

Aldo Zavala 
From: Rene Kluwen [mailto:rene.klu...@chimit.nl]

To: 'Aldo Zavala' [mailto:a...@cleartalk.net], users@kannel.org
Sent: Thu, 08 Jul 2010 11:19:01 -0700
Subject: RE: smppbox status page

It should appear in between the "Box connections".

== Rene

-Original Message-
From: Aldo Zavala [mailto:a...@cleartalk.net] 
Sent: donderdag 8 juli 2010 19:53
To: Rene Kluwen; users@kannel.org
Subject: RE: smppbox status page

In the bearerbox status page I can see the SMC Connections, but how can I
see the devices connected to the smppbox? For instance I connected to
smppbox from SMPP Client 192.168.2.224 and is not showed here...

Box connections:
smsbox:SMPP, IP 127.0.0.1 (0 queued), (on-line 0d 0h 50m 58s)

SMSC connections:
huawei[huawei] SMPP:xx.xx.xx.xx:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)
primal[primal] SMPP:yy.yy.yy.yy:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)


Thanks,

Aldo Zavala


- Original Message -----
From: Rene Kluwen
[mailto:rene.klu...@chimit.nl]
To: 'Aldo Zavala'
[mailto:a...@cleartalk.net], users@kannel.org
Sent: Thu, 08 Jul 2010
10:47:39 -0700
Subject: RE: smppbox status page


> In the status page of bearerbox, you will see one connected "smsbox"
> instance per connected smpp user.
> 
> == Rene
> 
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Aldo Zavala
> Sent: donderdag 8 juli 2010 19:28
> To: users@kannel.org
> Subject: smppbox status page
> 
> Hi, is there a way to view a detailed status of smppbox? Like details of
> connected clients, etc... the only thing I can see is the console a
message
> like this:
> 
> 2010-07-08 10:00:34 [985] [1] INFO: Client connected from <192.168.2.224>
> accept_smpp
> 
> 
> Thanks,
> 
> Aldo Zavala
> 
> 
> 
> 






RE: smppbox status page

2010-07-08 Thread Rene Kluwen
Committed with some minor changes to check for smpp version in use.

 

From: Aldo Zavala [mailto:a...@cleartalk.net] 
Sent: donderdag 8 juli 2010 20:23
To: Rene Kluwen; users@kannel.org
Subject: RE: smppbox status page

 

I have one SMPP Client already connected [ with IP 192.168.2.224] and,
actually can send SMPP text messages from that client to both SMSC
connections through smppbox, is there a reason by not show it on status
page?

Thanks,

Aldo Zavala 
From: Rene Kluwen [mailto:rene.klu...@chimit.nl]

To: 'Aldo Zavala' [mailto:a...@cleartalk.net], users@kannel.org
Sent: Thu, 08 Jul 2010 11:19:01 -0700
Subject: RE: smppbox status page

It should appear in between the "Box connections".

== Rene

-Original Message-
From: Aldo Zavala [mailto:a...@cleartalk.net] 
Sent: donderdag 8 juli 2010 19:53
To: Rene Kluwen; users@kannel.org
Subject: RE: smppbox status page

In the bearerbox status page I can see the SMC Connections, but how can I
see the devices connected to the smppbox? For instance I connected to
smppbox from SMPP Client 192.168.2.224 and is not showed here...

Box connections:
smsbox:SMPP, IP 127.0.0.1 (0 queued), (on-line 0d 0h 50m 58s)

SMSC connections:
huawei[huawei] SMPP:xx.xx.xx.xx:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)
primal[primal] SMPP:yy.yy.yy.yy:/:aldo2:SMPP (online 3071s,
rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)


Thanks,

Aldo Zavala


- Original Message -----
From: Rene Kluwen
[mailto:rene.klu...@chimit.nl]
To: 'Aldo Zavala'
[mailto:a...@cleartalk.net], users@kannel.org
Sent: Thu, 08 Jul 2010
10:47:39 -0700
Subject: RE: smppbox status page


> In the status page of bearerbox, you will see one connected "smsbox"
> instance per connected smpp user.
> 
> == Rene
> 
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Aldo Zavala
> Sent: donderdag 8 juli 2010 19:28
> To: users@kannel.org
> Subject: smppbox status page
> 
> Hi, is there a way to view a detailed status of smppbox? Like details of
> connected clients, etc... the only thing I can see is the console a
message
> like this:
> 
> 2010-07-08 10:00:34 [985] [1] INFO: Client connected from <192.168.2.224>
> accept_smpp
> 
> 
> Thanks,
> 
> Aldo Zavala
> 
> 
> 
> 






RE: sqlbox documentation

2010-07-08 Thread Rene Kluwen
Sqlbox documentation: http://www.blogalex.com/archives/46

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Aldo Zavala
Sent: donderdag 8 juli 2010 21:30
To: users@kannel.org
Subject: sqlbox documentation

Hi, I am browsing at
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html and it
seems like lacks of sqlbox documentation in that doc.

Where can I get the sqlbox documentation? Thanks in advance!


Aldo Zavala






RE: sqlbox documentation

2010-07-09 Thread Rene Kluwen
True, Alex is working on that.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Stipe Tolj
Sent: vrijdag 9 juli 2010 14:03
Cc: users@kannel.org
Subject: Re: sqlbox documentation

Rene Kluwen schrieb:
> Sqlbox documentation: http://www.blogalex.com/archives/46

actually this should be moved into SVN sqlbox module too, in a way that
allows
"extending" the baseline user's guide.

Stipe

-- 
---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---






RE: kannel as smpp server

2010-07-09 Thread Rene Kluwen
Could you post your configuration?

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: vrijdag 9 juli 2010 14:28
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


Hi Rene
This solved one part of the problem
msgs coming from client go via the modem to their destination, good
but messages coming to the modem are not forwarded to the client 
in smpp server log i see somthing like
2010-07-09 12:11:59 Receive SMS [SMSC:l7] [SVC:] [ACT:] [BINF:] [FID:] [META:] 
[from:+**] [to:1234] [flags:-1:0:-1:0:-1] [msg:7:Test] [udh:0:]
why do i get always [to:1234] and what does it mean
can i replace it with the ip address of the client
Regads


--- On Thu, 7/8/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" , users@kannel.org
Date: Thursday, July 8, 2010, 6:03 AM

In your group = smppbox, include:

 

route-to-smsc = (your smsc, type=modem).

 

And also:

 

group = smsbox-route

smsbox-id = system-type of smppbox-user

smsc-id = (your smsc, type = modem)

 

Something like this.

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: donderdag 8 juli 2010 14:30
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


thans but the userguid does not contain any thing about smppbox

my question is does smppbox send msgs coming to it from
bearerbox to connected client

Regards

--- On Wed, 7/7/10, Rene Kluwen  wrote:


From: Rene Kluwen 
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" , users@kannel.org
Date: Wednesday, July 7, 2010, 11:11 AM

I would suggest reading the users’ manual a little bit and maybe also the 
architecture document.

 

http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html

 

If you have specific questions that are not covered there, you can post them 
here.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
ishagh ouldbah
Sent: woensdag 7 juli 2010 19:04
To: users@kannel.org
Subject: kannel as smpp server

 

Hi all 
I want to run kannel as smpp server
I have two question regarding this
My situation is
I recieve sms on a modem and forward it to smpp client and vice versa
I know that I can tell smppbox to forward to the modem but how to tell the 
modem to forward to smppbox
How would I keep truck of messages passing through my server
And finally, I recive sms in binary format would it be transfered in the same 
format and how to add udh to it
Regards

 

 

 



  1   2   3   4   5   6   7   8   9   10   >