RE: Sqlbox performance patch (committed)

2013-08-17 Thread Rene Kluwen
As nobody objected, within one week, I committed this patch to svn. Current revision is 53. ChangeLog: Implemented configuration directives: limit-per-cycle (thanks to Alejandro Guerrieri for the original patch), save-dlr, save-mo, save-mt. Speed improvements for messages sen

Re: [PATCH] Default 'dlr-[url|mask]' for 'group = sms-service' context

2013-08-16 Thread Alexander Malysh
Hi, looks good, got for it... Alex Am 16.08.2013 um 18:04 schrieb Stipe Tolj : > Hi list, > > here is a simple patch that adds the capability to define an "default" DLR > URL and bit mask for the 'group = sms-service', when we use the HTTP response > (or a defined fixed reply string) directl

Re: [Patch] smsc connection status url

2013-08-16 Thread Alexander Malysh
Hi, idea is OK but implementation is wrong. 1) +http_start_request(caller, HTTP_METHOD_GET, url, request_headers, + NULL, 1, NULL, NULL); I'm missing consumer who reads completed requests otherwise you will leak memory. 2) why do you add it to smpp

Re: setting esm-class

2013-08-13 Thread Alan McNatty
Incorrect - it's configurable in svn. Please read the docs online http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN1851 esm-class = 0 On Wed, 2013-08-14 at 09:29 +0400, spameden wrote: > You need to get latest revision from the trunk, edit the file there, > compile and

Re: setting esm-class

2013-08-13 Thread Eric Magutu
Thank you, i shall do that. On Wed, Aug 14, 2013 at 8:29 AM, spameden wrote: > You need to get latest revision from the trunk, edit the file there, > compile and install afterwards. > > > 2013/8/14 Eric Magutu > >> I used the .deb files for my installation and don't seem to be able to >> trace

Re: setting esm-class

2013-08-13 Thread spameden
You need to get latest revision from the trunk, edit the file there, compile and install afterwards. 2013/8/14 Eric Magutu > I used the .deb files for my installation and don't seem to be able to > trace the file. should I uninstall and reinstall from source to be able to > change the file ? >

Re: setting esm-class

2013-08-13 Thread Eric Magutu
I used the .deb files for my installation and don't seem to be able to trace the file. should I uninstall and reinstall from source to be able to change the file ? On Wed, Aug 14, 2013 at 7:57 AM, spameden wrote: > smsc_smpp.c is located in trunk/gw/smsc/smsc_smpp.c. > > > 2013/8/14 Eric Magutu

Re: setting esm-class

2013-08-13 Thread spameden
smsc_smpp.c is located in trunk/gw/smsc/smsc_smpp.c. 2013/8/14 Eric Magutu > Hi, > I am running the following version of kannel >Kannel bearerbox version `1.5.0'. Build `Dec 25 2010 11:25:25', >compiler `4.4.5'. System Linux, release 3.2.0-30-virtual, version >#48-Ubuntu SMP Fri Aug

RE: FW: Sqlbox performance patch

2013-08-11 Thread Rene Kluwen
I figure that the user will get an appropriate error message when max_allowed_packet is not large enough. -Original Message- From: Rinor Hoxha [mailto:rinorho...@gmail.com] Sent: zondag 11 augustus 2013 20:31 To: Rene Kluwen Cc: devel@kannel.org Subject: Re: FW: Sqlbox performance patch

Re: FW: Sqlbox performance patch

2013-08-11 Thread Rinor Hoxha
One more thing to keep in consideration for users. When using very large values for "limit-per-cycle" make sure that "max_allowed_packet" in MySQL config is large enough to support large queries. Br, Rinor

RE: Sqlbox performance patch (with support for foreign_id)

2013-08-11 Thread Rene Kluwen
I know it is not smart to change multiple issues in one development cycle. But I added support for saving the foreign id field in the database at the same time (all backends). This is per request of Stipe Tolj on 05-10-2012. It makes sqlbox backward incompatible without changing the insert table a

Re: Sqlbox performance patch

