need help

2010-06-07 Thread Kiran Reddy
Hi All,

I am not able to install opensource smppbox with kannel. Can some one help me 
to install kannel with opensource smppbox.

I am using kannel 1.4.3 Stable version and i downloaded opensource smppbox. 


Regards,

Kiran Reddy



Re: need help

2010-06-07 Thread Nikos Balkanas

Hi,

As I  have explained in a previous mail. Download latest svn (or cvs). It 
won't work with 1.4.3.


Extract patch from archive and go to gateway directory.

Then patch  {smppbox.patch}

I hope you do not bother this list again for the same question, which 
incidentally is a unix, not a kannel issue. You should consider whether you 
have the minimum unix background needed for running kannel and/or smppbox.


BR,
Nikos

- Original Message - 
From: Kiran Reddy ki...@uniceltech.com

To: users@kannel.org
Sent: Monday, June 07, 2010 9:07 AM
Subject: need help



Hi All,

I am not able to install opensource smppbox with kannel. Can some one help 
me to install kannel with opensource smppbox.


I am using kannel 1.4.3 Stable version and i downloaded opensource 
smppbox.



Regards,

Kiran Reddy






Re: need help

2010-06-07 Thread Kiran Reddy
Hi Nikos,

Thanks for information i will try with kannel latest svn.


Thanks and Regards,

Kiran Reddy



 ---Original Message---
 From: Nikos Balkanas nbalka...@gmail.com
 To: Kiran Reddy ki...@uniceltech.com, users@kannel.org
 Subject: Re: need help
 Sent: Jun 07 '10 11:51am
 
 Hi,
 
 As I  have explained in a previous mail. Download latest svn (or cvs). It
 won't work with 1.4.3.
 
 Extract patch from archive and go to gateway directory.
 
 Then patch  {smppbox.patch}
 
 I hope you do not bother this list again for the same question, which
 incidentally is a unix, not a kannel issue. You should consider whether you
 have the minimum unix background needed for running kannel and/or smppbox.
 
 BR,
 Nikos
 
 - Original Message -
 From: Kiran Reddy ki...@uniceltech.com
 To: users@kannel.org
 Sent: Monday, June 07, 2010 9:07 AM
 Subject: need help
 
 
  Hi All,
 
  I am not able to install opensource smppbox with kannel. Can some one help
  me to install kannel with opensource smppbox.
 
  I am using kannel 1.4.3 Stable version and i downloaded opensource
  smppbox.
 
 
  Regards,
  
  Kiran Reddy
 
 
 



Re: need help

2010-06-07 Thread Kiran Reddy
Hi All,

I downloaded kannel latest CVS for installing smppbox with kannel. But i  am 
getting errors please find the attached file.


Regards,

Kiran Reddy



 ---Original Message---
 From: Nikos Balkanas nbalka...@gmail.com
 To: Kiran Reddy ki...@uniceltech.com, users@kannel.org
 Subject: Re: need help
 Sent: Jun 07 '10 11:51am
 
 Hi,
 
 As I  have explained in a previous mail. Download latest svn (or cvs). It
 won't work with 1.4.3.
 
 Extract patch from archive and go to gateway directory.
 
 Then patch  {smppbox.patch}
 
 I hope you do not bother this list again for the same question, which
 incidentally is a unix, not a kannel issue. You should consider whether you
 have the minimum unix background needed for running kannel and/or smppbox.
 
 BR,
 Nikos
 
 - Original Message -
 From: Kiran Reddy ki...@uniceltech.com
 To: users@kannel.org
 Sent: Monday, June 07, 2010 9:07 AM
 Subject: need help
 
 
  Hi All,
 
  I am not able to install opensource smppbox with kannel. Can some one help
  me to install kannel with opensource smppbox.
 
  I am using kannel 1.4.3 Stable version and i downloaded opensource
  smppbox.
 
 
  Regards,
  
  Kiran Reddy
 
 
 



smppbox_with_kannel_error.txt
Description: Binary data


Re: need help

2010-06-07 Thread Kiran Reddy
Hi All,

opensource smppbox is working fine with latest kannel CVS.

Thanks all thanks for every thing.

Regards,

Kiran Reddy



 ---Original Message---
 From: Kiran Reddy ki...@uniceltech.com
 To: Nikos Balkanas nbalka...@gmail.com
 Cc: users@kannel.org users@kannel.org
 Subject: Re: need help
 Sent: Jun 07 '10 12:34pm
 
 Hi All,
 
 I downloaded kannel latest CVS for installing smppbox with kannel. But i  am 
getting errors please find the attached file.
 
 
 Regards,
 
 Kiran Reddy
 
 
 
 ---Original Message---
 From: Nikos Balkanas nbalka...@gmail.com
 To: Kiran Reddy ki...@uniceltech.com, users@kannel.org
 Subject: Re: need help
 Sent: Jun 07 '10 11:51am
 
 Hi,
 
 As I  have explained in a previous mail. Download latest svn (or cvs). It
 won't work with 1.4.3.
 
 Extract patch from archive and go to gateway directory.
 
 Then patch  {smppbox.patch}
 
 I hope you do not bother this list again for the same question, which
 incidentally is a unix, not a kannel issue. You should consider whether you
 have the minimum unix background needed for running kannel and/or smppbox.
 
 BR,
 Nikos
 
 - Original Message -
 From: Kiran Reddy ki...@uniceltech.com
 To: users@kannel.org
 Sent: Monday, June 07, 2010 9:07 AM
 Subject: need help
 
 
  Hi All,
 
  I am not able to install opensource smppbox with kannel. Can some one help
  me to install kannel with opensource smppbox.
 
  I am using kannel 1.4.3 Stable version and i downloaded opensource
  smppbox.
 
 
  Regards,
  
  Kiran Reddy
 
 
 
 
 



Is there any user guide for opensource smppbox

2010-06-07 Thread Kiran Reddy
Hi All,

Is there any opensource SMPPbox user guide is available in  online.


Regards,

Kiran Reddy



Re: Is there any user guide for opensource smppbox

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

Hi All,

Is there any opensource SMPPbox user guide is available in  online.


Regards,

Kiran Reddy






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

2010-06-07 Thread Martin J.
Wow, this was really timeconsuming challenge for me...

