Dave,
I had this problem somewhile back myself (Oct 2006 ) :-
http://www.nabble.com/Interesting-issue-with-DLRs-
td6851347.html#a6923001
Anyway, I wrote a patch and have had no problems since. There were 2
different issues, one is the one you suggest, where it can come in a
lot later, the
Hello.. for point 2)
connect to apache on the localhost where bearerbox is running! make
an php, python or perl-script.. save the sms into database and THEN
test a connection with another script (cronjob), if the test fails,
test the other connection(s).. if the test not fails, send the sms
Yes,
Absolutely, Kannel will support terminal servers via TCP/IP, so its a
very easy way to add as many modems as you want. No need to worry
about serial ports.
Ben
On 7 Dec 2007, at 08:52, d.c. wrote:
hello together..
is it possible to use a gsm-modem instead of an cellphone with kanne
Ravi,
I don't recall what a rejected messages contains, but on a delivery
the DLR messages contents contain the id you want :
[msg:122:id:0499484085 sub:001 dlvrd:001 submit date:0707270748 done
date:0707270748 stat:DELIVRD err:000 text:.]
Maybe you could parse it out of the messages.
Re
958] [6] ERROR: SMPP[smppconn]: got DLR but
could not find message or was not interested in it id<88389666>
dst, type<1>
do you know why this is?
BR. Arnar
On Thu, 2007-07-12 at 15:45 +0100, Ben Suffolk wrote:
Hi Arnar,
Have a look at the msg-id-type option in the user guide u
Hi Arnar,
Have a look at the msg-id-type option in the user guide under SMPP,
it is for this exact issue :-)
Regards
Ben
On 12 Jul 2007, at 15:35, Arnar Gestsson wrote:
Hi guys,
I've been dealing with an SMSC using SMPP protocol. What happens
is that Kannel is not able to correlate t
This is the same question that you asked me directly, off list, and
the answer will still be the same :-)
On the SMSC that you want to receive only, set the allowed-smsc-id to
be something other than the smsc-id that you specify when submitting
messages. Then no message will be sent via the
HI,
I had a need recently to connect a number of GSM modems, for inbound
only connections.
I used a Moxa NPort 5610 terminal server in reverse telnet mode. Not
a cheap solution, but a nice one as you connect to the modems over
ethernet, means that you can fail over to a second machine wit
Franco,
Interesting, I knew it was in the specs, but had not come across any
use for it. The source network is passed to me via TLV, but again as
thats not a standard use its not supported in kannel.
Regards
Ben
On 22 May 2007, at 09:32, Franco Mattarini wrote:
Hi Ben
Thanks for reply
Franco,
I have to admit sub address' are something I have never used, but
thats probably because I am from the GSM world, and I think sub
addressing is a CDMA thing?
I don't recall seeing anything in the kannel codebase to support
them, sorry.
Out of interest can you give me an example
Hi,
Where did you get the :2345 bit from in the URL? I think you will
find it will work if you remove that.
Regards
Ben
On 24 Apr 2007, at 13:48, [EMAIL PROTECTED] wrote:
Hi,
I am using the url for the clickatell and connect-allow-ip as
smsc-id = click
send-url = http://api.clicka
Alvaro,
You need to specify the clickatell system-id, so add the following
line :-
system-id = x
(where is your system id). I wonder if you mixed that up with
smsc-id as you blanked that out?
If you want DLRs you will need to specify the port = xxx option as
well. Then set up
API exposed
in gwlib?
I did not find any information in gwlib.h as well as in the
documentation.
Ben Suffolk wrote:
Akbar,
The easiest way to implement your own smsbox is to use the gwlib
library it has all the communications code written for you, along
with some other useful bits and bobs
Akbar,
The easiest way to implement your own smsbox is to use the gwlib
library it has all the communications code written for you, along
with some other useful bits and bobs.
Ben
On 17 Apr 2007, at 06:09, Akbar Munir wrote:
Hi All,
Where can I find out detailed information about the c
i don't see how de-duping can work anyway. right now i have
alejandro in my to field, and [EMAIL PROTECTED] in my cc field. there's
nothing mailman can do to stop alejandro from receiving the same
message twice is there?
Hi Iain,
Its quite simple, each mail message that is sent out had a u
Alejandro,
Unless the maillist is being very dumb it will maintain the same
message id for the email it sends out as came in. Thus it will be de-
duplicated by your mail server , so there will be no hitting of the
user with the same message twice. Did you get my message twice? if
not then
I'm more than happy to go along with this if it makes it easier for
people, but I'm surprised you guys don't have a reply to all button
in your email software. I thought that kind of thing was pretty
standard.
Regards
Ben
On 19 Apr 2007, at 19:43, Alejandro Guerrieri wrote:
Yep, I agree
Tushar,
Please keep the list copied in, other people can't offer any help if
you don't ask them as well.
When you send a message, make an ID up, either use a UUID or keep a
rolling number that you increment each time you send a message.
Append this to your dlr-url when you submit the mess
message status 1 and message status 8……
From: Ben Suffolk [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 3:54 PM
To: tushar
Cc: users@kannel.org
Subject: Re: full sent message in dlr...
Tushar,
What you need to do is specify a custom dlr-url when you submit a
message, this would
Tushar,
What's in the DLR message wise actually depends on your provider. On
some of my connections the DLR actually contains none of the original
message.
What you need to do is specify a custom dlr-url when you submit a
message, this would contain an id for the message you sent, then wh
Now, that's reasonable... I'll drop it to the org@ list for a
decission
concensus. I'm +1 on it.
Any idea for the "name"? [EMAIL PROTECTED] ?
Why not just [EMAIL PROTECTED]
Ben
Daniel,
You will only get DLRs if you ask for them with the dlr-mask value.
So if you don't set dlr-mask you won't get any DLRs.
Regards
Ben
On 16 Apr 2007, at 03:41, Daniel Aronne wrote:
Hi,
Is there a way to disable the delivery reports? Something like "dlr-
storage = none" maybe?
T
Iain,
I'll try and make it a bit simpler :-)
When you submit a message to the SMSC it returns an identifier so
that when it sends a DLR you know what message it talking about.
The SMPP specs says this is a string. However in most cases its
actually a string representation of a number. In
Iain,
The queued DLRs, are as you initially suggest, they are waiting on
the final response from the SMSC, i.e. until they get either
delivered or an undeliverable (or a rejected submission) they will
hang around waiting for that (assuming the mask you set is looking
for them). I think qu
Your error looks like the web-server that you are sending the DLRs
to is not responding correctly (it looks like its just closing the
connection instead of talking HTTP). Possibly a firewall issue?
well, it's definately not a firewall issue as it's all on the same
internal network, as for t
Iain,
The store is not used for DLR's, just for messages. Thats why you
don't see them in the store-status. I use PostgreSQL to store my
DLRs, then I can look them up easily to see what's outstanding.
Your error looks like the web-server that you are sending the DLRs to
is not responding
Hi Guys,
In the UK there is an interconnect fee of 3p per SMS for messages
sent between UK operators.
For a possible project coming up I'd like to know if anybody knows if
either Romania or Holland have interconnect fees, and what they are
if they do.
Thanks
Ben
I will have to defer to the list on this one, I have never used
wapbox, but a quick look in the code suggests the error response you
are seeing is related to the validation of the pap message.
Have a look in the log files and see if you can see any other
messages, I would expect maybe somet
You English is much better than my Chinese would be !
DCS is set by a combinations of MWI, compressions status and message
class.
DCS of 0x04 means 8 bit data. The message is only converted to alt-
charset when its a 7 bit message. Have a look where you submit the
message to smsbox and
Stipe
Your not going mad, you are completely correct. PDUs are sent
asynchronously.
In fact I have a perfect example from a log file, where I was looking
into the issue of DLRs coming back before the response's and thus
loosing the DLRs
I attach the extracts of the log file so XSG can s
There are a couple of reasons you might not want to use internal
storage. The first is that its wiped out when Kannel restarts, so if
there is a problem, or you want to add a new SMSC into the
configuration any outstanding DLRs are lost.
This is actually NOT necessarily true
If your .store i
There are a couple of reasons you might not want to use internal
storage. The first is that its wiped out when Kannel restarts, so
if there is a problem, or you want to add a new SMSC into the
configuration any outstanding DLRs are lost.
okay, so if you had say, 100,000 messages that were '
Iain,
There are a couple of reasons you might not want to use internal
storage. The first is that its wiped out when Kannel restarts, so if
there is a problem, or you want to add a new SMSC into the
configuration any outstanding DLRs are lost.
The second would be if you had 2 Kannel boxes
Iain,
Thats correct. Kannel will always call the URL you provide to send
you a DLR. The storage method is irrelevant in that respect.
Regards
Ben
On 13 Mar 2007, at 10:54, Iain Dooley wrote:
The dlr storage (be it internal, postgresql, mysql etc) is used by
Kannel to keep track of messag
Iain,
The dlr storage (be it internal, postgresql, mysql etc) is used by
Kannel to keep track of messages you have asked for DLRs on. It holds
import details like the URL you requested to be called when the DLR
comes in, along with a mask for which DLRs you actually want to know
about.
Ady,
As I understand it Iain will be sending the long messages via Kannel,
so it will handle the chopping up and adding sequence numbers etc.
But he just needs to be able to know how many messages are actually
going to be sent for billing purposes.
Ben
P.S Iain I have sent you GSM 03.40,
Iain,
Your Welcome, by the way the 144 count somebody told you is wrong.
Just for reference SMS is 140 Bytes, and 7 bit text is packed into
those bytes meaning we can fit 160 characters in.
The UDH for a concat message takes 6 bytes leaving 134 bytes to
contain the message, which means you
Iain,
You have to allow the for the UDH needed to show this is a part of a
longer message.
Regards
Ben
On 12 Mar 2007, at 07:05, Iain Dooley wrote:
Divide by 144
144!? aren't sms 160 chars long?
.
- Original Message -
From: Ben Suffolk
To: Kaneza Innocent
Cc: users@kannel.org
Sent: Friday, March 09, 2007 12:11
Subject: Re: SMPP incoming message
Try adding the address-range config option on your SMSC connection.
Something like address-range = 123+ would mean it receives all
numbers starting
Have you checked your firewall settings/logs?
Why don’t you bind as transceiver (transceiver-mode=true, remove
receive-port) so you won’t need a server port on your endpoint?
Raul,
I think you misunderstand the way the SMPP connection works. The SMSC
does not connect back to Kannel. Kannel
Try adding the address-range config option on your SMSC connection.
Something like address-range = 123+ would mean it receives all
numbers starting 123. Adjust for the number(s) you expect to get.
Like I said might make no difference, but you should be using it really.
Regards
Ben
On 9 M
[25875] [6] DEBUG: SMPP PDU dump ends.
- Original Message -
From: Ben Suffolk
To: Kaneza Innocent
Cc: users@kannel.org
Sent: Friday, March 09, 2007 11:13
Subject: Re: SMPP incoming message
What's in the smsc log files when a deliver_sm PDU attempts to come
in?
Regards
Ben
On
What's in the smsc log files when a deliver_sm PDU attempts to come in?
Regards
Ben
On 9 Mar 2007, at 08:43, Kaneza Innocent wrote:
Hello,
I have a problem here, I cannot receive incoming messages from the
carrier SMS-C but I can send without problem. they tell me there is
no problem on
3. Can the SMS be send to any model of mobile phone or the
offerings of
Kannel limited?
any mobile that has the capability to receive sms :P
And your SMSC provider has an interconnect agreement, with the
network operator that the phone uses, to deliver the message.
Regards
Ben
HI Joe,
Welcome to the world of Kannel!
At the moment HA is not built into kannel (i.e. you can not run
multiple bearerbox's and have the talk to each other, and had
messages between them when a SMSC connection becomes unavailable on
one).
What you can do is run multiple bearebox's each
know what you get.
Regards
Ben
On 27 Feb 2007, at 17:30, [EMAIL PROTECTED] wrote:
Ben Suffolk :
Hi,
I user FreeBSD and don't recall this issue, but you need to make
sure you are using gmake, and have run ./configure
Regards
Ben
of course i using gmake, and have run ./configure
Hi,
I user FreeBSD and don't recall this issue, but you need to make sure
you are using gmake, and have run ./configure
Regards
Ben
On 27 Feb 2007, at 17:18, [EMAIL PROTECTED] wrote:
Good day,
I had 1one little problem...
When i install kannel 1.4.1 on my server, after make i see that
"
Donny,
I think the only difference between the two is the support for GPRS,
so you should find both work fine just fine. I have an older MC35
which works fine.
Regards
Ben
On 27 Feb 2007, at 02:32, Donny Christiaan wrote:
Dear All,
Which one is best to use with Kannel?
Siemens MC35i o
:06, Tushar wrote:
Hi,
I tried for all the options of msg-id-type but it didn’t work out.
So plz help me out with this DLR stuff
Thanx and regards,
tushar
From: Ben Suffolk [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 12:16 AM
To: Tushar
Cc: users@kannel.org
Subject: Re
Hi Tushar,
I think your problem is maybe related to the message being returned
in hex. You need to look at the bit in the same log where the message
is submitted and what is stored in the DLR table. Sometimes the
message ID format is different in the submit_resp PDU than in the
deliver_sm
Hi Francesco
I'll check it out thanks.
According to me, your solution is definitely to use smsc_soap.
I' m not sure if it is well documented, anyway by searching in mailing
list archive and looking the code, you' ll surely be able to use it.
"Soap" is just a little confounding as it manage xm
HI,
I need to connect and send messages via Telefonica in Mexico. They
offer an XML based system whereby messages are encoded in XML and
posted to the URL they provide.
I saw some while back mention of a generic http type being added to
the http smsc, and some suggestions about making it
Thanx and Regards,
Tushar
Ben Suffolk
CTO
Zygo Communications
Switchboard: + 44 (8) 444 999 555
Mobile: +44 (0)7973 369097
Email: [EMAIL PROTECTED]
This e-mail including any attachments is confidential and may be
legally privileged. If you have received it in error please advise
th
eiver all in one.
I want to configure kannel for transmitter ONLY.
@Ben: login params are checked x-times, they are ok.
Thank you.
Gottfried
-Ursprüngliche Nachricht-----
Von: Ben Suffolk [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 08. Jänner 2007 16:49
An: Huber, Gottfried
Cc: users@k
Gottfried,
Looks like you have your login details wrong, check with your
operator / sms provider what details you should be using. You need 3
things, the username (system id), password and system type. Only if
you have all 3 of these correct will you be able to bind (although
some provide
The internal dlr storage is called "internal" for a reason I dont
know,
I assume the developers called it in such way because it keeps
the internal Kannel statuses of the message in the
internal Kannel queue, as SENT, FAILED, QUEUED.
Quick overview for you.
When a message is submitted to an S
Eric,
Configuration looks OK to me.
I think it might be a good idea if you turned trace on on pgsql, then
you can see what SQL, if any, is being executed. I think -d can do
this on the command line to the postmaster.
Regards
Ben
On 29 Dec 2006, at 00:24, Monchanin Eric wrote:
Hi All,
I
Mark,
Sounds like you will need to add a second smsc group to the config
file with the second host details.
Regards
Ben
On 11 Dec 2006, at 19:53, Mirza Aamir Raza Khan wrote:
Dear All
I am running Kannel 1.4.1 with my Telco. I was having some problem
in receiving SMS from them, when I q
Abhisek,
Sorry I don't use windows machines, in fact I don't even own one.
I have copied this to the list, as I'm sure somebody on there might
well know about windows.
Regards
Ben
On 8 Dec 2006, at 13:37, Abhisek Mohanty wrote:
Hello Ben
i would like to take ur help.I am working on a pr
Andrew,
It stays connected to kannel to keep receiving messages. You need to
quit it with CTRL-C not CTRL-Z (which suspends the process and leaves
it connected), then it will be able to connect again.
Regards
Ben
On 8 Dec 2006, at 12:25, andrew teo wrote:
Hello!!
I'm trying to get Kann
to specify any country code or international code as the
prefix of the mobile number ?
On 12/8/06, Ben Suffolk < [EMAIL PROTECTED]> wrote:
Hi Ganeshwair,
Are you sending a source address with your message?
I would have a look at the global-sender setting in the smsbox
section of the confi
Hi Ganeshwair,
Are you sending a source address with your message?
I would have a look at the global-sender setting in the smsbox
section of the config file and see if you have it set to anything.
This will at least give you a default if you don't override it with
any specific at the time
I'm curious about the answer how to send sms without smsc, is it
possible? Could you please tell more for geek curiosity ;-)
Well the SMSC actually implements the store and forward capability,
i.e. if the message is unable to be delivered it can store it and try
again later. There is nothin
Dimitris,
This is not an error that will cause you any problems. Some operators
send additional info when delivering a message, They are often
specific to that operator and so kannel has no idea of the meaning,
hence logging them as an error in the log file.
You can safely ignore these me
Did you check the smsc logs as opposed to the core logs?
It sounds a bit like the SMPP connection dropped out. This would not
show in the main core logs, but in the smsc logs.
Regards
Ben
On 30 Nov 2006, at 10:07, Fourat Zouari wrote:
did you reolve the problem ?
i've got the same issue th
At a rough guess you are sending via the HTTP interface, and the &
sign is being interpreted as such.
If thats the case make sure you URL encode the & character.
Regards
Ben
On 19 Nov 2006, at 08:20, Ganeshwari wrote:
Hai,
I am tring to send sms which have '&' special character from
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.
When i try to send i get the following:
Not routable. Do not try again.
That means that there are not routes that the message can take. When
you specify the smsc-id via the http call, you pass it as the
smsc=xyz NOT smsc-id=xyz. Maybe thats your problem?
Regards
Ben
Marcelo,
In the group = smsbox section you want to set http-request-retry = x
where x is the number of times the retry should happen (default is 0
- no retry) and set http-queue-delay = n to set the number of seconds
between retries (defaults to 10 seconds)
Regards
Ben
On 16 Nov 2006,
I don't see why .dso support for SMSC is of any help There are not
really any benefit to dynamically exchange SMSC modules as kannel
is the only user of this .dso
I suspect the point is more to only load code that is going to be
used, so its more efficient. Although granted the code for eac
Blocking is an idea, but as you're basically doing a an SS7 query to
the remote operators HLR it's possible the HLR may not respond or
take a little while to respond. That's where caching comes into play.
Indeed. I think if you are planning on caching at your end, then you
need to provide use
As such a query is a two stage process, I would imagine it would go
something like this:
1. Client makes request with MSISDN and return URL
2. Server posts result (as HTTP GET or POST) back to client as soon as
the necessary information is received back from the remote operator.
As this is such
Hi
as per my knowledge smsbox is postpaid arcitecture
can anybody suggest me how can i use it with users
credit
check
what configuration is required for that?
Regards
Manoj
Hi Manoj,
There is no simple way to configure smsbox to do this. You would need
to modify smsbox to add this functio
Is there any thing that I should check in my configuration or it's
a typical
operator problem ?
Marcelo,
This is an operator problem, not a kannel one. I used Clickatell for
awhile when first playing with kannel. And thier delivery reports
could take hours to be sent though.
Now I have
Practically, making the sendsms CGI interface wait until a response
(either success or fail) from the SMSC is returned would be useful for
multithreaded applications, so they can get instant information about
whether if the message reliably reached to the SMSC or not.
Ah, reached the SMSC, thats
Then any messages that bearerbox has received via SMPP in the period
while sqlbox and smsbox are starting are dumped to the store. However,
the problem is these messages seem to remain in the store, and never
get resubmitted to smsbox via sqlbox.
It looks something like this:
Box connections:
Is there any way to get send SMS delivery status synchronously (as
oppose to DLR). Or is there any possible configuration that binds
send sms process to SMSC driver reply before terminating (so that
it could return info DLR style).
You could write an application to sit in front of smsbox to
Hi everyone,
I've got kannel v 1.4.0 installed on a debian (Sarge) platform
comunicating
with a SMSC through SMPP v3.4. Now, I've been getting the
following error 7
times every 30 seconds or so:
--
-
HI,
I need to connect to another kannel instance as though it was an
smsc, I know that I can use the http smsc interface to send message
to the other kannel. At that end they will then be routed onto the
real smsc. So not configuration issues to deal with.
But assuming the other kannel bo
There are 2 threads used, one for tx, and for for rx. Each needs
to know which port to connect to on the SMSC. In general these
will be set to the same value, but this gives you the ability to
have the as different ports if needed. If you want to disable tx
or rx you can also set the respec
Bas,
Now if that is correct, what's the purpose of the 'receive-port'
parameter? Is it the local client port that's being used in the
bind when Kannel opens the connection to "port" @ "host"?
There are 2 threads used, one for tx, and for for rx. Each needs to
know which port to connect t
Hello,
I am currently planning a new service, and the relevant hardware for
it. I am after some figures on SMS throughput, both inbound and
outbound.
My connections will be with SMSCs not modems, and will most likely be
smpp3.4, but could in some cases be other SMSC protocols.
No messag
Ben Suffolk wrote:
Because in the example I gave you give a specific dlr-url with
each message you submit, You add your own uid to this url (which
you make sure is different with each message you submit).
When the DLR is received the URL is called and your script reads
the uid from the
it the uid at the time you
submitted the message you can now tie the DLR status back to whatever
you want (so long as you recorded the uid you gave at the time of the
message submission somewhere your script can get at it)
Regards
Ben
On 9 Oct 2006, at 11:18, Cezary Siwek wrote:
Ben
don't think all
the developers believe it is right to do as not all the SMSCs are
capable of returning an ID, so it breaks the abstraction.
Ben
On 9 Oct 2006, at 10:49, Cezary Siwek wrote:
Ben Suffolk wrote:
Sunil,
The way it works is you specify a URL with each message that you
send
send the request to the call back url with the unique id set.
BR,
Sunil.
-Original Message-
From: Ben Suffolk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 12:58 PM
To: Meda, Venkata Sunil Prasad
Cc: devel@kannel.org
Subject: Re: Msg-id for tracking in Kannel 1.4.1
%d
Sunil,
Thi
Steen,
I see you have already have concatenation on, so you just need to up
the max-messages count from 1 to 3 (since you message is 419 chars,
or 3 text messages)
Regards
Ben
On 4 Oct 2006, at 02:47, Steen Hansen wrote:
Hi all,
Just took over work from other person who left...
Having
Prasad,I'm glad you solved your problems, would you mind posting how you did it, then other people with the same problem searching the archives later will know the solution.RegardsBenOn 25 Sep 2006, at 09:02, Kavuri Prasad wrote:Dear all, I manage to solve my problem. Thanks alot to group --
HI,
On each of the smsc configurations you need to set the allowed smsc-
id :-
group=smsc
smsc-id = route1
allowed-smsc-id = route1
...
group=smsc
smsc-id = route2
allowed-smsc-id = route2
...
Then when you submit a message use the smsc param :-
fetch http://localhost:13013/cgi-bin/sendsms
Ah, you want to be able to get the ts field (the operators ID for the
message).
I would also like to be able to get this for the same reason. But it
seems this is not possible. I asked the same question a little while
back on this list but never got an answer.
The only way really would be
So I've read the docs but I'm not sure about:
a) how I know mysql-dlr system is really working. As docs indicates
I've
created the groups involved, dlr-storage is mysql, but I've never
seen any record
in the mysql table.
Well you could turn your phone off, then send a message to yourself.
Hi Cyrus,Check out the manual :-http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN1533The config option you are looking for is called msg-id-typeIt allows you to set the a bit to state if the message ID is hex or decimal.RegardsBenOn 18 Sep 2006, at 06:18, Cyrus Patel wrote:Hi,
Invalid System ID means the the smsc-username is wrong.RegardsBenOn 15 Sep 2006, at 18:37, Huber, Gottfried wrote: hallo, I have tried to configure smpp-connect , but i get : SMSC rejected login to transmit, code 0x000f (Invalid System ID). what is wrong ? additionally i hav to con
Hi,
I am about to start using kannel for my SMS system as it looks great.
I have not yet got my SMPP connetcion to the operator, but will have
shortly. In the mean time I have been doing integration testing using
the fakesmsc program.
I am always sending sms via the HTTP interface, and ha
94 matches
Mail list logo