2013-08-11 Thread Rinor Hoxha
Also on static void sql_list(Boxc *boxc), perform /* convert validity & deferred back to minutes */ only if save_mt == 1 ,(as you do in sql_single), otherwise spare some unnecessary calculations. if (save_mt) { /* convert validity & deferred back to minutes */ if (msg->sms.validity != SMS_PARAM_UN

RE: Sqlbox performance patch

2013-08-11 Thread Rene Kluwen
Rinor, you are right. I changed it and also the two typo's from your other mail. New patch is attached. == Rene -Original Message- From: Rinor Hoxha [mailto:rinorho...@gmail.com] Sent: zondag 11 augustus 2013 17:58 To: Rene Kluwen Cc: devel@kannel.org Subject: Re: Sqlbox perfor

Re: Sqlbox performance patch

2013-08-11 Thread Rinor Hoxha
Call sql_single also when limit_per_cycle == 1 (mysql - for those that want to keep old behavior - would save some resources ) +if (gw_sql_fetch_msg_list == NULL || gw_sql_save_list == NULL || limit_per_cycle == 1) { +sql_single(boxc); +} Br, Rinor

Re: Sqlbox performance patch

2013-08-11 Thread Rinor Hoxha
>From a quick overview, I found 2 typos. You should replace &save_mo with &save_mt and &save_dlr respectively in: +if (cfg_get_bool(&save_mo, grp, octstr_imm("save-mt")) == -1) +save_mt = 1; + +if (cfg_get_bool(&save_mo, grp, octstr_imm("save-dlr")) == -1) +save_dlr = 1; +

RE: [PATCH] opensmppbox: message id generation fix

2013-08-07 Thread Rene Kluwen
Patch committed. Current trunk version is now 74. Note that upgrading a running opensmppbox instance will break dlr's. From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Alexander Kovalenko Sent: woensdag 7 augustus 2013 16:25 To: devel@kannel.org Subject: [PATCH] opensmppbox: message

Re: Another sms-resend-retry thread...

2013-07-30 Thread Alexander Malysh
t seems to add the retry count to the > SMSCCONN_FAILED_TEMPORARILY case for split messages. > Isn't this a fix for that issue? > > > Brian > > From: Alexander Malysh > To: Brian McCavour > Cc: "devel@kannel.org" > Sent: Tuesday, July 30, 2013 3:5

Re: Another sms-resend-retry thread...

2013-07-30 Thread Brian McCavour
Haha Well it was a long time ago afterall! Thats good new, thanks! Brian From: Alexander Malysh To: Brian McCavour Cc: "devel@kannel.org" Sent: Tuesday, July 30, 2013 9:18:16 AM Subject: Re: Another sms-resend-retry thread... Hi, see

Re: Another sms-resend-retry thread...

2013-07-30 Thread Brian McCavour
Brian From: Alexander Malysh To: Brian McCavour Cc: "devel@kannel.org" Sent: Tuesday, July 30, 2013 3:59:36 AM Subject: Re: Another sms-resend-retry thread... Hi, sms-resend-retry is still ignored in 1.5 but 1.5 SMPP has better throughout handling so that this issue may be cons

Re: Another sms-resend-retry thread...

2013-07-30 Thread Alexander Malysh
Hi, sms-resend-retry is still ignored in 1.5 but 1.5 SMPP has better throughout handling so that this issue may be considered as fixed if you configure right throughput for SMPP connection. Tip: Better to use SVN trunk version because we did a lot of changes since 1.5 and it may be considered a

RE: Multi record sending patch

2013-07-26 Thread Rene Kluwen
Interesting. For sure I will look at this patch. From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Rinor Hoxha Sent: donderdag 25 juli 2013 18:56 To: devel@kannel.org Subject: Re: Multi record sending patch Last night i created a new patch as a starting point for sqlbox safety

Re: Multi record sending patch

2013-07-25 Thread Rinor Hoxha
Last night i created a new patch as a starting point for sqlbox safety. 1) It separates log tables adding MO,MT,DLR as suffix (if noone needs it I can remove it) 2) Multiselect (code from the old patch updated and adapted) 3) Messages are deleted/moved from tables only after bearebox acks. There

