Re: Subversion URL?

2010-06-08 Thread Milan P. Stanic
On Tue, 2010-06-08 at 15:41, Peter wrote:
> what is the username and password for that svn?

You don't need username and password to download from that repository.

> > Rene Kluwen rene.kluwen-at-chimit.nl |Lists/Send to lists| wrote:
> > > Try: svn co https://svn.kannel.org/gateway/trunk

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel 1.4.3 don't compile on Debian 5.0.4 gcc-4.3

2010-06-16 Thread Milan P. Stanic
On Wed, 2010-06-16 at 03:01, Sam Przyswa wrote:
> I try to compile kannel 1.4.3 on Debian 5.0.4 and gcc-4.3 to create
> Debian package with the command "./debian/rules binary" but I got
> this error:
> 
> no doc/alligata/11-1.png doc/alligata/11-1.ps
> make[1]: no : commande introuvable
> make[1]: *** [doc/alligata/11-1.ps] Erreur 127
> 
> Before I had the same problem with this error:
> 
> make[1]: entrant dans le répertoire « /src/gateway-1.4.3 »
> no -Lpng doc/userguide/sms-gateway.fig doc/userguide/sms-gateway.png
> make[1]: no : commande introuvable
> 
> But I fixed by installing "transfig", now I don't know what package
> to install, please tell us what packages are needed to compile, I
> also installed docbook-dsssl (docbook-stylesheets) but nothink
> changed.

Read debian/control file, section Source, tags Build-Depends: and
Build-Depends-Indep:
There you'll see what packages you need to build kannel.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Mask shorcode and reply to number

2010-06-20 Thread Milan P. Stanic
On Sun, 2010-06-20 at 05:05, Sergio Gabriel Gallegos wrote:
> Maybe raise bad stage, I need to send an MT with an alphabetical origin, but
> if the user wants the option to reply in response, I require tagging me a
> numerical answer, not the alphanumeric, as a similar analogy when sending an
> e-mail with an origin (from) and a different recipient (reply-to), where
> source would "offer" and the reply is sent to the 9696, I hope that my need
> to be explained more clearly. thanks for your support

SMPP (or any SMS protocol) does not work like SMTP (unfortunately).
I would like to be corrected but I think that is not possible.

iBur, if you allowed to send alphanumerics in from field you could try
something like '9696 Offer' and try to answer from the phone to see what
will happen. Just an idea which I would like to try myself but I don't
have access to SMSC which allows me to send alphanumerics in from field.

> 2010/6/18 Rene Kluwen 
> > Apologies for the dubbel post.
> > Also, still, people won't be able to reply.

> > -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)"  ?
> >
> > 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.
> > >
> > > 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 ?

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Mask shorcode and reply to number

2010-06-20 Thread Milan P. Stanic
On Sun, 2010-06-20 at 13:14, Alejandro Guerrieri wrote:
> You probably need to play with the TON and maybe NPI settings. Alphanumeric
> is TON 5. I'm not sure about how to force the phone to answer numerically,
> maybe the SMSC operator needs to change something on his/her side?
> 
> I'd start by setting source address TON with 5, and destination address TON
> with whatever your SMSC operator gave you (probably 0 or 1). Anyway if you
> don't succeed talk to them and tell them what you want to accomplish, they
> might be able to help you.

I know all that but the SMSC providers does *not allows* me to send
alphanumerics. :(
 
> Hope it helps,
> 
> Alex
> 
> On Sun, Jun 20, 2010 at 1:06 PM, Milan P. Stanic  wrote:
> 
> > On Sun, 2010-06-20 at 05:05, Sergio Gabriel Gallegos wrote:
> > > Maybe raise bad stage, I need to send an MT with an alphabetical origin,
> > but
> > > if the user wants the option to reply in response, I require tagging me a
> > > numerical answer, not the alphanumeric, as a similar analogy when sending
> > an
> > > e-mail with an origin (from) and a different recipient (reply-to), where
> > > source would "offer" and the reply is sent to the 9696, I hope that my
> > need
> > > to be explained more clearly. thanks for your support
> >
> > SMPP (or any SMS protocol) does not work like SMTP (unfortunately).
> > I would like to be corrected but I think that is not possible.
> >
> > iBur, if you allowed to send alphanumerics in from field you could try
> > something like '9696 Offer' and try to answer from the phone to see what
> > will happen. Just an idea which I would like to try myself but I don't
> > have access to SMSC which allows me to send alphanumerics in from field.
> >
> > > 2010/6/18 Rene Kluwen 
> > > > Apologies for the dubbel post.
> > > > Also, still, people won't be able to reply.
> >
> > > > -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)"  ?
> > > >
> > > > 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.
> > > > >
> > > > > 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 ?
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: problem by starting bearerbox

2010-06-23 Thread Milan P. Stanic
On Wed, 2010-06-23 at 16:10, Helge Wiemann wrote:
> Hello,
> 
> I got the following output during starting the bearerbox.
> 
> 2010-06-23 15:53:07 [6041] [8] DEBUG: Thread 8
> (gw/bb_udp.c:udp_receiver) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [12] DEBUG: Thread 12
> (gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [10] DEBUG: Thread 10
> (gw/bb_udp.c:udp_receiver) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [13] DEBUG: Thread 13
> (gw/bb_boxc.c:wapboxc_run) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
> maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [14] DEBUG: Thread 14
> (gw/bearerbox.c:wdp_router) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [11] DEBUG: Thread 11
> (gw/bb_udp.c:udp_sender) maps to pid 6041.
> 2010-06-23 15:53:07 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2010-06-23 15:53:08 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2010-06-23 15:53:08 [6041] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 9600
> 2010-06-23 15:53:08 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
> 2010-06-23 15:53:10 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2010-06-23 15:53:14 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
> 2010-06-23 15:53:18 [6041] [6] ERROR: AT2[/dev/ttyUSB0]: Couldn't
> connect (retrying in 10 seconds).
> 
> My modem is a Wavecom.
> 
> What means the line?
> 
> 2010-06-23 15:53:14 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M

AT&F is command to set default factory settings.

BTW, google is your friend. ;)


-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: problem by starting bearerbox

2010-06-23 Thread Milan P. Stanic
[ A: Because it messes up the order in which people normally read text.
  Q: Why is top-posting such a bad thing? ]

On Wed, 2010-06-23 at 16:52, Helge Wiemann wrote:
> My kannel.conf looks like this:
> 
> group = smsc
> smsc = at
> modemtype = wavecom
> device = /dev/ttyUSB0
> speed = 9600
> pin = mypin
> 
> group = modems
> id = wavecom
> name = "Wavecom WM0D2"
> detect-string = "Wavecom"
> detect-string2 = "WM0D2"
> need-sleep = true
> 
> What might by the problem?
> 
> Now I am getting a:
> 
> 2010-06-23 16:51:42 [6610] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
> 2010-06-23 16:51:42 [6610] [14] DEBUG: Thread 14
> (gw/bearerbox.c:wdp_router) maps to pid 6610.
> 2010-06-23 16:51:42 [6610] [12] DEBUG: Thread 12
> (gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 6610.
> 2010-06-23 16:51:42 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2010-06-23 16:51:43 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: Logging in
> 2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: init device
> 2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 9600
> 2010-06-23 16:51:43 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
> 2010-06-23 16:51:47 [6610] [6] ERROR: AT2[/dev/ttyUSB0]: Wrong or no
> answer to ATZ, ignoring

Looks like your modem is not connected.

> 2010-06-23 16:51:47 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2010-06-23 16:51:51 [6610] [6] ERROR: AT2[/dev/ttyUSB0]: Wrong or no
> answer to AT. Trying again
> 2010-06-23 16:51:51 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M

Try to connect to modem with minicom and issue some commands to see if
it works.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SQLBox problems with postgresql

2010-07-28 Thread Milan P. Stanic
On Wed, 2010-07-28 at 12:13, Arnau Rebassa wrote:
> Hi Nikos,
> 
> 2010/7/28 Nikos Balkanas :
> > Hi,
> >
> >>>    I'm running this sqlbox on a debian unstable and using the kannel and
> >>>    kannel-sqlbox packages from the official repositories. Do I have to
> >>>    recompile sqlbox to include postgresql support?
> >
> > Definitely, unless you downloaded a postgress specific binary. To confirm
> > what you have please type:
> >
> > ldd $(which sqlbox)
> >
> > you will see that the binary is for mysql, not postgress.
> 
> 
> debian:/usr/local/src# ldd $(which sqlbox)
> linux-gate.so.1 =>  (0xb787d000)
> libpq.so.5 => /usr/lib/libpq.so.5 (0xb7852000)
 ^^
This is the postgresql client library.

> libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb784e000)
> libpam.so.0 => /lib/libpam.so.0 (0xb7841000)
> librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7838000)
> libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb7824000)
> libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb780d000)
> libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb77e7000)
> libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb77cd000)
> libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb76a3000)
> libpcreposix.so.3 => /usr/lib/libpcreposix.so.3 (0xb76a1000)
> libpcre.so.3 => /lib/libpcre.so.3 (0xb766c000)
> libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16 (0xb746e000)
> libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb7414000)
> libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb738a000)
> libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 
> (0xb7232000)
> libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb71e8000)
> libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb70a1000)
> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb6fef000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6feb000)
> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb6fbc000)
> libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb6f8a000)
> libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb6f47000)
> /lib/ld-linux.so.2 (0xb787e000)
> libz.so.1 => /usr/lib/libz.so.1 (0xb6f33000)
> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb6f0f000)
> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb6f08000)
> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6f05000)
> liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb6ef8000)
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb6ee1000)
> libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb6e48000)
> libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb6e38000)
> libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb6dc4000)
> libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb6dc)
> 
> 
> It seems there is no postgresql support. I have recompiled it but
> again the same result. Anybody know how to enable it?

It is there. If it is not, ldd will say 'not found'.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SQLBox problems with postgresql

2010-07-28 Thread Milan P. Stanic
On Wed, 2010-07-28 at 13:05, Nikos Balkanas wrote:
> >>I'm running this sqlbox on a debian unstable and using the kannel and
> >>kannel-sqlbox packages from the official repositories. Do I have to
> >>recompile sqlbox to include postgresql support?
> 
> Definitely, unless you downloaded a postgress specific binary. To
> confirm what you have please type:
> 
> ldd $(which sqlbox)
> 
> you will see that the binary is for mysql, not postgress.

Not true.

kannel-sqlbox on debian testing/unstable is compiled with support for
postgresql, mysql, sqlite and sqlite3.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SQLBox problems with postgresql

2010-07-28 Thread Milan P. Stanic
On Wed, 2010-07-28 at 14:53, Nikos Balkanas wrote:
> >It is there. If it is not, ldd will say 'not found'.
> 
> Not so. It will say "Not found" only if it was compiled with support
> for it. If not it won't say anything. The only thing I see is
> mysqlclient. If you see postgress library please point out.

I did, but looks like you didn't read carefully. Look bellow lines with
a lot of asterisks ():
 
> BR,
> Nikos
> - Original Message - From: "Milan P. Stanic"
> 
> To: 
> Sent: Wednesday, July 28, 2010 2:30 PM
> Subject: Re: SQLBox problems with postgresql
> 
> 
> On Wed, 2010-07-28 at 12:13, Arnau Rebassa wrote:
> >Hi Nikos,
> >
> >2010/7/28 Nikos Balkanas :
> >> Hi,
> >>
> >>>> I'm running this sqlbox on a debian unstable and using the kannel and
> >>>> kannel-sqlbox packages from the official repositories. Do I have to
> >>>> recompile sqlbox to include postgresql support?
> >>
> >> Definitely, unless you downloaded a postgress specific binary.
> >To > confirm
> >> what you have please type:
> >>
> >> ldd $(which sqlbox)
> >>
> >> you will see that the binary is for mysql, not postgress.
> >
> >
> >debian:/usr/local/src# ldd $(which sqlbox)
> >linux-gate.so.1 =>  (0xb787d000)
> >libpq.so.5 => /usr/lib/libpq.so.5 (0xb7852000)
> ^^
> This is the postgresql client library.

** For Nikos *

libpq.so.5 is postgresql client library.

*

> 
> >libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb784e000)
> >libpam.so.0 => /lib/libpam.so.0 (0xb7841000)
> >librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7838000)
> >libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb7824000)
> >libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb780d000)
> >libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb77e7000)
> >libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb77cd000)
> >libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb76a3000)
> >libpcreposix.so.3 => /usr/lib/libpcreposix.so.3 (0xb76a1000)
> >libpcre.so.3 => /lib/libpcre.so.3 (0xb766c000)
> >libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16
> >(0xb746e000)
> >libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb7414000)
> >libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb738a000)
> >libcrypto.so.0.9.8 =>
> >/usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7232000)
> >libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb71e8000)
> >libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb70a1000)
> >libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb6fef000)
> >libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6feb000)
> >libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb6fbc000)
> >libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb6f8a000)
> >libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb6f47000)
> >/lib/ld-linux.so.2 (0xb787e000)
> >libz.so.1 => /usr/lib/libz.so.1 (0xb6f33000)
> >libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb6f0f000)
> >libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb6f08000)
> >libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6f05000)
> >liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb6ef8000)
> >libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb6ee1000)
> >libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb6e48000)
> >libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb6e38000)
> >libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb6dc4000)
> >libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb6dc)
> >
> >
> >It seems there is no postgresql support. I have recompiled it but
> >again the same result. Anybody know how to enable it?
> 
> It is there. If it is not, ldd will say 'not found'.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SQLBox problems with postgresql

2010-07-28 Thread Milan P. Stanic
On Wed, 2010-07-28 at 14:55, Nikos Balkanas wrote:
> OK. Where is the postgress client library in the ldd output?

Look at my answer to your previous question in the same thread.

> Lastly what's the point of compiling with all DBs? It would require
> the client to have all 3 DB's installed, just to run it, even if not
> using them!

I agree here with you. It would be better to have packages compiled with
support for particular DBs (and not all of them in single package) and
let user/admin to choose which one s/he would like to install.
But this question belongs to debian-devel (or others) list but not to
kannel users.

> BR,
> Nikos
> - Original Message - From: "Milan P. Stanic"
> 
> To: 
> Sent: Wednesday, July 28, 2010 2:38 PM
> Subject: Re: SQLBox problems with postgresql
> 
> 
> >On Wed, 2010-07-28 at 13:05, Nikos Balkanas wrote:
> >>>>I'm running this sqlbox on a debian unstable and using the
> >>kannel >> and
> >>>>kannel-sqlbox packages from the official repositories. Do I have to
> >>>>recompile sqlbox to include postgresql support?
> >>
> >>Definitely, unless you downloaded a postgress specific binary. To
> >>confirm what you have please type:
> >>
> >>ldd $(which sqlbox)
> >>
> >>you will see that the binary is for mysql, not postgress.
> >
> >Not true.
> >
> >kannel-sqlbox on debian testing/unstable is compiled with support for
> >postgresql, mysql, sqlite and sqlite3.
> >
> >-- 
> >Kind regards,  Milan
> >--
> >Arvanta, IT Securityhttp://www.arvanta.net
> >Please do not send me e-mail containing HTML code.
> >
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: : Modem Nokia N73 problem

2010-08-11 Thread Milan P. Stanic
On Wed, 2010-08-11 at 12:24, Dlamini Langa Phillip wrote:
> Does anyone have a suggestion my phone is not not connecting to the
> kannel I have even tested it on windows and I can  assess  internet. I
> have been trying get setting from my mobile operator swazi mtn into no
> vail. Can anyone tell me which phone is compactible to be used with
> redhat linux. Please expect,  am stuck

Send your kannel.conf and bearerbox.log files.

Your wvdial.conf and log are just to assure you that the modem works
with machine. They are not (much) useful for kannel troubleshooting.

And (of course) read kannel userguide. It helps a lot.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: GSM characters

2010-08-12 Thread Milan P. Stanic
Hi,

On Wed, 2010-08-11 at 23:40, Emmanuel CHANSON wrote:
> I tested your command with lastest Kannel SVN and I got:
> 
> @£$¥?_?^{}\[~]|???!"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ??
> §¿abcdefghijklmnopqrstuvwxyz?ü
> 
> *Note: I have in my case cgi-script -> smsbox -> sqlbox -> bearerbox*

I also tested with Kannel from SVN (few months old) and I got (also)
question marks instead of Greek characters.
I don't use sqlbox, just smsbox->bearerbox.

smsbox log says:
2010-08-12 09:37:28 [31580] [3] INFO: sendsms sender:(127.0.0.1) 
to: msg:<@$
2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, 
skipped. 2
2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, 
skipped. 2
2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, 
skipped. 2

> Regards,
> 
> Emmanuel
> 
> 2010/8/11 Rene Kluwen 
> 
> >  The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and
> > further do some kind of character set processing.
> >
> > Does that mean that greek characters in these versions cannot be sent
> > anymore? Requirement is to have gsm encoding in the sendsms url.
> >
> >
> >
> > How do I do that?
> >
> >
> >
> > == Rene
> >
> >
> >
> > *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
> > Behalf Of *Rene Kluwen
> > *Sent:* Wednesday, 11 August, 2010 18:02
> > *To:* users@kannel.org
> > *Subject:* GSM characters
> >
> >
> >
> > Suppose I send the following text to Kannel’s sendsms url (the complete GSM
> > character set):
> >
> >
> >
> >
> > text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0
> >
> >
> >
> > Then I should get the following text on my phone:
> >
> >
> >
> >
> > @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà
> >
> >
> >
> > However, I get a different display string. The Greek characters are
> > substituted for question marks.
> >
> >
> >
> > Is this my phone that is acting up? Maybe somebody can test this string for
> > me?
> >
> >
> >
> > My upstream connection is SMPP that accepts the GSM character set. So
> > alt-charset is not needed.
> >
> >
> >
> > == Rene
> >
> >
> >
> 
> 
> 
> -- 
> Emmanuel
> 
> CHANSON Emmanuel
> Mobile Nouvelle-Calédonie: +687.77.35.02
> Mobile France: +33 (0) 6.68.03.89.56
> @email : emmanuelchan...@gmail.com

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: kannel connection speed up rate per seconds

2010-08-20 Thread Milan P. Stanic
[ OT answer ]

On Fri, 2010-08-20 at 21:35, Nikos Balkanas wrote:
> Use "pathchar" (Unix) or "pchar" (Windows) to map the throughput of

pchar exist for Unix/Linux also.

> each link to your provider. Beware you should notify your provider
> beforehand, it generates a lot of traffic.

-- 
Kind regards,  Milan
--
Please do not send me e-mail containing HTML code.



Re: Nokia N73

2010-08-30 Thread Milan P. Stanic
On Mon, 2010-08-30 at 22:07, Emmanuel CHANSON wrote:
> Yes it works perfectly with Kannel for incoming and outgoing SMS.
> 
> For yours as I said in a previous post for a N70:
> 
> *"For newer models of Nokia phones, e.g., N70, N80, the "+CNMI" is not
> supported, and you have no way of detecting incoming SMS."
> *from this 
> url
> *
> *I noticed that many nSeries phones does not support AT+CNMI command ie can
> not forward SMS to Kannel.
> Maybe someone can confirm this ?

I just tested N900 with minicom and looks like it doesn't support +CNMI

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Phones that works as SMSC's with Kannel

2010-09-07 Thread Milan P. Stanic
On Tue, 2010-09-07 at 16:04, George wrote:
> http://www.kannel.org/compatibility.shtml
> 
> Are those the only 3 phones supported by kannel as smsc? Those are
> pretty old and I wasn't able to find any of them to buy. Are there any
> other newer phones that kannel supports?

Kannel supports most phones which are AT command set (so called Hayes
command set) with extensions for mobile commands.

I tried with quite non-standard phones and always managed to make them
to work with Kannel. Just learn how to use minicom and find on the Net
documentation with command set for particular phone and try to configure
it manually, and then with Kannel. Most will work.

OT comment:
A lot of people asks the same questions at least once every week in this
mailing list without trying to invest little time in the search engines
or use common sense about their phones and expect that other people
should resolve their problems.
Most of them don't even try to read userguide.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Custom reply option

2010-09-14 Thread Milan P. Stanic
On Tue, 2010-09-14 at 09:50, Luis Jimenez wrote:
> Thanks, then, i have seen messages the provider send me with a preview of a
> news and a button in the phone says "Read", when i press this button, then a
> receive later the full news article.
> 
> How do they do that?
> 
> Thanks in advance

Read about PPG (Push Proxy Gateway) in the userguide.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: sms - dlr bounding

2010-09-17 Thread Milan P. Stanic
On Fri, 2010-09-17 at 09:26, dorian wrote:
> Right.
> But for http connection the kannel's clients is forked (at least it
> looks like according to the logs: 'DEBUG: HTTP: Creating HTTPClient').
> Such fork  is almost the same as exec'ing external process.

How do you know it is fork?
It could be thread or even simple function call.

> So I prefer exec my script rather than kannel's http client. This way
> the are no resources consumed by http server and the time needed for
> http request compose and parse is saved.
> 
> In case of sms reception I have a chance to do that - there is "exec"
> config keyword.
> But dlr has to be handled via http.
> 
> What is more - since sqlbox do "the database registration" without my
> intervention I do not need any drl handler.
> But not to have errors in kannel log I am forced to use http server.
> 
> And having similar "exec" config parameter against dlr-url I could try
> to use dummy script like "/bin/false" or something like this which for
> sure would be faster.

Better solution could be not to request delivery report when sending
message and then there is no need for dlr handling at all.

> > Hi,
> >
> > The "exec" script is another process started each time and is more
> > expensive than attempting to fetch a dlr-url. The http server,
> > initially takes up some resources (memory) but it remains constant and
> > CPU utilization is overall lower.
> >
> > That's the whole purpose of the dlr-url. To get your dlrs in a databse
> > in the format that you want.
> >
> > BR,
> > Nikos
> > - Original Message - From: "dorian" 
> > To: "Alvaro Cornejo" 
> > Cc: 
> > Sent: Friday, September 17, 2010 1:06 AM
> > Subject: Re: sms - dlr bounding
> >
> >
> > There is nothing magical in sqlbox.
> > It sits between bearerbox and smsbox and it just records data in the
> > database.
> > Each message = 1 record in the table independetly if the message is
> > outgoing sms (MT) , incoming sms (MO) or delivery report.
> > It is nice and simple way to have a full history of communication.
> >
> > So I do not need any extra dlr message handling - a record in the
> > database if enough for me.
> > But only on condition that it would be possible to recognize which dlr
> > record corresponds to the record describing sent sms.
> >
> > On the other hand the method with dlr-url _requires_ the existence of
> > the url if I want to avoid stupid log entries.
> >
> > What is more kannel unnecessarily runs the http client to make dlr-url
> > fetch. It is waste of CPU time RAM usage etc.
> >
> > In case of sms receiving there is a "exec" entry (sms-service) which
> > allows me to forget about http protocol and get all data directly with
> > my shell script.
> > This way I would not need any working http server (which takes next
> > resourses) but dlr-url requires such server.
> >
> >
> >
> >> How it works is, once kannel receives a dlr, it matches against its
> >> dlr database, if got a macth, it then calls your own dlr-url to
> >> trigger your own application so you can reccord the status and do
> >> whatever you want with it. If the dlr is for a final status, the
> >> kannel deletes that dlr reccord.
> >>
> >> With sqlbox, I don't know how dlrs exactly works. Have you tried to
> >> put in your dlr-url your own id only? does kannel complains that it is
> >> not a valid url ?
> >>
> >> Regards
> >> |-|
> >>
> >> 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
> >>
> >>
> >>
> >> 2010/9/16 dorian :
> >>
> >>> Thanks a lot for reply.
> >>>
> >>> Using the sqlbox I see now the MT and DLR record in the database which
> >>> has the same 'dlr_url' field with my id and it looks like the
> >>> problem is
> >>> solved.
> >>>
> >>> Anyway is it the only solution?
> >>>
> >>> The 'dlr_url' field contains the whole http link which for me is
> >>> completely useless and is needlessly long as the only sms id is
> >>> interesting.
> >>>
> >>> Next subject is that having database I do not need to fire up any http
> >>> url when delivery report is sent back. It waste of CPU time only.
> >>> So I am looking for something which could give me same/similar results
> >>> in database without necessity of creating dlr http site Such site is
> >>> completely useless for me.
> >>>
> >>>
> >>>
> >>>
>  you need to add your own different id to each of your messages in the
>  dlr-url you send with the message.
> 
> 
>  |-|
> 
>  Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>  celular y Nextel
>  en el Perϊ, Mι

Re: Broadcast SMS with Kannel.... help please.

2010-09-21 Thread Milan P. Stanic
On Tue, 2010-09-21 at 09:38, Aldo Zavala wrote:
> Thanks a lot for ths clarification I have started to get a little bit 
> confused... =)
> 
> Yes, I have access to DB and to Application side. I will design and implement 
> a script that first gather the desired SMS Users group and then submits SMS's 
> to that list using the Kannel HTTP Interface in chunks of 25-30 TPS... Thanks 
> a lot for the explanations guys!!
> 
> One last thing, is there a given kannel HTTP built in method to send to 
> multiple numbers? Or should I invoke the method one by one?

It is explained in userguide, section "Running SMS Gateway", parameter
_to_
 
to   phone number list 
  Phone number of the receiver. To send to multiple receivers, separate
  each entry with space (' ', '+' url-encoded) - but note that this can
  be deactivated via sendsms-chars in the 'smsbox' group.
---

I think it is not possible to send to more than ten MSISDNs in one
request, but I'm not sure.


BTW, is it so hard to read and understand userguide?

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SMPP BOX

2010-09-22 Thread Milan P. Stanic
On Wed, 2010-09-22 at 00:44, dafodil wrote:
> I guess i need these steps to install smpp box
> 
> create a directory gateway under path /usr/local then run command
> svn co https://svn.kannel.org/gateway/trunk
> 
> Create a directory smppbox  under path /usr/local/gateway then run command
> svn co https://svn.kannel.org/smppbox/trunk
> 
> then go to directory /usr/local/gateway/trunk and run these commands
>  ./configure
>   make
>   make install
> 
> Same command run under /usr/local/gateway/smppbox/trunk
>  ./configure
>   make
>   make install
> 
> But i have got kannel installed(stable vesion 1.4.3).so what should i do?
> remove existing and install new ones.(if i need to remove than how?)
> or just reinstalling the svn source should go fine.(in that case do i need
> any additional steps apart from what mentioned above)