Had to spend plenty of hours on googling for the exec line to see how other 
people did it and nothing worked, including write permissions etc. etc

I even began to dig into the source code to try to see if there was/is a bug 
somewhere. I think the exec-code gets executed in ./gw/urltrans.c?

I was thinking about recompiling everything with debug flags (-o0 -g, AFAIR) 
and then set a breakpoint just before running the exec-code (btw: what should I 
remember if I recompile with full debug flags, if anything?)...

I finally succeeded by finding a piece of a configuration file that I stole 
from. Here's my new config-part regarding sms-service (and this solved my 
problem):

--
group = sms-service
keyword = default
exec = ./sms.sh a=%a t=%t q=%q Q=%Q I=%I d=%d A=%A F=%F n=%n c=%c m=%m M=%M 
C=%C u=%u B=%B o=%o O=%O f=%f
# if max-messages = 0, then error No reply sent, denied
max-messages = 0
#text = Thank you! I appreciate your sms...
concatenation = true
catch-all = yes
#white-list = http://localhost/whitelist;
--

After I have looked a bit in urltrans.c, I believe my problem was that I DIDN'T 
comment out the text-field and I guess that EITHER you have a text-reply 
(Thank you!. ...) OR you have an exec-statement... Am I right?

At least it works now using above config-file... I'm only a bit annoyed by the 
fact that in  my incoming sms text file, all blank spaces are made into plus / 
+'es and I think a plus / + is made into %2B - this looks stupid in plain 
text when I cat the file 

Well, these are just minor things which I guess I can live with (search and 
replace plus'es with blank spaces or something)...


Any comments?

And thanks again! Now somebody else perhaps can use my experience, if they get 
the same problem as me with the malfunctioning exec-statement :-)



Regards,
Martin


On Jun 7, 2010, at 4:35 AM, Thomas Sieh wrote:

 this should not be your problem. if you execute the script by hand and
 you don't get the corresponding output in the result file, there is a
 problem with the script. I think with the permission from the
 resultfile, if you have execute permissions to the script file.
 
 br,
 thomas




Re: Is there any user guide for opensource smppbox

2010-06-07 Thread Nikos Balkanas
Why, have you tried it and it won't pass through DLRs? It should do it 
transparently.


BR,
Nikos
- Original Message - 
From: Budi wibowo bwib...@gmail.com

To: Kiran Reddy ki...@uniceltech.com; users@kannel.org
Sent: Monday, June 07, 2010 1:35 PM
Subject: Re: Is there any user guide for opensource smppbox



Dear all
Anybody can share smppbox configuration to pass through delivery report 
(dlr) .

Any help is highly appreciated.
Regards
Budi
--Original Message--
From: Kiran Reddy
Sender: users-boun...@kannel.org
To: users@kannel.org
ReplyTo: Kiran Reddy
Subject: Is there any user guide for opensource smppbox
Sent: Jun 7, 2010 16:34

Hi All,

Is there any opensource SMPPbox user guide is available in  online.


Regards,

Kiran Reddy









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

2010-06-07 Thread Nikos Balkanas

Hi,

Bad, bad idea. Never give relative paths to a daemon. You should really use 
explicit absolute path.


BR,
Nikos
- Original Message - 
From: Martin J. uno...@jay.net

To: ts...@gmx.de
Cc: users@kannel.org
Sent: Monday, June 07, 2010 3:01 PM
Subject: Re: Newbie: How to send multiple messages to sms recipients?


Wow, this was really timeconsuming challenge for me...

Had to spend plenty of hours on googling for the exec line to see how other 
people did it and nothing worked, including write permissions etc. etc


I even began to dig into the source code to try to see if there was/is a bug 
somewhere. I think the exec-code gets executed in ./gw/urltrans.c?


I was thinking about recompiling everything with debug flags (-o0 -g, AFAIR) 
and then set a breakpoint just before running the exec-code (btw: what 
should I remember if I recompile with full debug flags, if anything?)...


I finally succeeded by finding a piece of a configuration file that I stole 
from. Here's my new config-part regarding sms-service (and this solved my 
problem):


--
group = sms-service
keyword = default
exec = ./sms.sh a=%a t=%t q=%q Q=%Q I=%I d=%d A=%A F=%F n=%n c=%c m=%m M=%M 
C=%C u=%u B=%B o=%o O=%O f=%f

# if max-messages = 0, then error No reply sent, denied
max-messages = 0
#text = Thank you! I appreciate your sms...
concatenation = true
catch-all = yes
#white-list = http://localhost/whitelist;
--

After I have looked a bit in urltrans.c, I believe my problem was that I 
DIDN'T comment out the text-field and I guess that EITHER you have a 
text-reply (Thank you!. ...) OR you have an exec-statement... Am I right?


At least it works now using above config-file... I'm only a bit annoyed by 
the fact that in  my incoming sms text file, all blank spaces are made into 
plus / +'es and I think a plus / + is made into %2B - this looks 
stupid in plain text when I cat the file


Well, these are just minor things which I guess I can live with (search and 
replace plus'es with blank spaces or something)...



Any comments?

And thanks again! Now somebody else perhaps can use my experience, if they 
get the same problem as me with the malfunctioning exec-statement :-)




Regards,
Martin


On Jun 7, 2010, at 4:35 AM, Thomas Sieh wrote:


this should not be your problem. if you execute the script by hand and
you don't get the corresponding output in the result file, there is a
problem with the script. I think with the permission from the
resultfile, if you have execute permissions to the script file.

br,
thomas






Re: Is there any user guide for opensource smppbox

2010-06-07 Thread Budi wibowo

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

TIA
Budi

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

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

BR,
Nikos
- Original Message - 
From: Budi wibowo bwib...@gmail.com
To: Kiran Reddy ki...@uniceltech.com; users@kannel.org
Sent: Monday, June 07, 2010 1:35 PM
Subject: Re: Is there any user guide for opensource smppbox


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

 Hi All,

 Is there any opensource SMPPbox user guide is available in  online.


 Regards,
 
 Kiran Reddy



 




Re: Is there any user guide for opensource smppbox

2010-06-07 Thread Nikos Balkanas
What are you talking about? opensmppbox is part of bearerbox. It doesn't 
reside outside bearerbox. Have you tried it?