Re: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-24 Thread spameden
inorho...@gmail.com] > *Sent:* Tuesday, July 23, 2013 5:33 PM > > *To:* Porter, Kelvin > *Cc:* devel@kannel.org; us...@kannel.org > *Subject:* Re: Proposal for Real-time Routing in opensmppbox and bearerbox > > > ** ** > > How about using (implementing or adapt

RE: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-24 Thread Porter, Kelvin
, 2013 5:33 PM To: Porter, Kelvin Cc: devel@kannel.org; us...@kannel.org Subject: Re: Proposal for Real-time Routing in opensmppbox and bearerbox How about using (implementing or adapting) HTTP-based callbacks. So you could implement routing, billing or whatever you may need based on callback responses

Re: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-23 Thread Rinor Hoxha
; > > > "table-smsc" specifies the name of the table/view mapping a message to > a smsc-id, and > > "table-box" specifies the name of the table/view mapping a message to > a (sms)box. > > > > The enhancement is selectively enabled by configuring the

Re: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-23 Thread spameden
> > *To:* Porter, Kelvin > *Cc:* devel@kannel.org; us...@kannel.org > *Subject:* Re: Proposal for Real-time Routing in opensmppbox and bearerbox > > > ** ** > > ** ** > > ** ** > > 2013/7/23 Porter, Kelvin > > Hi, > > > > In th

RE: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-23 Thread Porter, Kelvin
Hi, Responses below. Regards, Kelvin R. Porter From: spameden [mailto:spame...@gmail.com] Sent: Monday, July 22, 2013 6:23 PM To: Porter, Kelvin Cc: devel@kannel.org; us...@kannel.org Subject: Re: Proposal for Real-time Routing in opensmppbox and bearerbox 2013/7/23 Porter, Kelvin

Re: Blocked ports for MO (generic http smsc)

2013-07-23 Thread Brian McCavour
Devel Sent: Tuesday, July 23, 2013 8:52:24 AM Subject: Re: Blocked ports for MO (generic http smsc) I'm still not able to reproduce it with generic http smsc's. I think it must be just a racing condition somewhere when the loading time for smsc is long. I just checked the 1.5.0 s

Re: Blocked ports for MO (generic http smsc)

2013-07-23 Thread Brian McCavour
r thoughts. == Brian From: Brian McCavour To: Andreas Fink Cc: devel Devel Sent: Tuesday, July 23, 2013 7:59:22 AM Subject: Re: Blocked ports for MO (generic http smsc) Each SMSC has its own port.I forgot to mention, this is working off of 1.4.3. Maybe the htt

Re: Blocked ports for MO (generic http smsc)

2013-07-23 Thread Brian McCavour
logs, then I can post the config. From: Andreas Fink To: Brian McCavour Cc: devel Devel Sent: Tuesday, July 23, 2013 2:07:11 AM Subject: Re: Blocked ports for MO (generic http smsc) in this context the key question is if your smsc configs for http s

Re: Blocked ports for MO (generic http smsc)

2013-07-22 Thread Andreas Fink
d all new server > sockets to the FD list in 1 iteration. > > Maybe I am just really misunderstanding what is happening, but my "hack" did > fix the problem, so it must somehow be related. > > What are your thoughts? > > thx, > Brian > > >

Re: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-22 Thread spameden
atabase as well using add-smsc / remove-smsc commands for example. I'm using myself this 2 hooks for failsafe configuration (when 1 of the smsc goes down, I change with sed 'allowed-smsc-id' directive and re-add via remove-smsc, add-smsc commands specific smsc - everything done automati

RE: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-22 Thread Porter, Kelvin
, Kelvin Cc: devel@kannel.org<mailto:devel@kannel.org>; us...@kannel.org<mailto:us...@kannel.org> Subject: Re: Proposal for Real-time Routing in opensmppbox and bearerbox Interesting idea, but what about load on the database? Will it be cached or it's gonna get results from the d

Re: Proposal for Real-time Routing in opensmppbox and bearerbox

2013-07-22 Thread spameden
a message to a > smsc-id, and > > “table-box” specifies the name of the table/view mapping a message to a > (sms)box. > > > > The enhancement is selectively enabled by configuring the parameters above. > > > > > The following existing fields parameter

Re: Blocked ports for MO (generic http smsc)

2013-07-22 Thread Brian McCavour
t: Monday, July 22, 2013 3:37:17 PM Subject: Re: Blocked ports for MO (generic http smsc) If I understand you right, you have some code to run virtually multiple http servers which do different things? You must be aware that gwlib is build the way that it runs multiple threads polling of the sa

Re: Blocked ports for MO (generic http smsc)

2013-07-22 Thread Andreas Fink
If I understand you right, you have some code to run virtually multiple http servers which do different things? You must be aware that gwlib is build the way that it runs multiple threads polling of the same incoming port. In other words if you run on port 80 a min webserver to serve documents,

Re: store-location keep empty folders

2013-07-22 Thread sangprabv
This question should be addressed to users not devel. Those folders will be used for the queue. You may remove it manually but Kannel will always re create it :) On Jul 22, 2013, at 3:13 PM, Qqblog Qqblog wrote: > group = core > store-type = spool > store-location = /etc/kan

Re: Multi record sending patch

2013-07-19 Thread Alexander Malysh
+1 for this patch. Alex Am 18.07.2013 um 17:12 schrieb Rene Kluwen : > Hello Alejandro, > > I found this patch and I consider it useful enough to include in sqlbox trunk. > Is this the latest version? And is it tested well? > > Maybe you have a diff against current trunk. > > == Rene > >

Re: Multi record sending patch