I built Kannel SVN version a week ago for Debian testing/unstable (with
sqlite3 support only) for i386 and amd64 architectures. If someone wants
to host them somewhere for users who do not have enough experience with
building software from sources I can upload all the packages (binary,
development, extra and documentation).

It works in production on the squeeze (testing) Debian distribution
without any problem. I presume it should work on current stable
and testing Ubuntu.

I also debianized opensmmpbox and built it for amd64 architecture (but
I could build i386 version because I have development chroots all
around) so it could be useful for people with less experience.

If someone have resources (and good will) to host these packages drop
me a note, please.

> Kiran Reddy-3 wrote:
> > 
> >   Hi,
> > 
> > https://svn.kannel.org/gateway/trunk
> > 
> > 
> > On 9/22/2010 12:54, dafodil wrote:
> >> Hi List,
> >> > From the document i get following:
> >> -
> >> Latest Kannel must be installed (>1.4.3 svn version), including
> >> development
> >> headers and libraries.
> >> Kannel’s gwlib is needed for compilation. Additionally a working
> >> (running)
> >> Bearerbox is needed to route
> >> SMS to. If it is not available, SMS messages can possibly be lost and no
> >> more logins are permitted.
> >> -
> >> Form where can i get svn version>1.4.3.from download section i see kannel
> >> stable 1.4.3 and development version 1.3.2.
> >>
> >> from where do i get development headers and libraries or kannel svn>1.4.3
> >> contains those.
> >> from where do i get Kannel’s gwlib.
> >>
> >> I have installed kannel stable version 1.4.3 and that works pretty fine.
> >> Now as i m going to use smppbox with it so what should be the approach.
> >> pls help.
> >>
> >> Br
> >> daf
> >>
> >>
> >>
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/SMPP-BOX-tp29776915p29777046.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SMPP BOX

2010-09-22 Thread Milan P. Stanic
On Wed, 2010-09-22 at 12:08, Nikos Balkanas wrote:
> There is a special area in the downloads section of the site that
> includes rpms. Why don't you contribute it there?

Nice idea. I can build postgresql and mysql versions to.

Though I don't know how to upload it there. Must I have account or
anonymous upload is allowed?
 
> BR,
> Nikos
> - Original Message ----- From: "Milan P. Stanic"
> 
> To: 
> Sent: Wednesday, September 22, 2010 11:49 AM
> Subject: Re: SMPP BOX
> 
> 
> On Wed, 2010-09-22 at 00:44, dafodil wrote:
> >I guess i need these steps to install smpp box
> >
> >create a directory gateway under path /usr/local then run command
> >svn co https://svn.kannel.org/gateway/trunk
> >
> >Create a directory smppbox  under path /usr/local/gateway then run command
> >svn co https://svn.kannel.org/smppbox/trunk
> >
> >then go to directory /usr/local/gateway/trunk and run these commands
> > ./configure
> >  make
> >  make install
> >
> >Same command run under /usr/local/gateway/smppbox/trunk
> > ./configure
> >  make
> >  make install
> >
> >But i have got kannel installed(stable vesion 1.4.3).so what should i do?
> >remove existing and install new ones.(if i need to remove than how?)
> >or just reinstalling the svn source should go fine.(in that case do i need
> >any additional steps apart from what mentioned above)
> 
> I built Kannel SVN version a week ago for Debian testing/unstable (with
> sqlite3 support only) for i386 and amd64 architectures. If someone wants
> to host them somewhere for users who do not have enough experience with
> building software from sources I can upload all the packages (binary,
> development, extra and documentation).
> 
> It works in production on the squeeze (testing) Debian distribution
> without any problem. I presume it should work on current stable
> and testing Ubuntu.
> 
> I also debianized opensmmpbox and built it for amd64 architecture (but
> I could build i386 version because I have development chroots all
> around) so it could be useful for people with less experience.
> 
> If someone have resources (and good will) to host these packages drop
> me a note, please.
> 
> >Kiran Reddy-3 wrote:
> >>
> >>   Hi,
> >>
> >> https://svn.kannel.org/gateway/trunk
> >>
> >>
> >> On 9/22/2010 12:54, dafodil wrote:
> >>> Hi List,
> >>> > From the document i get following:
> >>> -
> >>> Latest Kannel must be installed (>1.4.3 svn version), including
> >>> development
> >>> headers and libraries.
> >>> Kannel’s gwlib is needed for compilation. Additionally a working
> >>> (running)
> >>> Bearerbox is needed to route
> >>> SMS to. If it is not available, SMS messages can possibly be
> >lost and >> no
> >>> more logins are permitted.
> >>> -
> >>> Form where can i get svn version>1.4.3.from download section i
> >see >> kannel
> >>> stable 1.4.3 and development version 1.3.2.
> >>>
> >>> from where do i get development headers and libraries or kannel
> >>> svn>1.4.3
> >>> contains those.
> >>> from where do i get Kannel’s gwlib.
> >>>
> >>> I have installed kannel stable version 1.4.3 and that works
> >pretty >> fine.
> >>> Now as i m going to use smppbox with it so what should be the approach.
> >>> pls help.
> >>>
> >>> Br
> >>> daf
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >-- 
> >View this message in context:
> >http://old.nabble.com/SMPP-BOX-tp29776915p29777046.html
> >Sent from the Kannel - User mailing list archive at Nabble.com.
> >
> >
> 
> -- 
> Kind regards,  Milan
> --
> Arvanta, IT Securityhttp://www.arvanta.net
> Please do not send me e-mail containing HTML code.
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SMPP BOX

2010-09-22 Thread Milan P. Stanic
[ Cc-ing to devel so Alex can read ]

On Wed, 2010-09-22 at 13:11, Nikos Balkanas wrote:
> You need to be an administrator to upload content. The way I would
> do it, is to mark it as "Contribution: ..." in Subject and submit to
> Alex M, cc the list. He will upload it for you. If it is too large
> for email, talk to Alex first.
 
OK. Tnx. I will do that.

> PS: Usually rpms are built out of stable realeases (ie 1.4.3) not
> svn. Since a lot of additions have hapenned since, you might want to
> wait a bit for next release, 1.4.4, I believe it is very close due.

Stable release (1.4.3) is already in Debian testing/unstable (and
Ubuntu, I think).
Debian is reluctant to accept development versions of software so I
usually build Kannel (and other important packages) from source.

And because current Debian testing in "frozen" state I think that the
new stable release (as Alex announced on devel list) have a little
chance to go to next Debian stable. I know that is not best situation
because I know that the development version of Kannel is stable and
deserves to be in the stable distro's (be it Debian or other).

Long story short, I would like to help people who do not have experience
to build Kannel (and opensmppbox) from sources, to have development (and
real soon now, stable) version "out of the box", because I did it
already for my own use.

> BR,
> Nikos
> - Original Message - From: "Milan P. Stanic"
> 
> To: 
> Sent: Wednesday, September 22, 2010 12:15 PM
> Subject: Re: SMPP BOX
> 
> 
> On Wed, 2010-09-22 at 12:08, Nikos Balkanas wrote:
> >There is a special area in the downloads section of the site that
> >includes rpms. Why don't you contribute it there?
> 
> Nice idea. I can build postgresql and mysql versions to.
> 
> Though I don't know how to upload it there. Must I have account or
> anonymous upload is allowed?
> 
> >BR,
> >Nikos
> >- Original Message - From: "Milan P. Stanic"
> >
> >To: 
> >Sent: Wednesday, September 22, 2010 11:49 AM
> >Subject: Re: SMPP BOX
> >
> >
> >On Wed, 2010-09-22 at 00:44, dafodil wrote:
> >>I guess i need these steps to install smpp box
> >>
> >>create a directory gateway under path /usr/local then run command
> >>svn co https://svn.kannel.org/gateway/trunk
> >>
> >>Create a directory smppbox  under path /usr/local/gateway then
> >run >command
> >>svn co https://svn.kannel.org/smppbox/trunk
> >>
> >>then go to directory /usr/local/gateway/trunk and run these commands
> >> ./configure
> >>  make
> >>  make install
> >>
> >>Same command run under /usr/local/gateway/smppbox/trunk
> >> ./configure
> >>  make
> >>  make install
> >>
> >>But i have got kannel installed(stable vesion 1.4.3).so what should i do?
> >>remove existing and install new ones.(if i need to remove than how?)
> >>or just reinstalling the svn source should go fine.(in that case
> >do i >need
> >>any additional steps apart from what mentioned above)
> >
> >I built Kannel SVN version a week ago for Debian testing/unstable (with
> >sqlite3 support only) for i386 and amd64 architectures. If someone wants
> >to host them somewhere for users who do not have enough experience with
> >building software from sources I can upload all the packages (binary,
> >development, extra and documentation).
> >
> >It works in production on the squeeze (testing) Debian distribution
> >without any problem. I presume it should work on current stable
> >and testing Ubuntu.
> >
> >I also debianized opensmmpbox and built it for amd64 architecture (but
> >I could build i386 version because I have development chroots all
> >around) so it could be useful for people with less experience.
> >
> >If someone have resources (and good will) to host these packages drop
> >me a note, please.
> >
> >>Kiran Reddy-3 wrote:
> >>>
> >>>   Hi,
> >>>
> >>> https://svn.kannel.org/gateway/trunk
> >>>
> >>>
> >>> On 9/22/2010 12:54, dafodil wrote:
> >>>> Hi List,
> >>>> > From the document i get following:
> >>>> -
> >>>> Latest Kannel must be installed (>1.4.3 svn version), including
> >>>> development
> >>>> headers and libraries.
> >>>> Kannel’s gwlib is needed for compilation. Additionally
> >a >>> working
> >>>> (running)
> >>>> Bearerbox is needed to 

Re: how i read messages from SIM card, and how i store the message

2010-09-23 Thread Milan P. Stanic
On Thu, 2010-09-23 at 18:39, Zaharia Constantin wrote:
> i am using kannel from ubuntu apt-get install.
> i don't know verry well hot to install from SVN.
> please help me

Few days ago I talked about uploading SVN version Debian/Ubuntu
packages to Kannel site. I hope it will be soon. :)

Drop me a note in private e-mail and I will put it somewhere on the net
so you could download it. Packages are for Debian testing but I hope it
should work on the current stable Ubuntu.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Queued for later delivery

2010-09-26 Thread Milan P. Stanic
On Sun, 2010-09-26 at 18:31, Harbhag Singh Sohal wrote:
> I just executed the following SQL query
> INSERT INTO send_sms (
>   momt, sender, receiver, msgdata, sms_type
> ) VALUES (
>   'MT', '1234', '1234567890', 'Hello world', 2
> );
> 
> with proper values and my message sent successfully. The query was
> executed using phpmyadmin, and the data was stored in sent_sms table.
> But now the question is why the message is not getting stored when it
> is sent from http interface ?
 
Should it be? Where did you read that the message which are sent over
HTTP interface are stored in any database?

They are not stored by design.

> On Sun, Sep 26, 2010 at 6:12 PM, Harbhag Singh Sohal
>  wrote:
> > I am using sqlbox but my messages are not getting stored in the
> > database. What can be the problem now ?
> > What information is required from my side ?
> >
> > On Sun, Sep 26, 2010 at 12:31 AM, Harbhag Singh Sohal
> >  wrote:
> >>> PS: When asking for "relevant to error" log, we mean not the whole log, 
> >>> just
> >>> an excerpt that corresponds to your failed attempt.
> >> Alright, I got it.
> >> Thanks for your responses. You are really helpful. I really appreciate
> >> your efforts.
> >>
> >
> >
> >
> > --
> > Harbhag Singh Sohal
> > Website : http://harbhag.wordpress.com/
> >
> 
> 
> 
> -- 
> Harbhag Singh Sohal
> Website : http://harbhag.wordpress.com/
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Queued for later delivery

2010-09-26 Thread Milan P. Stanic
On Sun, 2010-09-26 at 19:37, Harbhag Singh Sohal wrote:
> >
> > Should it be? Where did you read that the message which are sent over
> > HTTP interface are stored in any database?
> >
> > They are not stored by design.
> Thanks for your response. I think I misunderstood. But thank you for
> clarifying it for me.

You are welcome. 

Kannel can be compiled without support for any SQL backend. In that
case if the message is sent over HTTP interface, kannel cannot store
it in SQL because it don't have "knowledge" how to do that.
If the message is sent over HTTP interface then sender (which is
usually some program or script) should store sent message in the some
sort of database, be it SQL, DBM or simple flat file.

SQLBox is just add-on for kannel which can be used instead of HTTP
interface to send messages. As an SQL box, it stores sent messages to
another table (what is very good, for logging) as you have noticed.
But that is done by SQLBox and not by bearerbox (the kannel core).

I must tell that I don't know much about SQLBox because I never had
necessity to use it.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: unable to find out the error

2010-10-01 Thread Milan P. Stanic
On Fri, 2010-10-01 at 16:47, Harbhag Singh Sohal wrote:
> I have killed all the running instances of bearerbox but I am still
> getting this error although I can send sms successfully.
> In modem configuration what should I use for device. I am using Huawei
> E220 modem.

If your Kannel runs on Linux then it should be some of ttyUSB? devices,
/dev/ttyUSB0 probably.

> Below is the excerpt from my bb log
> 
> 2010-10-01 16:42:29 [6677] [3] ERROR: System error 98: Address already in use
> 2010-10-01 16:42:29 [6677] [3] PANIC: Could not open smsbox port 13016

Netstat is your friend:
netstat -ltnp | grep 13016

You will see which process is using that port

> 2010-10-01 16:42:29 [6677] [3] PANIC:
> /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed]
> 2010-10-01 16:42:29 [6677] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8]
> 2010-10-01 16:42:29 [6677] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d]
> 2010-10-01 16:42:29 [6677] [3] PANIC:
> /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xdb896e]
> 2010-10-01 16:42:29 [6677] [3] PANIC:
> /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xf55a4e]
> 2010-10-01 16:43:28 [6721] [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `1'.
> 2010-10-01 16:43:28 [6721] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 2010-10-01 16:43:28 [6721] [0] INFO: HTTP: Opening server at port 13015.
> 2010-10-01 16:43:28 [6721] [0] ERROR: bind failed
> 2010-10-01 16:43:28 [6721] [0] ERROR: System error 98: Address already in use
> 2010-10-01 16:43:28 [6721] [0] INFO: BOXC: 'smsbox-max-pending' not
> set, using default (100).
> 2010-10-01 16:43:28 [6721] [0] INFO: Set SMS resend frequency to 60 seconds.
> 2010-10-01 16:43:28 [6721] [0] INFO: SMS resend retry set to unlimited.
> 2010-10-01 16:43:28 [6721] [3] ERROR: bind failed
> 2010-10-01 16:43:28 [6721] [3] ERROR: System error 98: Address already in use
> 2010-10-01 16:43:28 [6721] [3] PANIC: Could not open smsbox port 13016
> 2010-10-01 16:43:28 [6721] [0] INFO: DLR rerouting for smsc id
>  disabled.
> 2010-10-01 16:43:28 [6721] [3] PANIC:
> /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed]
> 2010-10-01 16:43:28 [6721] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8]
> 2010-10-01 16:43:28 [6721] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d]
> 2010-10-01 16:43:28 [6721] [3] PANIC:
> /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x11996e]
> 2010-10-01 16:43:28 [6721] [3] PANIC:
> /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x5dca4e]
> 2010-10-01 16:43:29 [6727] [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `1'.
> 2010-10-01 16:43:29 [6727] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 2010-10-01 16:43:29 [6727] [0] INFO: HTTP: Opening server at port 13015.
> 2010-10-01 16:43:29 [6727] [0] ERROR: bind failed
> 2010-10-01 16:43:29 [6727] [0] ERROR: System error 98: Address already in use
> 2010-10-01 16:43:29 [6727] [0] INFO: BOXC: 'smsbox-max-pending' not
> set, using default (100).
> 2010-10-01 16:43:29 [6727] [3] ERROR: bind failed
> 2010-10-01 16:43:29 [6727] [3] ERROR: System error 98: Address already in use
> 2010-10-01 16:43:29 [6727] [0] INFO: Set SMS resend frequency to 60 seconds.
> 2010-10-01 16:43:29 [6727] [3] PANIC: Could not open smsbox port 13016
> 2010-10-01 16:43:29 [6727] [0] INFO: SMS resend retry set to unlimited.
> 2010-10-01 16:43:29 [6727] [3] PANIC:
> /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed]
> 2010-10-01 16:43:29 [6727] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8]
> 2010-10-01 16:43:29 [6727] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d]
> 2010-10-01 16:43:29 [6727] [3] PANIC:
> /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x51096e]
> 2010-10-01 16:43:29 [6727] [3] PANIC:
> /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xd67a4e]
> 2010-10-01 16:43:29 [6727] [0] INFO: DLR rerouting for smsc id
>  disabled.
> 2010-10-01 16:43:29 [6727] [0] INFO: DLR rerouting for smsc id
>  disabled.
> 
> 
> 2010/10/1 Nikos Balkanas :
> > Hi,
> >
> > Check your modem configuration. Seems you have put the wrong device.
> >
> > BR,
> > Nikos
> > - Original Message - From: "Harbhag Singh Sohal"
> > 
> > To: 
> > Sent: Friday, October 01, 2010 7:18 AM
> > Subject: Re: unable to find out the error
> >
> >
> >> I am also getting this on the screen
> >>
> >> 2010-10-01 09:27:10 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding
> >> PDU!
> >> 2010-10-01 09:27:10 [11581] [6] ERROR: System error 2: No such file or
> >> directory
> >> 2010-10-01 09:27:58 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding
> >> PDU!
> >> 2010-10-01 09:27:58 [11581] [6] ERROR: System error 2: No such file or
> >> directory
> >> 2010-10-01 09:39:58 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding
> >> PDU!
> >>
> >
> >
> 
> 
> 
> -- 
> Harbhag Singh Sohal
> Website   : http://harbhag.wordpress.com/
> Twitter      : http://twitter.com/harbhag
> Facebook : http://facebook.com/harbhag
> Email       : harbhag.so...@gmail.com
> 

-- 
Kind regards,  Milan
--

Re: unable to find out the error

2010-10-01 Thread Milan P. Stanic
On Fri, 2010-10-01 at 17:08, Harbhag Singh Sohal wrote:
> > Netstat is your friend:
> > netstat -ltnp | grep 13016
> According to this command there are two instances of bearerbox running
> on port 13015 and 13016. Is this behavior normal ??

It is not normal but it possible if you know what you do.
It is possible to have more kannel (bearerbox, smsbox ...) instances
running on the same machine but that requires some knowledge about
system administration and kannel configuration.

It is not for beginners for sure, IMHO.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: unable to find out the error

2010-10-01 Thread Milan P. Stanic
On Fri, 2010-10-01 at 17:00, Nikos Balkanas wrote:
> Actually this is normal. Netstat shows invidual connections. A
> single bearerbox instance should show 3+ such connections (http,
> smsbox, wap?, +SMSc). These are all mapped to the same pid.

Yes, you are right. I overlooked what the OP wrote in his post and I
haven't seen his config file.

> - Original Message ----- From: "Milan P. Stanic"
> 
> To: 
> Sent: Friday, October 01, 2010 3:26 PM
> Subject: Re: unable to find out the error
> 
> 
> >On Fri, 2010-10-01 at 17:08, Harbhag Singh Sohal wrote:
> >>> Netstat is your friend:
> >>> netstat -ltnp | grep 13016
> >>According to this command there are two instances of bearerbox running
> >>on port 13015 and 13016. Is this behavior normal ??
> >
> >It is not normal but it possible if you know what you do.
> >It is possible to have more kannel (bearerbox, smsbox ...) instances
> >running on the same machine but that requires some knowledge about
> >system administration and kannel configuration.
> >
> >It is not for beginners for sure, IMHO.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: USSD and shortCode programming

2010-10-13 Thread Milan P. Stanic
On Wed, 2010-10-13 at 01:12, dafodil wrote:
> Hi marcin thanks for the reply.
> yes i know about AT commands but can kannel automate this things.
> in other words if i want to send AT commands(ussd) through modem..does
> kannel help?

Kannel doesn't support sending "out of band" AT command to modem, AFAIK.
But that question gave me idea to implement it through the HTTP admin
interface or maybe through the separate interface, although I'm not
sure how much it would be useful.

> Marcin Bockowski wrote:
> > 2010/10/12 dafodil :
> >> about sending USSD strings from the modem...it wd help me if u give me a
> >> pointer other wise no problem ..u really did a lot tome me.
> > 
> > AT+CUSD
> > 
> > FTW! ;-)
> View this message in context: 
> http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29950480.html
> Sent from the Kannel - User mailing list archive at Nabble.com.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: syncronize kannel with smsc

2010-11-22 Thread Milan P. Stanic
On Mon, 2010-11-22 at 05:31, ishagh ouldbah wrote:
> are you sure?

According to SMPP version 3.4 time can be absolute or relative. Absolute
time is default.
How it is implemented in particular software is another question. I
think that the kannel uses absolute time, at least for SMPP.

Here is comment from gw/smsc/smsc_smpp.c
-
 /*
 * check for validity and defered settings
 * were message value has higher priiority then smsc config group
 * value
 * Note: we always send in UTC and just define "Time Difference" as
 * 00 and
 *   direction '+'.
 */

--

> 
> From: Nikos Balkanas 
> To: ishagh ouldbah ; users@kannel.org
> Sent: Mon, November 22, 2010 1:00:48 PM
> Subject: Re: syncronize kannel with smsc
> 
> Well, UG is wrong there.  In the SMSc definitions it states:
> 
> validityperiod integer
> 
> How long the message will be valid, i.e., how long the SMSC will try try to 
> send 
> the message to the recipient. Defined in minutes.
> 
> BR,
> Nikos
> - Original Message - From: ishagh ouldbah
> To: Nikos Balkanas ; users@kannel.org
> Sent: Monday, November 22, 2010 1:31 PM
> Subject: Re: syncronize kannel with smsc
> 
> 
> thans for your reponce
> but in SMS Push (send-sms) CGI Variables it is writen in the userguid that to 
> use
> the variable validity you should syncronize with smsc
> contant
> 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.
> note that i need to specify it for a specified service
> regards
> 
> 
> 
> 
> 
> From: Nikos Balkanas 
> To: ishagh ouldbah ; users@kannel.org
> Sent: Sun, November 21, 2010 4:00:52 PM
> Subject: Re: syncronize kannel with smsc
> 
> Hi,
> 
> You don't need to. SMPP protocol works with validity period (relative time). 
> Therefore, no absolute time is ever involved and you don't need to 
> synchronize.
> 
> BR,
> Nikos
> - Original Message - From: ishagh ouldbah
> To: users@kannel.org
> Sent: Sunday, November 21, 2010 4:18 PM
> Subject: syncronize kannel with smsc
> 
> 
> Hi all,
> I want to set validity variable so I need to syncrnize with the smsc
> my question is
> How can I syncronize kannel box with smsc
> regards 
> 
> 
> 
>   

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: bearerbox unable to connect to modem

2010-11-24 Thread Milan P. Stanic
On Wed, 2010-11-24 at 17:27, Harbhag Singh Sohal wrote:
> How can I use the minicom ? I installed it using apt-get on ubuntu. I
> never used minicom before. can you please explain how can I issue the
> following command ?

Did you tried "man minicom"? No? ;-)

N.B. It is strange a little bit that you can write "Best Lightweight
Applications for Linux ." and you can't remember man application.