Nikos
- Original Message - 
From: Budi wibowo bwib...@gmail.com

To: Nikos Balkanas nbalka...@gmail.com
Cc: users@kannel.org
Sent: Monday, June 07, 2010 3:28 PM
Subject: Re: Is there any user guide for opensource smppbox




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


TIA
Budi

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

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

BR,
Nikos
- Original Message - 
From: Budi wibowo bwib...@gmail.com

To: Kiran Reddy ki...@uniceltech.com; users@kannel.org
Sent: Monday, June 07, 2010 1:35 PM
Subject: Re: Is there any user guide for opensource smppbox



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

Hi All,

Is there any opensource SMPPbox user guide is available in  online.


Regards,

Kiran Reddy













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

2010-06-07 Thread Thomas Sieh

hi,

but when you run the script by typing 
/Users/path/to/the/script/sms.sh x y z
n your console you get any output to 
the sms_messages.txt file?

Another thing you can try is typing in your terminal:

which bash

possibly you have to correct the path to your bash in the first row.

if you get a output into the file, then it should be a problem with
kannel.

i think you have make much changes in the sms.sh already. how it looks
currently? 

br,
thomas


On Mon, Jun 07, 2010 at 02:01:27PM +0200, Martin J. wrote:
| Wow, this was really timeconsuming challenge for me...
| 
| Had to spend plenty of hours on googling for the exec line to see how other 
people did it and nothing worked, including write permissions etc. etc
| 
| I even began to dig into the source code to try to see if there was/is a bug 
somewhere. I think the exec-code gets executed in ./gw/urltrans.c?
| 
| I was thinking about recompiling everything with debug flags (-o0 -g, AFAIR) 
and then set a breakpoint just before running the exec-code (btw: what should I 
remember if I recompile with full debug flags, if anything?)...
| 
| I finally succeeded by finding a piece of a configuration file that I stole 
from. Here's my new config-part regarding sms-service (and this solved my 
problem):
| 
| --
| group = sms-service
| keyword = default
| exec = ./sms.sh a=%a t=%t q=%q Q=%Q I=%I d=%d A=%A F=%F n=%n c=%c m=%m M=%M 
C=%C u=%u B=%B o=%o O=%O f=%f
| # if max-messages = 0, then error No reply sent, denied
| max-messages = 0
| #text = Thank you! I appreciate your sms...
| concatenation = true
| catch-all = yes
| #white-list = http://localhost/whitelist;
| --
| 
| After I have looked a bit in urltrans.c, I believe my problem was that I 
DIDN'T comment out the text-field and I guess that EITHER you have a 
text-reply (Thank you!. ...) OR you have an exec-statement... Am I right?
| 
| At least it works now using above config-file... I'm only a bit annoyed by 
the fact that in  my incoming sms text file, all blank spaces are made into 
plus / +'es and I think a plus / + is made into %2B - this looks stupid 
in plain text when I cat the file 
| 
| Well, these are just minor things which I guess I can live with (search and 
replace plus'es with blank spaces or something)...
| 
| 
| Any comments?
| 
| And thanks again! Now somebody else perhaps can use my experience, if they 
get the same problem as me with the malfunctioning exec-statement :-)
| 
| 
| 
| Regards,
| Martin
| 
| 
| On Jun 7, 2010, at 4:35 AM, Thomas Sieh wrote:
| 
|  this should not be your problem. if you execute the script by hand and
|  you don't get the corresponding output in the result file, there is a
|  problem with the script. I think with the permission from the
|  resultfile, if you have execute permissions to the script file.
|  
|  br,
|  thomas


signature.asc
Description: Digital signature


Re: Is there any user guide for opensource smppbox

2010-06-07 Thread Kiran Reddy
Hi All,

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


Regards,

Kiran Reddy



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



Subversion URL?

2010-06-07 Thread Peter Valdemar Mørch (Lists)

Hi,

What is the URL for subversion/svn access?

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

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

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

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

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

Peter


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



RE: Is there any user guide for opensource smppbox

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

There's 2 remarks that go with this:

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

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

== Rene


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


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

TIA
Budi

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

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

BR,
Nikos
- Original Message - 
From: Budi wibowo bwib...@gmail.com
To: Kiran Reddy ki...@uniceltech.com; users@kannel.org
Sent: Monday, June 07, 2010 1:35 PM
Subject: Re: Is there any user guide for opensource smppbox


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

 Hi All,

 Is there any opensource SMPPbox user guide is available in  online.


 Regards,
 
 Kiran Reddy



 






RE: Subversion URL?

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

== Rene

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

Hi,

What is the URL for subversion/svn access?

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

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

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

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

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

Peter


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






RE: Is there any user guide for opensource smppbox

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

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

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

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

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

== Rene


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

Hi All,

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


Regards,

Kiran Reddy



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






Re: Subversion URL?

2010-06-07 Thread Peter Valdemar Mørch (Lists)

Rene Kluwen rene.kluwen-at-chimit.nl |Lists/Send to lists| wrote:

Try: svn co https://svn.kannel.org/gateway/trunk


Yup, that works. Thanks!

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



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

2010-06-07 Thread Martin J.
Hi,

Yes, I understand most bash basics (and google what I don't understand) so I 
think everything more or less works, thanks:

===

mac$ which bash
/bin/bash

===

cat sms.sh
#!/bin/bash

for var in $@; do
  echo $var | tee -a incoming_sms_messages.txt
done
echo --- | tee -a incoming_sms_messages.txt

#echo Sms received, parameters are: $@

===


The last echo line doesn't work... I get output into my file: 
incoming_sms_messages.txt, however it's strange that blank spaces are 
replaced by the +-sign... A bit annoying... I'm still thinking about 
recompiling everything with debug flags and set a breakpoint to see what is 
going on. I know C and C++, so I think there's a chance that I could fix the 
space - + problem and then also learn a bit :-)


I'm also thinking about modifying my sms.sh script so that users for instance 
can vote (by sending an sms with keyword vote or something as first word) and 
the sms.sh script then automatically does something based on the contents of 
the sms (stores sms phone numbers, also it should be impossible to vote twice 
from the same phone number)... I think/hope I can do this myself - however, if 
you have any hints/clues, please let me know :-)