2013-07-18 Thread Alejandro Guerrieri
gt; >> >> >> ** ** >> >> == Rene >> >> ** ** >> >> ** ** >> >> *From:* spameden [mailto:spame...@gmail.com] >> *Sent:* donderdag 18 juli 2013 17:57 >> >> *To:* Rene Kluwen >> *Cc

Re: Multi record sending patch

2013-07-18 Thread Alejandro Guerrieri
Rene, Yes, I wrote that one a long time ago, so there's a good chance it won't apply without some tweaking. As mentioned by other people, there's some challenges regarding the messages that are "in transit" if the app crashes, but you can expect a lot better performance than the single select tha

Re: Multi record sending patch

2013-07-18 Thread spameden
. > > > ** ** > > == Rene > > ** ** > > ** ** > > *From:* spameden [mailto:spame...@gmail.com] > *Sent:* donderdag 18 juli 2013 17:57 > > *To:* Rene Kluwen > *Cc:* Alejandro Guerrieri; kannel_dev_mailinglist devel@kannel.org > *Subj

RE: Multi record sending patch

2013-07-18 Thread Rene Kluwen
ms of performance? == Rene From: spameden [mailto:spame...@gmail.com] Sent: donderdag 18 juli 2013 17:57 To: Rene Kluwen Cc: Alejandro Guerrieri; kannel_dev_mailinglist devel@kannel.org Subject: Re: Multi record sending patch I will wait for your revised patch! currently I'm using A

Re: Multi record sending patch

2013-07-18 Thread spameden
I will wait for your revised patch! currently I'm using Alejandro's patch but on outdated r4968 kannel/sqlbox. 2013/7/18 Rene Kluwen > I could come up with a re-patch. Where the sqlbox_id’s are returned in a > separate list. > > This way, performance can even be b

RE: Multi record sending patch

2013-07-18 Thread Rene Kluwen
I could come up with a re-patch. Where the sqlbox_id's are returned in a separate list. This way, performance can even be boosted by using only 1 delete statement: DELETE FROM WHERE sqlbox_id in (id1, id2, id3, etc..) What do you think? == Rene From: spameden [mailto:

Re: Multi record sending patch

2013-07-18 Thread spameden
+1 for this patch to be included! the only thing is sqlbox deletes record from the database before its sent to the bearerbox, so if sqlbox crashes at this point some messages could be lost. 2013/7/18 Rene Kluwen > Hello Alejandro, > > ** ** > > I found this patch and I consider it useful e

Re: opensmppbox: error compiling latest version

2013-07-18 Thread spameden
Forgot to include list. Answer is below And your question related to users rather than devel list. 2013/7/18 spameden > hi, it's not an official source code for opensmppbox > > check here https://svn.kannel.org/opensmppbox/ > > > 2013/7/18 Qqblog Qqblog > >> i downloaded the latest version fr

Re: opensmppbox: thread terminates when another smpp client (kannel) terminates

2013-07-18 Thread spameden
I think it was a bug in OpenSMPPBox, try updating to the latest SVN version. 2013/7/18 Qqblog Qqblog > i have the following config: > > kannel (smpp client) -> opensmppbox -> kannel -> 3rd party smpp server > > when i quit (unbind) the bearerbox of smpp client (kannel), the > opensmppbox will t

Re: devel Digest, Vol 83, Issue 10

2013-07-17 Thread Rupesh Kr. Sah
body 'help' to devel-requ...@kannel.org You can reach the person managing the list at devel-ow...@kannel.org When replying, please edit your Subject line so it is more specific than "Re: Contents of devel digest..." Today's Topics: 1. unable to ch

RE: unable to change data_coding

2013-07-16 Thread Rene Kluwen
Try to add “&coding=2” to your send-url. == Rene From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Qqblog Qqblog Sent: dinsdag 16 juli 2013 13:52 To: devel@kannel.org Subject: unable to change data_coding i would like to send unicode via http kannel 1.4.3, debian 5 tex

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-07-12 Thread Konstantin Vayner
Hi, I'm sorry, i am not using sqlbox myself so i did not realize sqlbox had to be started before... Just take a look at the script (specifically, *start *sequence is in lines 229 through 241). move the line containing "start-sqlbox" up so it will be before smsbox. that should do the trick. Regard

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-07-12 Thread xoy
I used your script and found the problem in a configuration with sqlbox and smsbox. smsbox starts before sqlbox. -- View this message in context: http://kannel.6189.n7.nabble.com/PATCH-Add-start-stop-box-smsc-store-status-functionality-to-debian-init-script-tp28109p28572.html Sent from the Kan