> On Wed, Nov 24, 2010 at 5:16 PM, Mfawa Alfred Onen
>  wrote:
> > The problem is right infront of you. It seems your modem does not support
> > the "AT+CPMS" command. Try using minicom and issue the command "AT+CPMS=?".
> >
> > Mfawa Alfred Onen
> >
> >
> > On Wed, Nov 24, 2010 at 12:35 PM, Harbhag Singh Sohal
> >  wrote:
> >>
> >> udo bearerbox -v 0 /etc/kannel/kannel.conf
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Debug_lvl = 0, log_file = ,
> >> log_lvl = 0
> >> 2010-11-24 16:58:42 [3045] [0] INFO: DLR using storage type: internal
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Kannel bearerbox version
> >> `svn-r4871'.
> >> Build `Nov 24 2010 16:03:03', compiler `4.4.3'.
> >> System Linux, release 2.6.32-26-generic, version #47-Ubuntu SMP Wed
> >> Nov 17 15:58:05 UTC 2010, machine x86_64.
> >> Hostname harbhag, IP 192.168.1.88.
> >> Libxml version 2.7.6.
> >> Compiled with MySQL 5.1.41, using MySQL 5.1.41.
> >> Using native malloc.
> >>
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Added logfile
> >> `/var/log/kannel/bearerbox.log' with level `1'.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Started access logfile
> >> `/var/log/kannel/access.log'.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: SSL not supported, no SSL
> >> initialization done.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: HTTP: Opening server at port 13015.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 1
> >> (gwlib/fdset.c:poller)
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 2
> >> (gwlib/http.c:server_thread)
> >> 2010-11-24 16:58:42 [3045] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> >> maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [2] DEBUG: Thread 2
> >> (gwlib/http.c:server_thread) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [3] DEBUG: Thread 3
> >> (gw/bb_http.c:httpadmin_run) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 3
> >> (gw/bb_http.c:httpadmin_run)
> >> 2010-11-24 16:58:42 [3045] [2] DEBUG: HTTP: Including port 13015, fd 8
> >> for polling in server thread
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: starting smsbox connection module
> >> 2010-11-24 16:58:42 [3045] [0] INFO: BOXC: 'smsbox-max-pending' not
> >> set, using default (100).
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 4
> >> (gw/bb_boxc.c:sms_to_smsboxes)
> >> 2010-11-24 16:58:42 [3045] [4] DEBUG: Thread 4
> >> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 5
> >> (gw/bb_boxc.c:smsboxc_run)
> >> 2010-11-24 16:58:42 [3045] [5] DEBUG: Thread 5
> >> (gw/bb_boxc.c:smsboxc_run) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Set SMS resend frequency to 60
> >> seconds.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: SMS resend retry set to unlimited.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: MO concatenated message handling
> >> enabled
> >> 2010-11-24 16:58:42 [3045] [0] INFO: DLR rerouting for smsc id 
> >> disabled.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: AT2[MTK2]: configuration shows
> >> modemtype 
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: Reading modem
> >> definitions from 
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: Found <1> modems in
> >> config
> >> 2010-11-24 16:58:42 [3045] [0] INFO: AT2[MTK2]: read modem definition for
> >> 
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 6
> >> (gw/smsc/smsc_at.c:at2_device_thread)
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 7
> >> (gw/bb_smscconn.c:sms_router)
> >> 2010-11-24 16:58:42 [3045] [0] INFO:
> >> 
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Kannel bearerbox II version
> >> svn-r4871 starting
> >> 2010-11-24 16:58:42 [3045] [0] INFO: MAIN: Start-up done, entering
> >> mainloop
> >> 2010-11-24 16:58:42 [3045] [7] DEBUG: Thread 7
> >> (gw/bb_smscconn.c:sms_router) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: Thread 6
> >> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: trying to use speed
> >> <9600> from modem definition
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: start called
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: --> ^M
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:58:45 [3045] [6]

Re: bearerbox unable to connect to modem

2010-11-24 Thread Milan P. Stanic
[ sorry, for my previous mail. I intended to send it to mailing list but
  by mistake I sent it only to you. ]

On Wed, 2010-11-24 at 18:51, Harbhag Singh Sohal wrote:
> yes I have get-url parameter. But frankly speaking I dont know how to
> use it properly. But I am receiving sms in log file.

The easy way is to set http server server with your application wich
process incoming SMS. You then define get-url parameter in kannel.conf
to send GET HTTP request to your application (cgi-script).

It is explained (in not so clear language) in section "SMS-service
configurations" in Kannel's userguide.

> On Wed, Nov 24, 2010 at 6:50 PM, Milan P. Stanic 
> wrote:
> > On Wed, 2010-11-24 at 18:30, Harbhag Singh Sohal wrote:
> >> i tried AT+CNMI="0,2,3"
> >> 
> >> in kannel.conf and it worked.
> >> is this ok to receive sms ?
> >
> > Did you set up get-url parametar in you kannel.conf?
> > 

[...]
On Wed, 2010-11-24 at 18:30, Harbhag Singh Sohal wrote:
> i tried AT+CNMI="0,2,3"
> in kannel.conf and it worked.
> is this ok to receive sms ?
> 
> On Wed, Nov 24, 2010 at 6:28 PM, Harbhag Singh Sohal
>  wrote:
> > at minicom console i got this
> >
> > AT+CNMI=?
> > +CNMI: (0-3), (0-3), (0,2,3), (0,1), (0,1)
> >
> > OK
> > So what can be correct configuration with this output ?
> >
> > On Wed, Nov 24, 2010 at 6:25 PM, Mfawa Alfred Onen
> >  wrote:
> >> yes "sim-buffering=true" and "message-storage=sm". And also from what you
> >> said, you are not using the correct AT+CNMI value in your init-string. You
> >> will have to check the AT documentation  of your modem manufacturer. The
> >> CNMI command is used by kannel to detect incoming SMS into the modem, so
> >> without it, you can't receive SMS.
> >>
> >> Hope it helps.
> >>
> >> Mfawa Alfred Onen
> >>
> >> On Wed, Nov 24, 2010 at 1:48 PM, Harbhag Singh Sohal
> >>  wrote:
> >>>
> >>> sim-buffering=true
> >>>
> >>> On Wed, Nov 24, 2010 at 6:11 PM, Mfawa Alfred Onen
> >>>  wrote:
> >>> > OK it looks like the modem supports the command. Well there are
> >>> > somethings
> >>> > you still need to try.
> >>> >
> >>> > 1) Read about "sim-buffering" in UG
> >>> > 2) You can also try playing with your init-string containing the
> >>> > "AT+CNMI".
> >>> >
> >>> > Mfawa Alfred Onen
> >>> >
> >>> >
> >>> > On Wed, Nov 24, 2010 at 1:17 PM, Mfawa Alfred Onen
> >>> > 
> >>> > wrote:
> >>> >>
> >>> >> Milan is right, try doing a "man minicom". You can also do a google on
> >>> >> minicom. The most importing thing you need to know is:
> >>> >>
> >>> >> 1) the AT driver (e.g AT or AT15200)
> >>> >> 2) the port (e.g /dev/ttyACM* or /dev/ttyUSB*)
> >>> >> 3) the speed (which you have already gotten from wvdial)
> >>> >>
> >>> >> Once you set it right, you should be able to log into the console (AT
> >>> >> interface). When you are in, just issue "AT+CPMS=?"
> >>> >>
> >>> >> Mfawa Alfred Onen
> >>> >>
> >>> >> On Wed, Nov 24, 2010 at 1:07 PM, Milan P. Stanic 
> >>> >> wrote:
> >>> >>>
> >>> >>> On Wed, 2010-11-24 at 17:27, Harbhag Singh Sohal wrote:
> >>> >>> > How can I use the minicom ? I installed it using apt-get on ubuntu.
> >>> >>> > I
> >>> >>> > never used minicom before. can you please explain how can I issue
> >>> >>> > the
> >>> >>> > following command ?
> >>> >>>
> >>> >>> Did you tried "man minicom"? No? ;-)
> >>> >>>
> >>> >>> N.B. It is strange a little bit that you can write "Best Lightweight
> >>> >>> Applications for Linux ." and you can't remember man application.
> >>> >>>
> >>> >>> > On Wed, Nov 24, 2010 at 5:16 PM, Mfawa Alfred Onen
> >>> >>> >  wro

Re: How to remove split chars

2010-11-30 Thread Milan P. Stanic
On Tue, 2010-11-30 at 15:16, Nguyen Van Minh wrote:
> Please help me.
> On Mon, Nov 29, 2010 at 5:22 PM, Nguyen Van Minh wrote:
> > Sorry, I don't want to spam this list, but please help me. :(

But you do.

> > On Mon, Nov 29, 2010 at 12:53 PM, Nguyen Van Minh 
> > wrote:
> >> I try with split-suffix, but Kannel append split-suffix chars after
> >> split-chars.

It is supposed to do just that. It is called split-suffix so is adds
suffix at the split point.

> >> with: split-suffix = "cont."
> >> split-chars = "#"

split-chars are characters in the message at which split is allowed but
not forced. And the split characters are not removed from the final
message, AFAIK.

> >> the first message become: "this is first MT#cont."
> >> that still with "#" char.
> >>
> >>
> >>
> >>
> >> On Mon, Nov 29, 2010 at 12:46 PM, Willy Mularto wrote:
> >>
> >>> split-suffix?
> >>>
> >>>
> >>>
> >>>  sangprabv
> >>> sangpr...@gmail.com
> >>> http://www.petitiononline.com/froyo/
> >>>
> >>>
> >>> On Nov 29, 2010, at 12:15 PM, Nguyen Van Minh wrote:
> >>>
> >>> Thank for your reply but I can't see any option for replace split-chars
> >>> in all UG or service configuration session. Please help me.
> >>> Thanks,
> >>>
> >>> On Mon, Nov 29, 2010 at 11:45 AM, Willy Mularto 
> >>> wrote:
> >>>
>  check sms service configuration. there is  an option to replace the
>  split-chars and split-suffix.
> 
> 
>   sangprabv
>  sangpr...@gmail.com
>  http://www.petitiononline.com/froyo/
> 
> 
>  On Nov 29, 2010, at 11:13 AM, Nguyen Van Minh wrote:
> 
>  Sorry, I don't want to spam this list, but please help me. :(
> 
>  On Sun, Nov 28, 2010 at 10:27 PM, Nguyen Van Minh <
>  min...@fscvietnam.com> wrote:
> 
> > Dear users,
> > When I used split chars, for example:
> > "this is first MT#this is second MT"
> >
> > Kannel split to two message: "this is first MT#" and "this is second
> > MT".
> > Please tell me how to tell Kannel remove "#" char on the first message?
> > I want first message not include '#' char.
> >
> > Thanks,
> > Minh
> >
> >
> 
> 
> 
> >>>
> >>>
> >
> 
> 
> -- 
> FSC INFORMATICS ELECTRONICS JOINT STOCK COMPANY
> Add: 1st floor, 3B building, No45 Phuong Liet Str., Thanh Xuan Dist., Ha
> Noi, Vietnam
> Tel: +84-4-38688809 +84-4-38688832 Fax: +84-4-38688810
> Website: http://www.fscvietnam.com ; http://www.fsc.vn
> Email: i...@fscvietnam.com
> Direct: min...@fscvietnam.com , Mobile: +84-4-904101100

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Use of Kannel for massive SMS Messaging?

2010-12-10 Thread Milan P. Stanic
On Thu, 2010-12-09 at 19:48, C.Savinovich wrote:
>   I didn't know about smpp, I am researching the term, but basically, how
> can this be considered the equivalent of a direct line to a carrier?...
> Meaning I can call a wireless carrier and ask for an "smpp line"? Do
> carriers provide these services? How come I call the carriers and nobody
> seems to know what I am asking them?

There are other protocols to connect your system with the carrier not
only SMPP but SMPP is most used. Some other are UCP/EMI, CIMD, OIS and
even HTTP and SOAP based services. They are described in userguide.
Carriers can be mobile operators but also SMS operators like Clickatel
and similar. Google, http://www.developershome.com/sms/  and userguide
are your friends.

> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of users-requ...@kannel.org
> Sent: Tuesday, December 07, 2010 4:32 AM
> To: users@kannel.org
> Subject: users Digest, Vol 52, Issue 8
> 
> Send users mailing list submissions to
>   users@kannel.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://www.kannel.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>   users-requ...@kannel.org
> 
> You can reach the person managing the list at
>   users-ow...@kannel.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
> 
> 
> Today's Topics:
> 
>1. Re: Use of Kannel for massive SMS Messaging? (Abdul Basit)
>2. Re: Use of Kannel for massive SMS Messaging? (Nikos Balkanas)
>3. Re: Use of Kannel for massive SMS Messaging?
>   (Praveena Sarathchandra)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 7 Dec 2010 12:06:01 +0500
> From: Abdul Basit 
> To: Alvaro Cornejo 
> Cc: "C. Savinovich" , users
>   
> Subject: Re: Use of Kannel for massive SMS Messaging?
> Message-ID:
>   
> Content-Type: text/plain; charset="iso-8859-1"
> 
> We tested kannel with 120 sms/sec, the max limit our provider opened for
> us.
> we are directly connected with one smsc only.
> I think we can achieve more.
> 
> 
> 
> On Tue, Dec 7, 2010 at 1:14 AM, Alvaro Cornejo
> wrote:
> 
> > Hi
> >
> > You can get a direct link to your carrier; but due to costs, you will
> > need a high volume per month to be cost effective; Also, you will need
> > to have one link per carrier since normally carriers will not forward
> > sms into their SMPP links to another carrier. They will do if usinf a
> > sim card (long code)
> >
> > An option would be to work with an agregator.
> >
> > You dont need to have any special multitheading for connect kannel to
> > several modems/links; kannel will doit for you, You only need to
> > define as much SMSC's in its configuration as yu need/have. As stated
> > below; I do have over 30 links with one bearerbox;
> >
> > It is however possible to split your traffic between several kannel
> > instances/boxes.
> >
> > 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 Mon, Dec 6, 2010 at 2:52 PM, C. Savinovich
> >  wrote:
> > >
> > > Thank you very much Alvaro, excuse these 2 dumb questions:
> > >
> > > 1) If the carrier provides you with a contract, why can't they just
> > provide
> > > you with an API and receive a text file, or a web service access, or
> even
> > a
> > > dedicated T1, or anything that will take seconds to transfer all the
> > > messages directly into the carrier's network? isn't it a better idea
> than
> > > using 20 modems?
> > >
> > > 2) I have seen people having to employ sophisticated multi-threading to
> > > handle 20 modems at the same time, granted, in .net... If I use
> > > Linux/Kannel, will all I need is one Kannel session, with Linux handling
> > all
> > > the multi-tasking?, or should I have to setup 20 concurrent Kannel
> > > instances?
> > >
> > > Many thanks
> > > C. Savinovich
> > >
> > >
> > >
> > > On December 6, 2010 at 2:29 PM Alvaro Cornejo 
> > > wrote:
> > >
> > >> Hi
> > >>
> > >> The real throughput will depend on MANY factors so it is diffcult to
> > >> give you a number; but in general, the bottle neck is -using a medium
> > >> hardware-  the carrier.
> > >>
> > >> We have over 30 "SMSC" connected to my kannel box. AT, SMPP, Http,
> > >> agregators, propietary ones, etc with no problems. We do have over 20
> > >> modems connected to a single kannel machine through some terminal
> > >> servers. The troughput of them is in average of 480-500sms/hr
> > >>
> > >> W

Re: running 2 different versions at the same machine

2010-12-15 Thread Milan P. Stanic
On Wed, 2010-12-15 at 18:17, Mohammed Saleem wrote:
> 
> I've been running 1.4.3 since a while serving more than 100 SMPP connections
> with millions of MTs a day, we want to try the new dev version and do some
> tests so we can help in feedback, but I need to know if I can run 2
> different versions (1.4.3) and the latest dev version (1.5) at the same
> machine, can we do this?
 
Of course. You must set different ports in config files and use
different config files for each version.

> /kannel/gateway1.4.3/
> /kannel/gateway1.5.0/
> 
> will they affect each others or not? I have tested the 1.5.0 on a test
> machine and it looks so encouraging to stress-test it on production, but I
> need to know first if I can put the latest version on the same machine
> having live 1.4.3 running
> 
> Note: I did not run the install script when I compiled kannel 1.4.3 on
> production (just configure and make and then soft-linked bearerbox and
> smsbox)
> Note: I don't use neither sql-box nor opensmppbox, only bb and smsbox
> 
> 
> Thanks
> 
> Best Regards,
> Mohammed M I Sleem
> 
> http://www.abusleem.net  - Personal blog
> 
> http://www.freakle.com - The Search Freak 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: bearerbox error

2011-01-12 Thread Milan P. Stanic
On Wed, 2011-01-12 at 16:07, Harbhag Singh Sohal wrote:
> Is this because my SIM is blocked by the carrier because we are sending high
> amount of SMS ?

It could be.

> can somebody please confirm it ?

The +CMS ERROR 500 means an unknown error, usually. 

> On Wed, Jan 12, 2011 at 4:01 PM, Harbhag Singh Sohal <
> harbhag.so...@gmail.com> wrote:
> 
> > I am using Standard SIM with the Huawei E220 GSM Modem.
> >
> >
> > On Wed, Jan 12, 2011 at 12:40 PM, Harbhag Singh Sohal <
> > harbhag.so...@gmail.com> wrote:
> >
> >> I am not able to send sms and when I checked the bearerbox.log I got the
> >> following
> >>
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84ea8 vs 0x8c84ea8)
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: Message routed successfully.
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84da0 vs 0x8c84da0)
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84da0 vs 0x8c84da0)
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:38:07 [15333] [7] DEBUG: sms_router: time to sleep 30.00
> >> secs.
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]:
> >> TP-Validity-Period: 24.0 hours
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: --> AT+CMGS=64^M
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: <-- >
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: send command
> >> status: 1
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: -->
> >> 0011000A814946619940A73AAD56ABA19896DDE4B21C04D2B540C8B05C8C0E9F41D3B4FB8C064DDFE830BBA168BEC569761904D2B540399A6D069BC16EB119
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: --> ^Z
> >> 2011-01-12 12:38:09 [15333] [6] DEBUG: AT2[huawei_E220]: <-- >
> >> 2011-01-12 12:38:11 [15333] [6] DEBUG: AT2[huawei_E220]: <-- +CMS ERROR:
> >> 500
> >> 2011-01-12 12:38:11 [15333] [6] ERROR: AT2[huawei_E220]: +CMS ERROR: +CMS
> >> ERROR: 500
> >> 2011-01-12 12:38:11 [15333] [6] ERROR: AT2[huawei_E220]: +CMS ERROR: An
> >> unknown error occurred (500)
> >> 2011-01-12 12:38:11 [15333] [6] DEBUG: AT2[huawei_E220]: send command
> >> status: 1
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: sms_router: gwlist_len = 2
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84da0 vs 0x8c84da0)
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84f78 vs 0x8c84da0)
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84da0 vs 0x8c84da0)
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:38:37 [15333] [7] DEBUG: sms_router: time to sleep 30.00
> >> secs.
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: gwlist_len = 2
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84f78 vs 0x8c84f78)
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84da0 vs 0x8c84f78)
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: Message routed successfully.
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84f78 vs 0x8c84f78)
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: handling message
> >> (0x8c84f78 vs 0x8c84f78)
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: re-queing SMS not-yet-to-be resent
> >> 2011-01-12 12:39:08 [15333] [7] DEBUG: sms_router: time to sleep 30.00
> >> secs.
> >>
> >> What does that mean ?
> >>
> >> --
> >> *Harbhag Singh Sohal*
> >> www.harbhag.wordpress.com
> >>
> >
> >
> >
> > --
> > *Harbhag Singh Sohal*
> > www.harbhag.wordpress.com
> >
> 
> 
> 
> -- 
> *Harbhag Singh Sohal*
> www.harbhag.wordpress.com

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: SMS Time Stamp Question

2011-01-20 Thread Milan P. Stanic
On Thu, 2011-01-20 at 01:09, Helen Sang wrote:
> Dear Kannel users,
> 
> I use this sms-service to accept SMS from GSM Modem (motorola ROKR phone):
> 
> group = sms-service
> #keyword = default
> keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = 
> "http://localhost/~xxx/xxx/sms/receiveSMS.php?phone=%p&text=%a&time=%t";
> #text = "default sms service no url"
> 
> The PHP script simply get the three strings and store them into db table.
> 
> We are at GMT+8 zone.  My linux system and the phone are both set with local 
> time and GMT+8 zone.  When I receive a sms, the timestamp read on the phone 
> is normal local time, for example 4:53pm, but for the same message, the time 
> stamp stored in database table is 08:53.  
> 
> Since the phone think the time is 4:53pm, which is correct, and the db table 
> store a value of 08:53, I assume kannel has altered the timestamp to GMT.  
> But I can't find in UM a clause to set timezone.  
> 
> Can someone please help?

Kannel use UTC time by default. If you want localtime you must
./configure it with --enable-localtime and recompile.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 11:12, Bob O'Souna wrote:
> Thanks Rudy - I think the problem is my sendsms-url
> 
> If I leave my sendsms-url as /cgi-bin/sendsms and call my script on the UNIX
> command line, it works. Note that my script calls
> http://localhost:13013/cgi-bin/sendsms?username=me&password=pass&to=123456789&from=987654321&text=Test&dlr-mask=31
> 
> Once I change sendsms-url to
> http://localhost:13013/myscripts/sendctrlsms.php?, nothing works.

If you want to send sms through Kannel you must use /cgi-bin/sendsms or
configure it in the smsbox group with the sendsms-url parameter.

But, I see that your sendsms-url ends in .php so I think that you want
to use some PHP code to preprocess message and then (from that script)
send it to the Kannel's sendsms-url. Right?

> In your case - what is your sendsms-url? 
> Thanks for your help.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 12:29, Bob O\'Souna wrote:
> > If you want to send sms through Kannel you must use /cgi-bin/sendsms or
> > configure it in the smsbox group with the sendsms-url parameter.
> > 
> > But, I see that your sendsms-url ends in .php so I think that you want
> > to use some PHP code to preprocess message and then (from that script)
> > send it to the Kannel's sendsms-url. Right?
> 
> This is very accurate. I want to use my PHP script to preprocess the message 
> and
> then (from that script) send it to the Kannel's sendsms-url.
> 
> So what should my sendsms-url be?

Then you can use default (/cgi-bin/sendsms) and from your script send
sms over it. Easy and simple. 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 13:09, Bob O'Souna wrote:
> I think you have misunderstood me

Looks like you are right. :-)
 
> Inbound SMS -> (BearerBox - SMSBox) -> SMSC -> SendSMS
>  
> The aim is to dyamically change the message being forwarded by SendSMS by 
> using
> the script.

I don't understand what you want to achieve by this setup.
Could you describe it a little bit?
What are SMSC and SendSMS in your setup?

> I must therefore 
> 1) change the SendSMS to a script or 
> 2) modify Kannel to send the SMS using the default sendsms but the message
> parameters must be changed at run time.
> 
> Can you help?

http://www.catb.org/~esr/faqs/smart-questions.html 

If I cannot I'm sure somebody will. :-)

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 13:37, Bob O'Souna wrote:
> Apologies - let me make the question crystal clear.
> 
> I am receiving SMS's from another SMSC. The task is to receive these SMS's and
> forward them after changing the parameters of the SMS (i.e. append some
> commercial text, change the sender info etc)
> 
> At the moment, I receive the SMS and retransmit without a problem. I now need 
> to
> capture the SMS and change the relevant parameters (hence the script) and then
> relay the SMS.

I presume that you have Kannel connected to two SMSCs. Right?

Set the get-url in sms-service group over which you receive sms to
point to your script.
Do whatever you want with the received sms and then send it to the
Kannel via (default, or change it if you prefer) sendsms-url
(/cgi-bin/sendsms).

You can add smsc id parameter to /cgi-bin/sendsms if you want to send
sms over preferred SMSC.

> My script sends the SMS in the format I require (when run from the command
> line). I now need Kannel to run that script instead of sending out the SMS via
> the default Kannel sendsms
> 
> Can you help?

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 14:40, Bob O\'Souna wrote:
> Yes, I have Kannel connected to two SMSCs. 
> 
> Just to ensure we are on the same page, you are saying
> 1) Set the get-url in sms-service group that I receive the sms' to my script

Yes, but I think you did that already. Example:

http://localhost:80/myscripts/sendctrlsms.php?time=%t&from=%q&to=%Q&smscid=%i&charcode=%C&coding=%c&text=%a

Look at port value in the URL. Set it to port where your web server
listen. And IP address/name where is web server is actually works.

You know that you must have HTTP server running and accepting HTTP
request from Kannel configured "via" get-url parameter.

> 2) Leave sendsms-url unchanged as /cgi-bin/sendsms (You also say I can add the
> smsc id parameter to /cgi-bin/sendsms if I so desire - will %I suffice?)

Yes. But if you like to change it you can.
 
> This is fine, but will Kannel automatically use the modified parameters in my
> script? If I set message to "" from "" within the script, how can 
> Kannel
> know the new value?

You set parameters in the URL. Look below.

> Do I need to "export" these parameters? (I am sure you know
> what I mean!!)

No, export is not needed.
From your script you send message to Kannel calling /cgi-bin/sendsms
with parameters according to your will. Example:
http://localhost:13013/cgi-bin/sendsms?username=me&password=pass&to=123456789&from=987654321&smsc=preferred_smsc_id&text=Test&dlr-mask=31

There are more parameters, read the userguide for detailed list.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-23 Thread Milan P. Stanic
On Sat, 2011-01-22 at 17:09, Bob O'Souna wrote:
> > Set the get-url in sms-service group over which you receive sms to
> > point to your script.
> > Do whatever you want with the received sms and then send it to the
> > Kannel via (default, or change it if you prefer) sendsms-url
> > (/cgi-bin/sendsms).
> I have read these lines at least 1000 times and I am about to scream!! lol
> 
> This is my sms-service
> 
> group=sms-service
> keyword=default
> name=mytrap
> catch-all=true
> accepted-smsc=mySMSC
> omit-empty=true
> max-messages=0
> concatenation=true
> get-url="http:///sms_apis/sendctrlsms.php?from=%P&to=%p&msg=%a&drlurl=xxx";
> 
> 
> From a browser,
> http:///sms_apis/sendctrlsms.php?from=%P&to=%p&msg=%a&drlurl=xxx sends my
> desired SMS to the desired target if I substitute %P, %p and %a.
> 
> However, when sent a message from another SMSC, I just DONT get the SMS!! I 
> have
> no other sms-service definations.

You should check Kannel log files to see if the message arrived to
Kannel and does Kannel tried to send it to your web server.

Then, if it is there does the Kannel connects to your web server or does
your server accepts HTTP request from Kannel, or the access from Kannel
is blocked by web server configuration or firewall.

> Can anyone point me to what I am doing wrong??

You should read *carefully* userguide. There you will find answers to
all your questions. And (as I suggested to you earlier) read
*carefully* the
http://www.catb.org/~esr/faqs/smart-questions.html
if you didn't already.

This advice would be useful for most subscribers to users@kannel.org
list.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Dynamic change of message i

2011-01-24 Thread Milan P. Stanic
On Sun, 2011-01-23 at 16:52, Bob O'Souna wrote:
> Thanks Milan - but I am not sure your response is apt here. I have read the
> manual and have managed to get Kannel to send MT messages. I can also reroute
> the inbound SMS to another SMSC. My problem is in trapping the incoming SMS 
> and
> then sending out a manipulated SMS. The guide certainly does not help here!!
 
excerpt from: http://www.catb.org/~esr/faqs/smart-questions.html
--
Dealing with rudeness

Much of what looks like rudeness in hacker circles is not intended to
give offense. Rather, it's the product of the direct,
cut-through-the-bullshit communications style that is natural to people
who are more concerned about solving problems than making others feel
warm and fuzzy.
---

Also, when replying to someones mail you should include quoted relevant
part to provide context.

> I have looked at the logs and have made it clear. The message just sits within
> the kannel store
> 
> SMS: received 1 (1 queued), sent 0 (0 queued), store size 1
> SMS: inbound (0.02,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
> 
> I cam also see the message in the store file. Kannel is not trying to call the
> http server - thats the problem!

Kannel, if configured properly, for sure will try to GET URL defined
with get-url parameter.

Check your configuration. Increase log level and then again check log
files. Post relevant part from log file if you don't understand it. Post
your complete configuration to the list and maybe someone of the
experienced users will notice mistakes (if they exists).

I noticed in some of your previous mail (but because you did not include
relevant part of thread I cannot refer here at it) you put dlr-url in
get-url parameter. Why? Your script should put that parameter to the
sendsms-url.

Kannel is pretty good piece of software and in many years it worked for
many people/organizations very well. Yes, documentation could be
improved but with careful reading it quite useable.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Configuration issues with first install - on Mac

2011-02-05 Thread Milan P. Stanic
On Sat, 2011-02-05 at 16:49, Lou Picciano wrote:
> Indeed, I have read the UG. Wouldn't waste your time - or that of others - 
> had I not! 

You must be more careful when reading technical documents.

Excerpt from the userguide:
---
 Configuration file syntax

A configuration file consists of groups of configuration variables.
Groups are separated by empty lines, and each variable is defined on
its own line. Each group in Kannel configuration is distinguished with
a group variable. Comments are lines that begin with a number sign (#)
and are ignored (they don't, for example, separate groups of variables).
---

Keywords are: "Groups are separated by empty line"

> But I think the error messages I'm getting are a non sequitur - don't think I 
> do actually have an error in my sms-service config. What I'm seeing is a bit 
> more fundamental than that... 
> 
> 
> Can you tell me what the 'accepted' line terminators would be for this conf 
> file? I am editing in UNIX, with LF terminations - perhaps all CRs is the 
> required way, and the source of all this? 
> 
> 
> 
> 
> 
> # ./bearerbox -v 1 /etc/kannel/kannel.conf 
> 
> ERROR: Can't find out official hostname for this host, using 
> `kannelbox.0.168.192.in-addr.arpa' instead. 
> 
> INFO: Debug_lvl = 1, log_file = , log_lvl = 0 
> 
> PANIC: DLR: can't find group core 
> 
> 
> My entire config is below; every other line is commented with a '#': 
> 
> 
> 
> 
> 
> group = core 
> 
> admin-port = 13000 
> 
> admin-password = bar 
> 
> #status-password = foo 
> 
> #admin-deny-ip = "" 
> 
> #admin-allow-ip = "" 
> 
> log-file = "~/Desktop/kannel.log" 
> 
> log-level = 1 
> 
> access-log = "~/Desktop/access.log" 
> 
> #http-proxy-host = "127.0.0.1" 
> 
> #http-proxy-port = 8080 
> 
> #http-proxy-exceptions = "127.0.0.1" 
> 
> #http-proxy-username = "user" 
> 
> #http-proxy-password = "password" 
> 
> #ssl-certkey-file = "mycertandprivkeyfile.pem" 
> 
> # 
> 
> 
> # SMSBOX SETUP 
> # 
> group = smsbox 
> bearerbox-host = localhost 
> sendsms-port = 13013 
> #sendsms-chars = "0123456789 +-" 
> global-sender = 12345 
> #log-file = "/tmp/smsbox.log" 
> # WHY DOES KANNEL BALK AT THIS? log-level = 0 
> #access-log = "access.log" 
> #white-list = 
> #black-list = 
> #reply-couldnotfetch = 
> #reply-couldnotrepresent = 
> #reply-requestfailed = 
> #reply-emptymessage = 
> # 
> # 
> # SEND-SMS USERS 
> # 
> group = sendsms-user 
> username = tester 
> password = foobar 
> 
> 
> 
> # SMS SERVICE Default 
> # there should be default always 
> group = sms-service 
> keyword = default 
> text = "No service specified" 
> 
> - Original Message - 
> From: "Nikos Balkanas"  
> To: "Lou Picciano" , "Kannel Users" 
>  
> Sent: Saturday, February 5, 2011 10:49:01 AM 
> Subject: Re: Configuration issues with first install - on Mac 
> 
> Hi, 
> 
> So you have read, as you say, the UG. As log states, you have an error in 
> your sms-service configuration. Remove offending line and retry. 
> 
> BR, 
> Nikos 
> - Original Message - 
> From: Lou Picciano 
> To: Kannel Users 
> Sent: Saturday, February 05, 2011 4:25 PM 
> Subject: Configuration issues with first install - on Mac 
> 
> 
> Dear Kannel Friends, 
> 
> 
> Trying our first configuration - on Mac - and having some difficulty. After 
> setting up a minimal configuration, the bearer box starts OK. 
> 
> 
> Immediately, though, the SMSbox complains at startup about various syntax 
> errors - it doesn't like carriage returns in the same config file just read 
> by the bearerbox? - and then complains about things like logs settings being 
> in the wrong sections of the config. Note: I am being careful that the 
> config file contains only CRs, no LFs. 
> 
> 
> All seems related to some error in how the smsbox program is reading the 
> config file - even after removing all blank lines, smsbox complains: 
> 
> 
> # ./smsbox -v 1 /etc/kannel/kannel.conf 
> 2011-02-04 19:19:39 [10625] [0] ERROR: Can't find out official hostname for 
> this host, using `kannelbox.0.168.192.in-addr.arpa' instead. 
> 2011-02-04 19:19:39 [10625] [0] INFO: Debug_lvl = 1, log_file = , 
> log_lvl = 0 
> 2011-02-04 19:19:39 [10625] [0] ERROR: Group 'sms-service' may not contain 
> field 'log-level'. 
> 2011-02-04 19:19:39 [10625] [0] ERROR: Error found on line 235 of file 
> `/etc/kannel/kannel.conf'. 
> 2011-02-04 19:19:39 [10625] [0] PANIC: Couldn't read configuration from 
> `/etc/kannel/kannel.conf'. 
> 2011-02-04 19:19:39 [10625] [0] PANIC: 0 smsbox 
> 0x000100037046 gw_panic + 374 
> 2011-02-04 19:19:39 [10625] [0] PANIC: 1 smsbox 
> 0x0001290e main + 4478 
> 2011-02-04 19:19:39 [10625] [0] PANIC: 2 smsbox 
> 0x000110a4 start + 52 
> 2011-02-04 19:19:39 [10625] [0] PANIC: 3 ??? 
> 0x0004 0x0 + 4 
> 
> 
> Help! Really at a loss here! This Mac setup was supposed to be the easy 
>

Re: Kannel HTTP locking up

2011-02-22 Thread Milan P. Stanic
On Tue, 2011-02-22 at 17:14, seikath wrote:
> A lot of Windows admins like the Ubuntu server, http://www.ubuntu.com/server
> Personally, CentOS is the best, when you have no option for Slackware, of 
> course .. :)

Should we start Linux distributions war on this list ;-)

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel HTTP locking up

2011-02-23 Thread Milan P. Stanic
On Wed, 2011-02-23 at 13:04, Abdul Basit wrote:
> On Wed, Feb 23, 2011 at 12:23 AM, Milan P. Stanic  wrote:
> > On Tue, 2011-02-22 at 17:14, seikath wrote:
> > > A lot of Windows admins like the Ubuntu server,
> > http://www.ubuntu.com/server
> > > Personally, CentOS is the best, when you have no option for Slackware, of
> > course .. :)
> > Should we start Linux distributions war on this list ;-)
> not a war. these are opportunities and flexibility.
> Ubuntu is easier in use.

[ OK, we started a war, :-) ]

OP question was about best Linux distribution for Kannel and not easier
to use.

Because Ubuntu is based on Debian we could easily conclude that the
Debian is best. I don't claim that the Debian is the best although I
think so, because I know it best and I'm using it more than fifteen
years.

Alejandro and seikath tell us that they uses Centos and that is the best
distribution for them (I presume).

You are using Ubuntu (I presume, again) and it is the best for you.

Some people use RH (with paid support) and that is the best solution for
them.

So, there is no best distribution, just the good ones.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: New to Kannel

2011-03-21 Thread Milan P. Stanic
On Mon, 2011-03-21 at 18:48, Nikos Balkanas wrote:
> Go to the site http://www.kannel.org and follow downloading
> instructions. You will need to install package svn. To check you can
> use:
> 
> ls $(which svn)
> 
> (I am sure there must be a better command to check packages in Debian)
> and to install it:
> 
> apt-get svn.

apt-get install subversion

or

aptitude install subversion 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: new to compiling 1.43 version.

2011-03-21 Thread Milan P. Stanic
On Mon, 2011-03-21 at 17:01, Joey L wrote:
> I am running Kannel that comes as a debian package.
> I installed and configured it via apt-get .
> I have download the new version 1.43 and have compiled it.
> I would like to remove the old version of the debian package and install the
> new code - can someone help me ???
> 
> I know to remove the package, it is dpkg -e kannel.
> 
> I have compiled the new package and i have to run one more command :
> 
> make bindir=/somewhere/suitable install
> 
> Can anyone tell me what "/somewhere/suitable install"  should be 
> 
> I would also like to know how i can get the init.d script running
> properly under the new version.

Which Debian release you run?

I have built Kannel 1.5.0 (not svn) for Debian squeeze (current stable)
and for i386 and amd64 architectures only. If it suits your needs send
me a mail and I will put it somewhere for download.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: New to Kannel

2011-03-21 Thread Milan P. Stanic
On Mon, 2011-03-21 at 10:48, Adan Canales wrote:
> I quit on Debian, too dificult, instead on Ubuntu was easy to install.

Ubuntu is Debian derivative so it is very similar and admin tools are
the same. 

And Debian is stable as a rock. One server with Kannel which I maintain,
right now have uptime of 606 days (should I announce when it comes to
666 ;-> ), i.e. works 606 days without reboot.

Here it is:
# uptime
23:19:55 up 606 days, 15:18,  2 users,  load average: 0.00, 0.00, 0.00

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: new to compiling 1.43 version.

2011-03-22 Thread Milan P. Stanic
On Tue, 2011-03-22 at 16:11, Joey L wrote:
> i was able to run:
> svn co https://svn.kannel.org/gateway/trunk
> 
> and I am currently pulling the code down, can you tell me what the next
> steps are?
> I guess compile the source ??

Read the userguide.
 
> thanks
> mjh
> 
> On Tue, Mar 22, 2011 at 4:06 PM, Joey L  wrote:
> 
> > can you provide instrucitons on how i can do it for myself ???
> > I am running this :
> > Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) (da...@debian.org)
> > (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jan
> > 25 05:59:43 UTC 2011
> >
> >
> > On Mon, Mar 21, 2011 at 6:18 PM, Milan P. Stanic  wrote:
> >
> >> On Mon, 2011-03-21 at 17:01, Joey L wrote:
> >> > I am running Kannel that comes as a debian package.
> >> > I installed and configured it via apt-get .
> >> > I have download the new version 1.43 and have compiled it.
> >> > I would like to remove the old version of the debian package and install
> >> the
> >> > new code - can someone help me ???
> >> >
> >> > I know to remove the package, it is dpkg -e kannel.
> >> >
> >> > I have compiled the new package and i have to run one more command :
> >> >
> >> > make bindir=/somewhere/suitable install
> >> >
> >> > Can anyone tell me what "/somewhere/suitable install"  should be 
> >> >
> >> > I would also like to know how i can get the init.d script running
> >> > properly under the new version.
> >>
> >> Which Debian release you run?
> >>
> >> I have built Kannel 1.5.0 (not svn) for Debian squeeze (current stable)
> >> and for i386 and amd64 architectures only. If it suits your needs send
> >> me a mail and I will put it somewhere for download.
> >>
> >> --
> >> Kind regards,  Milan
> >> --
> >> Arvanta, IT Securityhttp://www.arvanta.net
> >> Please do not send me e-mail containing HTML code.
> >>
> >>
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: new to compiling 1.43 version.

2011-03-22 Thread Milan P. Stanic
On Tue, 2011-03-22 at 16:34, Joey L wrote:
> Milan - I have been reading the manual - this is my last resort before I pay
> someone to help me.
> I am sure I will not be paying you...thanks for nothing.
 
I don't like to argue with you or anyone else but there is section
"Compiling the gateway" in userguide where it is explained how to
compile Kannel.

> On Tue, Mar 22, 2011 at 4:22 PM, Milan P. Stanic  wrote:
> 
> > On Tue, 2011-03-22 at 16:11, Joey L wrote:
> > > i was able to run:
> > > svn co https://svn.kannel.org/gateway/trunk
> > >
> > > and I am currently pulling the code down, can you tell me what the next
> > > steps are?
> > > I guess compile the source ??
> >
> > Read the userguide.
> >
> > > thanks
> > > mjh
> > >
> > > On Tue, Mar 22, 2011 at 4:06 PM, Joey L  wrote:
> > >
> > > > can you provide instrucitons on how i can do it for myself ???
> > > > I am running this :
> > > > Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) (
> > da...@debian.org)
> > > > (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue
> > Jan
> > > > 25 05:59:43 UTC 2011
> > > >
> > > >
> > > > On Mon, Mar 21, 2011 at 6:18 PM, Milan P. Stanic 
> > wrote:
> > > >
> > > >> On Mon, 2011-03-21 at 17:01, Joey L wrote:
> > > >> > I am running Kannel that comes as a debian package.
> > > >> > I installed and configured it via apt-get .
> > > >> > I have download the new version 1.43 and have compiled it.
> > > >> > I would like to remove the old version of the debian package and
> > install
> > > >> the
> > > >> > new code - can someone help me ???
> > > >> >
> > > >> > I know to remove the package, it is dpkg -e kannel.
> > > >> >
> > > >> > I have compiled the new package and i have to run one more command :
> > > >> >
> > > >> > make bindir=/somewhere/suitable install
> > > >> >
> > > >> > Can anyone tell me what "/somewhere/suitable install"  should be
> > 
> > > >> >
> > > >> > I would also like to know how i can get the init.d script running
> > > >> > properly under the new version.
> > > >>
> > > >> Which Debian release you run?
> > > >>
> > > >> I have built Kannel 1.5.0 (not svn) for Debian squeeze (current
> > stable)
> > > >> and for i386 and amd64 architectures only. If it suits your needs send
> > > >> me a mail and I will put it somewhere for download.
> > > >>
> > > >> --
> > > >> Kind regards,  Milan
> > > >> --
> > > >> Arvanta, IT Securityhttp://www.arvanta.net
> > > >> Please do not send me e-mail containing HTML code.
> > > >>
> > > >>
> > > >
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: users Digest, Vol 55, Issue 64

2011-03-23 Thread Milan P. Stanic
On Wed, 2011-03-23 at 07:20, Adan Canales wrote:
> MIlan, thank you for the packages. What do you include in the Extras
> packages?

Mostly contrib, test, utils, checks directories content.

> 2011/3/23 
> 
> > Send users mailing list submissions to
> >users@kannel.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >http://www.kannel.org/mailman/listinfo/users
> > or, via email, send a message with subject or body 'help' to
> >users-requ...@kannel.org
> >
> > You can reach the person managing the list at
> >users-ow...@kannel.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of users digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: Kannel 1.5.0 Debian packages (Alexander Malysh)
> >   2. Re: Re : How to change Phone Number to Name when getting SMS
> >  on phone screen (ha...@aeon.pk)
> >
> >
> > ------
> >
> > Message: 1
> > Date: Wed, 23 Mar 2011 12:20:53 +0100
> > From: Alexander Malysh 
> > To: Milan P. Stanic 
> > Cc: Kannel Devel , Kannel Users 
> > Subject: Re: Kannel 1.5.0 Debian packages
> > Message-ID: <8dfe6f77-f040-4940-845a-77fff3500...@kannel.org>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Hi All,
> >
> > just uploaded debs for 1.5.0 to
> > https://redmine.kannel.org/projects/kannel/files
> > please check and give me/Milan feedback.
> >
> > Thanks,
> > Alexander Malysh
> >
> > Am 22.03.2011 um 16:24 schrieb Milan P. Stanic:
> >
> > > Hi Alex,
> > >
> > > On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
> > >> Hi Milan,
> > >>
> > >> as far as I see, configuration should be fine. Could you please upload
> > debs and diff tar to some place
> > >> and we will push it to download section then.
> > >
> > > I will upload it later and send the URL to you in private mail.
> > >
> > >> Thanks,
> > >> Alexander Malysh
> > >>
> > >> Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
> > >>
> > >>> Hi Alex,
> > >>>
> > >>> On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
> > >>>> Hi Milan,
> > >>>>
> > >>>> that would be great to have debian packages for 1.5.0
> > >>>
> > >>> I forgot to mention in original post that I sent these packages to
> > >>> someone in Romania who is tried it on Ubuntu. He told me that the same
> > >>> binary packages which I run on Debian also works well on Ubuntu but I
> > >>> forget which release he runs.
> > >>>
> > >>>> could you please answer some questions:
> > >>>> - how these packages compiled
> > >>>
> > >>> I patched 1.5.0 source with official Debian diff (actually tar file)
> > >>> because my intention is that the packages I build shouldn't differ a
> > lot
> > >>> from Debian shipped packages. It is because of that if someone upgrade
> > >>> it from official Debian release to newly built packages s/he doesn't
> > >>> have to change anything in configuration files.
> > >>>
> > >>>> - which DB support is enabled
> > >>>
> > >>> Sqlite3, Postgresql and MySQL.
> > >>>
> > >>>> - compiler/configure flags used
> > >>>
> > >>> Here is the relevant section from debian/rules files:
> > >>> ./configure \
> > >>>   --host=$(DEB_HOST_GNU_TYPE) \
> > >>>   --build=$(DEB_BUILD_GNU_TYPE) \
> > >>>   --enable-warnings \
> > >>>   --prefix=/usr \
> > >>>   --mandir=\$${prefix}/share/man \
> > >>>   --infodir=\$${prefix}/share/info \
> > >>>   --enable-docs --enable-pam --enable-pcre \
> > >>>   --enable-ssl --with-ssl=/usr \
> > >>>   --with-mysql --with-mysql-dir=/usr \
> > >>>   --with-sqlite3 \
> > >>>   --with-pgsql --with-pgsql-dir=/usr
> > >>>
> > >>>
> > >>> And here is relevant section from Makefile:
> > >>>
> > >>>
> > >>> LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresol

Re: Kannel 1.5.0 Debian packages

2011-03-24 Thread Milan P. Stanic
Hi,

[ Sorry for X-post ]

On Thu, 2011-03-24 at 10:26, Alan McNatty wrote:
> Hi Alex,
> 
> Thanks for rolling us a new deb.
> 
> Thanks also for building with Postgres support - that will save me
> rolling my own :)
> 
> Just a couple of questions:
> 
> 1) I notice we have the usual binaries ... but I thought there was talk
> of run_kannel_box being deprecated since we have --parachute --daemonize
> capability. What are people doing these days by default - see attached
> init.d script for example. 

I built it to be as close as possible to official Debian package because
I don't want to 'surprise' users/admins during upgrade from stable.

> 2) (this is likely a longer term / roadmap question) Any chance sqlbox
> (and possibly others, e.g smppbox) could be included as a binary as
> well? 

sqlbox (0.7.2 version) is shipped with Debian stable. I have made sqlbox
deb from SVN package just for test but didn't posted it because I don't
know how it works because I never tried to use or play with it.

> It is sounded like more and more folk are using these as standard and it
> would be advantageous to the project to have them included in standard
> deb. 

I built Opensmppbox deb packages few months age for me to play with it
but didn't posted it to Alex because I'm not sure how SVN version is
good to put on Kannel site for download.

> I realise they are not in the standard build so possibly this is a
> question more around when the source / build trees might be merged (i.e
> --enable-sqlbox, etc)? So likely some work involved here - and best of
> all likely involves autoconf, etc compiler magic that troubles many of
> us.
> 
> Cheers,
> Alan
> 
> p.s sorry for the cross-post .. just reply-all'ing
> 
> On Wed, 2011-03-23 at 12:20 +0100, Alexander Malysh wrote:
> > Hi All,
> > 
> > 
> > just uploaded debs for 1.5.0
> > to https://redmine.kannel.org/projects/kannel/files
> > please check and give me/Milan feedback.
> > 
> > 
> > Thanks,
> > Alexander Malysh
> > 
> > Am 22.03.2011 um 16:24 schrieb Milan P. Stanic:
> > 
> > > Hi Alex,
> > > 
> > > On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
> > > > Hi Milan,
> > > > 
> > > > as far as I see, configuration should be fine. Could you please
> > > > upload debs and diff tar to some place
> > > > and we will push it to download section then.
> > > 
> > > I will upload it later and send the URL to you in private mail.
> > > 
> > > > Thanks,
> > > > Alexander Malysh
> > > > 
> > > > Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
> > > > 
> > > > > Hi Alex,
> > > > > 
> > > > > On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
> > > > > > Hi Milan,
> > > > > > 
> > > > > > that would be great to have debian packages for 1.5.0
> > > > > 
> > > > > I forgot to mention in original post that I sent these packages
> > > > > to
> > > > > someone in Romania who is tried it on Ubuntu. He told me that
> > > > > the same
> > > > > binary packages which I run on Debian also works well on Ubuntu
> > > > > but I
> > > > > forget which release he runs.
> > > > > 
> > > > > > could you please answer some questions:
> > > > > > - how these packages compiled
> > > > > 
> > > > > I patched 1.5.0 source with official Debian diff (actually tar
> > > > > file)
> > > > > because my intention is that the packages I build shouldn't
> > > > > differ a lot
> > > > > from Debian shipped packages. It is because of that if someone
> > > > > upgrade
> > > > > it from official Debian release to newly built packages s/he
> > > > > doesn't
> > > > > have to change anything in configuration files.
> > > > > 
> > > > > > - which DB support is enabled
> > > > > 
> > > > > Sqlite3, Postgresql and MySQL.
> > > > > 
> > > > > > - compiler/configure flags used
> > > > > 
> > > > > Here is the relevant section from debian/rules files:
> > > > > ./configure \
> > > > >   --host=$(DEB_HOST_GNU_TYPE) \
> > > > >   --build=$(DEB_BUILD_GNU_TYPE) \
> > > > >   --enable-warnings \
> > > > >   --prefix=

Re: smsbox not starting

2009-04-17 Thread Milan P. Stanic
On Fri, 2009-04-17 at 14:32, Elton Hoxha wrote:
> I was running kannel for 2 weeks with no problems. Today I had to change the
> conf file adding one other SMPP connection. After I started bearerbox
> binding all the clients, I started the smsbox but I noticed the failure
> hours later
> 
> 2009-04-17 08:23:46 [27278] [0] INFO: Added logfile
> `/tmp/internal_kannel.log' with level `0'.
> 2009-04-17 08:23:46 [27278] [0] INFO: Started access logfile
> `/tmp/internal_access.log'.
> 2009-04-17 08:23:46 [27278] [0] INFO: HTTP: Opening server at port 13000.
> 2009-04-17 08:23:46 [27278] [0] ERROR: bind failed
> 2009-04-17 08:23:46 [27278] [0] ERROR: System error 98: Address already in use
  ^^

Something already is bounded to port 13000. Probably you have bearerbox
running and you trying to start another one (or more) instance.

> 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 1
> (gw/bb_http.c:httpadmin_run)
> 2009-04-17 08:23:46 [27278] [0] DEBUG: starting smsbox connection module
> 2009-04-17 08:23:46 [27278] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 2
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 3
> (gw/bb_boxc.c:smsboxc_run)
> 
> Which can be this address already in use? After starting bearerbox it was
> normal.

-- 
Kind regards,  Milan



Re: smsbox not starting

2009-04-17 Thread Milan P. Stanic
On Fri, 2009-04-17 at 15:00, Elton Hoxha wrote:
> Actually I use 4 bearerbox instances separating my connections. I never had
> this type of error even using this configuration below.

Interesting idea :). But it is useless (at least) and can lead to
problems.

Actually, that can be cause of your problem. First instance of bearerbox
binds to port 13000 and other instances cannot bind and "bark" to log
files.

> group = core
> admin-port = 13000
> smsbox-port = 13010
> sendsms-port = 13015
> 
> group = core
> admin-port = 13000
> smsbox-port = 13020
> sendsms-port = 13016
> 
> group = core
> admin-port = 13000
> smsbox-port = 13030
> sendsms-port = 13017
> 
> group = core
> admin-port = 13000
> smsbox-port = 13040
> sendsms-port = 13018
> 
> By the way, is logical the above?

-- 
Kind regards,  Milan



Re: smsbox not starting

2009-04-17 Thread Milan P. Stanic
On Fri, 2009-04-17 at 15:51, Elton Hoxha wrote:
> In theory it can be right what you said Milan, but practically I have
> started multiple bearerbox instances running on the admin-port 13000 without
> having problems for weeks :)

Well, you can setup kannel however you want but as I wrote in previous
mail it can lead to problems if you configure it in non-canonical way.

Chapter 3 of userguide says:

Configuring the gateway 



   The configuration file can be divided into three parts: bearerbox
   configurations, smsbox configurations and wapbox configurations.
   Bearerbox part has one 'core' group and any used SMS center groups,
   while wapbox part has only one wapbox group. In smsbox part there is
   one smsbox group and then number of sms-service and sendsms-user
   groups.


Notice words: "Bearerbox part has one 'core' group and any used SMS
center groups".

I just looked in the Debian package I made for lenny and noticed that it
has two 'core' group sections. I never use default config so it stays
unnoticed for years :)

However I noticed that the bearerbox uses last 'core' group section in
config file and "ignores" previous one.

Could you check how many instances of bearerbox running on
your machine and check does all ports you specified in config are
actually listening?

> On Fri, Apr 17, 2009 at 3:44 PM, Milan P. Stanic  wrote:
> > On Fri, 2009-04-17 at 15:00, Elton Hoxha wrote:
> > > Actually I use 4 bearerbox instances separating my connections. I never
> > had
> > > this type of error even using this configuration below.
> > Interesting idea :). But it is useless (at least) and can lead to
> > problems.
> >
> > Actually, that can be cause of your problem. First instance of bearerbox
> > binds to port 13000 and other instances cannot bind and "bark" to log
> > files.

Looks like I made mistake here. Looks like bearerbox uses last core
group section.
 
-- 
Kind regards,  Milan



Re: smsbox not starting

2009-04-18 Thread Milan P. Stanic
On Sat, 2009-04-18 at 02:02, Elton Hoxha wrote:
> I think there is a misunderstanding. I was refering to the port that SMS-BOX
> is listening and we got confused with the admin-port. Of course all my
> instances have different sms-box ports. I was just claiming that, having the
> admin-port 13000 for all instances that bind successfully, it does not
> affect the functionality of kannel. I can send sms-s though all the channels
> and instances and receiving deliveries as well.
> 
> That "address already in use" was refering to my old process of SMS-BOX
> which I thought it was killed, and not admin-port.
> 
> Of course, If I would like to manage/administer through
> http://localhost:13000, it will give me the possibility to manage the first
> instance that grabbed that port...

You cannot have multiple instances of bearerbox listening to the same
port (13000 in your case) on the same machine.

-- 
Kind regards,  Milan



Re: smsbox not starting

2009-04-21 Thread Milan P. Stanic
On Tue, 2009-04-21 at 09:31, Elton Hoxha wrote:
> God would punish me if I would play games here on you, after such a big help
> from you for a long time, till I managed Kannel working smoothly.
> The reason I open this thread was just curiosity on how multiple bearerboxes
> could be run having all its smpp connection in their respective conf files,
> being bind without problem. Maybe "SMSBOX not starting" topic was not
> appropriate because the reason was something else.
> But, be sure that I executed 4 instances of bearerbox having the same
> admin-port,

I don't like to argue with you (or anyone else ) but as Nikos pointed
out that is *not* possible. On the one (non-virtual) machine only one
process/thread can open one port to listen to.

> and each kannel and access logs were separately written, so the
> traffic was splitted among SMPP connections, being written in the respective
> log files in the core group of each conf file. Anyone can have a try and can
> see that kannel will work properly regardless admin-port configuration.
> Only by accessing the web admin through localhost:13000 was showing the
> current SMSC connection was the first instance that grabbed that port.
> 
> Anyway I changed the configuration putting different ports.

-- 
Kind regards,  Milan



Re: Kannel in Ubuntu box

2009-06-06 Thread Milan P. Stanic
On Sat, 2009-06-06 at 09:49, Benaiad wrote:
> It's better if you install kannel from source, and search the list for 
> "modem" .

For novice users (most of them don't know how to configure && make) it
is easier to use package which comes with distribution. And lot of
novice users does not read userguide, what is obvious from questions
which are repeated week after week on this list (look questions below).
 
> On 6/6/09, Frank Tilugulilwa  wrote:
> > Yes, I have installed kannel from Ubuntu repositories
> >
> > Tried to configure it using several tutorials with no success.
> >
> > If you can please, is there a place where I can have a basic kannel setup
> > instructions ?
> >
> > and how is the kannel server configured in terms of ports 13000, 13001 etc
> >
> > In my case only port 13000 seems to be working?
> >
> > There is this file called modem.conf, where is it from. Does the kannel
> > server detect my huawei modem automaticaly or i have to do somthing?
> >
> > Regards,
> > Frank
> >
> > Donald Jackson wrote:
> >> What problems are you having? Have you installed Kannel ? Please provide
> > more info.
> >>
> >> 2009/6/5 Frank Tilugulilwa  > >
> >>
> >> Hi all,
> >> I am struggling getting Kannel to work with Huawei 3G Modem K3520
> >> in Ubuntu.
> >> Anyone managed to configure this so that we can share experience?
> >>
> >> Regards,
> >> Frank Tilugulilwa

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
phone: +38122478204,  +38163429022
Please do not send me e-mail containing HTML code.



Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Thu, 2009-06-11 at 11:25, seikath wrote:
> i know udev rule is not reliable, because its executed at boot time
> again,
> parse the dmesg each time you start/stop kannel , reset proper simlink
> and use cronted monitoring script to check the kannel state and according to 
> the state to use the start/stop srcipt

udev rules can be configured to execute scripts/program when the udev
receive notification from kernel. Script can restart kannel when it
detects that USB modem connected.

> Dennis Low Weng Kin wrote:
>> Thanks for you immediate reply.
>>
>> So you are saying that I should detect the device name and change the  
>> device name in the kannel config accordingly?
>>
>> I've tried to write a udev rule to map the usb port to use the port 
>> name "/dev/GSMMODEM". It works well at first. When I unplug the modem, 
>> and replug it in, Kannel stop working. When I restart the kannel 
>> service, I receive a kernel failure notification. Any suggestions 
>> again?
>>
>> Regards,  Low
>>
>>  > Date: Thu, 11 Jun 2009 10:05:41 +0300
>>  > From: seik...@gmail.com
>>  > CC: users@kannel.org
>>  > Subject: Re: Unplugging USB GSM Modem and replugging
>>  >
>>  > the KISS solution :
>>  > at the head of the kannel start/stop script include short bash 
>> script to detect the latest device name of the modem
>>  > the script should remove if existing the old simlink and create new  
>> simlink to the real usb device named like "/dev/MyUsbModem"
>>  > use that in the kannel config
>>  >
>>  >
>>  > Dennis Low Weng Kin wrote:
>>  > > Hi everyone,
>>  > >
>>  > > I am running Kannel 1.4.3 in Fedora Core 10. For the moment, I am  
>> using
>>  > > a USB GSM Modem and in my setting, I mapped the device to  
>> /dev/ttyUSB0.
>>  > > However, if I unplugged and replug the GSM Modem to my PC, the 
>> port will
>>  > > change to ttyUSB1. Therefore, my Kannel will not be able to locate the
>>  > > device. Any suggestion? Or is it better to use Serial Modem?
>>  > >
>>  > > Regards,
>>  > > Low

-- 
Kind regards,  Milan



Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Fri, 2009-06-12 at 02:07, Dennis Low Weng Kin wrote:
> Can you give me some guidance and link to accomplish what you've just 
> mentioned?

I don't have that for modem/phone or kannel but here is what I use for
mounting mp4 player (line from /etc/udev/rules.d/local.rules):
SUBSYSTEMS=="scsi", ATTRS{model}=="Chip PMP USBDISK", NAME="katmp1", 
GROUP="plugdev", RUN+="/usr/local/sbin/mount_kat1.sh"

and the "/usr/local/sbin/mount_kat1.sh" script is really simple:
#!/bin/sh
/bin/mount -o group=plugdev /dev/katmp1 /media/katmp

That's just idea. I hope you know the rest.

> > Date: Thu, 11 Jun 2009 12:59:36 +0200
> > From: m...@arvanta.net
> > To: users@kannel.org
> > Subject: Re: Unplugging USB GSM Modem and replugging
> > On Thu, 2009-06-11 at 11:25, seikath wrote:
> > > i know udev rule is not reliable, because its executed at boot time
> > > again,
> > > parse the dmesg each time you start/stop kannel , reset proper simlink
> > > and use cronted monitoring script to check the kannel state and according 
> > > to the state to use the start/stop srcipt
> > udev rules can be configured to execute scripts/program when the udev
> > receive notification from kernel. Script can restart kannel when it
> > detects that USB modem connected.
> > > Dennis Low Weng Kin wrote:
> > >> Thanks for you immediate reply.
> > >>
> > >> So you are saying that I should detect the device name and change the  
> > >> device name in the kannel config accordingly?
> > >>
> > >> I've tried to write a udev rule to map the usb port to use the port 
> > >> name "/dev/GSMMODEM". It works well at first. When I unplug the modem, 
> > >> and replug it in, Kannel stop working. When I restart the kannel 
> > >> service, I receive a kernel failure notification. Any suggestions 
> > >> again?
[...]
> See all the ways you can stay connected to friends and family
> http://www.microsoft.com/windows/windowslive/default.aspx

Why that advertisment here?

-- 
Kind regards,  Milan



Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Thu, 2009-06-11 at 12:43, Alvaro Cornejo wrote:
> There was a thread about this sometime ago. I'll try to look for it later.
> 
> Note that, for the workarround above, you might get into troubles if
> you do have several equal usb modems.
> 
> Each modem will have its own sim with -maybe- different
> carrier/service/plan/etc. With the above procedure, you will remap any
> one of the removed modems to the next recognized device and if you do
> get to remove two or more you might finish sending messages
> through the wrong modem.
 
The solution can be to use different modems/phones with different USB
id's.

Or maybe there are modems/phones with serial id's.

> As said above, there was thread that provides a way through a script
> to remap an specific usb device to an specific usb port. I didn't
> tested that solution but looked to be the right solution.

-- 
Kind regards,  Milan



Re: Fwd: Recommended GSM Phone / Modem

2009-06-26 Thread Milan P. Stanic
On Fri, 2009-06-26 at 08:19, Tshimanga Minkoka wrote:
> If you go with Huawei E220 (or similar Huawei) on Linux (or similar), you 
> will need a recent kernel (If you want I can find out from which version) 
> that supports the dual (flash disk and modem) USB operation of this modem.
> I've used it, and from my experience, it has proven to be more stable and 
> faster than the serial Wavecom modem.
> It should be less than 200 USD.

I bought Huawei E1550 few days ago for less than 50EUR (about 40USD)
with (so called) DATA card and 3GB prepaid Internet traffic.
It works under Linux in UMTS net. Didn't tried it with kannel yet.

-- 
Kind regards,  Milan



Re: Multitech modem

2009-08-15 Thread Milan P. Stanic
On Fri, 2009-08-14 at 23:32, Michael A. Lewis wrote:
> I am having an issue with a multitech gsm/gprs modem with internet
> interface. In my debugging I have gotten down to telnet 192.168.1.5 5000
> and am able to issue AT commands (including manually sending an SMS
> message to my phone). However, nothing from a program interface. In an
> attempt to isolate the problem, I have written small php and perl
> programs. The perl program is:
> 
> Use IO::Socket;
> 
> $socket=IO::Socket::INET->new {
> 
>PeerAddr="192.168.1.5",
> 
>PeerPort="5000";
> 
>Proto="tcp",
> 
>Type="SOCK_STREAM"} or die "Could not open port.\n";
> 
> Print $socket "at+cmgf=1\m"l
 ^
If that character isn't mistyped that program can't work.
And instead of "\m" shouldn't you use "\n"  ?

> My $inl=<$socket>;
> 
> Print "$inl\n";
> 
>  
> 
> The program never returns from the read from the socket. The PHP version
> of the program returns 12 characters (all of which appear to have the
> high bit set).
> 
>  
> 
> As I said, I can telnet into it. I can get to the admin interface using
> a browser. Is this some sort of character set issue perhaps? Has anyone
> else had this problem? I have tried googling for an answer all day
> without result. I would appreciate any help or insight.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: does the .deb distro of kannel have mysql,oracle support?

2009-09-13 Thread Milan P. Stanic
On Mon, 2009-09-14 at 01:26, freeburn wrote:
> i have installed kannel from debian binary distribution. i also compiled
> it manually from the source. but anyone can tell me that how can i see
> the configurations of the debian installation, like does it comes with
> mysql support or not. is there any way see which modules of kannel are
> activated? 

This question belong to debian-user mailing list, but anyway here is the
answer:
apt-cache depends kannel

Or if you wan to be sure:

ldd /usr/sbin/bearerbox 

-- 
Kind regards,  Milan



Re: How to set the registered_delivery

2009-10-10 Thread Milan P. Stanic
On Sat, 2009-10-10 at 11:44, Abe mobME wrote:
>I'm getting a dlr for these request, but the issue is the operator wants
> the register_delivery set as 00010001. Other wise the DELAY dlr(in case the
> subscriber is switched off) gets queued up at the smpp end. So  i think the
> dlr-url is working.

Binary 00010001 is 17 in decimal.
So set dlr-mask=17

It is explained in userguide.
 
> On Sat, Oct 10, 2009 at 11:26 AM, Iain Dooley
> wrote:
> >
> >  kannel-url= "'
> >>
> >> http://localhost:14001/cgi-bin/sendsms?username=%s&password=%s&to=%s&text=%s&smsc=SampleSMPP&from=mobme&dlr-mask=31&pid=64&validity=1440&dlr-url=%s
> >> "
> >>
> >> dlr-url="http://localhost:4568/?log_id=%s&dlr_value=%%d&dlr_reply=%%A";
> >>
> >
> > i'm not sure where this dlr-url and kannel-url are being defined ... but
> > when i do an HTTP request to kannel, i include the full dlr-url in my
> > request as a urlencoded parameter. so for example i use PHP:
> >
> > $dlr_url = 'http://myhost.com/dlr.php?status=%s&id=MYID';
> > $request = $kannel_host.$other_params.'&dlr-url='.urlencode($dlr_url);
> >
> > so the dlr-url passed in the HTTP request to kannel has the entire dlr-url
> > in it. in your request above you're only putting dlr-url=%s which looks
> > incorrect to me.
> >
> > cheers
> > iain
> >
> >
> >  r
> >> Regards
> >> Abe
> >> On Sat, Oct 10, 2009 at 8:53 AM, Iain Dooley  >> >wrote:
> >>
> >>  Are you also setting the dlr-url parameter?
> >>>
> >>> Cheers,
> >>> Iain
> >>>
> >>>
> >>> On Sat, 10 Oct 2009, Abe mobME wrote:
> >>>
> >>>  aa
> >>>
> 
>  Hi,
>   I need to set the registered-delivery to x x x 1 x x x x  as specified
>  by
>  the operator. Im currently using dlr-mask 31, but still the
>  registered-delivery has not changed. Please provide some help here.
>  Thanks
> 
>  Regards
>  Abe
> 
> 
> 
> >>

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
phone: +38122478204,  +38163429022
Please do not send me e-mail containing HTML code.



Re: SMS application Architecture

2009-10-10 Thread Milan P. Stanic
On Sat, 2009-10-10 at 14:01, Cheikh Sidiya wrote:
> can you explain the general architecture of sms application using kannel as 
> gateway
> 1-is it recommended to separate kannel and application server (not install 
> kannel in the application server?)??
> 2-how and which protocols are used for communication between Kannel and 
> application server 
> only HTTP and HTTPS or SMPP or others??
> carrier-SMPPKannelGateway__http?or 
> SMPP?___application server 

All is very well documented in user guide.
Just read it.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: How to set the registered_delivery

2009-10-11 Thread Milan P. Stanic
On Sun, 2009-10-11 at 18:05, Abe mobME wrote:
> I tried using dlr_mask a 17 this but the pdu still shows registered_delivery
> as 1, and im not getting the intermediate dlr form the operator. am i
> missing out something here?
[...]
> 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP[SampleSMPP] handle_pdu, got DLR
> 2009-10-11 17:53:50 [18158] [6] DEBUG: DLR[internal]: Looking for DLR
> smsc=Air2WebSMPP, ts=1133832509, dst=9650770785, type=1
> 2009-10-11 17:53:50 [18158] [6] DEBUG: DLR[internal]: created DLR message
> for URL 
> 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending PDU:
> 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP PDU 0x81a4bf8 dump:

It is ok. You asked for DLR for two events (10001b) where bit 1 means
"Delivered to phone" and bit 5 means "Non-Delivered to SMSC".

Obviously, your message *is* "Delivered to SMSC" so kannel didn't
generate "Non-Delivered to SMSC" report.

When the message *is* delivered to phone (and SMSC informs kannel about
that) kannel generates "Delivered to phone" delivery report which is
type=1.


-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
Hi,

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

On Mon, 2009-10-19 at 16:29, Alejandro Guerrieri wrote:
> As you can confirm by reading the 3.4 spec (Appendix B), the format is far
> from an established standard:
> 
> *Delivery Receipt Format*
> 
> 
> SMPP provides for return of an SMSC delivery receipt via the *deliver_sm* or
> *data_sm* PDU, which indicates the delivery status of the message.
> 
> The informational content of an SMSC Delivery Receipt may be inserted into
> the *short_message* parameter of the *deliver_sm *operation. *The format for
> this Delivery Receipt** **message is SMSC vendor specific but following is a
> typical example of Delivery Receipt report.** *
> 
> 
> “*id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done* 
> *date:YYMMDDhhmm
> stat:DDD err:E Text: . . . . . . . . .”*
> 
> Kannel expects that format, a missing field will definitely confuse sscanf.

If the kannel relies on not standardized format then that _is_ the bug
in kannel.
 
> Regards,
> 
> Alejandro
> 
> 2009/10/19 Nikos Balkanas 
> 
> >  Hi,
> >
> > You seem to have the spec. Just read which fields are mandatory from there.
> > Kannel requires mandatory fields. Kannel will use optional fields, if they
> > exist, but it doesn't reuire them. Optional fields are: sub, dlvrd & err.
> > Read the spec.
> >
> > Nikos
> >
> > - Original Message -
> > *From:* Latitude Test 
> > *To:* users  ; Nikos Balkanas 
> > *Sent:* Monday, October 19, 2009 4:59 PM
> > *Subject:* Fwd: getting delivery report: delivery failure
> >
> > I will contact my SMSC but I need to know exactly which fields are really
> > being used by Kannel to return the DLR status?. Seems to me that Kannel is
> > using *optional fields* like "sub" and "dlvrd". If thats true, then isn't
> > is a bug?
> >
> >
> > Quoting Nokos
> >
> >
> >> Hi,
> >>
> >> It seems that your SMSc is sending out the wrong DLR format. According to
> >> SMPP 3.4 specs:
> >>
> >>
> >> “
> >> *id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done*
> >>
> >> *date:YYMMDDhhmm stat:DDD err:E Text: . . . . . . . . .”*
> >>
> >> Several optional fields (sub, dlvrd, err) are missing, but also a required
> >> field: "Text". Without it kannel cannot understand the DLR.
> >>
> >> Contact your SMSc about it. They should comply to the SMPP spec.
> >>
> >>
> >>
> >> BR,
> >>
> >> Nikos
> >>
> > -- Forwarded message --
> > From: Latitude Test 
> > Date: Mon, Oct 19, 2009 at 3:29 PM
> > Subject: Re: getting delivery report: delivery failure
> > To: Nikos Balkanas 
> > Cc: users 
> >
> >
> > Are you saying "dlvrd" and "sub" are mandatory for Kannel?
> >
> >
> > 2009/10/19 Nikos Balkanas 
> >
> >>  Yes, but it is required to be there. I am not making the spec.
> >>
> >> Nikos
> >>
> >>  - Original Message -
> >> *From:* Latitude Test 
> >> *To:* users  ; Nikos Balkanas 
> >>   *Sent:* Monday, October 19, 2009 2:49 PM
> >> *Subject:* Fwd: getting delivery report: delivery failure
> >>
> >> Adding to it, I saw Kannel sending me correct DLRs with another SMSC and
> >> in the logs I saw the following:
> >>
> >> dlvrd:001
> >> sub:001
> >> Text:.
> >>
> >> The mendatory field Text does not contain any useful info here. How kannel
> >> knows the status of the message then? Seems it uses the optional fields
> >> which are "sub" and "dlvrd".
> >>
> >> Please confirm.
> >>
> >> Thanks.
> >> -- Forwarded message --
> >> From: Latitude Test 
> >> googlemail.com>
> >> Date: Mon, Oct 19, 2009 at 1:31 PM
> >> Subject: Re: getting delivery report: delivery failure
> >> To: users , Nikos Balkanas 
> >>
> >>
> >>
> >> Thanks Nikos. But I do get "stat" field which contains some useful info.
> >> Also I felt that the format is vendor specific and the missing fields are
> >> not mandatory.
> >>
> >> Quote from
> >> http://www.nowsms.com/discus/messages/1/SMPP_v3_4_Issue1_2-24857.pdf:
> >>
> >> The informational content of an SMSC Delivery Receipt may be inserted into
> >> the
> >> short_message parameter of the deliver_sm operation. The format for this
> >> Delivery Receipt
> >> message is SMSC* vendor specific* but following is a typical example of
> >> Delivery Receipt report.
> >> “id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done
> >> date:YYMMDDhhmm stat:DDD err:E Text: . . . . . . . . .”
> >>
> >> Regards.
> >>
> >> 2009/10/19 Nikos Balkanas 
> >>
> >>  Hi,
> >>>
> >>> It seems that your SMSc is sending out the wrong DLR format. According to
> >>> SMPP 3.4 specs:
> >>>
> >>>
> >>> “
> >>> *id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done*
> >>>
> >>> *date:YYMMDDhhmm stat:DDD err:E Text: . . . . . . . . .”*
> >>>
> >>> Several optional fields (sub, dlvrd, err) are missing, but also a
> >>> required field: "Text". Without it kannel cannot understand the DLR.
> >>>
> >>> Contact your SMSc about i

Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
On Mon, 2009-10-19 at 17:04, Alejandro Guerrieri wrote:
> There's not a "standarized" format... how could this be a bug?

Obviously, it _is_ bug if the format is not standardized and kannel
fails. If kannel parses non-standard text it should not fail in case the
text is not in the format it expects.

> Kannel relies on what's considered  "a typical example" and in fact it's
> being used by the vast majority of SMSC's out there (Believe me, I've
> connected with over 50 different SMSC's all over the world and never
> experienced an issue).

I didn't yet seen a different format than "a typical example" (except
one null terminated), too.

> If you need to deal with a different format and the SMSC can't/don't want to
> change their format, you'll need to patch kannel to use a different sscanf
> string (it's a simple patch if you know where to touch).

I can patch (and adapt source for my needs) but there are a lot of
people who can't do that. They will see that as bug.

> Regards,
> 
> Alejandro

 
> PS: Please keep your views about the top/bottom posting for yourself.
> Posting off-topic and breaking the former email reading order is far more
> annoying than top-posting (which it seems to be the norm for a lot of people
> nowadays, either you like it or not).

You are wrong here. Top-posting in mailing list is always wrong.



> On Mon, Oct 19, 2009 at 4:48 PM, Milan P. Stanic  wrote:
> 
> > Hi,
> >
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > On Mon, 2009-10-19 at 16:29, Alejandro Guerrieri wrote:
> > > As you can confirm by reading the 3.4 spec (Appendix B), the format is
> > far
> > > from an established standard:
> > >
> > > *Delivery Receipt Format*
> > >
> > >
> > > SMPP provides for return of an SMSC delivery receipt via the *deliver_sm*
> > or
> > > *data_sm* PDU, which indicates the delivery status of the message.
> > >
> > > The informational content of an SMSC Delivery Receipt may be inserted
> > into
> > > the *short_message* parameter of the *deliver_sm *operation. *The format
> > for
> > > this Delivery Receipt** **message is SMSC vendor specific but following
> > is a
> > > typical example of Delivery Receipt report.** *
> > >
> > >
> > > “*id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done*
> > *date:YYMMDDhhmm
> > > stat:DDD err:E Text: . . . . . . . . .”*
> > >
> > > Kannel expects that format, a missing field will definitely confuse
> > sscanf.
> >
> > If the kannel relies on not standardized format then that _is_ the bug
> > in kannel.
> >
> > > Regards,
> > >
> > > Alejandro
> > >
> > > 2009/10/19 Nikos Balkanas 
> > >
> > > >  Hi,
> > > >
> > > > You seem to have the spec. Just read which fields are mandatory from
> > there.
> > > > Kannel requires mandatory fields. Kannel will use optional fields, if
> > they
> > > > exist, but it doesn't reuire them. Optional fields are: sub, dlvrd &
> > err.
> > > > Read the spec.
> > > >
> > > > Nikos
> > > >
> > > > - Original Message -
> > > > *From:* Latitude Test 
> > > > *To:* users  ; Nikos Balkanas 
> > > > *Sent:* Monday, October 19, 2009 4:59 PM
> > > > *Subject:* Fwd: getting delivery report: delivery failure
> > > >
> > > > I will contact my SMSC but I need to know exactly which fields are
> > really
> > > > being used by Kannel to return the DLR status?. Seems to me that Kannel
> > is
> > > > using *optional fields* like "sub" and "dlvrd". If thats true, then
> > isn't
> > > > is a bug?
> > > >
> > > >
> > > > Quoting Nokos
> > > >
> > > >
> > > >> Hi,
> > > >>
> > > >> It seems that your SMSc is sending out the wrong DLR format. According
> > to
> > > >> SMPP 3.4 specs:
> > > >>
> > > >>
> > > >> “
> > > >> *id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done*
> > > >>
> > > >> *date:YYMMDDhhmm stat:DDD err:E Text: . . . . . . . . .”*
> > > >>
> > &

Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
On Mon, 2009-10-19 at 17:36, Alejandro Guerrieri wrote:
> What would be the proper behavior in your opinion? Imho it's not a bug,
> perhaps a limitation.

It is not bug if we all expect that behavior, but because at least one
user have a problem with it, it _is_ bug for him.
It didn't bite me so I don't care, actually ;)

> Could it be changed to make it configurable? Sure, your patch is more than
> welcome :)

Heh... standard excuse here: not enough time. :(
 
> Regards,
> 
> Alejandro
> 
> On Mon, Oct 19, 2009 at 5:21 PM, Milan P. Stanic  wrote:
> 
> > On Mon, 2009-10-19 at 17:04, Alejandro Guerrieri wrote:
> > > There's not a "standarized" format... how could this be a bug?
> >
> > Obviously, it _is_ bug if the format is not standardized and kannel
> > fails. If kannel parses non-standard text it should not fail in case the
> > text is not in the format it expects.
> >
> > > Kannel relies on what's considered  "a typical example" and in fact it's
> > > being used by the vast majority of SMSC's out there (Believe me, I've
> > > connected with over 50 different SMSC's all over the world and never
> > > experienced an issue).
> >
> > I didn't yet seen a different format than "a typical example" (except
> > one null terminated), too.
> >
> > > If you need to deal with a different format and the SMSC can't/don't want
> > to
> > > change their format, you'll need to patch kannel to use a different
> > sscanf
> > > string (it's a simple patch if you know where to touch).
> >
> > I can patch (and adapt source for my needs) but there are a lot of
> > people who can't do that. They will see that as bug.
> >
> > > Regards,
> > >
> > > Alejandro
> >
> > 
> > > PS: Please keep your views about the top/bottom posting for yourself.
> > > Posting off-topic and breaking the former email reading order is far more
> > > annoying than top-posting (which it seems to be the norm for a lot of
> > people
> > > nowadays, either you like it or not).
> >
> > You are wrong here. Top-posting in mailing list is always wrong.
> >
> > 
> >
> > > On Mon, Oct 19, 2009 at 4:48 PM, Milan P. Stanic 
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > A: Because it messes up the order in which people normally read text.
> > > > Q: Why is top-posting such a bad thing?
> > > > A: Top-posting.
> > > > Q: What is the most annoying thing in e-mail?
> > > >
> > > > On Mon, 2009-10-19 at 16:29, Alejandro Guerrieri wrote:
> > > > > As you can confirm by reading the 3.4 spec (Appendix B), the format
> > is
> > > > far
> > > > > from an established standard:
> > > > >
> > > > > *Delivery Receipt Format*
> > > > >
> > > > >
> > > > > SMPP provides for return of an SMSC delivery receipt via the
> > *deliver_sm*
> > > > or
> > > > > *data_sm* PDU, which indicates the delivery status of the message.
> > > > >
> > > > > The informational content of an SMSC Delivery Receipt may be inserted
> > > > into
> > > > > the *short_message* parameter of the *deliver_sm *operation. *The
> > format
> > > > for
> > > > > this Delivery Receipt** **message is SMSC vendor specific but
> > following
> > > > is a
> > > > > typical example of Delivery Receipt report.** *
> > > > >
> > > > >
> > > > > “*id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done*
> > > > *date:YYMMDDhhmm
> > > > > stat:DDD err:E Text: . . . . . . . . .”*
> > > > >
> > > > > Kannel expects that format, a missing field will definitely confuse
> > > > sscanf.
> > > >
> > > > If the kannel relies on not standardized format then that _is_ the bug
> > > > in kannel.
> > > >
> > > > > Regards,
> > > > >
> > > > > Alejandro
> > > > >
> > > > > 2009/10/19 Nikos Balkanas 
> > > > >
> > > > > >  Hi,
> > > > > >
> > > > > > You seem to have the spec. Just read which fields are mandatory
> > from
> > > > there.
> > > > > > Kannel requires mandatory fields. 

Re: Problem with MSISDN provisioning

2010-04-02 Thread Milan P. Stanic
On Fri, 2010-04-02 at 22:01, Michael Bochkaryov wrote:
> 2010/4/2 Nikos Balkanas 
> > Please use the list so that others may benefir as well. Do not send me
> > personals. I am not your unpaid personal consultant.
> By the way it may be useful to change maillist settings to set list address
> in Reply-To header. Seems like it's good practice for most of public mailing
> lists.

Please read the:
http://woozle.org/~neale/papers/reply-to-still-harmful.html

or search the Net about topic.

-- 
Kind regards,  Milan



Re: [Ticket #15] Kannel and SS7

2011-05-05 Thread Milan P. Stanic
Mailing list admin should block this e-mail address to prevent spam to
the list.

On Thu, 2011-05-05 at 12:16, IT wrote:
> This is a notification from the Help Desk.
> 
> 
> On May 05, 2011 @ 12:16 pm, ire...@yahoo.com wrote:
> Hi Stipes,
> Thanks for this, are there any commercial or open source bearerbox module for 
> this?please assist with links for creating custom bearerbox modules.
> thanksMichael
> 
> --- On Thu, 5/5/11, Stipe Tolj  wrote:
> 
> From: Stipe Tolj 
> Subject: Re: Kannel and SS7
> To: 
> Cc: "users@kannel.org" 
> Date: Thursday, May 5, 2011, 12:24 PM
> 
> Am 04.05.2011 20:59, schrieb Juan Nin:
> > No, it can't
> 
> well, don't want to foul Juan hard here ;) but yes, it "could".
> 
> There are SS7 gateways that allow you to "interface" to it via SMPP v3.4. So 
> Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
> server on the one side, and inter-connects as own point code machine in the 
> signaling network, performing the signal point resolution of the destination 
> MSISDN and signaling the message to the phone.
> 
> So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
> based side.
> 
> If not, then you need to develop a bearerbox module that talks the interface 
> API of the signaling gateway to interact with it, which IS of course possible.
> 
> 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
> ---
> 
> --
> This is an automated response.  Your issue has been noted.  We'll be in touch 
> soon.
> 
> Please reply to this email or visit the URL below with any additional details.
> 
> http://VM-Win-PC/portal/view-help-request/15
> 


-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Silent SMS

2011-05-13 Thread Milan P. Stanic
On Fri, 2011-05-13 at 12:59, ha...@aeon.pk wrote:
> Thanks Mads. I already tried this, but the problem that I am facing is that
> the app needs to read the DLR sent by SMSC. SMSC sends 'DLR=Delivered' if
> the handset is on. But SMSC does not send any DLR at all if the handset is
> off or out of coverage. Thats the only issue I am having. Any solution for
> this?

Did you tried to put validity parameter with short time (1 minute)?
I'm using pid=64 for (so called) SMS Push and SMSC responds with
Absent_subscriber code in case it cannot deliver message to subscriber.
 
> Also, can I get the table for the all possible values of PID and what can we
> do playing around with them? Thanks!
> 
> 
> On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard wrote:
> 
> > Hi Hamza,
> >
> > You can send a SMS with  a special PID to generate a silent SMS.
> >
> > We are adding pid=64 to the HTTP request, to do this.
> >
> > But please be aware that not all gateways supports this.
> >
> > Regards,
> >
> > Mads
> >
> > Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:
> >
> > > Dear friends,
> > >
> > > How to send a silent SMS via kannel? My purpose is to check the status of
> > the mobile (ON/OFF) without bothering the customer by any pop-up/SMS
> > messages.
> > >
> > > Regards,
> > >
> > > Hamza
> >
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Silent SMS

2011-05-13 Thread Milan P. Stanic
On Fri, 2011-05-13 at 15:38, ha...@aeon.pk wrote:
> Well, the validity parameter is another issue with me, since my application
> server is on different timezone, and kannel sends absolute timestamp
> (2011-05-12 13:01:01) as validity parameter instead of relative timestamp
> (expiry time = current/submission time+60 secs). I don't seem to find the
> resolution of it as well, so I have stopped using the validity period thing.
> Any resolution to this?

I looked in smsc_smpp.c and it does not seems that it is to complicated
to change it to use relative instead of absolute time. But I cannot test
it because I do not have any environment where I could play with it.

> On Fri, May 13, 2011 at 2:43 PM, Milan P. Stanic  wrote:
> 
> > On Fri, 2011-05-13 at 12:59, ha...@aeon.pk wrote:
> > > Thanks Mads. I already tried this, but the problem that I am facing is
> > that
> > > the app needs to read the DLR sent by SMSC. SMSC sends 'DLR=Delivered' if
> > > the handset is on. But SMSC does not send any DLR at all if the handset
> > is
> > > off or out of coverage. Thats the only issue I am having. Any solution
> > for
> > > this?
> >
> > Did you tried to put validity parameter with short time (1 minute)?
> > I'm using pid=64 for (so called) SMS Push and SMSC responds with
> > Absent_subscriber code in case it cannot deliver message to subscriber.
> >
> > > Also, can I get the table for the all possible values of PID and what can
> > we
> > > do playing around with them? Thanks!
> > >
> > >
> > > On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard  > >wrote:
> > >
> > > > Hi Hamza,
> > > >
> > > > You can send a SMS with  a special PID to generate a silent SMS.
> > > >
> > > > We are adding pid=64 to the HTTP request, to do this.
> > > >
> > > > But please be aware that not all gateways supports this.
> > > >
> > > > Regards,
> > > >
> > > > Mads
> > > >
> > > > Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:
> > > >
> > > > > Dear friends,
> > > > >
> > > > > How to send a silent SMS via kannel? My purpose is to check the
> > status of
> > > > the mobile (ON/OFF) without bothering the customer by any pop-up/SMS
> > > > messages.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Hamza
> > > >
> > > >
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Silent SMS

2011-05-13 Thread Milan P. Stanic
On Fri, 2011-05-13 at 16:10, ha...@aeon.pk wrote:
> If you could tell me the steps, I could change and recompile and test. Am
> not a programmer so would need external help.

I don't have enough time to write a howto guide about compiling Kannel.
It is described in userguide.

But it looks like the only two lines in smsc_smpp.c should be changed in
1.5.0 version.

lines 922 and 923:
 struct tm tm = gw_gmtime(time(NULL) + validity * 60);
pdu->u.submit_sm.validity_period = 
octstr_format("%02d%02d%02d%02d%02d%02d000+",

could be changed to:
 struct tm tm = gw_gmtime(msg->sms.validity * 60);
pdu->u.submit_sm.validity_period = 
octstr_format("%02d%02d%02d%02d%02d%02d000R",

But keep in mind that is from my head, I didn't checked anything
actually.
Anyway, I would start from there.

> On Fri, May 13, 2011 at 3:58 PM, Milan P. Stanic  wrote:
> 
> > On Fri, 2011-05-13 at 15:38, ha...@aeon.pk wrote:
> > > Well, the validity parameter is another issue with me, since my
> > application
> > > server is on different timezone, and kannel sends absolute timestamp
> > > (2011-05-12 13:01:01) as validity parameter instead of relative timestamp
> > > (expiry time = current/submission time+60 secs). I don't seem to find the
> > > resolution of it as well, so I have stopped using the validity period
> > thing.
> > > Any resolution to this?
> >
> > I looked in smsc_smpp.c and it does not seems that it is to complicated
> > to change it to use relative instead of absolute time. But I cannot test
> > it because I do not have any environment where I could play with it.
> >
> > > On Fri, May 13, 2011 at 2:43 PM, Milan P. Stanic 
> > wrote:
> > >
> > > > On Fri, 2011-05-13 at 12:59, ha...@aeon.pk wrote:
> > > > > Thanks Mads. I already tried this, but the problem that I am facing
> > is
> > > > that
> > > > > the app needs to read the DLR sent by SMSC. SMSC sends
> > 'DLR=Delivered' if
> > > > > the handset is on. But SMSC does not send any DLR at all if the
> > handset
> > > > is
> > > > > off or out of coverage. Thats the only issue I am having. Any
> > solution
> > > > for
> > > > > this?
> > > >
> > > > Did you tried to put validity parameter with short time (1 minute)?
> > > > I'm using pid=64 for (so called) SMS Push and SMSC responds with
> > > > Absent_subscriber code in case it cannot deliver message to subscriber.
> > > >
> > > > > Also, can I get the table for the all possible values of PID and what
> > can
> > > > we
> > > > > do playing around with them? Thanks!
> > > > >
> > > > >
> > > > > On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard <
> > m...@coolsms.com
> > > > >wrote:
> > > > >
> > > > > > Hi Hamza,
> > > > > >
> > > > > > You can send a SMS with  a special PID to generate a silent SMS.
> > > > > >
> > > > > > We are adding pid=64 to the HTTP request, to do this.
> > > > > >
> > > > > > But please be aware that not all gateways supports this.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Mads
> > > > > >
> > > > > > Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:
> > > > > >
> > > > > > > Dear friends,
> > > > > > >
> > > > > > > How to send a silent SMS via kannel? My purpose is to check the
> > > > status of
> > > > > > the mobile (ON/OFF) without bothering the customer by any
> > pop-up/SMS
> > > > > > messages.
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Hamza
> > > > > >
> > > > > >
> > > >
> > > > --
> > > > Kind regards,  Milan
> > > > --
> > > > Arvanta, IT Securityhttp://www.arvanta.net
> > > > Please do not send me e-mail containing HTML code.
> > > >
> > > >
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Silent SMS

2011-05-13 Thread Milan P. Stanic
Hi Nikos,

[ You should use mailer which support mailing lists ]

On Fri, 2011-05-13 at 18:37, Nikos Balkanas wrote:
> Hi Milan,
> 
> I did submit a patch a while ago to use relative instead of absolute
> time, but was rejected, since a lot of SMScs do not support relative
> time, only absolute.

I remember but because I don't need relative validity I didn't tried
your patch and I forgot to mention it to Hamza.

I'm not against your patch but again I don't need it so I don't care.
 
> 2 solutions to this: Calculate the remote time from the application
> and use this validity for kannel (may not always work if timezone
> time is less than localtime), or make it configurable, provided that
> the SMSc supports relative time.
> 
> BR,
> Nikos
> - Original Message - From: "Milan P. Stanic"
> 
> To: 
> Sent: Friday, May 13, 2011 1:58 PM
> Subject: Re: Silent SMS
> 
> 
> >On Fri, 2011-05-13 at 15:38, ha...@aeon.pk wrote:
> >>Well, the validity parameter is another issue with me, since my
> >>application
> >>server is on different timezone, and kannel sends absolute timestamp
> >>(2011-05-12 13:01:01) as validity parameter instead of relative timestamp
> >>(expiry time = current/submission time+60 secs). I don't seem to find the
> >>resolution of it as well, so I have stopped using the validity
> >>period thing.
> >>Any resolution to this?
> >
> >I looked in smsc_smpp.c and it does not seems that it is to complicated
> >to change it to use relative instead of absolute time. But I cannot test
> >it because I do not have any environment where I could play with it.
> >
> >>On Fri, May 13, 2011 at 2:43 PM, Milan P. Stanic  wrote:
> >>
> >>> On Fri, 2011-05-13 at 12:59, ha...@aeon.pk wrote:
> >>> > Thanks Mads. I already tried this, but the problem that I am
> >>facing > > is
> >>> that
> >>> > the app needs to read the DLR sent by SMSC. SMSC sends > >
> >>'DLR=Delivered' if
> >>> > the handset is on. But SMSC does not send any DLR at all if
> >>the > > handset
> >>> is
> >>> > off or out of coverage. Thats the only issue I am having.
> >>Any > > solution
> >>> for
> >>> > this?
> >>>
> >>> Did you tried to put validity parameter with short time (1 minute)?
> >>> I'm using pid=64 for (so called) SMS Push and SMSC responds with
> >>> Absent_subscriber code in case it cannot deliver message to subscriber.
> >>>
> >>> > Also, can I get the table for the all possible values of PID
> >>and what > > can
> >>> we
> >>> > do playing around with them? Thanks!
> >>> >
> >>> >
> >>> > On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard > >
> >> >>> >wrote:
> >>> >
> >>> > > Hi Hamza,
> >>> > >
> >>> > > You can send a SMS with  a special PID to generate a silent SMS.
> >>> > >
> >>> > > We are adding pid=64 to the HTTP request, to do this.
> >>> > >
> >>> > > But please be aware that not all gateways supports this.
> >>> > >
> >>> > > Regards,
> >>> > >
> >>> > > Mads
> >>> > >
> >>> > > Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:
> >>> > >
> >>> > > > Dear friends,
> >>> > > >
> >>> > > > How to send a silent SMS via kannel? My purpose is to check the
> >>> status of
> >>> > > the mobile (ON/OFF) without bothering the customer by any
> >>> > > pop-up/SMS
> >>> > > messages.
> >>> > > >
> >>> > > > Regards,
> >>> > > >
> >>> > > > Hamza
> >>> > >
> >>> > >
> >>>
> >>> --
> >>> Kind regards,  Milan
> >>> --
> >>> Arvanta, IT Securityhttp://www.arvanta.net
> >>> Please do not send me e-mail containing HTML code.
> >>>
> >>>
> >
> >-- 
> >Kind regards,  Milan
> >--
> >Arvanta, IT Securityhttp://www.arvanta.net
> >Please do not send me e-mail containing HTML code.
> >
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: question on using XML admin interface

2011-05-21 Thread Milan P. Stanic
On Wed, 2011-05-18 at 18:54, Hillel wrote:
> We have been using the admin interface
> http://localhost:13000/status.xml?password=x  
> 
> But the response is not in xml format.
>
> For http://localhost:13000/store-status.xml?password=x  the response is
> just blank lines.
> In both cases there are no XML tags.  Is this a bug or are we using it
> incorrectly?

Which version you use? 1.5.0 shows XML in my case.  

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel SMS Parking Application

2011-06-20 Thread Milan P. Stanic
On Tue, 2011-06-21 at 08:16, Joseph Koech wrote:
> I am trying to build a simple SMS parking application. I am relatively
> well off with kannel but I wanted to know if anyone has tried this
> before and maybe point out some other tools / s/w that are required. I
> will also appreciate if someone will be willing to hold my hand
> through the development process.

I did that even three times. I even intended to release one of the SMS
parking application for free use but I cannot because of some NDA with
payment providers.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel SMS Parking Application

2011-06-21 Thread Milan P. Stanic
On Tue, 2011-06-21 at 10:14, Nikos Balkanas wrote:
> For the benefit of the list could someone explain what is an "SMS
> parking aplication"? Maybe we have an idea about what to do.

SMS parking application is just system by which users of parking payment
service uses SMS to pay parking tickets (usually on street parking) for
vehicles.

Such applications does not have much in common with Kannel (or
especially with Kannels mailing lists). Kannel can be used as very
good SMS gateway, but SMS could be received/sent by other methods, i.e.
HTTP, custom TCP/UDP/IP messaging or anything else.

Such applications is specific to business logic employed for particular
parking service and they are not simple send/receive SMS and put it in
the some database. There are a lot of work behind the stage.

Very short and incomplete description of one of such applications can be
seen on the my company WEB site at:
http://www.arvanta.net/simsms.html
(screenshots are in Serbian)

That is really short description but for a Kannel users list (were such
discussions aren't appropriate) is enough, IMHO. But, is anyone wants I
can write a lot about it because I work in that market for about six (or
maybe more) years and Kannel was/is really valuable element of some of
the systems we developed.

> - Original Message - From: "Joseph Koech"
> 
> To: 
> Sent: Tuesday, June 21, 2011 9:47 AM
> Subject: Re: Kannel SMS Parking Application
> 
> 
> Hi Milan P,
> That really sounds great. i am mostly interested on the send/stop sms
> parking and the response after one stops the SMS parking. I won't mind
> if you omitted the payment part and shared the rest. Looking forward.
> Thanks.
> 
> KR,
> Joseph.
> 
> On Tue, Jun 21, 2011 at 9:26 AM, Milan P. Stanic  wrote:
> >On Tue, 2011-06-21 at 08:16, Joseph Koech wrote:
> >>I am trying to build a simple SMS parking application. I am relatively
> >>well off with kannel but I wanted to know if anyone has tried this
> >>before and maybe point out some other tools / s/w that are required. I
> >>will also appreciate if someone will be willing to hold my hand
> >>through the development process.
> >
> >I did that even three times. I even intended to release one of the SMS
> >parking application for free use but I cannot because of some NDA with
> >payment providers.
> >
> >--
> >Kind regards, Milan
> >--
> >Arvanta, IT Security http://www.arvanta.net
> >Please do not send me e-mail containing HTML code.
> >
> >
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel SMS Parking Application

2011-06-21 Thread Milan P. Stanic
Hi Joseph,

On Tue, 2011-06-21 at 11:56, Joseph Koech wrote:
> Milan,
> I would appreciate so much if u can write a detailed article about it.

If you are interested in parking application, please send me private
mail because such discussion doesn't belong to this list.

> Kr,
> Joseph.
> 
> On Jun 21, 2011 10:47 AM, "Milan P. Stanic"  wrote:
> > On Tue, 2011-06-21 at 10:14, Nikos Balkanas wrote:
> >> For the benefit of the list could someone explain what is an "SMS
> >> parking aplication"? Maybe we have an idea about what to do.
> >
> > SMS parking application is just system by which users of parking payment
> > service uses SMS to pay parking tickets (usually on street parking) for
> > vehicles.
> >
> > Such applications does not have much in common with Kannel (or
> > especially with Kannels mailing lists). Kannel can be used as very
> > good SMS gateway, but SMS could be received/sent by other methods, i.e.
> > HTTP, custom TCP/UDP/IP messaging or anything else.
> >
> > Such applications is specific to business logic employed for particular
> > parking service and they are not simple send/receive SMS and put it in
> > the some database. There are a lot of work behind the stage.
> >
> > Very short and incomplete description of one of such applications can be
> > seen on the my company WEB site at:
> > http://www.arvanta.net/simsms.html
> > (screenshots are in Serbian)
> >
> > That is really short description but for a Kannel users list (were such
> > discussions aren't appropriate) is enough, IMHO. But, is anyone wants I
> > can write a lot about it because I work in that market for about six (or
> > maybe more) years and Kannel was/is really valuable element of some of
> > the systems we developed.
> >
> >> - Original Message - From: "Joseph Koech"
> >> 
> >> To: 
> >> Sent: Tuesday, June 21, 2011 9:47 AM
> >> Subject: Re: Kannel SMS Parking Application
> >>
> >>
> >> Hi Milan P,
> >> That really sounds great. i am mostly interested on the send/stop sms
> >> parking and the response after one stops the SMS parking. I won't mind
> >> if you omitted the payment part and shared the rest. Looking forward.
> >> Thanks.
> >>
> >> KR,
> >> Joseph.
> >>
> >> On Tue, Jun 21, 2011 at 9:26 AM, Milan P. Stanic  wrote:
> >> >On Tue, 2011-06-21 at 08:16, Joseph Koech wrote:
> >> >>I am trying to build a simple SMS parking application. I am relatively
> >> >>well off with kannel but I wanted to know if anyone has tried this
> >> >>before and maybe point out some other tools / s/w that are required. I
> >> >>will also appreciate if someone will be willing to hold my hand
> >> >>through the development process.
> >> >
> >> >I did that even three times. I even intended to release one of the SMS
> >> >parking application for free use but I cannot because of some NDA with
> >> >payment providers.
> >> >
> >> >--
> >> >Kind regards, Milan
> >> >--
> >> >Arvanta, IT Security http://www.arvanta.net
> >> >Please do not send me e-mail containing HTML code.
> >> >
> >> >
> >>
> >>
> >
> > --
> > Kind regards, Milan
> > --
> > Arvanta, IT Security http://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: FW: understanding DLR

2011-06-26 Thread Milan P. Stanic
On Sun, 2011-06-26 at 20:10, Harbhag Singh Sohal wrote:
> I apologize for bothering you guys. I appreciate your patience. I
> think I can live without delivery reports.
> Anyway, Thanks for help.

I don't think that you should give up.
Thoroughly study userguide, think about your configuration, carefully
read log files. After that ask question in mailing list providing
relevant data. Be patient. Solution will be found at the end (not before
;) ), probably.

> On Sun, Jun 26, 2011 at 7:29 PM, Nikos Balkanas  wrote:
> > This is your 14th mail in the past 2 days. Apparently you don't have the
> > skills for what you are trying to do. Please hire a consultant to do it for
> > you and free this list.
> >
> > Nikos
> > On Sun, Jun 26, 2011 at 4:35 PM, Harbhag Singh Sohal
> >  wrote:
> >>
> >> What should I change in my current configuration files to achieve
> >> Bearerbox-sqlbox-smsbox  ?
> >>
> >>
> >> On Sun, Jun 26, 2011 at 3:39 PM, Cezary Siwek 
> >> wrote:
> >> > It depends what you want to achieve. You can use the same smsboxid but
> >> > you
> >> > need to reconfigure sqlbox to pass-through all the messages.
> >> > So your scenario will be:
> >> > Bearerbox-sqlbox-smsbox
> >> >
> >> > Currently you have:
> >> > Bearerbox-smsbox
> >> > -sqlbox
> >> >
> >> >
> >> > You need to play with ports to change your message flow.
> >> > --
> >> > Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> >> >
> >> > Harbhag Singh Sohal  wrote:
> >> >>
> >> >> I have added different smsbox-id for sqlbox. Is it ok now ??
> >> >>
> >> >> On Sun, Jun 26, 2011 at 3:10 PM, Nikos Balkanas 
> >> >> wrote:
> >> >> > Great! You have configured both sqlbox and smsbox with the same
> >> >> > smsbox-id,
> >> >> > mysmsbox. And then, you use smsbox-route to tell bb to route all DLRs
> >> >> > to
> >> >> > mysmsbox. What do you think it will happen?
> >> >> >
> >> >> > BR,
> >> >> > Nikos
> >> >> > On Sun, Jun 26, 2011 at 11:27 AM, Harbhag Singh Sohal
> >> >> >  wrote:
> >> >> >>
> >> >> >> My config files.
> >> >> >>
> >> >> >> group = core
> >> >> >> admin-port = 13015
> >> >> >> admin-password = foo
> >> >> >> #admin-deny-ip = "*.*.*.*"
> >> >> >> admin-allow-ip = "127.0.0.1"
> >> >> >> dlr-storage = mysql
> >> >> >> smsbox-port = 13016
> >> >> >> #wdp-interface-name = "*">> log-file =
> >> >> >> "/var/log/kannel/bearerbox.log"
> >> >> >> access-log = "/var/log/kannel/access.log"
> >> >> >> #box-deny-ip = "*.*.*.*"
> >> >> >> box-allow-ip = "127.0.0.1"
> >> >> >> log-level = 0
> >> >> >>
> >> >> >>
> >> >> >> group = smsc
> >> >> >> smsc-id = huawei_e220
> >> >> >> smsc = at
> >> >> >> modemtype = auto
> >> >> >> device= /dev/ttyUSB0
> >> >> >> my-number = +91
> >> >> >> connect-allow-ip = 127.0.0.1
> >> >> >> sim-buffering = true
> >> >> >> log-level = 0
> >> >> >> #log-file = "/var/log/kannel/smsc.log"
> >> >> >> # DLR with MySQL support configuration
> >> >> >>
> >> >> >> group = mysql-connection
> >> >> >> id = mydlr
> >> >> >> host = localhost
> >> >> >> username = foo
> >> >> >> password = bar
> >> >> >> database = foobar
> >> >> >>
> >> >> >> group = dlr-db
> >> >> >> id = mydlr
> >> >> >> table
> >> >>  =
> >> >> dlr
> >> >> >> field-smsc = smsc
> >> >> >> field-timestamp = ts
> >> >> >> field-source=source
> >> >> >> field-destination = destination
> >> >> >> field-service = service
> >> >> >> field-url = url
> >> >> >> field-mask = mask
> >> >> >> field-status = status
> >> >> >> field-boxc-id = boxc
> >> >> >>
> >> >> >> group = modems
> >> >> >> id = auto
> >> >> >> name = "Huawei"
> >> >> >> detect-string = "huawei"
> >> >> >> init-string = "ATZ"
> >> >> >> #init-string = "AT+CMEE=1"
> >> >> >> #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >> >> >> init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
> >> >> >> message-storage = SM
> >> >> >> message-start = 0
> >> >> >> #speed = 460800
> >> >> >> #message-start = 0
> >> >> >>
> >> >> >> group = smsbox
> >> >> >> smsbox-id = mysmsbox
> >> >> >> bearerbox-host = ***
> >> >> >> bearerbox-port = 13016
> >> >> >> sendsms-port = 13018
> >> >> >> global-sender = +91
> >> >> >> access-log = "/var/log/kannel/smsbox-access.log"
> >> >> >> log-file = "/var/log/kannel/smsbox.log"
> >> >> >> log-level = 0
> >> >> >> mo-recode = true
> >> >> >>
> >> >> >> group = smsbox-route
> >> >> >> smsbox-id = mysmsbox
> >> >> >> smsc-id = huawei_e220
> >> >> >>
> >> >> >> group = sendsms-user
> >> >> >> username = foo
> >> >> >> password = bar
> >> >> >> concatenation= true
> >> >> >> max-messages = 1
> >> >> >>
> >> >> >> group = sms-service
> >> >> >> keyword-regex = .*
> >> >> >> text = "Thanks for sending SMS"
> >> >> >> catch-all = true
> >> >> >> accepted-smsc = huawei_e220
> >> >> >> max-messages = 3
> >> >> >> #get-url =
> >> >> >> "http://202.164.53.116/~harbhag/test.php?phone=%p&text=%r";
> >> >> >>
> >> >> >> group = sqlbox
> >> >> >> id = sqlbox-db
> >> >> >> smsbox-id = mysmsbox>> global-sender = "+91"
> >> >> >> bearerbox-host = 
> >> >> >> be

Re: dlr type 2 and 16

2011-07-13 Thread Milan P. Stanic
On Tue, 2011-07-12 at 23:17, Alvaro Cornejo wrote:
> what is the difference between dlr type 2 and 16? I think both types
> are for non deliverable messages but should be something different.
> between codes... other than its number for sure ;)

AFAIK, 2 is Handset Rejected/Failed and 16 is SMSC Rejected.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-19 Thread Milan P. Stanic
On Fri, 2011-08-19 at 10:31, Marcin wrote:
> 
> "E: Package 'libmysqlclient10-dev' has no installation candidate"
> any ideas?

I'm not sure but I think that the libmysqlclient10 quite outdated so it
is not in the Debian/Ubuntu repository.

Kannel works quite well with libmysqlclient16 from the 1.4.3, I think.
 
> On 19.08.2011 10:27, Willy Mularto wrote:
> >apt-get install package-name
> >
> >
> >
> >On Aug 19, 2011, at 3:18 PM, Marcin wrote:
> >
> >>Hi
> >>
> >>I have problem with library (libmysqlclient10-dev). Is there a way to 
> >>install it on ubuntu 11.04 and Debian? I've found library named 
> >>libmysqlclient16-dev but they are not compatibile.
> >>
> >>--
> >>Iwan
> >>
> >Willy Mularto
> >F300HD+MR18DE (NLC1725)
> >http://www.binbit.co.id/
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-19 Thread Milan P. Stanic
On Fri, 2011-08-19 at 16:14, Willy Mularto wrote:
> maybe you need apt-get upgrade all -y 
> it will upgrade all packages. and after that try to reconfigure Kannel

No. libmyasqlclient10 is outdated in Debian/Ubuntu. It could be found in
archive: http://archive.debian.org/debian/pool/main/m/mysql/

I'm not sure how is wise to give advice to user who does not know much
about their system to go and play with package archives.

> On Aug 19, 2011, at 4:01 PM, Milan P. Stanic wrote:
> > On Fri, 2011-08-19 at 10:31, Marcin wrote:
> >> 
> >> "E: Package 'libmysqlclient10-dev' has no installation candidate"
> >> any ideas?
> > 
> > I'm not sure but I think that the libmysqlclient10 quite outdated so it
> > is not in the Debian/Ubuntu repository.
> > 
> > Kannel works quite well with libmysqlclient16 from the 1.4.3, I think.
> > 
> >> On 19.08.2011 10:27, Willy Mularto wrote:
> >>> apt-get install package-name
> >>> 
> >>> 
> >>> 
> >>> On Aug 19, 2011, at 3:18 PM, Marcin wrote:
> >>> 
> >>>> Hi
> >>>> 
> >>>> I have problem with library (libmysqlclient10-dev). Is there a way to 
> >>>> install it on ubuntu 11.04 and Debian? I've found library named 
> >>>> libmysqlclient16-dev but they are not compatibile.
> >>>> 
> >>>> --
> >>>> Iwan
> >>>> 
> >>> Willy Mularto
> >>> F300HD+MR18DE (NLC1725)
> >>> http://www.binbit.co.id/
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >> 
> >> 
> > 
> > -- 
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> > 
> 
> Willy Mularto
> F300HD+MR18DE (NLC1725)
> http://www.binbit.co.id/
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-21 Thread Milan P. Stanic
On Sun, 2011-08-21 at 18:10, Wendy William wrote:
> When I do reply any Kannel mail then "To" field filled by sender, not by 
> users@kannel.org. This is not good since we must use Reply All that caused 
> double messages.

Check your e-mail client software and see if it have "reply to list" (or
something similar) option.

Kannel mailing lists works quite well with "normal" e-mail clients.
 
-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-21 Thread Milan P. Stanic
On Sun, 2011-08-21 at 11:08, Juan Nin wrote:
> The "good" or "not good" depends on each person...

Well, yes. There is "proper" also.

> There's always debate on this topic on every mailing-list, where
> some people claim one way is the "correct" or "better" one, and some
> people claim it's the other one, and each of them have their good
> reasons... Search on google and you'll find tons of topics on this
> matter, and you will be able to see the different opinions about it.


I'm subscribed to different mailing lists for more than fifteen years
and I don't have to search google about that subject, IMHO.


> At the end of the day, it's the decision of the list owners, and I'm
> sure that they have already thought about this and that they won't
> change their mind.   :)

Agreed. But, when some random user ask how to reply "canonical way" I
don't think it is rude to tell about "reply to list" option if MUA
support that.

> Regards.
> 
> 
> On 8/21/11 7:54 AM, Milan P. Stanic wrote:
> >On Sun, 2011-08-21 at 18:10, Wendy William wrote:
> >>When I do reply any Kannel mail then "To" field filled by sender, not by
> >>users@kannel.org. This is not good since we must use Reply All that caused
> >>double messages.
> >Check your e-mail client software and see if it have "reply to list" (or
> >something similar) option.
> >
> >Kannel mailing lists works quite well with "normal" e-mail clients.
> >
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-21 Thread Milan P. Stanic
[ This is OT, but ... ] 
On Fri, 2011-08-19 at 09:01, Alvaro Cornejo wrote:
> Hi I don't know debian but why would you do
> 
> 1. download latest trunk from svn
> 2. ./configure --with-mysql
> 3. dpkg-buildpackage
> 
> 
> instead of
> 
> 1. download latest trunk from svn
> 2. ./configure --with-mysql
> 3. make
> 4. make install
> 
> Maybe there is sometinng in the dpkg-buildpackage ??

There are many reasons to build software package using distribution
package tools, be it dpkg-buildpackage, rpm-build (I don't know exact
name) or package builder for other distributions or OS-es.

First is separation between development and production environment. I
don't like to install development tools (compiler, dev libs, etc...) on
production systems.

Another reason is install/remove/upgrade "clean path" using
distribution's package managers.

And there are other reasons for sure.

> |-|
> 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, Aug 19, 2011 at 4:27 AM, Milan P. Stanic  wrote:
> > On Fri, 2011-08-19 at 16:14, Willy Mularto wrote:
> >> maybe you need apt-get upgrade all -y
> >> it will upgrade all packages. and after that try to reconfigure Kannel
> >
> > No. libmyasqlclient10 is outdated in Debian/Ubuntu. It could be found in
> > archive: http://archive.debian.org/debian/pool/main/m/mysql/
> >
> > I'm not sure how is wise to give advice to user who does not know much
> > about their system to go and play with package archives.
> >
> >> On Aug 19, 2011, at 4:01 PM, Milan P. Stanic wrote:
> >> > On Fri, 2011-08-19 at 10:31, Marcin wrote:
> >> >>
> >> >> "E: Package 'libmysqlclient10-dev' has no installation candidate"
> >> >> any ideas?
> >> >
> >> > I'm not sure but I think that the libmysqlclient10 quite outdated so it
> >> > is not in the Debian/Ubuntu repository.
> >> >
> >> > Kannel works quite well with libmysqlclient16 from the 1.4.3, I think.
> >> >
> >> >> On 19.08.2011 10:27, Willy Mularto wrote:
> >> >>> apt-get install package-name
> >> >>>
> >> >>>
> >> >>>
> >> >>> On Aug 19, 2011, at 3:18 PM, Marcin wrote:
> >> >>>
> >> >>>> Hi
> >> >>>>
> >> >>>> I have problem with library (libmysqlclient10-dev). Is there a way to 
> >> >>>> install it on ubuntu 11.04 and Debian? I've found library named 
> >> >>>> libmysqlclient16-dev but they are not compatibile.
> >> >>>>
> >> >>>> --
> >> >>>> Iwan
> >> >>>>
> >> >>> Willy Mularto
> >> >>> F300HD+MR18DE (NLC1725)
> >> >>> http://www.binbit.co.id/
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> > --
> >> > Kind regards,  Milan
> >> > --
> >> > Arvanta, IT Security        http://www.arvanta.net
> >> > Please do not send me e-mail containing HTML code.
> >> >
> >>
> >> Willy Mularto
> >> F300HD+MR18DE (NLC1725)
> >> http://www.binbit.co.id/
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Security        http://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-22 Thread Milan P. Stanic
Hi Juan,

On Sun, 2011-08-21 at 20:02, Juan Nin wrote:
> Milan, I don't take it as an offense at all, not sure what you
> understood with my reply, but it was not directed to you at all, was
> directed to Wendy the original poster  :)

Sorry for my bad English.

I didn't want to say that you offended me. I put  tag to
tell that I don't want to offend you. :)

> On 8/21/11 3:55 PM, Milan P. Stanic wrote:
> >On Sun, 2011-08-21 at 11:08, Juan Nin wrote:
> >>The "good" or "not good" depends on each person...
> >Well, yes. There is "proper" also.
> >
> >>There's always debate on this topic on every mailing-list, where
> >>some people claim one way is the "correct" or "better" one, and some
> >>people claim it's the other one, and each of them have their good
> >>reasons... Search on google and you'll find tons of topics on this
> >>matter, and you will be able to see the different opinions about it.
> >
> >I'm subscribed to different mailing lists for more than fifteen years
> >and I don't have to search google about that subject, IMHO.
> >
> >
> >>At the end of the day, it's the decision of the list owners, and I'm
> >>sure that they have already thought about this and that they won't
> >>change their mind.   :)
> >Agreed. But, when some random user ask how to reply "canonical way" I
> >don't think it is rude to tell about "reply to list" option if MUA
> >support that.
> >
> >>Regards.
> >>
> >>
> >>On 8/21/11 7:54 AM, Milan P. Stanic wrote:
> >>>On Sun, 2011-08-21 at 18:10, Wendy William wrote:
> >>>>When I do reply any Kannel mail then "To" field filled by sender, not by
> >>>>users@kannel.org. This is not good since we must use Reply All that caused
> >>>>double messages.
> >>>Check your e-mail client software and see if it have "reply to list" (or
> >>>something similar) option.
> >>>
> >>>Kannel mailing lists works quite well with "normal" e-mail clients.
> >>>
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-22 Thread Milan P. Stanic
On Mon, 2011-08-22 at 02:49, Marcin Kulawinek wrote:
> The second way works fine, that is why I'm very curious why
> dpkg-buildpackage do not work as it should. If libraries are correct
> for ./configrue && make && make install so how they can't be for
> debian package tool?!
> 
> I also dislike dev. tools on production, and distro package tools
> gives me nice, unified way to search and maintain installed
> software.
> 
> How can I check who wrote scripts for buildpackage? Or should I
> write do dev list instead?

Which Kannel version you trying to build? I built 1.5.0 for
Debian/Ubuntu (i386 and amd64 arch) and files can be downloaded from
https://redmine.kannel.org/projects/kannel/files

If you trying to build SVN version then I can't help right now. I'm
working on it these days and I hope I will finish it this week.

> W dniu 2011-08-21 21:04, Milan P. Stanic pisze:
> >[ This is OT, but ... ]
> >On Fri, 2011-08-19 at 09:01, Alvaro Cornejo wrote:
> >>Hi I don't know debian but why would you do
> >>
> >>1. download latest trunk from svn
> >>2. ./configure --with-mysql
> >>3. dpkg-buildpackage
> >>
> >>
> >>instead of
> >>
> >>1. download latest trunk from svn
> >>2. ./configure --with-mysql
> >>3. make
> >>4. make install
> >>
> >>Maybe there is sometinng in the dpkg-buildpackage ??
> >There are many reasons to build software package using distribution
> >package tools, be it dpkg-buildpackage, rpm-build (I don't know exact
> >name) or package builder for other distributions or OS-es.
> >
> >First is separation between development and production environment. I
> >don't like to install development tools (compiler, dev libs, etc...) on
> >production systems.
> >
> >Another reason is install/remove/upgrade "clean path" using
> >distribution's package managers.
> >
> >And there are other reasons for sure.
> >
> >>|-|
> >>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, Aug 19, 2011 at 4:27 AM, Milan P. Stanic  wrote:
> >>>On Fri, 2011-08-19 at 16:14, Willy Mularto wrote:
> >>>>maybe you need apt-get upgrade all -y
> >>>>it will upgrade all packages. and after that try to reconfigure Kannel
> >>>No. libmyasqlclient10 is outdated in Debian/Ubuntu. It could be found in
> >>>archive: http://archive.debian.org/debian/pool/main/m/mysql/
> >>>
> >>>I'm not sure how is wise to give advice to user who does not know much
> >>>about their system to go and play with package archives.
> >>>
> >>>>On Aug 19, 2011, at 4:01 PM, Milan P. Stanic wrote:
> >>>>>On Fri, 2011-08-19 at 10:31, Marcin wrote:
> >>>>>>"E: Package 'libmysqlclient10-dev' has no installation candidate"
> >>>>>>any ideas?
> >>>>>I'm not sure but I think that the libmysqlclient10 quite outdated so it
> >>>>>is not in the Debian/Ubuntu repository.
> >>>>>
> >>>>>Kannel works quite well with libmysqlclient16 from the 1.4.3, I think.
> >>>>>
> >>>>>>On 19.08.2011 10:27, Willy Mularto wrote:
> >>>>>>>apt-get install package-name
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>On Aug 19, 2011, at 3:18 PM, Marcin wrote:
> >>>>>>>
> >>>>>>>>Hi
> >>>>>>>>
> >>>>>>>>I have problem with library (libmysqlclient10-dev). Is there a way to 
> >>>>>>>>install it on ubuntu 11.04 and Debian? I've found library named 
> >>>>>>>>libmysqlclient16-dev but they are not compatibile.
> >>>>>>>>
> >>>>>>>>--
> >>>>>>>>Iwan
> >>>>>>>>
> >>>>>>>Willy Mularto
> >>>>>>>F300HD+MR18DE (NLC1725)
> >>>>>>>http://www.binbit.co.id/
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>--
> >>>>>Kind regards,  Milan
> >>>>>--
> >>>>>Arvanta, IT Securityhttp://www.arvanta.net
> >>>>>Please do not send me e-mail containing HTML code.
> >>>>>
> >>>>Willy Mularto
> >>>>F300HD+MR18DE (NLC1725)
> >>>>http://www.binbit.co.id/
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>--
> >>>Kind regards,  Milan
> >>>--
> >>>Arvanta, IT Securityhttp://www.arvanta.net
> >>>Please do not send me e-mail containing HTML code.
> >>>
> >>>
> 
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-22 Thread Milan P. Stanic
On Mon, 2011-08-22 at 10:36, Marcin wrote:
> I was trying from svn - now I've downloaded redmine files, but the
> same problem with dpkg-buildpackage occures.

I'm sorry, I can't help right now.
I'm trying to rewrite Debian scripts to CDBS for Kannel to make my life
with Kannel a little easier. :)
 
> On 22.08.2011 10:26, Milan P. Stanic wrote:
> >On Mon, 2011-08-22 at 02:49, Marcin Kulawinek wrote:
> >>The second way works fine, that is why I'm very curious why
> >>dpkg-buildpackage do not work as it should. If libraries are correct
> >>for ./configrue&&  make&&  make install so how they can't be for
> >>debian package tool?!
> >>
> >>I also dislike dev. tools on production, and distro package tools
> >>gives me nice, unified way to search and maintain installed
> >>software.
> >>
> >>How can I check who wrote scripts for buildpackage? Or should I
> >>write do dev list instead?
> >Which Kannel version you trying to build? I built 1.5.0 for
> >Debian/Ubuntu (i386 and amd64 arch) and files can be downloaded from
> >https://redmine.kannel.org/projects/kannel/files
> >
> >If you trying to build SVN version then I can't help right now. I'm
> >working on it these days and I hope I will finish it this week.
> >
> >>W dniu 2011-08-21 21:04, Milan P. Stanic pisze:
> >>>[ This is OT, but ... ]
> >>>On Fri, 2011-08-19 at 09:01, Alvaro Cornejo wrote:
> >>>>Hi I don't know debian but why would you do
> >>>>
> >>>>1. download latest trunk from svn
> >>>>2. ./configure --with-mysql
> >>>>3. dpkg-buildpackage
> >>>>
> >>>>
> >>>>instead of
> >>>>
> >>>>1. download latest trunk from svn
> >>>>2. ./configure --with-mysql
> >>>>3. make
> >>>>4. make install
> >>>>
> >>>>Maybe there is sometinng in the dpkg-buildpackage ??
> >>>There are many reasons to build software package using distribution
> >>>package tools, be it dpkg-buildpackage, rpm-build (I don't know exact
> >>>name) or package builder for other distributions or OS-es.
> >>>
> >>>First is separation between development and production environment. I
> >>>don't like to install development tools (compiler, dev libs, etc...) on
> >>>production systems.
> >>>
> >>>Another reason is install/remove/upgrade "clean path" using
> >>>distribution's package managers.
> >>>
> >>>And there are other reasons for sure.
> >>>
> >>>>|-|
> >>>>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, Aug 19, 2011 at 4:27 AM, Milan P. Stanic   
> >>>>wrote:
> >>>>>On Fri, 2011-08-19 at 16:14, Willy Mularto wrote:
> >>>>>>maybe you need apt-get upgrade all -y
> >>>>>>it will upgrade all packages. and after that try to reconfigure Kannel
> >>>>>No. libmyasqlclient10 is outdated in Debian/Ubuntu. It could be found in
> >>>>>archive: http://archive.debian.org/debian/pool/main/m/mysql/
> >>>>>
> >>>>>I'm not sure how is wise to give advice to user who does not know much
> >>>>>about their system to go and play with package archives.
> >>>>>
> >>>>>>On Aug 19, 2011, at 4:01 PM, Milan P. Stanic wrote:
> >>>>>>>On Fri, 2011-08-19 at 10:31, Marcin wrote:
> >>>>>>>>"E: Package 'libmysqlclient10-dev' has no installation candidate"
> >>>>>>>>any ideas?
> >>>>>>>I'm not sure but I think that the libmysqlclient10 quite outdated so it
> >>>>>>>is not in the Debian/Ubuntu repository.
> >>>>>>>
> >>>>>>>Kannel works quite well with libmysqlclient16 from the 1.4.3, I think.
> >>>>>>>
> >>&g

Re: OpenSMPPBox - Installed on CentOS 5.2 with Kannel 1.5.0 not starting!

2011-08-22 Thread Milan P. Stanic
On Mon, 2011-08-22 at 11:54, Mpeirwe Benjamin wrote:
> Hi All,
> 
> I have kannel 1.5.0 running perfectly on My CentOS 5.2 box, I installed
> openSMPPBox through SVN  as follows:
> 
> 1. #svn co https://svn.kannel.org/smppbox/trunk
> 2. #cd /trunk/
> 
> 3. #./configure
> 
> 4. #make
> 
> 5. #make install
> 
> Up to this point everything has run fine. Then I create the opensmppbox
> configuration file as follows:
> 
> 
> group = opensmppbox
> 
> bearerbox-host = 127.0.0.1
> 
> bearerbox-port = 13000
> 
> opensmppbox-id = smppbox1
> 
> opensmppbox-port = 9100
> 
> log-file = /var/log/kannel/opensmppbox.log
> 
> log-level = 0
> 
> our-system-id = jeejay
> 
> smpp-logins = /etc/opensmppbox/clients.txt
> 
> the configuration file is saved as: /etc/kannel/opensmppbox.conf
> 
> I try to start opensmppbox (which is located in /usr/local/sbin/) as
> follows:
> 
> #opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> 
> and the error I get is:
> 
> [root@nat2 sbin]# opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> 2011-08-22 11:49:43 [24602] [0] INFO: Debug_lvl = 0, log_file = ,
> log_lvl = 0
> 2011-08-22 11:49:43 [24602] [0] DEBUG: Kannel opensmppbox version svn-r62
> gwlib version `1.5.0'.
> Build `Aug 21 2011 19:19:36', compiler `4.1.2 20080704 (Red Hat 4.1.2-50)'.
> System Linux, release 2.6.18-92.el5, version #1 SMP Tue Jun 10 18:49:47 EDT
> 2008, machine i686.
> Hostname localhost.localdomain, IP 127.0.0.1.
> Libxml version 2.6.26.
> Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
> Compiled with MySQL 5.0.89, using MySQL 5.0.89.
> Using native malloc.
> 2011-08-22 11:49:43 [24602] [0] PANIC: DLR: can't find group core
Look here >   ^   ^

