Hello friends,
Iam using kannel to give some keyword based services. but my poblem is
anyone can send a text message with the keyword and anyone can receive it it
will cost some amount. ( iam using a program to check the customer number
and if its in my database i'll send the request). but i dont
Dear Tharanga,
Set your kannel configuration to not reply incomming message directly.
So, the reply message should be sent by your application. To avoid
direct response or reply, add max-messages = 0 in your sms-service
config.
Hope this would help you..
--tjatur
On Tue, 2007-04-10 at 09:26
helloall
i have this error in my config of kannel
CMS ERROR 301 SMS service of ME reserved
i use nokia 32 premicell can you help me please
-
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des
Hi all
I wanted to know about the sms-service group more clearly..
If I want to make a keyword live, wot exactly should I do. :
The group configured by me is as below:
#SMS-SERVICE group
group = sms-service
keyword = abcdef
catch-all = true
accept-x-kannel-headers
@kannel.org
Subject: sms-service help
Hi all
I wanted to know about the sms-service group more clearly..
If I want to make a keyword live, wot exactly should I do. :
The group configured by me is as below:
#SMS-SERVICE group
group = sms-service
keyword = abcdef
catch-all
jason zhang wrote:
Hi, all
I used the sendsms in a very simple way. Although the sms was sent out
successfully, I got Connection time out all the time. Anyway I can work
around the timeout?
-
wget -S -T 4 --ignore-length -O sms_resp.txt
Hi, all
I used the sendsms in a very simple way. Although the sms was sent out
successfully, I got Connection time out all the time. Anyway I can work
around the timeout?
-
wget -S -T 4 --ignore-length -O sms_resp.txt
jason zhang wrote:
Hi, all
I used the sendsms in a very simple way. Although the sms was sent out
successfully, I got Connection time out all the time. Anyway I can work
around the timeout?
-
wget -S -T 4 --ignore-length -O sms_resp.txt
Hello!
When I define an sms service:
group = sms-service
keyword = service
url = http://localhost/service.php?from=%pother=%rtext=%a;
accept-x-kannel-headers = true
I manage to get the sender number from from and the entire sms from
text. However, other is empty.
Am I right to assume that %r
, Marcelo Aguila wrote:
I've got the following sms-service
group = sms-service
keyword = default
get-url=http://localhost/service.cgi?sender=%pto=%Pmsg=%asmscid=
%itime=%tid=%I
max-messages = 0
accept-x-kannel-headers = true
concatenation = true
accepted-smsc = SMPP1
So, when
Marcelo,
Thanks a lot, Ben.
But I still have the following doubt. The script service.cgi after
a successful processing
returns nothing. What HTTP response should it returns if there is a
problem and a retry is needed ?
I would test with with a 4xx / 5xx error code myself if I were you.
I've got the following sms-service
group = sms-service
keyword = default
get-url=http://localhost/service.cgi?sender=%pto=%Pmsg=%asmscid=%itime=%tid=%I;
max-messages = 0
accept-x-kannel-headers = true
concatenation = true
accepted-smsc = SMPP1
So, when a sms arrives I executed service.cgi
, at 03:12, Marcelo Aguila wrote:
I've got the following sms-service
group = sms-service
keyword = default
get-url=http://localhost/service.cgi?sender=%pto=%Pmsg=%asmscid=
%itime=%tid=%I
max-messages = 0
accept-x-kannel-headers = true
concatenation = true
accepted-smsc = SMPP1
So, when a sms
Hi team,
How can I setup auto reply with sms-service in the kannel.conf with
exec and text in the conf. I used the below configuration but it did not work.
Below is my sms-service configuration
Group = sms-service
Keyword = default
exec =
/usr/local/bin/kannel_incoming %t %p %a %P %d
Hi All,
Problem with sms-service,
it does not show SVC in access log.
I tried
access-log-format and name in sms-servicebut could not get through.
#access-log-format =
%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P]
[flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u
Hi,
The strange thing is I am getting correct
text Testing 1234. in reply but not the service (SVC) in access
log.
Any Clue?
Divyesh A.
From: Divyesh Amipara
[mailto:[EMAIL PROTECTED]
Sent: Saturday, November 11, 2006
9:58 AM
To: users@kannel.org
Subject: SMS-Service
Hi,
actualli I don't understand the using of sms-service group.
How can I use it?
Where can I find any examples?
Thnak You
This message was sent using IMP, the Internet Messaging Program.
Hi,
This group determines what Kannel will do with each of the
incoming messages. Two examples follow.
This will invoke test.pl script upon receiving the keyword
test as MO SMS:
group = sms-service
keyword = test
exec = /home/kannel/gw/apps/test.pl %p %i %P %k %r
accepted-smsc = UNIFON
[EMAIL PROTECTED] wrote:
Hi,
actualli I don't understand the using of sms-service group.
How can I use it?
Where can I find any examples?
Did you consult the architecture document and the user's guide?
Both are available on the web site. These should be the first place to look in.
Stipe
sms-service
- gets URL and responds
- then matches the same keyword in the next sms-service again
- gets URL of the second service, but sends no reply this time.
Otherwise I have to think of writing a php-script that will keep the
keyword(s) and does the different jobs for me (I think of a small
it on the same machine. But I
think of delivering the SMS to another server while copying the raw data
to my local database (or send me an e-mail about an incoming SMS)
without touching the remote script. So I thought of
SMS comes in
- matches the keyword in the first sms-service
- gets URL
it?
Example (describing my thoughts):
+++
group = sms-service
keyword = G
get-url = http://remotehost/doIt.php?smsbody=%s;
strip-keyword = true
max-messages = 3
concatenation = true
group = sms-service
keyword = G
get-url = http://localhost/storeIt.php?smsbody=%s;
strip
database (or send me an e-mail about an incoming SMS)
without touching the remote script. So I thought of
SMS comes in
- matches the keyword in the first sms-service
- gets URL and responds
- then matches the same keyword in the next sms-service again
- gets URL of the second service, but sends
scripts could be called for each provider.
group = sms-service
keyword = default
get-url =
http://smsc/inA.php?provider=P1sender=%ptext=%arecipient=%Ptime=%t;
accept-x-kannel-headers = true
max-messages= 3
concatenation = true
just
fine. Even though I have this setup, I am (except for one provider)
calling the same script and passing a provider name in the get-url. If
you wish different scripts could be called for each provider.
group = sms-service
keyword = default
get-url
that it doesn't work and only one is
used..
will I have to do this on my PHP side or is there any way to do it on
kannel?
thanks again!
Juan
Rodrigo Cremaschi wrote:
Hi Juan,
Have you tried
group = sms-service
keyword = default
name = SMSC_A_service
get-url =SMSC_A.url
accepted-smsc = SMSC_A
Hi!
First of all, Happy New Year to all!!! :)
I want to have 2 sms-services, one should work for some SMSC
connections, and the other one for other connections.
The thing is that they shouldn't be redirected to one or other
sms-service based on keyword, since there is no specific keyword
Hi Juan,
Have you tried
group = sms-service
keyword = default
name = SMSC_A_service
get-url =SMSC_A.url
accepted-smsc = SMSC_A
max-messages = 0
omit-empty = true
group = sms-service
keyword = default
name = SMSC_B_service
get-url =SMSC_B.url
accepted-smsc = SMSC_B
max-messages = 0
omit
to
perform. I am having problems with the sms-service functionality where some
carriers seem to include the sending phone number as part of the message.
Using the keyword functionality, it appears that a match will only occur if
the keyword is the first thing in the message.
Is there a way to check
I have been testing Kannel for some low volume SMS processing that I need to
perform. I am having problems with the sms-service functionality where some
carriers seem to include the sending phone number as part of the message.
Using the keyword functionality, it appears that a match will only
??? Thanks
Any Experienced users welcome with thier comments ?
Regards
Sriram
- Original Message -
From: "Rodrigo Cremaschi" [EMAIL PROTECTED]
To: "Sriram" [EMAIL PROTECTED]
Cc: users@kannel.org
Sent: Friday, December 09, 2005 1:25
Subject: Re: Fw: PLs......he
: PLs..help sms service
Well then. You don't need Kannel at all, so no need to configure anything.
No need to call any URL. The telco will invoke your a.php script. All
you need to do is to grab those parameter values and then print the
answer.
This goes beyond the Kannel list, tho
with desired content back to him ?
Anyone knowledgeable pls share and help
Regards
sriram
- Original Message -
From: Rodrigo Cremaschi [EMAIL PROTECTED]
To: Sriram [EMAIL PROTECTED]
Cc: users@kannel.org
Sent: Tuesday, December 06, 2005 7:04
Subject: Re: Fw: PLs..help sms service
10:04 AM
To: Rodrigo Cremaschi
Cc: users@kannel.org
Subject: Re: Fw: PLs..help sms service
Hi Rodrigo,
Spoke to that Telco Guy again he says you dont need a SMS gateway at all for
this application ! He has asked me to create a URL at my end which i created
:
http://xxx.xxx.xxx.xxx/a.php
From: Sriram=20
To: [EMAIL PROTECTED]
Sent: Monday, December 05, 2005 12:20
Subject: Fw: sms service
Hi=20
Kannel on RHL 8.0 , compiled from source along with mysql support...smpp =
conneciton 3.4.
problems :
1. I am Able to send messages..
2. defined sms service groups but when
messages from your SMSC.
Best regards,
Rodrigo.
On 12/6/05, Sriram [EMAIL PROTECTED] wrote:
- Original Message -
From: Sriram
To: users@kannel.org
Sent: Monday, December 05, 2005 12:20
Subject: Fw: sms service
Hi
Kannel on RHL 8.0 , compiled from source along with mysql
- Original Message -
From: Sriram
To: users@kannel.org
Sent: Monday, December 05, 2005 12:20
Subject: Fw: sms service
Hi
Kannel on RHL 8.0 , compiled from source along with
mysql support...smpp conneciton 3.4.
problems :
1. I am Able to send messages..
2. defined sms service
Hi
Kannel on RHL 8.0 , compiled from source along with
mysql support...smpp conneciton 3.4.
problems :
1. I am Able to send messages..
2. defined sms service groups but when someone
sends a keyword to my kannel..it doesnt receive it and so it doenst reply
no debug entries in logs appear
hi! doesn't seem like you can pass parameters in a
post-url service
http://www.mail-archive.com/users@kannel.org/msg03126.html
http://www.mail-archive.com/users@kannel.org/msg00350.html
thanks for everyone!
__
Do You Yahoo!?
Tired of spam? Yahoo!
You cant' match a space on the regex :(
It's a well-known-yet-undocumented limitation on the regexp implementation:
Kannel splits the keyword on the first space before feeding the regexp engine, so it won't match what cannot see.
In short: Regexps can only match until the first space.
I'm
Service questions
Hello All!
I've been using consistently kannel for a few months and i'm
really happy with it... however i have a question about regex
Right now i have this service:
group = sms-service
keyword = testing_u
keyword-regex=^(BS|bs)
allowed-receiver-prefix=333;50
Hey all,
Stephane Rosa wrote:
Hola Alejandro,
Welcome to regex irregular world :-))
I suggest using this instead :
keyword-regex=^(BS|bs) [0-9]{4}
This still won't work as you can't have a space. I fixed this and
submitted a patch. I don't know if its made it in to CVS yet. If you
want a
Hello All!
I've been using consistently kannel for a few months and i'm really happy with
it... however i have a question about regex
Right now i have this service:
group = sms-service
keyword = testing_u
keyword-regex=^(BS|bs)
allowed-receiver-prefix=333;50
#catch-all= true
get-url
Subject: Re: sms-service regex problem
Have you tried using character classes?
^date[:space:]info[:space:]stop$
Or even:
^date[:space:]+info[:space:]+stop$
To match to one or more spaces...
Hope it helps,
On 6/13/05, Gareth Reakes [EMAIL PROTECTED] wrote:
Hi Rodrigo,
Thanks
Hi all,
I have been staring at this for hours now, trying every possible
combination. I can't match a service with a space in the regular
expression. It's fine if there is no space. I could really do with this
working. Any help is appreciated.
group = sms-service
keyword-regex =^date info
Hi Rodrigo,
Thanks for the reply.
On 13 Jun 2005, at 19:49, Rodrigo Cremaschi wrote:
Did you try...
keyword-regex = ^date info stop$
Yes. Any other suggestions? Anyone seen this problem?
Gareth
Have you tried using character classes?
^date[:space:]info[:space:]stop$
Or even:
^date[:space:]+info[:space:]+stop$
To match to one or more spaces...
Hope it helps,
On 6/13/05, Gareth Reakes [EMAIL PROTECTED] wrote:
Hi Rodrigo,
Thanks for the reply.
On 13 Jun 2005, at 19:49,
be sure wheather to resend the message or no?
Another thing that I'we asked few times on this list
I cannot get dlr on sms-service reply from my side.(no 1 no 16, nothing)
I need delivery report on sms's triggered by user's sms request.
Is it possible at all or I should count on my application
regards,
Hello,
I have troubles to get the aliases directive working for my
sms-service. We are using Kannel 1.4
on a Debian Linux server. Whenever we use an alias for an sms-service,
the URL of the default service is called.
Could this be a bug ? Is anyone else experiencing the same
Hi Tom
I want to apply the patch. Can I apply if to 1.4.0 stable?
How do I apply a patch.
Thanks
Ismail
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: devel@kannel.org; users@kannel.org
Sent: Wednesday, May 25, 2005 4:10 PM
Subject: Re: Aliases for sms-service
Hello,
I have troubles to get the aliases directive working for my
sms-service. We are using Kannel 1.4
on a Debian Linux server. Whenever we use an alias for an sms-service,
the URL of the default service is called.
Could this be a bug ? Is anyone else experiencing the same problem ?
Any
Hello Juan Nin,
JN just a comment.. Debian kannel packages are outdated...
I saw... I sent a wish via reportbug to the mantainer and eventually I'll
install v.1.4.0 from http://www.litux.org/debian.
Anyway I finally succedeed! The config was OK, it was a really stupid matter,
sorry if I
= sendsms-user
**username = 98395734
**password = Xyyth54fuw
**
**group = sms-service
**name = default_service
**keyword = default
**catch-all = true
**send-sender = true
**omit-empty = true
**get-url =
http://localhost/admin/insert-SSMS.php?sms_num=%psms_text=%b
I don't see an smsbox-port defined in your core group. Without that
the bearerbox and smsbox cannot communicate. Without communication
between the 2 boxes, smsbox will not receive any MO SMS for the
default sms-service you declared..
Also, as another reader posted, please try upgrding to v1.4.0
= 1
access-log = /var/log/kannel/access.log
group = sendsms-user
username = 98395734
password = Xyyth54fuw
group = sms-service
name = default_service
keyword = default
catch-all = true
send-sender = true
omit-empty = true
get-url = http://localhost/admin/insert-SSMS.php?sms_num=%psms_text=%b
Matteo Calorio wrote:
Hello,
I installed Kannel 1.2.1 on a Debian Sarge. I can receive SMSs, but I can't
call a URI to pass some data to a web appl (Apache logs don't show anything
about).
just a comment.. Debian kannel packages are outdated...
I would download kannel source and compile, it's
Hi List,
for processing of incoming SMS I need the recipients number (get-url
invokation is used). I tried the parameter %P and this one always
contains the number that the message-originator typed. Unfortunately
this number is not always the same as the one that's listed in the
bearerbox
Hi,
I have been scanning the user doco and reading the mail archives, but havent
been able to find an answer . I hope that someone on the list can set me
straight. We have set up kannel to channel MO SMS's to a 3rd parties web
application servers. Which works quite well. The target http server
. But the message
routing
is not working for me.
I have created 2 sms-service groups each for one smsc
short code and another default sms-service group. But I am not able to understand
the
keyword parameter to be supplied to each sms-service.
I cannot understand the following description of the parameter from
set strip-keyword = true (for more detail refer to the user guide) at
http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN5316
i want to set my defeault sms-service as a catchall but without
replying to sender.
i set the ff
from:
text = no service
to:
max-messages = 0
file = /var/log/kannel/inbox.log
is this correct, it seems its not logging to log all msgs.
Marie,
the catchall script should be invoked from a sms-service group with
keyword=default. max-messages=0 is OK. Omit the file line.
Here goes the one I use:
group = sms-service
keyword = default
get-url =
http://localhost/catchall.pl?mobile_nr=%pshort_nr=%Poperator=%ikeyword
On Mon, Aug 23, 2004 at 06:03:04PM +0200, francesco emmi wrote:
Hi all,
I know that SMS Service manages a sms, than does an http request
(get-url parameter)and sends back to the mobile any answer it has got.
Is there a way to tell SMS Service to use dlr-mask? It seems that the
only way
I can't seem to receive this Parameter(escape code) for sms-service.
%P the phone number of the receiver of the SMS message
But I get these details on the core_access.log:
2004-07-06 14:28:09 Receive SMS [SMSC:omi] [SVC:] [ACT:] [BINF:]
[from:01234567912] [to:1234] [flags:-1:0:-1:0:-1] [msg
Hi all,
I am a new user for kannel as well as the mailing list. I have been experimenting with
the featuresof kannel for sometime but i am not able to invoke the sms-service part of
it. the problem is that even the default service is not being invoked. i have rolled
thru the userguide
Hi,
does anyone know if sms-service in kannel 1.2.1 can be configured so that
it sends reply message to a number configured in sms-service section or
something like that, not to senders number? So basically when an sms with
sertain keyword(s) arrives it is forwarded to a number configured?
Thanx
Title: SMS-SERVICE
I have some working SMS-SERVICE
but one service makes troubles:
it starts a unix-shellscript (= working in unix-shell), but it's is not executed when receiving the sms with keyword.
the sms-answer ist an empty reply from the provider ( [flags:0:1:0:0:0] [msg:35
connection to Kannel and onto my application via
the sms-service. (FYI, the other 2 networks only provide MO number from their own
mobile users).
The problem is that MTN and CellC allow me to specify the from MSISDN in the reply to
the mobile user. Vodacom denies the reply and requires the from MSISDN
Hello, all
I have a simple echo service which works very nicely
to test my kannel bearerbox and smsbox. It is
specified in my .conf file as follows:
group = sms-service
keyword = echo
name = Echo service
text = You said: %r
catch-all = true
max-messages = 1
assume-plain-text = true
To test
Hi all,
Great News !
I will test it.
For the moment I add block group=sms-service with keyword default per SMSC,
working fine. But lot of blocks ...
Alex
-Original Message
: sms-service
Hi,
Nice, but what about routing all SMS's to a specific number to a single
URL? Can one do that? How would you do it?
I
look forward to your responses.
Thanks Regards
Jens
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hello,
Is it possible to redirect all inbound SMS from an operator without keyword and
without reliable receiver number.
Can I use keyword default with acceped-smsc with multiple smsc.
Thanks for your help,
Alex
Of
Alex KinchSent: 14 November 2003 01:18To:
[EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Re:
sms-service
Hi Alex,
We're doing that on Kannel
cvs-20031112 for nine different smsc's, works fine:
group = sms-servicekeyword =
defaultget-url = ""http://yoururl/page.asp
] Behalf Of
Navjot Singh
Sent: woensdag 5 november 2003 10:53
To: Chin Kok Joon; [EMAIL PROTECTED]
Subject: RE: sms-service example
- -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Chin Kok Joon
Sent: Tuesday, November 04, 2003 1:43 PM
To: [EMAIL PROTECTED
group = sms-service
keyword = HELLO
get-url=http://localhost/test/save_msg.php?to=%Ptext=%S
Looks good.
after configure the kannel.conf I run it (bearerbox and later the smsbox
it runs as it suppose to with no error insight). Then based on the
documentation, I use my browser to run the url
I need to restart kannel ( bearerbox smsbox) using sms-service . I
developed a shell script and defined an sms-service. The script actually
kills all beaerbox smsbox process and then execute both boxes. The shell
scripts runs fine from bash shell but when try from sms-service thhe boxes
Have you tried nohup 'ing the shell script when you run it from smsbox? (isn't the
parent killing the child when it restarts?)
-Original Message-
From: Cipher Strength [mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 12:25
To: [EMAIL PROTECTED]
Subject: Restarting Kannel by sms-service
2003 12:25
To: [EMAIL PROTECTED]
Subject: Restarting Kannel by sms-service
I need to restart kannel ( bearerbox smsbox) using sms-service . I
developed a shell script and defined an sms-service. The script actually
kills all beaerbox smsbox process and then execute both boxes. The shell
scripts
correct me if i am unable to understand your problem.
1. You have service that fetches the content of test.html, add prefix and
sufix to it and send it.
2. Now, you say, you want only test.html content and NOT the prefix and
suffix.
then why do you add prefix and suffix in the first place. JUst
oh..i got it wrong then. never mind ;-)
if you have some control over content page i.e test.html in your case, you
can remove those comment tags from it.
set prefix and suffix = .
there is other way around but you have to modify the source.
1. add 2 more varibales in sms-service group strip
everything,
but,
Everything about something !!
+
--
__
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
---BeginMessage---
Hi,
my one sms-service configuration
Dear All,
Is there another method of sms-service except of HTTP-GET method ?SOAP, XML-RPC may be ?
Thx.
group = sms-servicekeyword = wwwget-url = ""http://%S">http://%S"
Yahoo! Search
- Looking for more? Try the new Yahoo! Search
201 - 282 of 282 matches
Mail list logo