Hi Nikos, I tried to solve the issue by adding denied-sms in sms-group. I have another issue with sms push by http.
see output from smsbox log 2010-06-24 23:35:36 [22654] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2010-06-24 23:35:36 [22654] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 22654. 2010-06-24 23:35:36 [22654] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-06-24 23:35:36 [22654] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 22654. 2010-06-24 23:35:36 [22654] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-06-24 23:35:36 [22654] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 22654. 2010-06-24 23:35:36 [22654] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-06-24 23:35:36 [22654] [0] INFO: Connected to bearerbox at localhost port 18001. 2010-06-24 23:35:36 [22654] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2010-06-24 23:35:36 [22654] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 22654. 2010-06-24 23:38:55 [22654] [2] DEBUG: HTTP: Creating HTTPClient for `217.194.152.8'. 2010-06-24 23:38:55 [22654] [2] DEBUG: HTTP: Created HTTPClient area 0x818ca68. 2010-06-24 23:38:55 [22654] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <217.194.152.8> 2010-06-24 23:38:55 [22654] [3] INFO: sendsms used by <vodacom> 2010-06-24 23:38:55 [22654] [3] INFO: sendsms sender:<vodacom:42888> (217.194.152.8) to:<0819392895> msg:<Hello world> 2010-06-24 23:38:55 [22654] [3] DEBUG: Stored UUID 7800d6a4-f498-4395-9a59-a6013f32cf45 2010-06-24 23:38:55 [22654] [3] DEBUG: message length 11, sending 1 messages 2010-06-24 23:38:55 [22654] [3] DEBUG: Status: 202 Answer: <Sent.> 2010-06-24 23:38:55 [22654] [3] DEBUG: Delayed reply - wait for bearerbox 2010-06-24 23:38:55 [22654] [0] DEBUG: Got ACK (0) of 7800d6a4-f498-4395-9a59-a6013f32cf45 2010-06-24 23:38:55 [22654] [0] DEBUG: HTTP: Resetting HTTPClient for `217.194.152.8'. 2010-06-24 23:39:55 [22654] [1] DEBUG: Timeout for fd:24 appeares. 2010-06-24 23:39:55 [22654] [1] DEBUG: HTTP: Destroying HTTPClient area 0x818ca68. 2010-06-24 23:39:55 [22654] [1] DEBUG: HTTP: Destroying HTTPClient for `217.194.152.8'. ________________________________ De : Nikos Balkanas <[email protected]> À : Marc ANDREAS <[email protected]> Cc : [email protected] Envoyé le : Jeu 24 juin 2010, 16h 15min 16s Objet : Re: Mutli operators with Kannel 1) Still haven't answered this one. Is the SMS sent from the /sendsms HTTP interface (MT, push)? Or is it sent by a mobile (MO)? I am assuming that you are referring to MOs. I can tell you forefront that your problem is not kannel's. You need to debug your system. Probably your web-server is delaying replies. Please post detailed relevant bb &smsbox log of an attempt to a service that didn't return anything, or was 2 late. Bear in mind that you don't have a default service for all as required. You should include another default service without allowed-receiver-prefix. If you send an MO from 41344 you will get nothing in response. If you are referring to MOs use allowed-prefix, instead of allowed-receiver-prefix. Both sender and destination are the same in MOs and sender is surely defined. BR, Nikos ----- Original Message ----- From: Marc ANDREAS To: Nikos Balkanas Cc: [email protected] Sent: Thursday, June 24, 2010 5:29 PM Subject: Re : Mutli operators with Kannel 1) You mention "when I send". Are you referring to push SMS (MT)? Your configuration seems to be more service (MO) oriented. I mean when People send SMS to Kannel. 2) If you are talking about MTs, what is the delay you are referring to? DLR receipts? After sending SMS to Kannel i don't receive any SMS from it. 3) If you are talking about MOs, what is your fastest smsc? Is it service dependent? How can I know the fasted smsc? All of them are working almost with the same speed. Regards. De : Nikos Balkanas <[email protected]> À : Marc ANDREAS <[email protected]> Cc : [email protected] Envoyé le : Jeu 24 juin 2010, 15h 04min 31s Objet : Re: Mutli operators with Kannel Hi, Still haven't answered my questions. Please do. Since your English is not fluent, please use the numbers in the list. Unfortunately my french is poorer than your English. What is a JOK? BR, Nikos ----- Original Message ----- From: Marc ANDREAS To: Nikos Balkanas Cc: [email protected] Sent: Thursday, June 24, 2010 4:33 PM Subject: Re : Mutli operators with Kannel Hi Nikos, I understand your mean and sorry again. I'm a content provider with info, meteo, jok,.... in french. So you understand why my english is bad. I negotiated SMPP connection to all operators in my country and i got them. What i need is People send for example JOK to 42333 and the application return back one JOK. When only one operator is configured People received JOK very quicky. But when i configure 3 operators in my conf file. Sometime People receive JOK, sometime they don't receive that. But they always receive DLR. How can I do to have think working properly with those 3 operators at the same time? Regards, Marc De : Nikos Balkanas <[email protected]> ΐ : Marc ANDREAS <[email protected]> Envoyι le : Jeu 24 juin 2010, 14h 13min 31s Objet : Re: Mutli operators with Kannel Hi Marc, Normally I don't respond to mail from unknown people, but you look like a serious person, who doesn't want to waste my time. Next time please consider that the list is a more appropriate place, since others can benefit and offer insight as well. Please describe context of your problem: 1) You mention "when I send". Are you referring to push SMS (MT)? Your configuration seems to be more service (MO) oriented. 2) If you are talking about MTs, what is the delay you are referring to? DLR receipts? 3) If you are talking about MOs, what is your fastest smsc? Is it service dependent? BR, Nikos ----- Original Message ----- From: Marc ANDREAS To: Nikos Balkanas Sent: Thursday, June 24, 2010 3:06 PM Subject: Mutli operators with Kannel Hi Nikos, First of all I'm really sorry to send you a private email. I want you to help me on my Kannel configuration as I'm very down and blocked now. I'm becoming a content provider in my country where I have SMPP accounts to all operators (4). When I configure only one operator in group = smsc i get very quicky reply from Kannel when I send SMS. But when I configure all operators I'm not able to get content from my application. Can you show me how I can configure more than 1 operator with Kannel to have my application running quickly ? Attached is my kannel configuration file I used. If you need log tell me what i'll send it as i'm really blocked. Regards, Marc