You should add
group = core
to top of your opensmppbox.conf file.

> 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(gw_panic+0xc2)
> [0x808d7a2]
> 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(dlr_init+0x1c8)
> [0x8055f28]
> 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(main+0x204) [0x8050654]
> 2011-08-22 11:49:43 [24602] [0] PANIC:
> /lib/libc.so.6(__libc_start_main+0xdc) [0xb6ce9c]
> 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox [0x80502f1]
> [root@nat2 sbin]#
> 
> Could the problem have to do with i386 (that is what my machine is) not
> i686?
> 
> 
> 
> "The Scientist explores what is,
> the Engineer creates what has never been."
> Theodore von Karman

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: OpenSMPPBox - Installed on CentOS 5.2 with Kannel 1.5.0 not starting!

2011-08-22 Thread Milan P. Stanic
On Mon, 2011-08-22 at 13:40, Mpeirwe Benjamin wrote:
>  Hello,
> 
> Thanks Milan, but this does not solve the problem. My configuration file is
> a follows:
> 
> group = core
>  group = opensmppbox
   ^^^
It should be smppbox and not opensmppbox 
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13000
> 
> opensmppbox-id = smppbox1
Same here,
> pensmppbox-port = 9100

and here.

> log-file = /var/log/kannel/opensmppbox.log
> 
> log-level = 0
> 
> our-system-id = jeejay
> 
> smpp-logins = /etc/opensmppbox/clients.txt
> 
> the same error is shown when I run:
> 
> #opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> 
> Your help will be very much appreciated
 