RE: Question: select smsc based upon receiver number?

2013-07-10 Thread Porter, Kelvin
Hi Rene, Thank you for the response. You accepted my enhancement which is based on this concept. I am very appreciative. Regards, Kelvin R. Porter From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Wednesday, July 10, 2013 5:48 AM To: Porter, Kelvin; devel@kannel.org Subject: RE

RE: Add receiver based smsc-route to opensmppbox

2013-07-10 Thread Rene Kluwen
Subject: RE: Add receiver based smsc-route to opensmppbox Hi, Here is the .diff file as an attachment. Regards, Kelvin R. Porter From: spameden [mailto:spame...@gmail.com] Sent: Monday, July 08, 2013 9:45 AM To: Porter, Kelvin Cc: hbil...@ecommunicate.biz; devel@kannel.org Subject

RE: Question: select smsc based upon receiver number?

2013-07-10 Thread Rene Kluwen
You can modify the function: static Octstr *boxc_route_msg_to_smsc(Boxc *box, Msg *msg) Add a receiver filter to the sender filter and you are done. From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Porter, Kelvin Sent: maandag 1 juli 2013 17:55 To: devel@kannel.org Subject: FW

RE: Add receiver based smsc-route to opensmppbox

2013-07-08 Thread Porter, Kelvin
Hi, Here is the .diff file as an attachment. Regards, Kelvin R. Porter From: spameden [mailto:spame...@gmail.com] Sent: Monday, July 08, 2013 9:45 AM To: Porter, Kelvin Cc: hbil...@ecommunicate.biz; devel@kannel.org Subject: Re: Add receiver based smsc-route to opensmppbox Maybe you could

Re: Add receiver based smsc-route to opensmppbox

2013-07-08 Thread spameden
gt; if (!dict_put_once(smsc_by_sender, item, > octstr_duplicate(smsc_id))) > -panic(0, "Routing for receiver no <%s> already > exists!", > +panic(0, "Routing for sender no <%s> already exists!", >

RE: Add receiver based smsc-route to opensmppbox

2013-07-08 Thread Porter, Kelvin
, octstr_get_cstr(item)); } gwlist_destroy(items, octstr_destroy_item); @@ -2354,6 +2382,9 @@ static void destroy_smsc_routes(void) { +dict_destroy(smsc_by_receiver); +smsc_by_receiver = NULL; + dict_destroy(smsc_by_smsbox_id);

Re: DLR problem & SMS submit speed

2013-07-05 Thread spameden
What kind of connection you've got? Transciever? Try tuning parameter max-pending-submits to 2x of your throughput or more (i.e. = 80 ) 2013/7/5 Alvaro Cornejo > Hi > > dlr is an special MO message; therefore each dlr occupies bandwidth. > If you ask for mask 31 you are requesting "all" availa

Re: DLR problem & SMS submit speed

2013-07-05 Thread Alvaro Cornejo
Hi dlr is an special MO message; therefore each dlr occupies bandwidth. If you ask for mask 31 you are requesting "all" available reports. ie in you are going to receive at least 1 dlr per sms you send. Therefore choose better which dlr you really want to reccord. Regards Alvaro On 7/5/13, G

Re: Add receiver based smsc-route to opensmppbox

2013-07-03 Thread Porter, Kelvin
Hi, I will add the documentation next week. I am on vacation the remainder of this week. Regards, Kelvin R. Porter Sent from my iPhone On Jul 3, 2013, at 5:44 AM, "hbil...@ecommunicate.biz" wrote: > Hi Kevin, > > Yes there is interest for this patch please provide the documentation to >

RE: Add receiver based smsc-route to opensmppbox

2013-07-03 Thread hbilman
Hi Kevin, Yes there is interest for this patch please provide the documentation to enable it to be submitted. We hope the Kannel maintainers will include this useful patch. thanks -- Date: Tue, 2 Jul 2013 13:27:44 -0500 From: "

Re: Timeframes for SMS + Profanity filter

2013-06-18 Thread spameden
>> >> Thanks in advance! >> Regards, >> Teodor. >> >> >> -Original Message- >> From: Rene Kluwen [mailto:rene.klu...@chimit.nl] >> Sent: Monday, June 17, 2013 10:21 PM >> To: 'Alvaro Cornejo'; 'Teodor Arteni' >&

Re: Timeframes for SMS + Profanity filter

2013-06-18 Thread Willy Mularto
to understand > how it works, I don't know from where to start :) > > Thanks in advance! > Regards, > Teodor. > > > -Original Message- > From: Rene Kluwen [mailto:rene.klu...@chimit.nl] > Sent: Monday, June 17, 2013 10:21 PM > To: 'Alvaro Cornejo&#x

Re: Timeframes for SMS + Profanity filter

2013-06-18 Thread spameden
ene.klu...@chimit.nl] > Sent: Monday, June 17, 2013 10:21 PM > To: 'Alvaro Cornejo'; 'Teodor Arteni' > Cc: us...@kannel.org > Subject: RE: Timeframes for SMS + Profanity filter > > There has been a simple patch for SQLBox that does this on the mailinglist > a >

