Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
Hi, Many thanks. I tried and tested it. It works fine for small chunks of data (I can see SMS going out of bbox in a sequence they were entered in send_sms table). However, for large amount of data (e.g. I sent a bulk of 20k SMS via SQLBOX), it does not follow the same rule. Is it bearerbox which

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread spameden
For priority I'd suggest adding a column called priority (typically int(3) integer between 0 and 999) and doing ORDER by that column. Do not forget to add an index as well or it might slow things down! 2013/11/12 ha...@aeon.pk ha...@aeon.pk: Hi, Many thanks. I tried and tested it. It works

RE: DLR NOT UPDATED

2013-11-12 Thread Rene Kluwen
Dear Khan, I just tried your insert query and it worked for me. I got both the dlr-status = 8 and the dlr-status = 1. Maybe your Trans001 smsc doesn’t support delivery reports to that destination. =+= Rene From: users [mailto:users-boun...@kannel.org] On Behalf Of Willy Mularto

RE: opensmpp

2013-11-12 Thread Rene Kluwen
Get a copy of the user guide in the doc directory of opensmppbox. Maybe you need to do a make docs first. == Rene From: users [mailto:users-boun...@kannel.org] On Behalf Of Alok Srivastava Sent: donderdag 31 oktober 2013 7:00 To: users@kannel.org Subject: opensmpp dear list plz help,

RE: Manipulating service-type

2013-11-12 Thread Rene Kluwen
Yes, it is binfo. For incoming messages, use %B in your get-url. From: users [mailto:users-boun...@kannel.org] On Behalf Of Mohammed Saleem Sent: dinsdag 29 oktober 2013 20:44 To: Manuel García Cabrera Cc: kannel-users MailingList Subject: Re: Manipulating service-type Sorry it is binfo

RE: Routing DLR to ESME using OpenSMPPBox

2013-11-12 Thread Rene Kluwen
It should route automatically. Could you share your logs? From: users [mailto:users-boun...@kannel.org] On Behalf Of Amir Mahmoud Sent: maandag 28 oktober 2013 20:38 To: users Subject: Routing DLR to ESME using OpenSMPPBox Dears, I have configured my servers to send from ESME to SMSC

RE: Help Routing from Bearerbox to OpenSMPPBox

2013-11-12 Thread Rene Kluwen
On server 1, use group = smsbox-route with smsbox id set to the system-id (or system-type) of the 1 = 2 connection.l From: users [mailto:users-boun...@kannel.org] On Behalf Of michael osakede Sent: woensdag 23 oktober 2013 15:18 To: users@kannel.org Subject: Help Routing from Bearerbox to

RE: OPENSMPP LOGIN ISSUE

2013-11-12 Thread Rene Kluwen
The system type is case sensitive. From: users [mailto:users-boun...@kannel.org] On Behalf Of michael osakede Sent: woensdag 23 oktober 2013 13:41 To: users@kannel.org Subject: OPENSMPP LOGIN ISSUE Hi, I am having issues login into my opensmppbox from a remote kannel gateway. This

RE: Sms reply.

2013-11-12 Thread Rene Kluwen
Please share your logs. From: users [mailto:users-boun...@kannel.org] On Behalf Of Kelechi Micheals Sent: woensdag 16 oktober 2013 13:00 To: users@kannel.org Subject: Sms reply. Dear friends, I have a working system. It recieves sms and processes well. However I noticed for every sms the

RE: Service type parameter on URL

2013-11-12 Thread Rene Kluwen
Use binfo=CTEST From: users [mailto:users-boun...@kannel.org] On Behalf Of Luis Cavazos Sent: donderdag 3 oktober 2013 18:26 To: users@kannel.org Subject: Service type parameter on URL Hello, Im already working with kannel, but a new Operator has requested to send the service-type

RE: opensmppbox consume a lot of MEM

2013-11-12 Thread Rene Kluwen
Sounds like a memory leak somewhere to me. And/or maybe a race condition. Maybe you can run one time with valgrind running? == Rene From: users [mailto:users-boun...@kannel.org] On Behalf Of Minh Tuan Sent: zaterdag 28 september 2013 5:22 To: users@kannel.org Subject: opensmppbox

RE: smsbox-id

2013-11-12 Thread Rene Kluwen
See group = smsbox-route in the user manual. -Original Message- From: users [mailto:users-boun...@kannel.org] On Behalf Of iqbal Sent: maandag 23 september 2013 11:02 To: 'Kannel Users' Subject: smsbox-id Hi All, i got sqlbox that running well, it can return dlr-url by putting

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
Actually, if my understanding is correct (i.e. SQLBOX is already doing the right thing by giving messages in FIFO order to bbox, but bbox is shuffling the outgoing messages from within its buffer), then there is no point of adding priority column. What do you say? On Tue, Nov 12, 2013 at 6:28