For the help your best friend is userguide, especially if you read it
carefully. No offense :)


> On Mon, Aug 22, 2011 at 12:07 PM, Milan P. Stanic  wrote:
> 
> > On Mon, 2011-08-22 at 11:54, Mpeirwe Benjamin wrote:
> > > Hi All,
> > >
> > > I have kannel 1.5.0 running perfectly on My CentOS 5.2 box, I installed
> > > openSMPPBox through SVN  as follows:
> > >
> > > 1. #svn co https://svn.kannel.org/smppbox/trunk
> > > 2. #cd /trunk/
> > >
> > > 3. #./configure
> > >
> > > 4. #make
> > >
> > > 5. #make install
> > >
> > > Up to this point everything has run fine. Then I create the opensmppbox
> > > configuration file as follows:
> > >
> > >
> > > group = opensmppbox
> > >
> > > bearerbox-host = 127.0.0.1
> > >
> > > bearerbox-port = 13000
> > >
> > > opensmppbox-id = smppbox1
> > >
> > > opensmppbox-port = 9100
> > >
> > > log-file = /var/log/kannel/opensmppbox.log
> > >
> > > log-level = 0
> > >
> > > our-system-id = jeejay
> > >
> > > smpp-logins = /etc/opensmppbox/clients.txt
> > >
> > > the configuration file is saved as: /etc/kannel/opensmppbox.conf
> > >
> > > I try to start opensmppbox (which is located in /usr/local/sbin/) as
> > > follows:
> > >
> > > #opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> > >
> > > and the error I get is:
> > >
> > > [root@nat2 sbin]# opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> > > 2011-08-22 11:49:43 [24602] [0] INFO: Debug_lvl = 0, log_file = ,
> > > log_lvl = 0
> > > 2011-08-22 11:49:43 [24602] [0] DEBUG: Kannel opensmppbox version svn-r62
> > > gwlib version `1.5.0'.
> > > Build `Aug 21 2011 19:19:36', compiler `4.1.2 20080704 (Red Hat
> > 4.1.2-50)'.
> > > System Linux, release 2.6.18-92.el5, version #1 SMP Tue Jun 10 18:49:47
> > EDT
> > > 2008, machine i686.
> > > Hostname localhost.localdomain, IP 127.0.0.1.
> > > Libxml version 2.6.26.
> > > Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
> > > Compiled with MySQL 5.0.89, using MySQL 5.0.89.
> > > Using native malloc.
> > > 2011-08-22 11:49:43 [24602] [0] PANIC: DLR: can't find group core
> > Look here >   ^   ^
> >
> > You should add
> > group = core
> > to top of your opensmppbox.conf file.
> >
> > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(gw_panic+0xc2)
> > > [0x808d7a2]
> > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(dlr_init+0x1c8)
> > > [0x8055f28]
> > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(main+0x204)
> > [0x8050654]
> > > 2011-08-22 11:49:43 [24602] [0] PANIC:
> > > /lib/libc.so.6(__libc_start_main+0xdc) [0xb6ce9c]
> > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox [0x80502f1]
> > > [root@nat2 sbin]#
> > >
> > > Could the problem have to do with i386 (that is what my machine is) not
> > > i686?
> > >
> > >
> > >
> > > "The Scientist explores what is,
> > > the Engineer creates what has never been."
> > > Theodore von Karman
> >
> > --
> > Kind regards,  Milan
> > --
> > Arvanta, IT Securityhttp://www.arvanta.net
> > Please do not send me e-mail containing HTML code.
> >
> >
> 
> 
> -- 
> "The Scientist explores what is,
> the Engineer creates what has never been."
> Theodore von Karman

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: libmysqlclient10-dev

