routing or load balancing sms-service

2008-11-24 Thread Dave Jong A Lock
Hi all,

I want to know if it it possible to load balance like this or if you
have a better idea please post.

group = sms-service
keyword = default
allowed-receiver-prefix = 
"+5978957000;8957000;5978957000;+59708957000;59708957000;08957000"
exec = "/usr/bin/perl /home/lott/lott.pl %p '%a'"
max-messages=2
#catch-all = true
accepted-smsc=lott

group = sms-service
keyword = default
allowed-receiver-prefix = 
"+5978957000;8957000;5978957000;+59708957000;59708957000;08957000"
exec = "/usr/bin/perl /home/lott/lott.pl %p '%a'"
max-messages=2
#catch-all = true
accepted-smsc=lott

Will this work??

Dave




RE: webbased gui for monitoring Kannel architecture

2008-11-24 Thread Dave Jong A Lock
Hi,

I'm also interested, who has the source? Can you send/ publish it?


Dave




smpp bind transmitter only

2008-11-19 Thread Dave Jong A Lock
Hi all,

I have a transmitter only smsc. the bearerbox constantly gives me an
error cannot connect (because it also tries to connect as receiver).

Is it possible to change this in the configuration?

I found an old thread about this:

Binding as a transmitter only
Ronan Derby
Mon, 14 Jan 2002 08:31:08 -0800



Does anyone have any follow up on this?

Dave





Aliases

2008-11-13 Thread Dave Jong A Lock
Hi all,

I have been trying to get this to work, but wondering if what I think
this should do is correct.

group = sms-service
keyword = n
aliases = no;nee;niet;uit;out;geen;N

This means if someone sends the letter n, this service is started. 
I thought it also meant that if someone sends no or nee this service is
also started, but this isn't working like that. What's wrong here?

If someone sends the capital letter N, this service should also be
started.


Dave




Error in submit_sm response

2008-11-06 Thread Dave Jong A Lock
Hi all,

Sorry for my last post, forgot to change the subject.

It was;
I'm receiving this error;

2008-11-06 08:21:04 [4130] [6] ERROR: SMPP[]: SMSC returned error
code 0x0008 (System Error) in response to submit_sm.

I know it's something wrong on the smsc's side, but they can't seem to
fix this. When I make the connection everything is ok, but after a while
(sometimes one or two days) I get this error. They restart something and
then I should restart kannel and sometimes it's fine again.

Can anyone point the problem so I can solve this error ones and for all
eventhough it's not one my side.

and I forgot to mention:

I have been talking to them for more then a week now on daily basis,
thay can't find the problem. They told me it was a problem on their side
because others also face the same problem.

one idea I got was:

in case you dont set deferred , try to set it to -1
and see what happens

Has this helped anyone?

thanks in advance,

Dave




Re: users Digest, Vol 30, Issue 10

2008-11-06 Thread Dave Jong A Lock
Hi all,

I'm receiving this error;

2008-11-06 08:21:04 [4130] [6] ERROR: SMPP[]: SMSC returned error
code 0x0008 (System Error) in response to submit_sm.

I know it's something wrong on the smsc's side, but they can't seem to
fix this. When I make the connection everything is ok, but after a while
(sometimes one or two days) I get this error. They restart something and
then I should restart kannel and sometimes it's fine again.

Can anyone point the problem so I can solve this error ones and for all
eventhough it's not one my side.

Dave




Memory optimization

2008-10-30 Thread Dave Jong A Lock
Hi all,

How much memory does kannel use when receiving approx. 70 msg/min. ?
Is there a way to increase the use of memory (is it needed to do this) ?
Will increasing memory result in faster handling of receiving/sending
messages?

I know most of the sending / receiving speed depends on the smsc, but
just wonderung if I can do anything on my side.

Dave




Http post smsc

2008-08-17 Thread Dave Jong A Lock
Hi all,

Is there any way to receive mo from a http post smsc?

Things in place:

   1. smsc sends messages to my public ip with a specified port like (
   123.123.123.123:9876)
   2. kannel cvs version installed cvs-20080724

But still not receiving, I get an error like:

2008-08-17 11:10:18 [8199] [2] DEBUG: HTTP: Creating HTTPClient for
`987.987.987.987'.
2008-08-17 11:10:18 [8199] [2] DEBUG: HTTP: Created HTTPClient area
0x9a48430.
2008-08-17 11:10:18 [8199] [6] DEBUG: HTTP[smsc]: Got request `/'
2008-08-17 11:10:18 [8199] [6] DEBUG: HTTP[smsc]: Received an HTTP request
2008-08-17 11:10:18 [8199] [6] ERROR: HTTP[smsc]: Authorization failure
2008-08-17 11:10:18 [8199] [6] DEBUG: HTTP[smsc]: Sending reply
2008-08-17 11:10:18 [8199] [6] DEBUG: HTTP: Resetting HTTPClient for
`987.987.987'.
2008-08-17 11:10:18 [8199] [6] DEBUG: HTTP[smsc]: Destroying client
information

They are sending the sms through http post and it's form encoded
(application/x-www-form-encoded). Character encoding is utf-8.

I have been asking a long time now, really need some help here.

Thanks in advance.

Dave


http connecttion error

2008-08-06 Thread Dave Jong A Lock
Hi users,
I have to set up a http connection through xml (is this correct?)

I cannot receive anything from smsc. I get this error;

2008-08-06 14:57:23 [14836] [2] DEBUG: HTTP: Creating HTTPClient for
`***.***.***.***'.
2008-08-06 14:57:23 [14836] [2] DEBUG: HTTP: Created HTTPClient area
0x8b709f0.
2008-08-06 14:57:23 [14836] [6] DEBUG: HTTP[]: Got request `/'
2008-08-06 14:57:23 [14836] [6] DEBUG: HTTP[]: Received an HTTP request
2008-08-06 14:57:23 [14836] [6] ERROR: HTTP[]: Authorization failure
2008-08-06 14:57:23 [14836] [6] DEBUG: HTTP[]: Sending reply
2008-08-06 14:57:23 [14836] [6] DEBUG: HTTP: Destroying HTTPClient area
0x8b709f0.

When I try to send I get the xml specification send back to me.
I have to work with submitSM and submitSM_v2 etc. (I think this should be in
xml format)
How should I achieve this?

Dave


Http connection to smsc

2008-08-05 Thread Dave Jong A Lock
Hi all,

I already posted a question on this problem and got 1 answer, but this is
still not working.

Scenario: I just got a http (xml) connection from the smsc, saying they will
send all incoming sms to my application for me.


my conf:
group = smsc
type = http
system-type = generic
smsc-id = abc
port = 
smsc-username = username
smsc-password = password
status-succes-regex = "ok"
status-permfail-regex = "failure"
status-tempfail-regex = "retry later"


Questions:

What ip and port can/should I give them for this to work?
Is my conf correct or am I missing things?


Dave


http or xml connection to smsc

2008-07-21 Thread Dave Jong A Lock
Hey guys,

Sorry for the last post, forgot to change the subject.

I just want to know if it is possible to connect to smsc with http or xml
(instead of smpp) and if so the bigger question is how?

Dave

-- 
"Never doubt that a small group of committed people can change the world.
Indeed, it is the only thing that ever has."


Re: users Digest, Vol 26, Issue 20

2008-07-21 Thread Dave Jong A Lock
Hey Guys,

I just got a new account with a telcom, but this telcom works with http/xml
connection. Is it possible to make such a connection with kannel and if so,
how?

Dave


php-admin

2008-06-28 Thread Dave Jong A Lock
Hi all,

Can anyone give me the steps to use the php-admin? I have tried copying all
the files in the contrib folder, made the changes in the conf file
accordingly,I can load the page but after that nothing works. the links
work, but no information of my kannel is displayed and using sendsms.php
just returns to the page not sending anything.
I think it has something to do with either the part /cgi-bin (I don't
understand this) or it has to do with the apache settings (what should I
look for?


Help would be appreciated.

Dave


Kannel installation on x64 with dlr support

2008-05-23 Thread Dave Jong A Lock
Hi all,

I wonder what the steps are to install Kannel on an x64 platform (fedora
core 8) with dlr support. I have installed kannel many times before on other
machines, but could never get the dlr (with mysql) to work.
When compiling (--with-mysql) I don't receive any errors. But when running I
don't receive any errors in my logs, but both the bearerbox and the smsbox
stop running.

Thanks for your advice in advance,

Dave




Connect with smsc receive other's esme's messages

2008-03-27 Thread Dave Jong A Lock
Hey guys,

First I had a great connection towards the smsc, then sometimes it started
disconnecting every two hours. Then they told me we can have a double
connection and they started by granting us permission.
After some time when I tried connecting I saw another esme's id.
Last night I not only saw his id I also received his messages (not even
knowing his password I connected to the smsc with his username that is not
configured anywhere in my configuration).
If I look at my bearerbox, I see that I send my username, password to the
smsc and the smsc responds with the others esme username and giving the
error 
2008-03-27 15:34:39 [3854] [16] DEBUG: SMPP PDU 0x8512178 dump:
2008-03-27 15:34:39 [3854] [16] DEBUG:   type_name: bind_transmitter
2008-03-27 15:34:39 [3854] [16] DEBUG:   command_id: 2 = 0x0002
2008-03-27 15:34:39 [3854] [16] DEBUG:   command_status: 0 = 0x
2008-03-27 15:34:39 [3854] [16] DEBUG:   sequence_number: 1 = 0x0001
2008-03-27 15:34:39 [3854] [16] DEBUG:   system_id: "my_id"
2008-03-27 15:34:39 [3854] [16] DEBUG:   password: "my_password"
2008-03-27 15:34:39 [3854] [16] DEBUG:   system_type: ""
2008-03-27 15:34:39 [3854] [16] DEBUG:   interface_version: 52 = 0x0034
2008-03-27 15:34:39 [3854] [16] DEBUG:   addr_ton: 0 = 0x
2008-03-27 15:34:39 [3854] [16] DEBUG:   addr_npi: 0 = 0x
2008-03-27 15:34:39 [3854] [16] DEBUG:   address_range: ""
2008-03-27 15:34:39 [3854] [16] DEBUG: SMPP PDU dump ends.
2008-03-27 15:34:39 [3854] [17] DEBUG: SMPP[lott]: Sending PDU:
2008-03-27 15:34:39 [3854] [17] DEBUG: SMPP PDU 0x8512178 dump:
2008-03-27 15:34:39 [3854] [17] DEBUG:   type_name: bind_receiver
2008-03-27 15:34:39 [3854] [17] DEBUG:   command_id: 1 = 0x0001
2008-03-27 15:34:39 [3854] [17] DEBUG:   command_status: 0 = 0x
2008-03-27 15:34:39 [3854] [17] DEBUG:   sequence_number: 2 = 0x0002
2008-03-27 15:34:39 [3854] [17] DEBUG:   system_id: "My_id"
2008-03-27 15:34:39 [3854] [17] DEBUG:   password: "My_password"
2008-03-27 15:34:39 [3854] [17] DEBUG:   system_type: ""
2008-03-27 15:34:39 [3854] [17] DEBUG:   interface_version: 52 = 0x0034
2008-03-27 15:34:39 [3854] [17] DEBUG:   addr_ton: 0 = 0x
2008-03-27 15:34:39 [3854] [17] DEBUG:   addr_npi: 0 = 0x
2008-03-27 15:34:39 [3854] [17] DEBUG:   address_range: ""
2008-03-27 15:34:39 [3854] [17] DEBUG: SMPP PDU dump ends.
2008-03-27 15:34:49 [3854] [17] DEBUG: SMPP PDU 0x8512178 dump:
2008-03-27 15:34:49 [3854] [17] DEBUG:   type_name: bind_receiver_resp
2008-03-27 15:34:49 [3854] [17] DEBUG:   command_id: 2147483649 = 0x8001
2008-03-27 15:34:49 [3854] [17] DEBUG:   command_status: 8 = 0x0008
2008-03-27 15:34:49 [3854] [17] DEBUG:   sequence_number: 4 = 0x0004
2008-03-27 15:34:49 [3854] [17] DEBUG:   system_id: "otheresme's_id"
2008-03-27 15:34:49 [3854] [17] DEBUG: SMPP PDU dump ends.
2008-03-27 15:34:49 [3854] [17] ERROR: SMPP[lott]: SMSC rejected login to
receive, code 0x0008 (System Error).
2008-03-27 15:34:49 [3854] [17] ERROR: SMPP[lott]: I/O error or other error.
Re-connecting.
2008-03-27 15:34:49 [3854] [17] ERROR: SMPP[lott]: Couldn't connect to SMS
center (retrying in 10 seconds).

After restarting my server and my router I still get this error.

What's the problem???

Dave




DLR - storage problem

2008-03-18 Thread Dave Jong A Lock
Hi,

I'm trying to work with external dlr.
I compiled kannel as explained and used "--with-mysql" and no errors on
compiling. And mysql ... enabled.

Kannel runs fine if I comment out dlr-storage = mysql and dlr-mask =31.

I have the mysql-connection and also the dlr-db group.

When I start kannel, nothing happens (according to bearerbox.log).
So I cannot see why kannel is started and immediately stopped.

Is there a way to troubleshoot this external dlr thing?

I know many people asked about this dlr thing, so I just want to
troubleshoot.

Questions;

How can I see if kannel compiled with the dlr storage?
Should kannel have user right to use mysql (or is this already used in the
mysql-connection group username and password)?

Thanks
Dave




RE: which cells work with kannel

2008-03-17 Thread Dave Jong A Lock
Hi Denis,

I successfully use a sony ericcson t630 with dcu-11 cable (usb cable). 

group = smsc
smsc = at
modemtype = "sonyericsson_T630-T628"
device = /dev/ttyUSB0
validityperiod =167
keepalive = 60

group = modems
id = "sonyericsson_T630-T628"
name = "Sony Ericsson T630-T628?"
init-string = "AT+CNMI=2,3,2,0,0;+cmfg=?"
keepalive-cmd = "AT+CBC;+CSQ;+CMFG=0"
broken = true

I need more from your bearerbox.log to see the complete error.
I had error with the init-string and keepalive-cmd. You can get these from
searching google for the AT-commands this phone of yours supports.

Dave




Some questions

2008-02-07 Thread Dave Jong A Lock
Dear all,

 

I have more then 1 question;

 

1.   Can I have multiple smsboxes for one number to have a sort of load
balancing?

2.   If I have different smsboxes can I also have different logs for all
smsboxes and also different logs for the bearerbox?

3.   When I can make multiple connections to the Telecom with more then
one server, should I also need a hardware device between my adsl and my
servers (something like a router with load balancing support)?

 

Most of my questions are based on load balancing, I don't even know if I
generate enough traffic that I need to start  load balancing, because I
heard Kannel should be able to handle much more sms/sec, but in real life I
haven't been able to do this "yet".

 

Dave



Database slows down my application

2008-01-16 Thread Dave Jong A Lock
Dear friends,

 

Now I'm pretty much sure my db is the reason of my slow responses (sometimes
up to 2 hours delay), in the end resulting in other errors. The db isn't
really big in other terms (only 200mb). But the performance is the issue,
how can I change settings for my db or should I change my perl application?

 

Dave



Problem program

2008-01-11 Thread Dave Jong A Lock
Hi all,

I'm not sure but can this be the problem?

I use a perl script to generate my replies and to store all incoming and
outgoing sms in a mysql db. This db has now grown large to 150mb I think.

I this the reason my bearerbox keeps receiving sms but not sending them to
the smsbox anymore?
Because the db acts to slow and doesn't respond fast enough, keeping the
script running to long (not sending a response to the smsbox fast enough)?

Dave




RE: maximum SMSC kannel support

2008-01-09 Thread Dave Jong A Lock
How many messages can kannel handle at a time?
I have been troubleshooting this the past month. In the beginning I didn't
have any problems, but now I'm receiving thousands of sms an hour and
sometimes the bearerbox keeps receiving, but not sending the sms to the
smsbox (so my application doesn't start) until I restart the server it stays
like this.
Any solutions?

I have already checked the throughput on both sides and I haven't been able
to use the dlr reports yet, because I have to recompile kannel.

Dave




Error starting perl script

2007-12-10 Thread Dave Jong A Lock
My application works fine for more then 6 months now except for one problem
occurring at different times. I think the problem starts with one or more
flooders. So in the kannel.conf I put two extra's, the retries_freq (3) and
the retries_time (120). So after 3 retries is stops sending the sms if the
persons still can't receive the sms. This works fine, because many times I
have seen in the logs that kannel discards messages to these mobile numbers.

But after some time (not always) kannel just continues receiving sms, but
smsbox doesn't receive the messages and the perl script isn't executed
either. I don't know how to explain it in any other way.

Ooh and I have no errors, not in the bearebox log nor in the smsaccess log.

Thanks in advance.

 

Dave

Programmer and Engineer at Victorious Productions

Manager IT

Supervisor Public Relations



Error 0x00000014

2007-10-25 Thread Dave Jong A Lock
 

 

From: Dave Jong A Lock [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 25, 2007 12:10 PM
To: 'users@kannel.org'
Subject: Error 0x0014

 

After searching for solutions to my problems I discovered that my case is a
little different then those of others. I'm getting the error:

SMSCreturned  error  code  0x0014
(MessageQueue  Full)   inresponse to
submit_sm.

 

After trying the suggestions on most blogs and within the mail archive I am
starting to think this is a special error. I tried with the bandwith and
also tried with max_retry, but none of them help. The smsc also put my
throughput higher but this doesn't seem to solve my problem.

 

My problem is like this:

 

1.   One or more mobile numbers send more sms out then they can receive
(they send out 100 and can receive 70)

2.   We reply to all 100 sms

3.   The smsc keeps 10 sms if the persons inbox is full

4.   So this means that 20 sms are not send to the smsc

5.   These come in a gwlist and are send after 60 seconds (if I'm
correct)

6.   I get the error messages more than once (I think until the person
deletes sms from their inbox and all others are send to him)

 

Sometimes Kannel just continues working fine even if these errors occur.

And sometimes Smsbox just stops receiving sms. Both the bearebox and the
smsbox are running and I can see that the bearerbox is receiving sms, but
they are not send to my smsbox. From the kannel.conf my service calls a
script, but this script isn't run either.

 

I hope you can identify this problem and help me with a solution,

 

Dave