And then I want to use lynx to auto-generate a receipt based on the vote 
(thank you for your vote on )... That would be a nice assignment for me 
to do in the coming week :-)



Regards,
Martin

On Jun 7, 2010, at 3:34 PM, Thomas Sieh wrote:

 
 hi,
 
 but when you run the script by typing 
 /Users/path/to/the/script/sms.sh x y z
 n your console you get any output to 
 the sms_messages.txt file?
 
 Another thing you can try is typing in your terminal:
 
 which bash
 
 possibly you have to correct the path to your bash in the first row.
 
 if you get a output into the file, then it should be a problem with
 kannel.
 
 i think you have make much changes in the sms.sh already. how it looks
 currently? 
 
 br,
 thomas
 
 
 On Mon, Jun 07, 2010 at 02:01:27PM +0200, Martin J. wrote:
 | Wow, this was really timeconsuming challenge for me...
 | 
 | Had to spend plenty of hours on googling for the exec line to see how other 
 people did it and nothing worked, including write permissions etc. etc
 | 
 | I even began to dig into the source code to try to see if there was/is a 
 bug somewhere. I think the exec-code gets executed in ./gw/urltrans.c?
 | 
 | I was thinking about recompiling everything with debug flags (-o0 -g, 
 AFAIR) and then set a breakpoint just before running the exec-code (btw: what 
 should I remember if I recompile with full debug flags, if anything?)...
 | 
 | I finally succeeded by finding a piece of a configuration file that I stole 
 from. Here's my new config-part regarding sms-service (and this solved my 
 problem):
 | 
 | --
 | group = sms-service
 | keyword = default
 | exec = ./sms.sh a=%a t=%t q=%q Q=%Q I=%I d=%d A=%A F=%F n=%n c=%c m=%m M=%M 
 C=%C u=%u B=%B o=%o O=%O f=%f
 | # if max-messages = 0, then error No reply sent, denied
 | max-messages = 0
 | #text = Thank you! I appreciate your sms...
 | concatenation = true
 | catch-all = yes
 | #white-list = http://localhost/whitelist;
 | --
 | 
 | After I have looked a bit in urltrans.c, I believe my problem was that I 
 DIDN'T comment out the text-field and I guess that EITHER you have a 
 text-reply (Thank you!. ...) OR you have an exec-statement... Am I right?
 | 
 | At least it works now using above config-file... I'm only a bit annoyed by 
 the fact that in  my incoming sms text file, all blank spaces are made into 
 plus / +'es and I think a plus / + is made into %2B - this looks stupid 
 in plain text when I cat the file 
 | 
 | Well, these are just minor things which I guess I can live with (search and 
 replace plus'es with blank spaces or something)...
 | 
 | 
 | Any comments?
 | 
 | And thanks again! Now somebody else perhaps can use my experience, if they 
 get the same problem as me with the malfunctioning exec-statement :-)
 | 
 | 
 | 
 | Regards,
 | Martin
 | 
 | 
 | On Jun 7, 2010, at 4:35 AM, Thomas Sieh wrote:
 | 
 |  this should not be your problem. if you execute the script by hand and
 |  you don't get the corresponding output in the result file, there is a
 |  problem with the script. I think with the permission from the
 |  resultfile, if you have execute permissions to the script file.
 |  
 |  br,
 |  thomas




Can't stop bearerbox?

2010-06-07 Thread Peter Valdemar Mørch (Lists)
We have bearerbox running fine. All works as it should. Several clients 
are connecting to it.


But when we try to stop by sending a kill signal (via start-stop-daemon 
on debian), the process doesn't terminate. Two more kill signals are 
required to terminate the process and we get PANIC: Cannot die by its 
own will in bearerbox.log


The attached bearerbox.log is a complete run from startup, over first 
kill (at 15:44:21) to second kill (which didn't log anything) to the 
third kill (at 15:45:06) which PANIC-ed.


Because of this,
# /etc/init.d/kannel stop
and
# /etc/init.d/kannel restart
both fail - which we're hoping to remedy.

What can we do to get bearerbox to terminate gracefully? Is this a known 
problem?


I don't think it is
http://redmine.kannel.org/issues/517
because all is working fine just before we try to close it down.

Any hints?

Peter
--
Peter Valdemar Mørch
http://www.morch.com
2010-06-07 15:43:30 [31784] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'.
2010-06-07 15:43:30 [31784] [0] INFO: HTTP: Opening server at port 13000.
2010-06-07 15:43:30 [31784] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2010-06-07 15:43:30 [31784] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-06-07 15:43:30 [31784] [0] INFO: SMS resend retry set to unlimited.
2010-06-07 15:43:30 [31784] [0] INFO: DLR rerouting for smsc id modem disabled.
2010-06-07 15:43:30 [31784] [0] INFO: AT2[modem]: configuration doesn't show modemtype. will autodetect
2010-06-07 15:43:30 [31784] [0] INFO: Adding interface *
2010-06-07 15:43:30 [31784] [6] INFO: AT2[modem]: opening device
2010-06-07 15:43:30 [31784] [0] INFO: 
2010-06-07 15:43:30 [31784] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2010-06-07 15:43:30 [31784] [0] INFO: MAIN: Start-up done, entering mainloop
2010-06-07 15:43:31 [31784] [13] INFO: Client connected from 127.0.0.1 
2010-06-07 15:43:31 [31784] [5] INFO: Client connected from 127.0.0.1 
2010-06-07 15:43:31 [31784] [6] INFO: AT2[modem]: speed set to 9600
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: Phase 2+ is supported
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: Closing device
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: opening device
2010-06-07 15:43:34 [31784] [6] INFO: AT2[modem]: Logging in
2010-06-07 15:43:35 [31784] [6] INFO: AT2[modem]: init device
2010-06-07 15:43:35 [31784] [6] INFO: AT2[modem]: speed set to 9600
2010-06-07 15:43:36 [31784] [6] INFO: AT2[modem]: Phase 2+ is supported
2010-06-07 15:43:36 [31784] [6] INFO: AT2[modem]: AT SMSC successfully opened.
2010-06-07 15:43:52 [31784] [13] INFO: Client connected from 172.22.225.91 
2010-06-07 15:43:53 [31784] [5] INFO: Client connected from 172.22.225.91 
2010-06-07 15:43:53 [31784] [13] INFO: Client connected from 172.22.216.158 
2010-06-07 15:43:54 [31784] [5] INFO: Client connected from 172.22.216.158 
2010-06-07 15:43:54 [31784] [13] INFO: Client connected from 172.22.216.69 
2010-06-07 15:43:55 [31784] [5] INFO: Client connected from 172.22.225.40 
2010-06-07 15:43:55 [31784] [13] INFO: Client connected from 172.22.225.40 
2010-06-07 15:43:56 [31784] [5] INFO: Client connected from 172.22.216.69 
2010-06-07 15:44:21 [31784] [17] INFO: Connection closed by the box 127.0.0.1
2010-06-07 15:44:21 [31784] [15] INFO: Connection closed by the box 127.0.0.1
2010-06-07 15:44:21 [31784] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2010-06-07 15:44:21 [31784] [13] INFO: Client connected from 172.22.216.158 
2010-06-07 15:44:22 [31784] [6] INFO: AT2[modem]: Closing device
2010-06-07 15:44:22 [31784] [33] INFO: Connection closed by the box 172.22.216.69
2010-06-07 15:44:22 [31784] [25] INFO: Connection closed by the box 172.22.216.158
2010-06-07 15:44:22 [31784] [21] INFO: Connection closed by the box 172.22.225.91
2010-06-07 15:44:22 [31784] [29] INFO: Connection closed by the box 172.22.225.40
2010-06-07 15:44:22 [31784] [5] INFO: Client connected from 172.22.216.158 
2010-06-07 15:45:06 [31784] [0] PANIC: Cannot die by its own will
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0xbc) [0x80cf8ec]
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox [0x8054248]
2010-06-07 15:45:06 [31784] [0] PANIC: [0xb7ef0400]
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox(main+0xa1d) [0x8054dbd]
2010-06-07 15:45:06 [31784] [0] PANIC: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7a48455]
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox [0x8053881]
group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
wapbox-port = 13002
smsbox-port = 13003
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 1
box-deny-ip = *.*.*.*
box-allow-ip = 
127.0.0.1;172.22.225.91;172.22.225.40;172.22.216.69;172.22.216.158
dlr-storage = internal