2011-08-22 Thread Milan P. Stanic
Hi Marcin,

On Mon, 2011-08-22 at 13:06, Marcin wrote:
> Problem temporary solved.
> 
> Replacing in files:
> debian/contrib
> debian/contrib .devel
> debian/contrib .stable
> 
> line:
> Build-Depends: debhelper (>> 4.0.0), libxml2-dev, libssl-dev,
> openssl, *libmysqlclient10-dev*, libpam0g-dev
> 
> to line:
> Build-Depends: debhelper (>> 4.0.0), libxml2-dev, libssl-dev,
> openssl, *libmysqlclient-dev*, libpam0g-dev

I found on new rules file for Debian version at:
http://anonscm.debian.org/gitweb/?p=collab-maint/kannel.git;a=blob_plain;f=debian/rules;h=771f863070e9eedb9e255eda05eaabd81dce7afe;hb=HEAD
 
This rules file is rewritten to CDBS and it works.
I don't have to invent "warm water" ;-)

I compiled SVN Kannel without problem.

> Thanks for your time and help. Good day
> 
> On 22.08.2011 10:54, Milan P. Stanic wrote:
> >On Mon, 2011-08-22 at 10:36, Marcin wrote:
> >>I was trying from svn - now I've downloaded redmine files, but the
> >>same problem with dpkg-buildpackage occures.
> >I'm sorry, I can't help right now.
> >I'm trying to rewrite Debian scripts to CDBS for Kannel to make my life
> >with Kannel a little easier. :)
> >
> >>On 22.08.2011 10:26, Milan P. Stanic wrote:
> >>>On Mon, 2011-08-22 at 02:49, Marcin Kulawinek wrote:
> >>>>The second way works fine, that is why I'm very curious why
> >>>>dpkg-buildpackage do not work as it should. If libraries are correct
> >>>>for ./configrue&&   make&&   make install so how they can't be for
> >>>>debian package tool?!
> >>>>
> >>>>I also dislike dev. tools on production, and distro package tools
> >>>>gives me nice, unified way to search and maintain installed
> >>>>software.
> >>>>
> >>>>How can I check who wrote scripts for buildpackage? Or should I
> >>>>write do dev list instead?
> >>>Which Kannel version you trying to build? I built 1.5.0 for
> >>>Debian/Ubuntu (i386 and amd64 arch) and files can be downloaded from
> >>>https://redmine.kannel.org/projects/kannel/files
> >>>
> >>>If you trying to build SVN version then I can't help right now. I'm
> >>>working on it these days and I hope I will finish it this week.
> >>>
> >>>>W dniu 2011-08-21 21:04, Milan P. Stanic pisze:
> >>>>>[ This is OT, but ... ]
> >>>>>On Fri, 2011-08-19 at 09:01, Alvaro Cornejo wrote:
> >>>>>>Hi I don't know debian but why would you do
> >>>>>>
> >>>>>>1. download latest trunk from svn
> >>>>>>2. ./configure --with-mysql
> >>>>>>3. dpkg-buildpackage
> >>>>>>
> >>>>>>
> >>>>>>instead of
> >>>>>>
> >>>>>>1. download latest trunk from svn
> >>>>>>2. ./configure --with-mysql
> >>>>>>3. make
> >>>>>>4. make install
> >>>>>>
> >>>>>>Maybe there is sometinng in the dpkg-buildpackage ??
> >>>>>There are many reasons to build software package using distribution
> >>>>>package tools, be it dpkg-buildpackage, rpm-build (I don't know exact
> >>>>>name) or package builder for other distributions or OS-es.
> >>>>>
> >>>>>First is separation between development and production environment. I
> >>>>>don't like to install development tools (compiler, dev libs, etc...) on
> >>>>>production systems.
> >>>>>
> >>>>>Another reason is install/remove/upgrade "clean path" using
> >>>>>distribution's package managers.
> >>>>>
> >>>>>And there are other reasons for sure.
> >>>>>
> >>>>>>|-|
> >>>>>>Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> >>>>>>celular y Nextel
> >>>>>>en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> >>>>>>SMS y GPRS online
> >>>>>>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> >>>>>>www.pravcom.com
> >>>>>>
> >>>>>>
>