Re: Kannel 1.5 DLR - segmentation fault

2013-05-16 Thread spameden
1. Did you modify kannel source? 2. What's the revision from SVN are you using? Is it latest? 2013/5/16 Andreas Fink > there's two issues to solve here: > a) why are you getting a DLR for a message you have sent but don't > remember. > b) why is it bailing out at this time because this should s

Re: Kannel 1.5 DLR - segmentation fault

2013-05-16 Thread Andreas Fink
there's two issues to solve here: a) why are you getting a DLR for a message you have sent but don't remember. b) why is it bailing out at this time because this should simply ignore the DLR in that case. for b) we need a backtrace, a PANIC log or something like that to find out what is creatin

Re: 500 error in redmine

2013-05-12 Thread Alexander Malysh
fixed Am 12.05.2013 um 18:19 schrieb spameden : > https://redmine.kannel.org/issues/686

Re: [PATCH] Abstraction for config resources, allowing file, URL, pipe, etc.

2013-05-03 Thread Alexander Malysh
age- > From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf > Of Alexander Malysh > Sent: maandag 29 april 2013 18:44 > To: Stipe Tolj > Cc: devel@kannel.org > Subject: Re: [PATCH] Abstraction for config resources, allowing file, URL, > pipe, etc. > >

RE: [PATCH] Abstraction for config resources, allowing file, URL, pipe, etc.

2013-05-02 Thread Rene Kluwen
For http: lynx -dump | bearerbox /dev/stdin -Original Message- From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of Alexander Malysh Sent: maandag 29 april 2013 18:44 To: Stipe Tolj Cc: devel@kannel.org Subject: Re: [PATCH] Abstraction for config resources

Re: [PATCH] Abstraction for config resources, allowing file, URL, pipe, etc.

2013-04-29 Thread Alexander Malysh
Hi, just came across this patch again and find it unnecessary complicated. Why we have to differentiate pipe and file and why we have to tell config_read which type of config to read? For pipe: $ cat config | bearerbox /dev/stdin The same as above foe the file. And for HTTP just define filenam

RE: dlr setup error

2013-04-24 Thread Ahmed Shabana
Just add the id = mydlr To group mysql-connection Ahmed Shabana Mob: +20 (10) 03325373  Email: a.shab...@cequens.com  |  web: www.cequens.com -Original Message- From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of m.mahm...@prestigesolutionco.com

RE: wap client with SAR

2013-04-10 Thread Piotr Galecki
Thank you Alex and Stipe. -Original Message- From: Alexander Malysh [mailto:malys...@gmail.com] On Behalf Of Alexander Malysh Sent: Tuesday, April 09, 2013 12:37 PM To: Piotr Galecki Cc: Stipe Tolj; devel@kannel.org Subject: Re: wap client with SAR Hi, commited to SVN. Alex Am

Re: wap client with SAR

2013-04-09 Thread Alexander Malysh
27; instead. >> 2013-03-20 18:35:02 [11308] [0] INFO: fakewap: starting >> 2013-03-20 18:35:02 [11308] [0] INFO: fakewap: Received WSP Reply with >> status code 200OK >> 2013-03-20 18:35:02 [11308] [0] INFO: fakewap: complete. >> 2013-03-20 18:35:02 [11308] [0] INFO:

Re: wap client with SAR

2013-04-09 Thread Stipe Tolj
Am 20.03.2013 23:45, schrieb Piotr Galecki: Hi Stipe, Attached is the latest patch for fakewap with additional functionality: - parse WSP message and save only the received payload to the output file - support for connectionless get/post - robustness fixes for Post (resend group segments i

Re: wap client with SAR

2013-04-09 Thread Stipe Tolj
Am 09.04.2013 09:24, schrieb Alexander Malysh: Hi, any objections from WAP Experts? patch looks good, +1 for committing. Go ahead Alex ;) Stipe -- --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system archit

Re: wap client with SAR

2013-04-09 Thread Alexander Malysh
best, worst and > average transaction: 0.6 s, 0.6 s, 0.6 s > [root@contentsim11-UE kannel]# > > #4 Connectionless POSTs should also work fine > > Could you integrate with the kannel codebase? > > Thank you, > Piotr > > -Original Message- > Fr