group = wapbox
bearerbox-host = 127.0.0.1
log-file = 

Re: Can't stop bearerbox?

2010-06-07 Thread Nikos Balkanas

Hi,

Please read user guide before addressing this list. If there are a lot of 
pending SMS, bb will try to send them before dying. This may take a few 
minutes. With a second kill you force it to die, regardless of its state. 
Not recommended.


BR,
Nikos
- Original Message - 
From: Peter Valdemar Morch (Lists) 4ux6as...@sneakemail.com

To: users@kannel.org
Sent: Monday, June 07, 2010 5:14 PM
Subject: Can't stop bearerbox?



We have bearerbox running fine. All works as it should. Several clients
are connecting to it.

But when we try to stop by sending a kill signal (via start-stop-daemon
on debian), the process doesn't terminate. Two more kill signals are
required to terminate the process and we get PANIC: Cannot die by its
own will in bearerbox.log

The attached bearerbox.log is a complete run from startup, over first
kill (at 15:44:21) to second kill (which didn't log anything) to the
third kill (at 15:45:06) which PANIC-ed.

Because of this,
# /etc/init.d/kannel stop
and
# /etc/init.d/kannel restart
both fail - which we're hoping to remedy.

What can we do to get bearerbox to terminate gracefully? Is this a known
problem?

I don't think it is
http://redmine.kannel.org/issues/517
because all is working fine just before we try to close it down.

Any hints?

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







2010-06-07 15:43:30 [31784] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `1'.

2010-06-07 15:43:30 [31784] [0] INFO: HTTP: Opening server at port 13000.
2010-06-07 15:43:30 [31784] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
using default (100).
2010-06-07 15:43:30 [31784] [0] INFO: Set SMS resend frequency to 60 
seconds.

2010-06-07 15:43:30 [31784] [0] INFO: SMS resend retry set to unlimited.
2010-06-07 15:43:30 [31784] [0] INFO: DLR rerouting for smsc id modem 
disabled.
2010-06-07 15:43:30 [31784] [0] INFO: AT2[modem]: configuration doesn't 
show modemtype. will autodetect

2010-06-07 15:43:30 [31784] [0] INFO: Adding interface *
2010-06-07 15:43:30 [31784] [6] INFO: AT2[modem]: opening device
2010-06-07 15:43:30 [31784] [0] 
INFO: 
2010-06-07 15:43:30 [31784] [0] INFO: Kannel bearerbox II version 1.4.3 
starting
2010-06-07 15:43:30 [31784] [0] INFO: MAIN: Start-up done, entering 
mainloop

2010-06-07 15:43:31 [31784] [13] INFO: Client connected from 127.0.0.1
2010-06-07 15:43:31 [31784] [5] INFO: Client connected from 127.0.0.1
2010-06-07 15:43:31 [31784] [6] INFO: AT2[modem]: speed set to 9600
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: Phase 2+ is supported
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: Closing device
2010-06-07 15:43:33 [31784] [6] INFO: AT2[modem]: opening device
2010-06-07 15:43:34 [31784] [6] INFO: AT2[modem]: Logging in
2010-06-07 15:43:35 [31784] [6] INFO: AT2[modem]: init device
2010-06-07 15:43:35 [31784] [6] INFO: AT2[modem]: speed set to 9600
2010-06-07 15:43:36 [31784] [6] INFO: AT2[modem]: Phase 2+ is supported
2010-06-07 15:43:36 [31784] [6] INFO: AT2[modem]: AT SMSC successfully 
opened.
2010-06-07 15:43:52 [31784] [13] INFO: Client connected from 
172.22.225.91
2010-06-07 15:43:53 [31784] [5] INFO: Client connected from 
172.22.225.91
2010-06-07 15:43:53 [31784] [13] INFO: Client connected from 
172.22.216.158
2010-06-07 15:43:54 [31784] [5] INFO: Client connected from 
172.22.216.158
2010-06-07 15:43:54 [31784] [13] INFO: Client connected from 
172.22.216.69
2010-06-07 15:43:55 [31784] [5] INFO: Client connected from 
172.22.225.40
2010-06-07 15:43:55 [31784] [13] INFO: Client connected from 
172.22.225.40
2010-06-07 15:43:56 [31784] [5] INFO: Client connected from 
172.22.216.69
2010-06-07 15:44:21 [31784] [17] INFO: Connection closed by the box 
127.0.0.1
2010-06-07 15:44:21 [31784] [15] INFO: Connection closed by the box 
127.0.0.1
2010-06-07 15:44:21 [31784] [0] WARNING: Killing signal or HTTP admin 
command received, shutting down...
2010-06-07 15:44:21 [31784] [13] INFO: Client connected from 
172.22.216.158

2010-06-07 15:44:22 [31784] [6] INFO: AT2[modem]: Closing device
2010-06-07 15:44:22 [31784] [33] INFO: Connection closed by the box 
172.22.216.69
2010-06-07 15:44:22 [31784] [25] INFO: Connection closed by the box 
172.22.216.158
2010-06-07 15:44:22 [31784] [21] INFO: Connection closed by the box 
172.22.225.91
2010-06-07 15:44:22 [31784] [29] INFO: Connection closed by the box 
172.22.225.40
2010-06-07 15:44:22 [31784] [5] INFO: Client connected from 
172.22.216.158

2010-06-07 15:45:06 [31784] [0] PANIC: Cannot die by its own will
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0xbc) 
[0x80cf8ec]

2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox [0x8054248]
2010-06-07 15:45:06 [31784] [0] PANIC: [0xb7ef0400]
2010-06-07 15:45:06 [31784] [0] PANIC: /usr/sbin/bearerbox(main+0xa1d) 
[0x8054dbd]
2010-06-07 15:45:06 [31784] [0] PANIC: 

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

2010-06-07 Thread Thomas Sieh
hi,

that the last line don't give a output is correct.
the $@ works like a stack. if you fetch the first argument it will be
removed and then the next one will be the first. if you want to access
the argument more than one time you should use variables to thore them.

if you want to handle sms by the first word you can create for each word
an own sms-service with the keyword like 

group = sms-service
keyword = xyz
exec = /.../xyz.sh ...

group = sms-service
keyword = abc
exec = /.../abc.sh ...

...

then %k is the first word
%s is the second one
and %r is the rest of the text.

possibly it should be an option for you.

to check if a sms comes in from a phone should be done in the script.
for example by a file per vote with the sender numbers...

the reason that you can see + instead of   and %2B instead of + ...
is the urlencoding... thats not a bug.
here is a list:
http://www.w3schools.com/tags/ref_urlencode.asp

i would replace the characters in your script.


an auto-generated receipt is also possible with kannel, i think. but i
can't currently remeber how.

br,
thomas




On Mon, Jun 07, 2010 at 04:09:21PM +0200, Martin J. wrote:
| Hi,
| 
| Yes, I understand most bash basics (and google what I don't understand) so I 
think everything more or less works, thanks:
| 
| ===
| 
| mac$ which bash
| /bin/bash
| 
| ===
| 
| cat sms.sh
| #!/bin/bash
| 
| for var in $@; do
|   echo $var | tee -a incoming_sms_messages.txt
| done
| echo --- | tee -a incoming_sms_messages.txt
| 
| #echo Sms received, parameters are: $@
| 
| ===
| 
| 
| The last echo line doesn't work... I get output into my file: 
incoming_sms_messages.txt, however it's strange that blank spaces are 
replaced by the +-sign... A bit annoying... I'm still thinking about 
recompiling everything with debug flags and set a breakpoint to see what is 
going on. I know C and C++, so I think there's a chance that I could fix the 
space - + problem and then also learn a bit :-)
| 
| 
| I'm also thinking about modifying my sms.sh script so that users for instance 
can vote (by sending an sms with keyword vote or something as first word) and 
the sms.sh script then automatically does something based on the contents of 
the sms (stores sms phone numbers, also it should be impossible to vote twice 
from the same phone number)... I think/hope I can do this myself - however, if 
you have any hints/clues, please let me know :-)
| 
| And then I want to use lynx to auto-generate a receipt based on the vote 
(thank you for your vote on )... That would be a nice assignment for me 
to do in the coming week :-)
| 
| 
| 
| Regards,
| Martin
| 
| On Jun 7, 2010, at 3:34 PM, Thomas Sieh wrote:
| 
|  
|  hi,
|  
|  but when you run the script by typing 
|  /Users/path/to/the/script/sms.sh x y z
|  n your console you get any output to 
|  the sms_messages.txt file?
|  
|  Another thing you can try is typing in your terminal:
|  
|  which bash
|  
|  possibly you have to correct the path to your bash in the first row.
|  
|  if you get a output into the file, then it should be a problem with
|  kannel.
|  
|  i think you have make much changes in the sms.sh already. how it looks
|  currently? 
|  
|  br,
|  thomas
|  
|  
|  On Mon, Jun 07, 2010 at 02:01:27PM +0200, Martin J. wrote:
|  | Wow, this was really timeconsuming challenge for me...
|  | 
|  | Had to spend plenty of hours on googling for the exec line to see how 
other people did it and nothing worked, including write permissions etc. etc
|  | 
|  | I even began to dig into the source code to try to see if there was/is a 
bug somewhere. I think the exec-code gets executed in ./gw/urltrans.c?
|  | 
|  | I was thinking about recompiling everything with debug flags (-o0 -g, 
AFAIR) and then set a breakpoint just before running the exec-code (btw: what 
should I remember if I recompile with full debug flags, if anything?)...
|  | 
|  | I finally succeeded by finding a piece of a configuration file that I 
stole from. Here's my new config-part regarding sms-service (and this solved my 
problem):
|  | 
|  | --
|  | group = sms-service
|  | keyword = default
|  | exec = ./sms.sh a=%a t=%t q=%q Q=%Q I=%I d=%d A=%A F=%F n=%n c=%c m=%m 
M=%M C=%C u=%u B=%B o=%o O=%O f=%f
|  | # if max-messages = 0, then error No reply sent, denied
|  | max-messages = 0
|  | #text = Thank you! I appreciate your sms...
|  | concatenation = true
|  | catch-all = yes
|  | #white-list = http://localhost/whitelist;
|  | --
|  | 
|  | After I have looked a bit in urltrans.c, I believe my problem was that I 
DIDN'T comment out the text-field and I guess that EITHER you have a 
text-reply (Thank you!. ...) OR you have an exec-statement... Am I right?
|  | 
|  | At least it works now using above config-file... I'm only a bit annoyed 
by the fact that in  my incoming sms text file, all blank spaces are made 

RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Kiran Reddy
Hi All,

I Need Small clarification for below configuration.

  In smppbox.conf:

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

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

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

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

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


  Regards,
  
  Kiran Reddy


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

   In smppbox.conf:

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

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

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

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

   == Rene


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

   Hi All,

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


   Regards,
   
   Kiran Reddy


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

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

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


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

Kiran Reddy
   
   
   
   
   
   
   


Re: Is there any user guide for opensource smppbox

2010-06-07 Thread budi wibowo
hi i got confused and havent tried the smppbox. so far i asked some question
to this list, and i got the kannel patch to support smppbox. since it comes
with the source code i consider that as opensource smppbox, CMIIW.
the other one is commercial version of smppbox (do not know the file)
please give clear understanding


regards

budi

2010/6/7 Nikos Balkanas nbalka...@gmail.com

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


 Nikos
 - Original Message - From: Budi wibowo bwib...@gmail.com
 To: Nikos Balkanas nbalka...@gmail.com
 Cc: users@kannel.org
 Sent: Monday, June 07, 2010 3:28 PM

 Subject: Re: Is there any user guide for opensource smppbox



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

 TIA
 Budi

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

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

 BR,
 Nikos
 - Original Message - From: Budi wibowo bwib...@gmail.com
 To: Kiran Reddy ki...@uniceltech.com; users@kannel.org
 Sent: Monday, June 07, 2010 1:35 PM
 Subject: Re: Is there any user guide for opensource smppbox


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

 Hi All,

 Is there any opensource SMPPbox user guide is available in  online.


 Regards,
 
 Kiran Reddy











RE: Is there any user guide for opensource smppbox

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

 

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

First word: Username of smppbox user

Second word: Password of smppbox user

Third word: system-type of smppbox user

 

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

 

== Rene

 

 

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

 

Hi All,

I Need Small clarification for below configuration.

In smppbox.conf:

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

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

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

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

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


Regards,

Kiran Reddy



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

In smppbox.conf:

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

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

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

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

== Rene


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

Hi All,

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


Regards,

Kiran Reddy



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

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

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



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

 TIA
 Budi

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

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

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


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

 Hi All,

 Is there any opensource SMPPbox user guide is available in  online.


 Regards,
 
 Kiran Reddy

















RE: Is there any user guide for opensource smppbox

2010-06-07 Thread Kiran Reddy
Hi Rene,

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


Regards,

Kiran Reddy



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



RE: Is there any user guide for opensource smppbox

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

== Rene


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

Hi Rene,

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


Regards,

Kiran Reddy



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






configure isn't creating a make

2010-06-07 Thread Ian Ring

I've run ./configure, and it spews out piles of stuff.
The first time I ran it, I was missing libxml... so I installed that.  
Now it seems to be configuring OK because I see the license  
information at the end, no error messages, and one of the lines says  
config.status: creating Makefile


As instructed in the docs, I type make, and this is the response:

-bash: make: command not found

So what am I doing wrong?

Some of the configure output says:
checking for /blah blah blah ... no
checking for /blah blah blah ... no
checking for /blah blah blah ... no

Are all of these things required? Most of them are yes, but there  
are some no's scattered throughout.


Apologies for being a relatively new Linux user

Ian



Re: configure isn't creating a make

2010-06-07 Thread Alejandro Guerrieri
Ian,

You're missing the make binary. You need to install the make package on
your OS.

Regards,

Alex

On Mon, Jun 7, 2010 at 7:07 PM, Ian Ring i...@enflick.com wrote:

 I've run ./configure, and it spews out piles of stuff.
 The first time I ran it, I was missing libxml... so I installed that. Now
 it seems to be configuring OK because I see the license information at the
 end, no error messages, and one of the lines says config.status: creating
 Makefile

 As instructed in the docs, I type make, and this is the response:

 -bash: make: command not found

 So what am I doing wrong?

 Some of the configure output says:
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no

 Are all of these things required? Most of them are yes, but there are
 some no's scattered throughout.

 Apologies for being a relatively new Linux user

 Ian




Re: configure isn't creating a make

2010-06-07 Thread Garth Patil
Is make installed? If configure exits without errors, and there is a
file called Makefile now in that directory, your problem is probably
that make isn't installed, not that configure isn't working. Learning
how to build software is a question for a different mailing list.

On Mon, Jun 7, 2010 at 10:07 AM, Ian Ring i...@enflick.com wrote:
 I've run ./configure, and it spews out piles of stuff.
 The first time I ran it, I was missing libxml... so I installed that. Now it
 seems to be configuring OK because I see the license information at the end,
 no error messages, and one of the lines says config.status: creating
 Makefile

 As instructed in the docs, I type make, and this is the response:

 -bash: make: command not found

 So what am I doing wrong?

 Some of the configure output says:
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no

 Are all of these things required? Most of them are yes, but there are some
 no's scattered throughout.

 Apologies for being a relatively new Linux user

 Ian





Re: configure isn't creating a make

2010-06-07 Thread Ian Ring

Thanks guys,

yum install make

is all I needed. Now we're humming.

Cheers





On 2010-06-07, at 1:12 PM, Garth Patil wrote:


Is make installed? If configure exits without errors, and there is a
file called Makefile now in that directory, your problem is probably
that make isn't installed, not that configure isn't working. Learning
how to build software is a question for a different mailing list.

On Mon, Jun 7, 2010 at 10:07 AM, Ian Ring i...@enflick.com wrote:

I've run ./configure, and it spews out piles of stuff.
The first time I ran it, I was missing libxml... so I installed  
that. Now it
seems to be configuring OK because I see the license information at  
the end,

no error messages, and one of the lines says config.status: creating
Makefile

As instructed in the docs, I type make, and this is the response:

-bash: make: command not found

So what am I doing wrong?

Some of the configure output says:
checking for /blah blah blah ... no
checking for /blah blah blah ... no
checking for /blah blah blah ... no

Are all of these things required? Most of them are yes, but there  
are some

no's scattered throughout.

Apologies for being a relatively new Linux user

Ian







Re: configure isn't creating a make

2010-06-07 Thread Thomas Sieh
have you installed make?
try in the console

which make

otherwise

search for make in synaptics or type 
sudo apt-get install make


On Mon, Jun 07, 2010 at 01:07:24PM -0400, Ian Ring wrote:
 I've run ./configure, and it spews out piles of stuff.
 The first time I ran it, I was missing libxml... so I installed that.  
 Now it seems to be configuring OK because I see the license information 
 at the end, no error messages, and one of the lines says config.status: 
 creating Makefile

 As instructed in the docs, I type make, and this is the response:

 -bash: make: command not found

 So what am I doing wrong?

 Some of the configure output says:
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no
 checking for /blah blah blah ... no

 Are all of these things required? Most of them are yes, but there are 
 some no's scattered throughout.

 Apologies for being a relatively new Linux user

 Ian


signature.asc
Description: Digital signature


configuring kannel for mblox - how?

2010-06-07 Thread Ian Ring

Reading the archives, I learned this:

the current release Kannel (1.4.3) as well as the CVS version  
implement the meta-data functionality. This allows for full  
compatibility with mblox via the config file, without needing to patch  
the source. This is what I currently use. The latest docs explain how  
to use this functionality, and if you get stuck, just post on the  
list, there are several people using this including me, who can help.
I am CC the kannel user list so this reply gets indexed for future  
reference.


Regards, Kyriacos Sakkas


Sounds like fun. How do I get started?

My end goal is to use kannel so PHP can communicate with Mblox. I'm an  
old PHP dog, but this is my first day working with kannel, mblox, SMS.  
It's exciting unfamiliar territory.


Ian




Huawei E156B SMS Software

2010-06-07 Thread User
Hi,

I'm going to make a program that will send automatic text messages using a
modem Huawei E156B, do you know if this is easy to do?

Do you know where can I find some information about this?

Would you recommend me to do it in Windows or better in Linux?

 The modem comes with a program that lets you send text messages manually, I
would like to know if there is some place where I can find the source code
of that program and change it so the messages can be sent automatically, or
if this can be done with Kannel.

Thanks a lot for your help


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

2010-06-07 Thread Martin J.
Hi

I'll just answer right below your comments:


On Jun 7, 2010, at 4:44 PM, Thomas Sieh wrote:

 hi,
 
 that the last line don't give a output is correct.
 the $@ works like a stack. if you fetch the first argument it will be
 removed and then the next one will be the first. if you want to access
 the argument more than one time you should use variables to thore them.
 
 if you want to handle sms by the first word you can create for each word
 an own sms-service with the keyword like 
 
 group = sms-service
 keyword = xyz
 exec = /.../xyz.sh ...
 
 group = sms-service
 keyword = abc
 exec = /.../abc.sh ...
 
 ...
 
 then %k is the first word
 %s is the second one
 and %r is the rest of the text.
 
 possibly it should be an option for you.

Thanks a lot! I'll dig into that later/shortly...


 to check if a sms comes in from a phone should be done in the script.
 for example by a file per vote with the sender numbers...
 
 the reason that you can see + instead of   and %2B instead of + ...
 is the urlencoding... thats not a bug.
 here is a list:
 http://www.w3schools.com/tags/ref_urlencode.asp
 
 i would replace the characters in your script.

Great, thanks again for your friendly help.

I made this perl-script (stole it from google and modified it a bit, perhaps 
somebody else can use it here):


==
#!/usr/bin/perl
use strict;
use warnings;


my $numArgs = $#ARGV + 1;
if ($numArgs == 0) {
  print Usage:\n--\n  $0 [-E | -D] expression to en-/de-code\n;
  print   -E: Encode (URL/Uniform Resource Locator URL Encoding)\n;
  print   -D: Decode (make + into space and %hex into ASCII-signs)\n\n;
  exit(0)
}

my $typeEncDec = $ARGV[0];
shift @ARGV;
my $input_string;
my @input_string_array;


if (@ARGV) { $input_string = join(' ',@ARGV); }
else
{
  my $line;
  while ($line = STDIN) { # read 1 line from STDIN
#chomp($line); # remove trailing \n if present
push(@input_string_array, $line);
  }
  $input_string = join(' ',@input_string_array);
}
#while () {
#my $input_string = join(' ',@ARGV);
#}
#print all args: $input_string\n;



if (lc($typeEncDec) eq -e)
{
   print Encoding...\n;
   print encode($input_string) . \n; 
}
elsif (lc($typeEncDec) eq -d)
{
   print Decoding...\n;
   print decode($input_string) . \n;
}
else
{
   print Wrong input argument, must be -E or -D (encode/decode)...\n;
   exit(1)
}




#---
# Encode a string into urlencoded format
sub encode {
my($instring) = @_;

# Replace all Non-Numerics with HEX Sequence
$instring =~
s/[\x00-\x1F\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\xFF]/hexCodeFromChar($)/eg;

# Replace all spaces with Plus Character
$instring =~ s/ /+/g;

return($instring);
}


#---
# Decode a string from urlencoded format
sub decode {
my($instring) = @_;

# Replace all PLUS characters with Spaces
$instring =~ tr/+/ /;

# Replace Hex Codes with real characters
$instring =~ s/%(..)/pack(C,hex($1))/eg;

return($instring);
}


#---
# Function used by both
sub hexCodeFromChar {
my ($char) = @_;
my $asc = ord($char);
return(sprintf(%c%02X, 37, $asc));
}

==


This script solved my url-encode / url-decode issue... The rest should be piece 
of cake I hope (or I'll look into the archive and if something goes back, I'll 
write back and ask for more help...


 an auto-generated receipt is also possible with kannel, i think. but i
 can't currently remeber how.


No problem, I prefer using the sms.sh script so I can customize everything :-)

Thanks a lot for quick and professional help, when I needed it - I'll be in 
here for a while to see the other posts :-)


Regards,
Martin