Re: OpenSMPPBox - Installed on CentOS 5.2 with Kannel 1.5.0 not starting!

2011-08-22 Thread Milan P. Stanic
Replying to self to correct myself.

On Mon, 2011-08-22 at 12:48, Milan P. Stanic wrote:
> On Mon, 2011-08-22 at 13:40, Mpeirwe Benjamin wrote:
> >  Hello,
> > 
> > Thanks Milan, but this does not solve the problem. My configuration file is
> > a follows:
> > 
> > group = core
> >  group = opensmppbox
>^^^
> It should be smppbox and not opensmppbox 

Sorry, my mistake.
SVN opensmppbox uses "opensmppbox" string for group definition.
In older version it was just "smppbox", IIRC.

> > bearerbox-host = 127.0.0.1
> > bearerbox-port = 13000
> > 
> > opensmppbox-id = smppbox1
> Same here,
> > pensmppbox-port = 9100
> 
> and here.

And, opensmppbox-port is correct keyword.

Sorry, again.

> > log-file = /var/log/kannel/opensmppbox.log
> > 
> > log-level = 0
> > 
> > our-system-id = jeejay
> > 
> > smpp-logins = /etc/opensmppbox/clients.txt
> > 
> > the same error is shown when I run:
> > 
> > #opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> > 
> > Your help will be very much appreciated
>  
> For the help your best friend is userguide, especially if you read it
> carefully. No offense :)
> 
> 
> > On Mon, Aug 22, 2011 at 12:07 PM, Milan P. Stanic  wrote:
> > 
> > > On Mon, 2011-08-22 at 11:54, Mpeirwe Benjamin wrote:
> > > > Hi All,
> > > >
> > > > I have kannel 1.5.0 running perfectly on My CentOS 5.2 box, I installed
> > > > openSMPPBox through SVN  as follows:
> > > >
> > > > 1. #svn co https://svn.kannel.org/smppbox/trunk
> > > > 2. #cd /trunk/
> > > >
> > > > 3. #./configure
> > > >
> > > > 4. #make
> > > >
> > > > 5. #make install
> > > >
> > > > Up to this point everything has run fine. Then I create the opensmppbox
> > > > configuration file as follows:
> > > >
> > > >
> > > > group = opensmppbox
> > > >
> > > > bearerbox-host = 127.0.0.1
> > > >
> > > > bearerbox-port = 13000
> > > >
> > > > opensmppbox-id = smppbox1
> > > >
> > > > opensmppbox-port = 9100
> > > >
> > > > log-file = /var/log/kannel/opensmppbox.log
> > > >
> > > > log-level = 0
> > > >
> > > > our-system-id = jeejay
> > > >
> > > > smpp-logins = /etc/opensmppbox/clients.txt
> > > >
> > > > the configuration file is saved as: /etc/kannel/opensmppbox.conf
> > > >
> > > > I try to start opensmppbox (which is located in /usr/local/sbin/) as
> > > > follows:
> > > >
> > > > #opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> > > >
> > > > and the error I get is:
> > > >
> > > > [root@nat2 sbin]# opensmppbox -v 0 /etc/kannel/opensmppbox.conf
> > > > 2011-08-22 11:49:43 [24602] [0] INFO: Debug_lvl = 0, log_file = ,
> > > > log_lvl = 0
> > > > 2011-08-22 11:49:43 [24602] [0] DEBUG: Kannel opensmppbox version 
> > > > svn-r62
> > > > gwlib version `1.5.0'.
> > > > Build `Aug 21 2011 19:19:36', compiler `4.1.2 20080704 (Red Hat
> > > 4.1.2-50)'.
> > > > System Linux, release 2.6.18-92.el5, version #1 SMP Tue Jun 10 18:49:47
> > > EDT
> > > > 2008, machine i686.
> > > > Hostname localhost.localdomain, IP 127.0.0.1.
> > > > Libxml version 2.6.26.
> > > > Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
> > > > Compiled with MySQL 5.0.89, using MySQL 5.0.89.
> > > > Using native malloc.
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC: DLR: can't find group core
> > > Look here >   ^   ^
> > >
> > > You should add
> > > group = core
> > > to top of your opensmppbox.conf file.
> > >
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(gw_panic+0xc2)
> > > > [0x808d7a2]
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(dlr_init+0x1c8)
> > > > [0x8055f28]
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox(main+0x204)
> > > [0x8050654]
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC:
> > > > /lib/libc.so.6(__libc_start_main+0xdc) [0xb6ce9c]
> > > > 2011-08-22 11:49:43 [24602] [0] PANIC: opensmppbox [0x80502f1]
> > > > [root@nat2 sbin]#
> > > >
> > > > Could the problem have to do with i386 (that is what my machine is) not
> > > > i686?
> > > >
> > > >
> > > >
> > > > "The Scientist explores what is,
> > > > the Engineer creates what has never been."
> > > > Theodore von Karman
> > >
> > > --
> > > Kind regards,  Milan
> > > --
> > > Arvanta, IT Securityhttp://www.arvanta.net
> > > Please do not send me e-mail containing HTML code.
> > >
> > >
> > 
> > 
> > -- 
> > "The Scientist explores what is,
> > the Engineer creates what has never been."
> > Theodore von Karman
> 
> -- 
> Kind regards,  Milan
> --
> Arvanta, IT Securityhttp://www.arvanta.net
> Please do not send me e-mail containing HTML code.
> 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-28 Thread Milan P. Stanic
On Sun, 2011-08-28 at 15:14, Wendy William wrote:
> I got this complain :)
> 
> --
> > Next time, always copy the  users list.
> 
> > 
> > == Rene
> --
> Current Kannel mailing settings caused:
> 1. I got 2 emails for SAME EMAIL !!! 1 from Rene and 1 form kannel.org
> 2. I must click Replay to All, because klik to Reply only send to Rene
> 3. Wasting time, wasting bandwidth
> 4. How do I filter mail from Rene to be deleted because I have got same email 
> from kannel behind Rene (also other users) ?
> 
> So, I hope the moderator change the mailing list setting to avoid this 
> complain, 
> please ...