RE: Error with Kannel 1.5.0

2013-04-08 Thread Piotr Galecki
Hi, My understanding is that kannel only supports RSA_anon (anonymous RSA) as a key exchange algorithm. It looks like OpenWave did not offer RSA_anon as a choice. You could confirm that from wireshark trace. Wapbox rejects creation of secure session since both sides could not agree on a common k

Re: Status page not responding, among other things.

2013-03-22 Thread Alexander Malysh
Hi, I would suggest to use SVN version because there were made some fixes in this area. Alex Am 21.03.2013 um 08:14 schrieb Brenton Murray : > Hi all, > > I've been playing with kannel for the last couple of weeks and i'm having a > really hard time to get it to stay fully functional and run

Re: Status page not responding, among other things.

2013-03-21 Thread Alan McNatty
Hi Brenton, To me one consistent message I am hearing is environment (network / comms) issues - mySQL disconnect, monitoring showing up and down .. status slow response. These don't sound like issues with Kannel itself .. but possibly how you are trying to implement it. It could be something like

Re: Problem with send several SMSs with kannel

2013-03-18 Thread Andreas Fink
It is recommended to send every SMS individually as if you specify delivery reports or similar requirements, you need to distinguish every individual SMS from each other. Those things are extremely difficult if you send one message with 1000 destination numbers. Delivery reports will acknowledg

Re: sqlbox on remote address

2013-03-14 Thread Arturo SAnchez
5, 2013 12:07 PM > *To:* Willy Mularto > *Cc:* devel@kannel.org; us...@kannel.org > *Subject:* Re: sqlbox on remote address > > > > Willy, > > > > Yes that's the weird part. > > > > I can even use mysql client and nothing. I can use it for dlr storage but >

Re: sqlbox on remote address

2013-03-14 Thread Willy Mularto
Have you also check max connection allowed, etc? Try to set spool directive in SQLBox, by default it create 10 concurrent connections. Willy Mularto sangpr...@gmail.com On Mar 15, 2013, at 1:36 PM, Arturo SAnchez wrote: > Willy, > > Yes that's the weird part. > > I can even use mysql clie

Re: sqlbox on remote address

2013-03-14 Thread Arturo SAnchez
Willy, Yes that's the weird part. I can even use mysql client and nothing. I can use it for dlr storage but no for sqlbox Someone can explain that? please. Thanks 2013/3/15 Willy Mularto > Have you grant your host in MySQL? > > > Willy Mularto > sangpr...@gmail.com > > On Mar 15, 2013, at 1

Re: sqlbox on remote address

2013-03-14 Thread Willy Mularto
Have you grant your host in MySQL? Willy Mularto sangpr...@gmail.com On Mar 15, 2013, at 1:03 PM, Arturo SAnchez wrote: > Hello > > Yes I already have the port, I think is something more about coding. That's > why I cc devel > - > group = sqlbox > id = sqlbox-db > smsbox-id = sqlbox > #

Re: sqlbox on remote address

2013-03-14 Thread Arturo SAnchez
Hello Yes I already have the port, I think is something more about coding. That's why I cc devel - group = sqlbox id = sqlbox-db smsbox-id = sqlbox #global-sender = "" bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = sent_sms sql-ins

Re: sqlbox on remote address

2013-03-14 Thread Willy Mularto
If you are trying to connect SQLBox to another host make sure you have define port directive in your SQLBox configuration: …. host = 1.2.3.4 port = 3306 …. Willy Mularto sangpr...@gmail.com On Mar 15, 2013, at 12:55 PM, Arturo SAnchez wrote: > Hello All > > You know, I'm experimenting a wei

Re: How to send and received Chinese SMS via kannel

