Re: Kannel not calling get-url

2011-07-19 Thread Srikanth_S

Further we have added source-addr to the SMPP call made by the SMSC
simulator to Kannel server and added the below configuration to Kannel.conf.
Now Kannel fires the HTTP URL we have configured.

  group = smsbox-route
  smsbox-id = mysmsbox
  smsc-id = testsmsc
-- 
View this message in context: 
http://old.nabble.com/Kannel-not-calling-get-url-tp32074542p32088708.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Interpreting Kannel Status

2011-07-19 Thread Amr Qanadilo
Dear List;

Below is the Kannel Status, Am wondering what are some numbers mean, and
what numbers to consider; In the below status you will see


SMS: received 23737 (0 queued), sent 31829 (146 queued), store size -1
SMS: inbound (0.06,0.08,0.04) msg/sec, outbound (0.09,0.10,0.05) msg/sec

We see in the Q, 146 SMS

While in

SMSC connections:
*SSS*SMPP:xx.xx.xx.xx:9995/9995:smpp8446:pc8446 (online 27190s,
rcvd: sms 154 / dlr 0, sent: sms 275 / dlr 0, failed 0, queued 0 msgs)
*Z*SMPP:XX.XX.5020/0:arabmobile_r:smpp (online 14857s, rcvd:
sms 0 / dlr 0, sent: sms 29058 / dlr 0, failed 821, queued 13214 msgs)
*Z*SMPP:XX.XX.XX.XX/5020:arabmobile_s:smpp (online 14849s, rcvd:
sms 23281 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)

we see in the   connection which is the transmitter that there is 13214
in Q

What these number mean?

the status are below;

--