It would be better to use e-mail client which know how to reply to
mailing list. And not only you but most of the people subscribed to
this list.

> Regards, Wendy
> 
> 
> 
> 
> - Original Message 
> > From: Milan P. Stanic 
> > To: users@kannel.org
> > Sent: Mon, August 22, 2011 3:00:19 PM
> > Subject: Re: Wrong setting on Kannel Mailing List?
> > 
> > Hi Juan,
> > 
> > On Sun, 2011-08-21 at 20:02, Juan Nin wrote:
> > > Milan, I  don't take it as an offense at all, not sure what you
> > > understood with my  reply, but it was not directed to you at all, was
> > > directed to Wendy the  original poster  :)
> > 
> > Sorry for my bad English.
> > 
> > I didn't want  to say that you offended me. I put  tag to
> > tell that I  don't want to offend you. :)
> > 
> > > On 8/21/11 3:55 PM, Milan P. Stanic  wrote:
> > > >On Sun, 2011-08-21 at 11:08, Juan Nin wrote:
> > >  >>The "good" or "not good" depends on each person...
> > > >Well,  yes. There is "proper" also.
> > > >
> > > >>There's always debate  on this topic on every mailing-list, where
> > > >>some people claim one  way is the "correct" or "better" one, and some
> > > >>people claim it's  the other one, and each of them have their good
> > > >>reasons...  Search on google and you'll find tons of topics on this
> > > >>matter,  and you will be able to see the different opinions about it.
> > > >
> > > >I'm subscribed to different mailing lists for more than  fifteen years
> > > >and I don't have to search google about that subject,  IMHO.
> > > >
> > > >
> > > >>At the end of  the day, it's the decision of the list owners, and I'm
> > > >>sure that  they have already thought about this and that they won't
> > > >>change  their mind.   :)
> > > >Agreed. But, when some random user ask how to  reply "canonical way" I
> > > >don't think it is rude to tell about "reply  to list" option if MUA
> > > >support that.
> > > >
> > >  >>Regards.
> > > >>
> > > >>
> > > >>On 8/21/11  7:54 AM, Milan P. Stanic wrote:
> > > >>>On Sun, 2011-08-21 at 18:10,  Wendy William wrote:
> > > >>>>When I do reply any Kannel mail  then "To" field filled by sender, 
> > > >>>>not 
> by
> > > >>>>users@kannel.org. This is not good since we  must use Reply All that 
> >caused
> > > >>>>double messages.
> > >  >>>Check your e-mail client software and see if it have "reply to list"  
> (or
> > > >>>something similar) option.
> > > >>>
> > >  >>>Kannel mailing lists works quite well with "normal" e-mail  clients.
> > > >>>
> > > 
> > > 
> > 
> > -- 
> > Kind  regards,   Milan
> > --
> > Arvanta, IT  Securityhttp://www.arvanta.net
> > Please do not send  me e-mail containing HTML code.
> > 
> > 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-28 Thread Milan P. Stanic
On Mon, 2011-08-29 at 12:30, Wendy William wrote:
> I'am using Yahoo webmail and  ofcourse not only me use Yahoo webmail :)

Then you should complain to the Yahoo and not this list.

If all the people of the world use improper Yahoo mail (or any other)
software for mailing list which cannot handle such simple option, that
will not make it proper. It does not work. Period.

But, this question is discussed many times in this list and I think we
should terminate this useless thread. :)

>  Regards, Wendy
> 
> 
> - Original Message ----
> > From: Milan P. Stanic 
> > To: users@kannel.org
> > Sent: Sun, August 28, 2011 9:14:21 PM
> > Subject: Re: Wrong setting on Kannel Mailing List?
> > 
> > On Sun, 2011-08-28 at 15:14, Wendy William wrote:
> > > I got this complain  :)
> > > 
> > > --
> > > > Next time, always  copy the  users list.
> > > 
> > > > 
> > > > == Rene
> > >  --
> > > Current Kannel mailing settings  caused:
> > > 1. I got 2 emails for SAME EMAIL !!! 1 from Rene and 1 form kannel.org
> > > 2. I must click  Replay to All, because klik to Reply only send to Rene
> > > 3. Wasting time,  wasting bandwidth
> > > 4. How do I filter mail from Rene to be deleted  because I have got same 
> >email 
> >
> > > from kannel behind Rene (also other  users) ?
> > > 
> > > So, I hope the moderator change the mailing list  setting to avoid this 
> >complain, 
> >
> > > please ...
> > 
> > It would be better to  use e-mail client which know how to reply to
> > mailing list. And not only you  but most of the people subscribed to
> > this list.
> > 
> > > Regards,  Wendy
> > > 
> > > 
> > > 
> > > 
> > > - Original Message  
> > > > From: Milan P. Stanic 
> > > > To: users@kannel.org
> > > > Sent: Mon,  August 22, 2011 3:00:19 PM
> > > > Subject: Re: Wrong setting on Kannel  Mailing List?
> > > > 
> > > > Hi Juan,
> > > > 
> > > > On  Sun, 2011-08-21 at 20:02, Juan Nin wrote:
> > > > > Milan, I  don't  take it as an offense at all, not sure what you
> > > > > understood  with my  reply, but it was not directed to you at all, was
> > > >  > directed to Wendy the  original poster  :)
> > > > 
> > >  > Sorry for my bad English.
> > > > 
> > > > I didn't want  to  say that you offended me. I put  tag to
> > > > tell that  I  don't want to offend you. :)
> > > > 
> > > > > On 8/21/11  3:55 PM, Milan P. Stanic  wrote:
> > > > > >On Sun, 2011-08-21  at 11:08, Juan Nin wrote:
> > > > >  >>The "good" or "not  good" depends on each person...
> > > > > >Well,  yes. There is  "proper" also.
> > > > > >
> > > > > >>There's always  debate  on this topic on every mailing-list, where
> > > > >  >>some people claim one  way is the "correct" or "better" one, and  
> some
> > > > > >>people claim it's  the other one, and each  of them have their good
> > > > > >>reasons...  Search on  google and you'll find tons of topics on this
> > > > >  >>matter,  and you will be able to see the different opinions about  
> it.
> > > > > >
> > > > > >I'm  subscribed to different mailing lists for more than  fifteen 
> > > > > >years
> > >  > > >and I don't have to search google about that subject,   IMHO.
> > > > > >
> > > > > >
> > >  > > >>At the end of  the day, it's the decision of the list  owners, and 
> I'm
> > > > > >>sure that  they have already  thought about this and that they won't
> > > > > >>change   their mind.   :)
> > > > > >Agreed. But, when some random user  ask how to  reply "canonical 
> > > > > >way" I
> > > > > >don't think it is  rude to tell about "reply  to list" option if MUA
> > > > >  >support that.
> > > > > >
> > > > >   >>Regards.
> > > > > >>
> > > > > >>
> > >  > > >>On 8/21/11  7:54 AM, Milan P. Stanic wrote:
> > > >  > >>>On Sun, 2011-08-21 at 18:10,  Wendy William wrote:
> > >  > > >>>>When I do reply any Kannel mail  then "To" field  filled by 
> > > sender, 
> >not 
> >
> > > by
> > > > > >>>>users@kannel.org. This is not good since  we  must use Reply All 
> > > > > >>>>that 
> >
> > > >caused
> > > > >  >>>>double messages.
> > > > >  >>>Check your  e-mail client software and see if it have "reply to 
> >list"  
> >
> > >  (or
> > > > > >>>something similar) option.
> > > > >  >>>
> > > > >  >>>Kannel mailing lists works  quite well with "normal" e-mail  
> clients.
> > > > >  >>>
> > > > > 
> > > > > 
> > > > 
> > > > -- 
> > > > Kind  regards,   Milan
> > > >  --
> > > > Arvanta,  IT  Securityhttp://www.arvanta.net
> > > >  Please do not send  me e-mail containing HTML code.
> > > > 
> > >  > 
> > 
> > -- 
> > Kind regards,   Milan
> > --
> > Arvanta, IT  Securityhttp://www.arvanta.net
> > Please do not send me e-mail  containing HTML code.
> > 
> > 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Wrong setting on Kannel Mailing List?

2011-08-29 Thread Milan P. Stanic
On Mon, 2011-08-29 at 17:17, Wendy William wrote:
> You can set how this mailing list works, just set it. You don't need complain 
> to 
> Yahoo mail.

I don't complain to Yahoo mail. I don't use it for mail.

> I believe the moderator of this mailing list can do it, if not then we can 
> help 
> to set it.

You can create mailing list and set it however you want.
 
> I see moderator of Xen, CentOS, and others already follow this, why not 
> Kannel?

This is discussed many times (as I said in previous mail) and mailing
list moderator decided to set it to "proper mode".

> Regards, Wendy
> 
> 
> 
> 
> - Original Message 
> > From: Milan P. Stanic 
> > To: users@kannel.org
> > Sent: Mon, August 29, 2011 1:54:43 PM
> > Subject: Re: Wrong setting on Kannel Mailing List?
> > 
> > On Mon, 2011-08-29 at 12:30, Wendy William wrote:
> > > I'am using Yahoo  webmail and  ofcourse not only me use Yahoo webmail 
> > > :)
> > 
> > Then you  should complain to the Yahoo and not this list.
> > 
> > If all the people of the  world use improper Yahoo mail (or any other)
> > software for mailing list which  cannot handle such simple option, that
> > will not make it proper. It does not  work. Period.
> > 
> > But, this question is discussed many times in this list and  I think we
> > should terminate this useless thread. :)
> > 
> > >   Regards, Wendy
> > > 
> > > 
> > > - Original Message 
> > >  > From: Milan P. Stanic 
> > > > To: users@kannel.org
> > > > Sent: Sun,  August 28, 2011 9:14:21 PM
> > > > Subject: Re: Wrong setting on Kannel  Mailing List?
> > > > 
> > > > On Sun, 2011-08-28 at 15:14, Wendy  William wrote:
> > > > > I got this complain  :)
> > > > > 
> > > > > --
> > > > > > Next time,  always  copy the  users list.
> > > > > 
> > > > >  > 
> > > > > > == Rene
> > > > >   --
> > > > > Current Kannel mailing  settings  caused:
> > > > > 1. I got 2 emails for SAME EMAIL !!! 1  from Rene and 1 form 
> > > > > kannel.org
> > > > > 2. I must click   Replay to All, because klik to Reply only send to 
> > > > > Rene
> > > > > 3.  Wasting time,  wasting bandwidth
> > > > > 4. How do I filter mail  from Rene to be deleted  because I have got 
> > > > > same 
> >
> > > >email 
> > > >
> > > > > from kannel behind Rene (also other  users)  ?
> > > > > 
> > > > > So, I hope the moderator change the  mailing list  setting to avoid 
> > > > > this 
> 
> > > >complain, 
> > >  >
> > > > > please ...
> > > > 
> > > > It would be better  to  use e-mail client which know how to reply to
> > > > mailing list.  And not only you  but most of the people subscribed to
> > > > this  list.
> > > > 
> > > > > Regards,  Wendy
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >  - Original Message  
> > > > > > From: Milan P. Stanic  
> > > > > > To: users@kannel.org
> > > > > > Sent:  Mon,  August 22, 2011 3:00:19 PM
> > > > > > Subject: Re: Wrong  setting on Kannel  Mailing List?
> > > > > > 
> > > > >  > Hi Juan,
> > > > > > 
> > > > > > On  Sun,  2011-08-21 at 20:02, Juan Nin wrote:
> > > > > > > Milan, I   don't  take it as an offense at all, not sure what you
> > > > >  > > understood  with my  reply, but it was not directed to you  at 
> > > > > all, 
> >was
> > > > > >  > directed to Wendy the   original poster  :)
> > > > > > 
> > > > >  >  Sorry for my bad English.
> > > > > > 
> > > > > > I  didn't want  to  say that you offended me. I put   
> > > > > > tag 
> >to
> > > > > > tell that  I  don't want to offend you.  :)
> > > > > > 
> > > > > > > On 8/21/11  3:55 PM,  Milan P. Stanic  wrote:
> > > > > > > >On Sun,  2011-08-21  at 11:08, Juan Nin wrote:
> > > > > > >   >>The "good"

Re: Wrong setting on Kannel Mailing List?

2011-08-30 Thread Milan P. Stanic
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

On Tue, 2011-08-30 at 12:30, Wendy William wrote:
> I know this is discussed many times in many lists but they like to make a 
> change 
> instead Kannel :)

Moderators of these lists have a lot uninformed subscribers, IMHO.

> Moderator (I don't know whois the moderator of this list) only need to change 
> it 
> then every one happy, no need to call every one to use you suggested mail 
> client.

What change you want to propose? Reply-To field?
 
> Why the moderator hard to change it? Will it hurt the moderator?

It will hurt "proper" mode of the list.
Yahoo mail client is broken. Complain to them.

Please read following URL:

http://marc.merlins.org/netrants/listreplyto.html

and docs to which it points.
 
> Milan, let's make thing simple, let's make Kannel list runs on every mail 
> clients.

If it "runs on every mail clients" including every _broken_ mail client
that means it will not run on any mail client.
When you say "every mail client" you think your mail client. If
moderator set Reply-To header, sooner or later someone will complain
that it does not work with their mail client.
 
> Regards, Wendy
> 
> 
> 
> 
> - Original Message 
> > From: Milan P. Stanic 
> > To: users@kannel.org
> > Sent: Mon, August 29, 2011 5:04:32 PM
> > Subject: Re: Wrong setting on Kannel Mailing List?
> > 
> > On Mon, 2011-08-29 at 17:17, Wendy William wrote:
> > > You can set how this  mailing list works, just set it. You don't need 
> >complain to 
> >
> > > Yahoo  mail.
> > 
> > I don't complain to Yahoo mail. I don't use it for  mail.
> > 
> > > I believe the moderator of this mailing list can do it, if not  then we 
> > > can 
> >help 
> >
> > > to set it.
> > 
> > You can create mailing list and set  it however you want.
> > 
> > > I see moderator of Xen, CentOS, and others  already follow this, why not 
> >Kannel?
> > 
> > This is discussed many times (as I  said in previous mail) and mailing
> > list moderator decided to set it to  "proper mode".
> > 
> > > Regards, Wendy
> > > 
> > > 
> > > 
> > > 
> > > - Original Message 
> > > > From: Milan P. Stanic 
> > > > To: users@kannel.org
> > > > Sent: Mon,  August 29, 2011 1:54:43 PM
> > > > Subject: Re: Wrong setting on Kannel  Mailing List?
> > > > 
> > > > On Mon, 2011-08-29 at 12:30, Wendy  William wrote:
> > > > > I'am using Yahoo  webmail and   ofcourse not only me use Yahoo 
> >webmail :)
> > > > 
> > > > Then  you  should complain to the Yahoo and not this list.
> > > > 
> > >  > If all the people of the  world use improper Yahoo mail (or any  other)
> > > > software for mailing list which  cannot handle such  simple option, that
> > > > will not make it proper. It does not   work. Period.
> > > > 
> > > > But, this question is discussed many  times in this list and  I think we
> > > > should terminate this  useless thread. :)
> > > > 
> > > > >   Regards, Wendy
> > >  > > 
> > > > > 
> > > > > - Original Message  
> > > > >  > From: Milan P. Stanic 
> > > > > > To: users@kannel.org
> > > > > > Sent:  Sun,  August 28, 2011 9:14:21 PM
> > > > > > Subject: Re: Wrong  setting on Kannel  Mailing List?
> > > > > > 
> > > > >  > On Sun, 2011-08-28 at 15:14, Wendy  William wrote:
> > > > >  > > I got this complain  :)
> > > > > > > 
> > > >  > > > --
> > > > > > > > Next  time,  always  copy the  users list.
> > > > > > > 
> > > > > > >  > 
> > > > > > > > ==  Rene
> > > > > > >   --
> > > >  > > > Current Kannel mailing  settings  caused:
> > > >  > > > 1. I got 2 emails for SAME EMAIL !!! 1  from Rene and 1 form 
> >kannel.org
> > > > >  > > 2. I must click   Replay to All, because klik to Reply only send 
> > > > >  to 
> >Rene
> > > > > > > 3.  Wasting time,  wasting  bandwidth
> 

Re: BulkSMS using kannel as gateway

2011-09-07 Thread Milan P. Stanic
On Wed, 2011-09-07 at 15:42, Joseph Koech wrote:
> Hi Kannelers,
> I have been using kannel for a while and everything works well. I am
> able to send/receive SMS via browser. What I would like to know is, if
> I want to run a simple bulk SMS service, what are the requirements and
> best practices? Since this could be beyond kannel, a few
> ideas/recommendations and links would be much appreciated.

sqlbox is usually used for bulk SMS with Kannel.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



  1   2   3   >