2013-03-13 Thread Stipe Tolj
Am 11.03.2013 09:40, schrieb Ahmed Shabana: I think this is more fit users mailing list correct ;) UCS2 can send any characters from any lang correct. You will use UCS-2 encoding between the SMSC and Kannel, and the application layer (php) to ensure you can transport Chinese characters co

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread Konstantin Vayner
Ok, here's what i've got so far... Sending the file rather than the patch, because basically this is almost a complete rewrite. New vs the previous (patch) version: 1. Added wait for ports on start / shutdown (up until configurable timeout, default is set to 2 minutes, as Alexander suggested). 2.

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread Alexander Malysh
I would suggest to wait for 2 minutes, because I saw some buggy SMSCs that didn't accept unbind pdu. If then bearerbox still running you can send SIGABRT to the process, this ensure that Kannel cleanups pid files. Alex Am 12.03.2013 um 10:33 schrieb Konstantin Vayner : > Looking at your init

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread Konstantin Vayner
Looking at your init script; I can merge these together Question is - what if bearerbox is stuck and does not shut down? I've ran across this before with ucp smscs that were not letting go ;) Regards, Konstantin On Tue, Mar 12, 2013 at 11:25 AM, spameden wrote: > 2013/3/12 Alexander Malysh

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread Konstantin Vayner
I agree, sleep 1 is not a real solution. In many cases bearerbox takes much longer to stop; however, this part is unchanged from the previous state Regards, Konstantin On Tue, Mar 12, 2013 at 11:25 AM, spameden wrote: > 2013/3/12 Alexander Malysh : > > Hi, > > > > patch not tested but the i

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread spameden
2013/3/12 Alexander Malysh : > Hi, > > patch not tested but the idea is good and I'm +1 to commit it. > > Any objections? > > Alex > > Am 12.03.2013 um 00:09 schrieb Konstantin Vayner : > >> This adds some new features to debian init script: >> >> 1. Allow start/stop separate boxes via /etc/init.d/

Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script

2013-03-12 Thread Alexander Malysh
Hi, patch not tested but the idea is good and I'm +1 to commit it. Any objections? Alex Am 12.03.2013 um 00:09 schrieb Konstantin Vayner : > This adds some new features to debian init script: > > 1. Allow start/stop separate boxes via /etc/init.d/kannel {start|stop}-box > boxname > 2. Allow

RE: How to send and received Chinese SMS via kannel

2013-03-11 Thread Ahmed Shabana
I think this is more fit users mailing list UCS2 can send any characters from any lang -Original Message- From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of KC Sent: Monday, March 11, 2013 4:10 AM To: devel@kannel.org Subject: How to send and received Chinese

RE: Validity patch

2013-03-10 Thread Rene Kluwen
Great news! From: Alexander Malysh [mailto:malys...@gmail.com] On Behalf Of Alexander Malysh Sent: zaterdag 9 maart 2013 19:13 To: Rene Kluwen Cc: devel@kannel.org Subject: Re: Validity patch Hi Rene, issue fixed in SVN. Alex Am 05.03.2013 um 10:16 schrieb Alexander Malysh

Re: Validity patch

2013-03-09 Thread Alexander Malysh
Hi Rene, issue fixed in SVN. Alex Am 05.03.2013 um 10:16 schrieb Alexander Malysh : > Hi Rene, > > do you have any update regarding this bug? Can I somehow help you to > reproduce/fix it? > > Alex > > Am 01.03.2013 um 13:03 schrieb Alexander Malysh : > >> Hi Rene, >> >> I don't think that

Re: Validity patch

2013-03-05 Thread Alexander Malysh
Hi Rene, do you have any update regarding this bug? Can I somehow help you to reproduce/fix it? Alex Am 01.03.2013 um 13:03 schrieb Alexander Malysh : > Hi Rene, > > I don't think that should be the issue because message fields are not int > they are long. > > Does anybody has the same issu

RE: wap client with SAR

2013-03-04 Thread Piotr Galecki
retry if wtp ack is not received - do not write wsp header to the output file Thanks, Piotr -Original Message- From: Stipe Tolj [mailto:st...@kannel.org] Sent: Monday, March 04, 2013 5:54 PM Cc: Piotr Galecki Subject: Re: wap client with SAR Am 09.01.2013 15:57, schrieb Stipe Tolj

Re: Send non-GSM alphabet chars

2013-03-01 Thread Alexander Nikolaev
I send to myself. Then I got translated to GSM chars. :( Could you send test "%40%24%5F" to yourself address and then show what received? 2013-03-01 17:51:59 [27086] [6] DEBUG: SMPP[Glosav-SPB]: Got PDU: 2013-03-01 17:51:59 [27086] [6] DEBUG: SMPP PDU 0x7f5ebc004a20 dump: 2013-03-01 17:51:59 [27

Re: Send non-GSM alphabet chars

2013-03-01 Thread Alexander Malysh
Hi, just tested and it works as expected: 2013-03-01 14:28:14 [39437] [8] DEBUG: SMPP PDU 0x7fc811e03a10 dump: 2013-03-01 14:28:14 [39437] [8] DEBUG: type_name: submit_sm 2013-03-01 14:28:14 [39437] [8] DEBUG: command_id: 4 = 0x0004 2013-03-01 14:28:14 [39437] [8] DEBUG: command_status:

<    2   3   4   5   6   7   8   9   10   11   >