Re: sms - dlr bounding

2010-09-17 Thread dorian
Right. But for http connection the kannel's clients is forked (at least it looks like according to the logs: 'DEBUG: HTTP: Creating HTTPClient'). Such fork is almost the same as exec'ing external process. So I prefer exec my script rather than kannel's http client. This way the are no resources co

Re: sms - dlr bounding

2010-09-17 Thread Milan P. Stanic
On Fri, 2010-09-17 at 09:26, dorian wrote: > Right. > But for http connection the kannel's clients is forked (at least it > looks like according to the logs: 'DEBUG: HTTP: Creating HTTPClient'). > Such fork is almost the same as exec'ing external process. How do you know it is fork? It could be t

Invalid DRL Couldnot parse DLR string sscanf way,fallback to old way. Please report!

2010-09-17 Thread Jarratt Ingram
Hi Guys, We have just connected to a Namibian Provider, We are sending message's correctly however we are getting the following error "Couldnot parse DLR string sscanf way,fallback to old way. Please report!", any ideas on how to process the DLR correctly Below is the full debug 2010-09-17

Re: Invalid DRL Couldnot parse DLR string sscanf way, fallback to old way. Please report!

2010-09-17 Thread Mads N. Vestergaard – CoolSMS A/S
Hi Jarratt, For me it looks like your provider isn't following the official protocol. If we look at the message you are sending, they give it the msgid 31D44D55: > 2010-09-17 10:26:34 [16954] [12] DEBUG: message_id: "31D44D55" Later on you receive the DLR, but the ID is only given in the mess

Re: sms - dlr bounding

2010-09-17 Thread dorian
1. See DEBUG line. Even if it is thread it takes time and RAM to create, the thread running take time preparing http request, my http server waste time to handle the request etc. 2. I need dlr feedback > On Fri, 2010-09-17 at 09:26, dorian wrote: > >> Right. >> But for http connection the kannel

Re: Invalid DRL Couldnot parse DLR string sscanf way,fallback to old way. Please report!

2010-09-17 Thread Jarratt Ingram
Hi Mads, Thanks for the response i though it would be as such, the provider is MTC Namibia in case anybody else has the same issue, I have asked them for a response but as usual in Africa Everybody is on African time :) If i get a response i will update the list Thanks Jarratt On 09/17/20

Re: sms - dlr bounding

2010-09-17 Thread Alejandro Guerrieri
Dorian, Kannel uses threads. It doesn't fork. There's a _huge_ difference in terms of cost between a thread and fork. Using "exec" is a very bad idea in terms of performance and security. Regards, Alex On Fri, Sep 17, 2010 at 10:59 AM, dorian wrote: > 1. See DEBUG line. Even if it is thread

Re: sms - dlr bounding

2010-09-17 Thread dorian
Well. I know the difference between fork and pthread_create. Anyway the http client work (even if it is thread not a process) is waste of time for me. Additionally I am forced to have working http server also which also do a silly work for me (taking CPU time and RAM). I am trying to find out the

Re: Invalid DRL Couldnot parse DLR string sscanf way,fallback to old way. Please report!

2010-09-17 Thread Jarratt Ingram
Hi All, I have managed to contact MTC they had to make amendments and we had to split our TX and RX into seperate binds and set the message id type as 0x01 for both. Thanks again Jarratt On 09/17/2010 10:45 AM, "Mads N. Vestergaard – CoolSMS A/S" wrote: Hi Jarratt, For me it looks like y

Re: sms - dlr bounding

2010-09-17 Thread Alejandro Guerrieri
Of course you're free to use whatever setup it fits your taste. I'm just telling that even with the http overhead it'll perform way better than spawning a new process on each SMS you get. Regarding dlr report, if you get the DLR's on sqlbox, you could add a unique identifier inside dlr-url and par

Re: Running Short Codes on Kannel

2010-09-17 Thread mwamba chishimba
Hello Rene, I have tried out what yu suggested and added something else I read but to no avail. See below: Sms-service #Mt Zion group = sms-service keyword = prayer get-url = "http://..."; omit-empty = true allowed-prefix = 4321 allowed-smsc-id =C43211 #accepted-smsc = "C44991;C44992;

Re: multiple default SMS-service's. Is it pos sible?

2010-09-17 Thread Aldo Zavala
Oh... thanks for letting me know, I just corrected to "keyword = default" and it works. One more question, like how can I have Kannel to distinguish between matching default SMS-services? Let's say I have to create one for weather and other for translation just to say something. Thanks, Ald

Re: sms - dlr bounding