Kannel bearerbox version `svn-r4865M'. Build `Jun 15 2011 16:12:20',
compiler `4.1.2 20080704 (Red Hat 4.1.2-50)'. System Linux, release
2.6.18-238.12.1.el5, version #1 SMP Sat May 7 20:18:50 EDT 2011, machine
x86_64. Hostname vm.kennal1.XX.com, IP XX.XX.XX.XX. Libxml version 2.6.26.
Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Compiled with MySQL 5.0.77,
using MySQL 5.0.77. Using native malloc.

Status: running, uptime 7d 16h 29m 2s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 23737 (0 queued), sent 31829 (146 queued), store size -1
SMS: inbound (0.06,0.08,0.04) msg/sec, outbound (0.09,0.10,0.05) msg/sec

DLR: received 0, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage

Box connections:
smsbox:internal, IP 127.0.0.1 (0 queued), (on-line 7d 16h 28m 52s)

SMSC connections:
*SSS*SMPP:xx.xx.xx.xx:9995/9995:smpp8446:pc8446 (online 27190s,
rcvd: sms 154 / dlr 0, sent: sms 275 / dlr 0, failed 0, queued 0 msgs)
*Z*SMPP:XX.XX.5020/0:arabmobile_r:smpp (online 14857s, rcvd:
sms 0 / dlr 0, sent: sms 29058 / dlr 0, failed 821, queued 13214 msgs)
*Z*SMPP:XX.XX.XX.XX/5020:arabmobile_s:smpp (online 14849s, rcvd:
sms 23281 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs)



Best Regards


Regarding Error code;

2011-07-19 Thread Vijay kumar Dadhich
Hello Sir,
First I like to thank all Active subscribers, for their great support
and knowledge sharing, my kannel is working properly but i can't fetch
the ERROR CODE which provide by service provider,
and where i write the Error code description in kannel so our sms
panel fetch it..
please help me, your help must be appershited.


-- 
Vijay Kr. Dadhich



Re: communication between two ESMEs using opensmppbox

2011-07-19 Thread Stipe Tolj

Am 13.07.2011 03:59, schrieb Francisco Andrades Grassi:


Is there a way to use Kannel/smppbox under these conditions? How can I use 
opensmppbox to route messages between two ESMEs?


yes, you can use opensmppbox to connect the ESMEs and bearerbox via SMSC module 
'loopback' to bounce the MT coming in from ESME A to a MO going to ESME B.


This means you still need to run opensmppbox and bearerbox.

The Kannel SMPP v3.4 server (smppbox) commercial add-on is able to handle 
ESME-to-ESME communication directly in the smppbox, without moving the messages 
to bearerbox and bouncing them back to smppbox via the loopback SMSC module.


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



smime.p7s
Description: S/MIME Cryptographic Signature


connecting kannel to mysql database

2011-07-19 Thread Said Khelef
I have finished configuring kannel and its working.How do i connect it to mysql 
database so i can receive and reply text messages to my database?I am using 
Ubuntu 11.04

Re: connecting kannel to mysql database

2011-07-19 Thread Abdul Basit
You can use sqlbox.


On Tue, Jul 19, 2011 at 9:06 PM, Said Khelef saidki...@yahoo.com wrote:

  I have finished configuring kannel and its working.How do i connect it to
 mysql database so i can receive and reply text messages to my database?I am
 using Ubuntu 11.04




-- 
Regards,

Abdul Basit


Kannel plus Content Provider

2011-07-19 Thread Eduardo Alfaia
Hi Guys

I have configured Kannel to connect in our Nokia SMSC under SMPP, it's work
fine. I get to send message towards the mobile phone using the URL
http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
.

and I get to send messages from mobile phone to kannel writing in the
textbody a keyword and I receive the reply from Kannel. Well, I need that
the kannel, through a keyword, redirect the request HTTP to my Content
Provider how this.


[image: image.png]


I have configured kannel:

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

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


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

group = smsc
smsc = smpp
smsc-id = internal
interface-version = 34
host = 10.1.2.30
port = 5588
system-id = kannel
smsc-password = kannel
system-type = default
transceiver-mode = 1
#connect-allow-ip = 10.1.2.30

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

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

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

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

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

group = sms-service
keyword = nop
text = You asked nothing and I did it!

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

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

# Servicos configurados Eduardo Alfaia
group = sms-service
keyword = felipe
text = Dr Ray

group = sms-service
keyword = cota
text = Ta com dor no bumbum

group = sms-service
keyword = circles
get-url = 
http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;

My problem is: The kannel don't send the request to my Content Provider.

Could you help me?

Best Regards
image.png

Re: Kannel plus Content Provider

2011-07-19 Thread Mfawa Alfred Onen
Try using the post-url option. I believe you are trying to send some data to
the Content Provider.

On Tue, Jul 19, 2011 at 5:36 PM, Eduardo Alfaia eduardocalf...@gmail.comwrote:

 Hi Guys

 I have configured Kannel to connect in our Nokia SMSC under SMPP, it's work
 fine. I get to send message towards the mobile phone using the URL
 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
 .

 and I get to send messages from mobile phone to kannel writing in the
 textbody a keyword and I receive the reply from Kannel. Well, I need that
 the kannel, through a keyword, redirect the request HTTP to my Content
 Provider how this.


 [image: image.png]


 I have configured kannel:

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

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


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

 group = smsc
 smsc = smpp
 smsc-id = internal
 interface-version = 34
 host = 10.1.2.30
 port = 5588
 system-id = kannel
 smsc-password = kannel
 system-type = default
 transceiver-mode = 1
 #connect-allow-ip = 10.1.2.30

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

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

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

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

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

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!

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

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

 # Servicos configurados Eduardo Alfaia
 group = sms-service
 keyword = felipe
 text = Dr Ray

 group = sms-service
 keyword = cota
 text = Ta com dor no bumbum

 group = sms-service
 keyword = circles
 get-url = 
 http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;

 My problem is: The kannel don't send the request to my Content Provider.

 Could you help me?

 Best Regards




-- 
*Mfawa Alfred Onen*
*M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
System Administrator
Department of Computer Science,
Bingham University.

E-Mail: systemad...@binghamuni.edu.ng
Phone1: +234 805 944 3154
Phone2: +234 803 079 6088
image.png

Ubuntu compilation error

2011-07-19 Thread Fabio Miranda
Hello,

Ubuntu x64 with lib-xml2, while trying to configure Kannel, found this
problem:

robo@robo-laptop:~/Desktop/gateway-1.4.3$ ./configure

Configuring for Kannel gateway version 1.4.3 ...

Running system checks ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
[...]
Thank you for using Kannel.
robo@robo-laptop:~/Desktop/gateway-1.4.3$ make
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2
-o gwlib/gw_uuid.o -c gwlib/gw_uuid.c
[...]
jade:doc/arch/arch.tmp:687:22:E: element PARA undefined
jade:doc/arch/arch.tmp:695:12:E: element PARA undefined
jade:doc/arch/arch.tmp:697:19:E: element ORDEREDLIST undefined
jade:doc/arch/arch.tmp:698:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:698:22:E: element PARA undefined
jade:doc/arch/arch.tmp:703:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:703:22:E: element PARA undefined
jade:doc/arch/arch.tmp:710:34:E: element XREF undefined
jade:doc/arch/arch.tmp:712:19:E: element ORDEREDLIST undefined
jade:doc/arch/arch.tmp:713:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:713:22:E: element PARA undefined
jade:doc/arch/arch.tmp:718:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:718:22:E: element PARA undefined
jade:doc/arch/arch.tmp:724:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:724:22:E: element PARA undefined
jade:doc/arch/arch.tmp:728:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:728:22:E: element PARA undefined
jade:doc/arch/arch.tmp:732:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:732:22:E: element PARA undefined
jade:doc/arch/arch.tmp:736:16:E: element LISTITEM undefined
jade:doc/arch/arch.tmp:736:22:E: element PARA undefined
jade:doc/arch/arch.tmp:743:37:E: element FIGURE undefined
jade:doc/arch/arch.tmp:744:13:E: element TITLE undefined
jade:doc/arch/arch.tmp:745:47:E: element GRAPHIC undefined
jade:doc/arch/arch.tmp:747:13:E: end tag for XREF omitted, but its
declaration does not permit this
jade:doc/arch/arch.tmp:709:53: start tag was here
jade:doc/arch/arch.tmp:750:6:E: element SECT1 undefined
jade:doc/arch/arch.tmp:751:6:E: element TITLE undefined
jade:doc/arch/arch.tmp:752:12:E: element PARA undefined
jade:I: maximum number of errors (200) reached; change with -E option
jade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'bib.imperialearth'
jade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'bib.startrek'
jade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'sec.prewap'
jade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'wap-session'
jade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'conf-push-session'
make: *** [doc/arch/arch.html] Error 1
robo@robo-laptop:~/Desktop/gateway-1.4.3$



How can I solve this problem ?

thanks,

fabio.


Re: Kannel plus Content Provider

2011-07-19 Thread Eduardo Alfaia
Hi Alfred, you are right I send a message which has a keyword to Kannel, in
my configuration file I have defined sms-service match the keyword and
redirect this solicitation to my content provider reply.
I'll use your solutionfor test.

Thanks

2011/7/19 Mfawa Alfred Onen muffycomp...@gmail.com

 Try using the post-url option. I believe you are trying to send some data
 to the Content Provider.

 On Tue, Jul 19, 2011 at 5:36 PM, Eduardo Alfaia 
 eduardocalf...@gmail.comwrote:

 Hi Guys

 I have configured Kannel to connect in our Nokia SMSC under SMPP, it's
 work fine. I get to send message towards the mobile phone using the URL
 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
 .

 and I get to send messages from mobile phone to kannel writing in the
 textbody a keyword and I receive the reply from Kannel. Well, I need that
 the kannel, through a keyword, redirect the request HTTP to my Content
 Provider how this.


 [image: image.png]


 I have configured kannel:

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

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


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

 group = smsc
 smsc = smpp
 smsc-id = internal
 interface-version = 34
 host = 10.1.2.30
 port = 5588
 system-id = kannel
 smsc-password = kannel
 system-type = default
 transceiver-mode = 1
 #connect-allow-ip = 10.1.2.30

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

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

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

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

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

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!

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

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

 # Servicos configurados Eduardo Alfaia
 group = sms-service
 keyword = felipe
 text = Dr Ray

 group = sms-service
 keyword = cota
 text = Ta com dor no bumbum

 group = sms-service
 keyword = circles
 get-url = 
 http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;

 My problem is: The kannel don't send the request to my Content Provider.

 Could you help me?

 Best Regards




 --
 *Mfawa Alfred Onen*
 *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
 System Administrator
 Department of Computer Science,
 Bingham University.

 E-Mail: systemad...@binghamuni.edu.ng
 Phone1: +234 805 944 3154
 Phone2: +234 803 079 6088



image.png

Re: Kannel plus Content Provider

2011-07-19 Thread Eduardo Alfaia
Hi Alfred, this solution worked very well, thanks, but I' ve another
question, when Kannel sends the request for my Content Provider, it returns
a message toward the mobile phone, How can to block this return message in
the Kannel? I need of this because my Content Provider need to treat this
message and send only after of this. Do you understand me?

Thanks

2011/7/19 Eduardo Alfaia eduardocalf...@gmail.com

 Hi Alfred, you are right I send a message which has a keyword to Kannel, in
 my configuration file I have defined sms-service match the keyword and
 redirect this solicitation to my content provider reply.
 I'll use your solutionfor test.

 Thanks


 2011/7/19 Mfawa Alfred Onen muffycomp...@gmail.com

 Try using the post-url option. I believe you are trying to send some data
 to the Content Provider.

 On Tue, Jul 19, 2011 at 5:36 PM, Eduardo Alfaia eduardocalf...@gmail.com
  wrote:

 Hi Guys

 I have configured Kannel to connect in our Nokia SMSC under SMPP, it's
 work fine. I get to send message towards the mobile phone using the URL
 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
 .

 and I get to send messages from mobile phone to kannel writing in the
 textbody a keyword and I receive the reply from Kannel. Well, I need that
 the kannel, through a keyword, redirect the request HTTP to my Content
 Provider how this.


 [image: image.png]


 I have configured kannel:

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

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


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

 group = smsc
 smsc = smpp
 smsc-id = internal
 interface-version = 34
 host = 10.1.2.30
 port = 5588
 system-id = kannel
 smsc-password = kannel
 system-type = default
 transceiver-mode = 1
 #connect-allow-ip = 10.1.2.30

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

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

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

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

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

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!

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

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

 # Servicos configurados Eduardo Alfaia
 group = sms-service
 keyword = felipe
 text = Dr Ray

 group = sms-service
 keyword = cota
 text = Ta com dor no bumbum

 group = sms-service
 keyword = circles
 get-url = 
 http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;

 My problem is: The kannel don't send the request to my Content Provider.

 Could you help me?

 Best Regards




 --
 *Mfawa Alfred Onen*
 *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
 System Administrator
 Department of Computer Science,
 Bingham University.

 E-Mail: systemad...@binghamuni.edu.ng
 Phone1: +234 805 944 3154
 Phone2: +234 803 079 6088




image.png

Re: Kannel plus Content Provider

2011-07-19 Thread Mfawa Alfred Onen
Hello Eduardo, glad that I could be of assistance. To block the client
from receiving those replies, try checking the max-messages option
and set it to a low number.

Regards!

On 7/19/11, Eduardo Alfaia eduardocalf...@gmail.com wrote:
 Hi Alfred, this solution worked very well, thanks, but I' ve another
 question, when Kannel sends the request for my Content Provider, it returns
 a message toward the mobile phone, How can to block this return message in
 the Kannel? I need of this because my Content Provider need to treat this
 message and send only after of this. Do you understand me?

 Thanks

 2011/7/19 Eduardo Alfaia eduardocalf...@gmail.com

 Hi Alfred, you are right I send a message which has a keyword to Kannel,
 in
 my configuration file I have defined sms-service match the keyword and
 redirect this solicitation to my content provider reply.
 I'll use your solutionfor test.

 Thanks


 2011/7/19 Mfawa Alfred Onen muffycomp...@gmail.com

 Try using the post-url option. I believe you are trying to send some data
 to the Content Provider.

 On Tue, Jul 19, 2011 at 5:36 PM, Eduardo Alfaia eduardocalf...@gmail.com
  wrote:

 Hi Guys

 I have configured Kannel to connect in our Nokia SMSC under SMPP, it's
 work fine. I get to send message towards the mobile phone using the URL
 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
 .

 and I get to send messages from mobile phone to kannel writing in the
 textbody a keyword and I receive the reply from Kannel. Well, I need
 that
 the kannel, through a keyword, redirect the request HTTP to my Content
 Provider how this.


 [image: image.png]


 I have configured kannel:

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

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


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

 group = smsc
 smsc = smpp
 smsc-id = internal
 interface-version = 34
 host = 10.1.2.30
 port = 5588
 system-id = kannel
 smsc-password = kannel
 system-type = default
 transceiver-mode = 1
 #connect-allow-ip = 10.1.2.30

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

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

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

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

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

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!

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

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

 # Servicos configurados Eduardo Alfaia
 group = sms-service
 keyword = felipe
 text = Dr Ray

 group = sms-service
 keyword = cota
 text = Ta com dor no bumbum

 group = sms-service
 keyword = circles
 get-url = 
 http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;

 My problem is: The kannel don't send the request to my Content Provider.

 Could you help me?

 Best Regards




 --
 *Mfawa Alfred Onen*
 *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
 System Administrator
 Department of Computer Science,
 Bingham University.

 E-Mail: systemad...@binghamuni.edu.ng
 Phone1: +234 805 944 3154
 Phone2: +234 803 079 6088






-- 
Sent from my mobile device

*Mfawa Alfred Onen*
*M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
System Administrator
Department of Computer Science,
Bingham 

Re: Kannel plus Content Provider

2011-07-19 Thread Eduardo Alfaia
Great Alfred, Thank you very much for your assistance.

Best Regards

2011/7/19 Mfawa Alfred Onen muffycomp...@gmail.com

 Hello Eduardo, glad that I could be of assistance. To block the client
 from receiving those replies, try checking the max-messages option
 and set it to a low number.

 Regards!

 On 7/19/11, Eduardo Alfaia eduardocalf...@gmail.com wrote:
  Hi Alfred, this solution worked very well, thanks, but I' ve another
  question, when Kannel sends the request for my Content Provider, it
 returns
  a message toward the mobile phone, How can to block this return message
 in
  the Kannel? I need of this because my Content Provider need to treat this
  message and send only after of this. Do you understand me?
 
  Thanks
 
  2011/7/19 Eduardo Alfaia eduardocalf...@gmail.com
 
  Hi Alfred, you are right I send a message which has a keyword to Kannel,
  in
  my configuration file I have defined sms-service match the keyword and
  redirect this solicitation to my content provider reply.
  I'll use your solutionfor test.
 
  Thanks
 
 
  2011/7/19 Mfawa Alfred Onen muffycomp...@gmail.com
 
  Try using the post-url option. I believe you are trying to send some
 data
  to the Content Provider.
 
  On Tue, Jul 19, 2011 at 5:36 PM, Eduardo Alfaia 
 eduardocalf...@gmail.com
   wrote:
 
  Hi Guys
 
  I have configured Kannel to connect in our Nokia SMSC under SMPP, it's
  work fine. I get to send message towards the mobile phone using the
 URL
 
 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=06182180096text=Essa+mensagem+foi+envianda+via+HTTP
  .
 
  and I get to send messages from mobile phone to kannel writing in the
  textbody a keyword and I receive the reply from Kannel. Well, I need
  that
  the kannel, through a keyword, redirect the request HTTP to my Content
  Provider how this.
 
 
  [image: image.png]
 
 
  I have configured kannel:
 
  group = core
  admin-port = 13000
  smsbox-port = 13001
  admin-password = bar
  #status-password = foo
  #admin-deny-ip = 
  #admin-allow-ip = 
  log-file = /tmp/kannel.log
  log-level = 0
  box-deny-ip = *.*.*.*
  box-allow-ip = 127.0.0.1
  #unified-prefix = +358,00358,0;+,00
  #access-log = /tmp/access.log
  #store-file = kannel.store
  #ssl-server-cert-file = cert.pem
  #ssl-server-key-file = key.pem
  #ssl-certkey-file = mycertandprivkeyfile.pem
 
  #-
  # SMSC CONNECTIONS
  #
  # SMSC connections are created in bearerbox and they handle SMSC
  specific
  # protocol and message relying. You need these to actually receive and
  send
  # messages to handset, but can use GSM modems as virtual SMSCs
 
 
  # This is a fake smsc connection, _only_ used to test the system and
  services.
  # It really cannot relay messages to actual handsets!
 
  group = smsc
  smsc = smpp
  smsc-id = internal
  interface-version = 34
  host = 10.1.2.30
  port = 5588
  system-id = kannel
  smsc-password = kannel
  system-type = default
  transceiver-mode = 1
  #connect-allow-ip = 10.1.2.30
 
  #-
  # SMSBOX SETUP
  #
  # Smsbox(es) do higher-level SMS handling after they have been
 received
  from
  # SMS centers by bearerbox, or before they are given to bearerbox for
  delivery
 
  group = smsbox
  bearerbox-host = 127.0.0.1
  #bearerbox-host = 10.1.25.30
  sendsms-port = 13013
  global-sender = 13013
  #sendsms-chars = 0123456789 +-
  log-file = /tmp/smsbox.log
  log-level = 0
  #access-log = /tmp/access.log
 
  #-
  # SEND-SMS USERS
  #
  # These users are used when Kannel smsbox sendsms interface is used to
  # send PUSH sms messages, i.e. calling URL like
  #
 
 http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar
 .
  ..
 
  group = sendsms-user
  username = tester
  password = foobar
  #user-deny-ip = 
  #user-allow-ip = 
 
  #-
  # SERVICES
  #
  # These are 'responses' to sms PULL messages, i.e. messages arriving
  from
  # handsets. The response is based on message content. Only one
  sms-service is
  # applied, using the first one to match.
 
  group = sms-service
  keyword = nop
  text = You asked nothing and I did it!
 
  # There should be always a 'default' service. This service is used
 when
  no
  # other 'sms-service' is applied.
 
  group = sms-service
  keyword = default
  text = No service specified
 
  # Servicos configurados Eduardo Alfaia
  group = sms-service
  keyword = felipe
  text = Dr Ray
 
  group = sms-service
  keyword = cota
  text = Ta com dor no bumbum
 
  group = sms-service
  keyword = circles
  get-url = 
 
 http://10.1.25.106:8080/circlesServer/moreresult?texto=testanto%20doget;
 
  My problem is: The kannel don't send the request to my Content
 Provider.
 
  Could you help me?
 
  Best Regards
 
 
 
 
  --
  *Mfawa Alfred Onen*
  *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
  System Administrator
  Department of 

Re: connecting kannel to mysql database

2011-07-19 Thread Willy Mularto
Have you tried to search in the list archives? This kind of question has been 
ask for hundreds. Ehmmm...the answer is SQLBox anyway ;)



On Jul 19, 2011, at 11:06 PM, Said Khelef wrote:

 I have finished configuring kannel and its working.How do i connect it to 
 mysql database so i can receive and reply text messages to my database?I am 
 using Ubuntu 11.04

Willy Mularto
F300HD+MR18DE (NLC1725)