RE: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Rene Kluwen
There's a 'priority' field in the Msg structure. I think it serves for the purpose that you want to. Just it's you cannot set it in the send_sms table. Not sure why, but probably the field was added later. It shouldn't be difficult to add though if anyone wants to send in a patch. == Rene

RE: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Rene Kluwen
But having said the below, sms messages are not guaranteed to arrive in a particular order. The remote smsc may still send out message 2 first, even when they received message 1 first. From: users [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: dinsdag 12 november 2013 15:35

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
This is OK if SMSC does the re-ordering for congestion or some other reasons. But my concern is that messages should at least leave bbox in the same order by which they left the application. Since kannel is not giving me a proper method to sequence the messages, I am forced to use SLEEP method in

RE: DLR NOT UPDATED

2013-11-12 Thread Rene Kluwen
Do you see the dlr coming in, in your bearerbox logs? From: users [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: dinsdag 12 november 2013 14:58 To: 'Willy Mularto'; 'خان ابو زید' Cc: users@kannel.org Subject: RE: DLR NOT UPDATED Dear Khan, I just tried your insert

RE: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Rene Kluwen
If you are going to fiddle with your php code anyhow. A possible solution is to send message 2 whenever the dlr with status = 8 arrives. You don't need a sleep then and you will be sure that the message has been sent out before sending the next one. Just an idea. == Rene From:

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
Yup, I have tried this already. But enabling DLR with remote SMSC comes at the cost of reducing the overall SMS sending speed by half. Meaning, if I have a bandwidth of 100 SMS/sec, enabling DLR will actually give me 50 SMS/sec effective speed, with remaining speed being taken by DLRs.

'Service not found' issue in smsbox logs

2013-11-12 Thread ha...@aeon.pk
Hi, In high traffic conditions, I am often getting this error in smsbox logs: 2013-11-12 20:03:18 SMS HTTP-request sender:+X request: 'Service not found.' url: '' reply: -1 '' While the service is very much in place and working for small traffic loads, I need to understand what's going

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Sebastian Sastre
Just an idea ... Detach the sms process from the apache or HTTP connections. In other words, change your php script to a daemon that keeps running on the background. Then queue your http request into a table and use the daemon to scan that that table and process the request. You can easily do

RE: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Ghulam Mustafa /HQ/NW/Network Engineer
20k SMS will take few seconds then why worry about the sequence since DLR is not available and operator is not going to obey your sequnce/order at all. Sent from Samsung Mobile Original message From: ha...@aeon.pk Date:12/11/2013 8:03 PM (GMT+05:00) To: Rene Kluwen Cc:

Re: Routing DLR to ESME using OpenSMPPBox

2013-11-12 Thread Amir Mahmoud
Hello Rene, Thanks a lot for you reply. below is my configuration files followed by sample of the logs, please let me know for any further details. *Configuration Files* *1)**Kannel.conf* #- # core setup group = core admin-port = 13000

RE: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Rene Kluwen
Also: If you are just enabling dlr = 8 and not dlr = 1, then it is not going to take any bandwidth with your provider. == Rene -Original Message- From: Ghulam Mustafa /HQ/NW/Network Engineer [mailto:g.must...@nadra.gov.pk] Sent: dinsdag 12 november 2013 16:53 To: ha...@aeon.pk; Rene

RE: Routing DLR to ESME using OpenSMPPBox

2013-11-12 Thread Rene Kluwen
Are there even any entries in your dlr table? They should have accumulated by now. What is the sql type of your ts and destination field? Is it at least 12 characters or more? == Rene From: Amir Mahmoud [mailto:amir.mahm...@egyptlinx.com] Sent: dinsdag 12 november 2013 17:25 To: Rene

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
20k is just an example batch I am trying to play around in order to find the solution. My actual bulk is in millions. As for sequence, the application logic is such that it should first send an intro message to the user and then send the actual content message. The intro message has to go before

Re: Sms reply.

2013-11-12 Thread ha...@aeon.pk
Set 'max-messages = 0' in your sms-service group (the one which contains the keyword mapping to incoming traffic). On Tue, Nov 12, 2013 at 7:12 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Please share your logs. *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Kelechi

Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
Can you explain your scenario with an example please? Would be easier to understand what you need. On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin kelvin.por...@h3net.comwrote: Hi, I am writing to insure that I have not overlooked an option. In my application, I have a need to specify

Re: Kannel disconnects with error Error reading from fd 21, won't reconnect

2013-11-12 Thread ha...@aeon.pk
Please check if your VPN with the service provider goes down at the same time when this issue comes. On Mon, Sep 2, 2013 at 4:15 AM, Stefan Gromoll ste...@gromoll.org wrote: Hello, We're having a problem with one of our Kannel binds. Kannel establishes a connection to a carrier and sends

RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Porter, Kelvin
Hi, The scenario is the following... I have customers that are sending HTTP requests to the SMSBox instance to initiate the sending of MT messages. Depending on the intended destination of those messages (i.e., the to/receiver number), I need to direct the message to one set of SMSC links

Re: Routing DLR to ESME using OpenSMPPBox

2013-11-12 Thread Amir Mahmoud
The table is empty, and the type of both ts and destination columns is varchar(40) On Tue, Nov 12, 2013 at 6:34 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Are there even any entries in your dlr table? They should have accumulated by now. What is the sql type of your ts and destination

Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc? On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin kelvin.por...@h3net.comwrote: Hi, The scenario is the following… I have customers that are sending HTTP requests to the SMSBox instance to initiate the sending

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread Alvaro Cornejo
Hi Can't you split your batchs into intro and content messages? Then you can send all your intros and once they are gone send the content message. Another option can be to concatenate them so the phone will reassemble the message in the correct order. Just a couple of ideas. Regards Alvaro

RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Porter, Kelvin
Hi, I did some looking and it appears that I might be able to accomplish what I want using allowed- and/or denied-prefix. The description is a bit ambiguous though, these variables determines whether a SMS message can be sent through. The routing is unclear as to whether the prefix filtering

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread ha...@aeon.pk
I am currently doing the same separate bulks thing, i.e. First running intro bulk and waiting for bbox to clear (painfully manual), and then triggering the content bulk. It is pretty tedious process where I have to manually sit and watch when the first batch is cleared and then trigger the second

Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
I used it long time ago. Cannot recall how exactly I did that. But you need some sort of REGEX combination to route SMS to certain SMSCs, and then putting allowed/denied parameters in place as well. On Tue, Nov 12, 2013 at 11:01 PM, Porter, Kelvin kelvin.por...@h3net.comwrote: Hi, I did

unsubscribe;

2013-11-12 Thread Б-т
*unsubscribe*;

Re: Routing DLR to ESME using OpenSMPPBox

2013-11-12 Thread Amir Mahmoud
No i don't, how could i troubleshoot the dlr record insertion to know whether the problem is related to the insertion or not ? On Tue, Nov 12, 2013 at 7:58 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Then the problem seems to be whilst inserting the messages into the dlr table. Do you

RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Ghulam Mustafa /HQ/NW/Network Engineer
Use forced-smsc in group=sendsms-user Sent from Samsung Mobile Original message From: ha...@aeon.pk Date:12/11/2013 11:09 PM (GMT+05:00) To: Porter, Kelvin Cc: users@kannel.org Subject: Re: SMSC-ID routing based on to/from on SMSBox? I used it long time ago. Cannot recall

Re: Allowed Shortcode

2013-11-12 Thread spameden
Yes, see user-guide, there is allowed-prefix and allowed-prefix-regex directives, as well as denied-prefix and denied-prefix-regex. You can define per smsc. 2013/11/6 michael osakede ire...@yahoo.com: Hi, is there anyway to set allowed-shortcode or receiver-prefic for an smsc? Regards,

Re: Kannel disconnects with error Error reading from fd 21, won't reconnect

2013-11-12 Thread spameden
Connection reset by peer -- usually means connection was abrupted by either bearerbox or remote side. It's weird because the only time I saw kannel shutting down smsc connection if there is login problem (i.e. bad credentials - it won't reconnect automatically). Other than that it should try

Re: SQLBOX working - LIFO or FIFO

2013-11-12 Thread spameden
2013/11/12 ha...@aeon.pk ha...@aeon.pk: This is OK if SMSC does the re-ordering for congestion or some other reasons. But my concern is that messages should at least leave bbox in the same order by which they left the application. Since kannel is not giving me a proper method to sequence the

Re: opensmppbox consume a lot of MEM

2013-11-12 Thread Minh Tuan
Thanks Rene for the reply. Here is the valgrind running result. Actully i blind with this . minhtuan@han-vasplatform-02:/etc/kannel$ sudo valgrind --tool=memcheck --leak-check=full opensmppbox ==29801== Memcheck, a memory error detector ==29801== Copyright (C) 2002-2013, and GNU GPL'd, by Julian