2010-09-17 Thread Nikos Balkanas
Better check against the sources. What is printed in the logs (Created & destroyed) are malloc operations, not thread_create or join. If you need to convince yourself, there are 2 numbers in brackets in front of each log message. The first one is pid, the second one is thread id. Thread id does

Re: multiple default SMS-service's. Is it possible?

2010-09-17 Thread Nikos Balkanas
Please read User Guide about configuring sms-service. BR, Nikos - Original Message - From: "Aldo Zavala" To: "Nikos Balkanas" ; Sent: Friday, September 17, 2010 1:29 PM Subject: Re: multiple default SMS-service's. Is it possible? Oh... thanks for letting me know, I just corrected to

message_payload TLV possible Gotcha

2010-09-17 Thread Kyriacos Sakkas
Hi All, Just wanted to put it in the list archive that when using message_payload to send plain text messages via GET from my testing the message body should be double URL encoded, in order to transmit "special" chars such as = and & which have a special meaning with regards to HTTP GET. I haven

Re: Weird binding issue that causes queues to build up.

2010-09-17 Thread brett skinner
Hi We have experienced this problem again. A couple of our binds to one particular smsc (the rest were okay) had connectivity issues last night at 12 AM. The binds were re-established and reported as being online from the status pages. However a queue for one of the binds built up on the bearerbox

Re: message_payload TLV possible Gotcha

2010-09-17 Thread Nikos Balkanas
Hi, Why that? Payload should not be that different than submit in terms of encoding. Are you using an HTTP smsc? BR, Nikos - Original Message - From: "Kyriacos Sakkas" To: Sent: Friday, September 17, 2010 2:34 PM Subject: message_payload TLV possible Gotcha Hi All, Just wanted

Re: multiple default SMS-service's. Is it possible?

2010-09-17 Thread Alvaro Cornejo
If you are going to change this frequently, It would be better if you do send all MO to an specific script and have that script do whatever you want to. This way you don't need to restart kannel each time you make a modification or add a new keyword. |--

Max and Min Client Connections with SMPPbox

2010-09-17 Thread krnrd b
Hi All, How many Max and Min Client (SMPP) Connections SMPPbox can handle ? Regards, KRNRDB

Re: Max and Min Client Connections with SMPPbox

2010-09-17 Thread Nikos Balkanas
AFAIK there is no limit (other than OS limits). BR, Nikos - Original Message - From: krnrd b To: users Sent: Friday, September 17, 2010 5:32 PM Subject: Max and Min Client Connections with SMPPbox Hi All, How many Max and Min Client (SMPP) Connections SMPPbox can handle ? Regards,

Re: multiple default SMS-service's. Is it pos sible?

2010-09-17 Thread Aldo Zavala
I was thinking on that, but really needed an opinion, thanks a way guys!!! Thanks, Aldo Zavala 24/7 (760).890.4221 Mobile (760).556.5050 Office (760).234.0015 - Original Message - From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] To: Aldo Zavala [mailto:a...@cleartalk.net] Cc: u

RE: sms - dlr bounding

2010-09-17 Thread Rene Kluwen
The thing that you might be looking for: If -instead of using smsbox- you use sqlbox to send messages, then you can set dlr-url to whatever you want. It doesn't necessarily have to be a http url. After that, you get your DLR's in the sent_sms table with the value you passed as drl-url. But sinc

RE: Max and Min Client Connections with SMPPbox

2010-09-17 Thread Rene Kluwen
True... min limit is 0... max limit is as many as your system can handle. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Friday, 17 September, 2010 17:27 To: krnrd b; users Subject: Re: Max and Min Client Conne

RE: Running Short Codes on Kannel (fwd)

2010-09-17 Thread Rene Kluwen
Sorry.. Maybe you should look at allowed-receiver-prefix. My bad! == Rene From: Anthony Musaluke [mailto:goof2...@gmail.com] Sent: Friday, 17 September, 2010 16:26 To: mwamba chishimba Cc: Rene Kluwen Subject: Re: Running Short Codes on Kannel (fwd) Mwamba its best if you send whol

supported replacement parameters in get-url versus dlr-url

2010-09-17 Thread Garth Patil
Hi, I'm trying to understand which replacement parameters are supported in the get-url versus the dlr-url. The documentation table doesn't seem to distinguish which parameters are actually available when using the get-url from an sms-service versus sending a DLR to the specified dlr-url. Is there a

how i read messages from SIM card, and how i store the message

2010-09-17 Thread Zaharia Constantin
hy, how i read the message from SIM card and how i store the messages. I want to see when a new message has arrived and store in a database. please help me... best regards, Constantin Zaharia