RE: USB phones (SMS) and Kannel might not work
Hello all, In fact, it is running well, the more difficult is to assign a usb port and map it to a link in kannel. You could do that using the hotplug usb in linux and extract some relevant information in the signature of each usb device. I adapt a script I found in the mailing list and I'm running that with up to 7 usb phones on a same system right now and it is working fine. The usb phone I'm using is Teltonika (new brand name of the nokia 12) I suggest you search in the mailing list, this subject has been threated long time ago. regards -Original Message- From: Raymond Jimenez [mailto:[EMAIL PROTECTED] Sent: lundi 5 mars 2007 21:17 To: users@kannel.org Subject: USB phones (SMS) and Kannel might not work For future users: I've posted here before and have been testing Kannel on how to work with my four USB phones, sending and receiving SMSs, from different operators. I haven't managed to put it to work, as the messages keep going out through phones they shouldn't be going. Behaviour is completely erratic. And all this occurs without even trying to plug/unplug phones... I've seen all the messages regarding Kannel USB and I can only assume it doesn't work... rj _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000721-1, 03/03/2007 Analyse le : 05/03/2007 23:30:07 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: MT messages queue
Hi, Did the different SMPP account are using the same SMSC provider ? Are you going through a router for this connection ? are you limited to NAT port on it ? Regards -Original Message- From: Djiby SY [mailto:[EMAIL PROTECTED] Sent: lundi 21 mai 2007 20:44 To: users@kannel.org Cc: devel Devel Subject: MT messages queue Hi all, I had a problem with bearerbox this morning and I don't see the source of the problem. In fact all MT messages to SMPP smsc1 where queued and stored in file, but all messages to smsc2 and smsc3 were submitted correctely. MO messages are received correctely from smsc1, smsc2 and smsc3. When I look the log file, there is no ERROR message and enquire_link are sent/received correctely. I restarted kannel then all stored MT messages were sent to smsc1. I don't understand why MT messages to smsc1 were queued? and why they were sent immediately after kannel restart? Has someone experienced this phenomenon? Regards -- Djiby _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000742-0, 21/05/2007 Analyse le : 22/05/2007 10:59:24 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: MT messages queue
So it looks it should be a issue with one of your SMPP provider!? Did you setup the connection timeout correctly ? Regards -Original Message- From: Djiby SY [mailto:[EMAIL PROTECTED] Sent: mardi 22 mai 2007 11:42 To: info.ubichip Cc: users@kannel.org; 'devel Devel' Subject: Re: MT messages queue info.ubichip a écrit : Hi, Did the different SMPP account are using the same SMSC provider ? No. I have 3 SMPP account on different smsc provider. Are you going through a router for this connection ? Do you mean internet router? are you limited to NAT port on it ? NO NAT. Thanks -- Djiby _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000742-1, 22/05/2007 Analyse le : 22/05/2007 15:32:12 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Problem with sms-service
Hi, It happened some time if you choose to make the reading from the sim or from the phone. Some phones first put all the sms in the sim and then the memory. So if your sim in not full, the sms is still going in a part kannel is not reading. Another explication is how your sms-service is setup, you have to tell which smsc is allowed for it. Hope that helps -Original Message- From: Yelisarov [mailto:[EMAIL PROTECTED] Sent: mardi 5 juin 2007 19:04 To: users@kannel.org Subject: Problem with sms-service My SMSC is a GSM phone... I recivied the first message to my boxes correctly and reply with the sms-service, but the next message is not recieved for the bearerbox, the message arrives to the phone, but Kannel do nothing :s group = core admin-port = 13000 smsbox-port = 13001 admin-password = log-file = /tmp/kannel.log log-level = 1 box-allow-ip = *.*.*.* wdp-interface-name = * access-log = access.log store-file = almacenado.log group = smsc smsc = at smsc-id = motorola modemtype = e398 device = /dev/ttyACM0 speed = 0 sms-center = +529411410 pin = sim-buffering = true my-number = 9511795326 group = modems id = e398 name = e398 detect-string = e398 init-string = AT+CNMI=3,2,0,0,0 message-storage = OM group = smsbox smsbox-id = caja_sms bearerbox-host = localhost sendsms-port = 13013 global-sender = 9511795326 log-file = /logs/logsmsbox.log log-level = 0 group = sms-service keyword = talk text = I am talk with you group = sendsms-user username = tester password = foobar user-allow-ip = 127.0.0.1 group = smsbox-route smsbox-id = caja_sms smsc-ids = motorola * When I recivied the first messages in the bearebox AT+CPMS=OM^M 2007-06-05 11:44:25 [3505] [6] DEBUG: AT2[motorola]: -- +CPMS: 0,254 2007-06-05 11:44:25 [3505] [6] DEBUG: AT2[motorola]: -- OK 2007-06-05 11:44:25 [3505] [6] INFO: AT2[motorola]: AT SMSC successfully opened. 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: -- AT+CPMS?^M 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: -- +CPMS: OM,0,254,OM,0,254,IM,5,254 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: -- OK 2007-06-05 11:44:33 [3505] [5] INFO: Client connected from 127.0.0.1 2007-06-05 11:44:33 [3505] [5] DEBUG: Started thread 14 (gw/bb_boxc.c:function) 2007-06-05 11:44:33 [3505] [14] DEBUG: Thread 14 (gw/bb_boxc.c:function) maps to pid 3505. 2007-06-05 11:44:33 [3505] [14] DEBUG: Started thread 15 (gw/bb_boxc.c:boxc_sender) 2007-06-05 11:44:33 [3505] [15] DEBUG: Thread 15 (gw/bb_boxc.c:boxc_sender) maps to pid 3505. 2007-06-05 11:44:33 [3505] [14] DEBUG: boxc_receiver: got boxc_id caja_sms from 127.0.0.1 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: -- AT+CPMS?^M 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: -- +CPMS: OM,0,254,OM,0,254,IM,5,254 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: -- OK 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: -- +CMT: ,23 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: -- 0891254901001014F0040A81591141342500117060501154758E05E8B0981D06 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: received message from SMSC: +529411410 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: Numeric sender 9511144352 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: User data length read as (5) 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: Udh decoding done len=5 udhi=0 udhlen=0 udh='' 2007-06-05 11:46:11 [3505] [15] DEBUG: send_msg: sending msg to boxc: caja_sms 2007-06-05 11:46:11 [3505] [15] DEBUG: boxc_sender: sent message to 127.0.0.1 2007-06-05 11:46:11 [3505] [14] DEBUG: boxc_receiver: sms received 2007-06-05 11:46:11 [3505] [14] DEBUG: send_msg: sending msg to boxc: caja_sms 2007-06-05 11:46:11 [3505] [14] DEBUG: boxc_receiver: got ack 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: TP-Validity-Period: 24.0 hours 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: -- AT+CMGS=26^M 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: -- 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: send command status: 1 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: -- 0011000A815911413425A70ED272BC5E9ED341C6709A5D2603 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: -- ^Z 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: -- 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: -- +CMGS: 39 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: -- OK 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: send command status: 0 2007-06-05 11:46:22 [3505] [13] DEBUG: Dumping 0 messages to store * but when I recivied the second messages do nothing In the smsbox I see 2007-06-05 11:46:11 [3551] [4] WARNING: No translation found for talk from 9511144352 to 1234 2007-06-05 11:46:11 [3551] [4] ERROR: request failed 2007-06-05 11:46:11 [3551] [4] DEBUG: message length 14, sending 1 messages 2007-06-05 11:46:11 [3551] [0] DEBUG: Got ACK (0) of b2316659-b197-4d48-bb35-9d83f0b14f1f 2007-06-05
Kannel and Tambur
Hello, I'm currently trying to interface Tambur and Kannel? Does anyone got some feedback on this ? In advance, thanks for your answer _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000773-0, 05/09/2007 Analyse le : 05/09/2007 20:54:29 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: dynamic addition and removal of new smscs
What you could do is to define all the smsc account in one time. But uses start/stop function to enable/disable some route. Regards -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: vendredi 7 septembre 2007 07:44 To: users@kannel.org Subject: Re: dynamic addition and removal of new smscs No, that's not possible. You need to restart kannel if you change the config files. Regards, Alejandro On 9/7/07, tushar [EMAIL PROTECTED] wrote: Hi all, I would like to know whether it is possible to add new SMSC accounts to kannel while it is running and also removing accounts from it. If it is possible then please help me out J Thanks Regards, Tushar Chauhan -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000773-2, 07/09/2007 Analyse le : 07/09/2007 17:56:07 avast! - copyright (c) 1988-2007 ALWIL Software.
Provisionning and billing in Kannel
Hello all, Does anyone got some experience and advice on software or packages to make provisionning and billing for kannel ? I tried to evaluate Tambur that got as well a ineresstant feature of SMS router but because of the lack of cimmunity around it, it looks dead. Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000773-3, 08/09/2007 Analyse le : 09/09/2007 13:47:24 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Provisionning and billing in Kannel
I will do :-) : writing script for kannel looks to be more quick than to make tambur running. By the way, Tambur is suppose to have a billing feature but it look not to be on their interface. Do anyone got some script on kannel such as playsms but more strong for the authentification ? regards _ From: preeteesh kakkar [mailto:[EMAIL PROTECTED] Sent: dimanche 9 septembre 2007 14:08 To: info.ubichip Cc: users@kannel.org Subject: Re: Provisionning and billing in Kannel You can try writing your own custom scripts, the only one i have used is Tambur. yes the support for it is less but it can be configured quite well..! On 9/9/07, info.ubichip [EMAIL PROTECTED] wrote: Hello all, Does anyone got some experience and advice on software or packages to make provisionning and billing for kannel ? I tried to evaluate Tambur that got as well a ineresstant feature of SMS router but because of the lack of cimmunity around it, it looks dead. Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000773-3, 08/09/2007 Analyse le : 09/09/2007 13:47:24 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000773-3, 08/09/2007 Analyse le : 09/09/2007 18:39:20 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kaneel sending messages by it self !!
Please be more accurate and give some logs in order the community could help you. Regards -Original Message- From: longhorn123 [mailto:[EMAIL PROTECTED] Sent: lundi 10 septembre 2007 04:55 To: users@kannel.org Subject: Kaneel sending messages by it self !! hi .. The case with me is whenever a sms is received a request a made is webserver.Now what kannel does is it sends a message Message could not be represented as sms.How can i stop kannel sending this message. -- View this message in context: http://www.nabble.com/Kaneel-sending-messages-by-it-self-%21%21-tf4414082.ht ml#a12591282 Sent from the Kannel - User mailing list archive at Nabble.com. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-1, 10/09/2007 Analyse le : 10/09/2007 11:25:53 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kaneel sending messages by it self !!
Hi, It looks your text content is not encoded, there is a space inside between the word cgpa and hivm. Regards -Original Message- From: longhorn123 [mailto:[EMAIL PROTECTED] Sent: mardi 11 septembre 2007 05:08 To: users@kannel.org Subject: RE: Kaneel sending messages by it self !! 2007-09-10 13:43:18 Receive SMS [SMSC:AT2[/dev/ttyACM0]] [SVC:] [ACT:] [BINF:] [from:+911234] [to:+912345] [flags:-1:0:-1:0:-1] [msg:26:cgpa hivm_a abcd] [udh:0:] 2007-09-10 13:43:23 send-SMS request added - sender:shivam:+9112345 127.0.0.1 target:+911234 request: ' 2006 Monsoon 9.91 2007 Spring 9 ' 2007-09-10 13:43:23 SMS HTTP-request sender:+912345 request: 'Result could not be represented as an SMS message.' url: 'http://localhost/~shivam/sms/distribute.py/distribute?phone=%2B91991234 http://localhost/~shivam/sms/distribute.py/distribute?phone=%2B91991234tex t=cgpa+hivm_a+abcd' text=cgpa+hivm_a+abcd' reply: 200 ' successful ' 2007-09-10 13:43:28 Sent SMS [SMSC:AT2[/dev/ttyACM0]] [SVC:] [ACT:] [BINF:] [from:+912345] [to:+911234] [flags:-1:0:-1:-1:-1] [msg:50:Result could not be represented as an SMS message.] [udh:0:] 2007-09-10 13:43:33 Sent SMS [SMSC:AT2[/dev/ttyACM0]] [SVC:shivam] [ACT:] [BINF:] [from:+912345] [to:+911234] [flags:-1:0:-1:-1:-1] [msg:71:2006 Monsoon 8.91 2007 Spring 9 ] [udh:0:] -- View this message in context: http://www.nabble.com/Kaneel-sending-messages-by-it-self-%21%21-tf4414082.ht ml#a12613232 Sent from the Kannel - User mailing list archive at Nabble.com. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-3, 11/09/2007 Analyse le : 11/09/2007 11:14:38 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: No DLR
Did you put dlr-mask attributes in the url your are using when sending sms ? It the case, the dlr is still sending specially if you put a mask like 31 (all the dlr). Regards _ From: Otandeka Peter [mailto:[EMAIL PROTECTED] Sent: mardi 11 septembre 2007 11:28 To: users@kannel.org Subject: No DLR Hello Guys, Has anyone used the no-dlr parameter in Kannel? I have added it and set it to true i.e. no-dlr=true in smsc group and it is still sending the dlrs.I want them to stop ANyone knows how to stop this? Peter _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-3, 11/09/2007 Analyse le : 11/09/2007 11:28:48 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kannel queue management
Hi, I don't think any operator let you send the priority parameter to their SMSC through SMPP, if yes, they will override your value in any case. What I suggest to you is to put all your regular traffic as lowest priority and so your emergency sms with higher priority. I already using this in Kannel and it is working perfectly whatever we got lot sms in queues. Hope thath helps ! Regards -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: jeudi 13 septembre 2007 18:30 To: users@kannel.org Subject: Re: Kannel queue management I've been checking the source code, and so far I've found that the priority parameter get sent into the SMPP PDU, so at least that wouldn't help in my case, specially since the default priority is zero (the highest, BTW). This parameter seems to be passed as is to the underlying protocol. If I have thousand of messages queued on my side, there won't be any difference setting the priority field. Am I wrong? Anybody can throw some light on this? BTW, I've found an error on the comments on the source code: /* check for any specified priority value in range [0-5] */ if (cfg_get_integer(priority, grp, octstr_imm(priority)) == -1) priority = SMPP_DEFAULT_PRIORITY; else if (priority 0 || priority 3) panic(0, SMPP: Invalid value for priority directive in configuraton (allowed range 0-3).); [0-5] should say [0-3] :) (Sorry this snippet should have gone to the devel list) Regards, Alejandro On 9/13/07, info.ubichip [EMAIL PROTECTED] wrote: Hi, To answer your Q1 and Q4:as far as I know, the priority parameter interact directly with the kannel queue, that means a message with a higher priority is sent quicker than previous one. I'm using it to pass debug and emergency sms in case of failure of one server. To determine if 0 is the highest or the lowest, you have to test or take a look in the source code ;-) BR -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: jeudi 13 septembre 2007 09:45 To: users@kannel.org Subject: Kannel queue management Hi, I'm facing some problems with carrier's connections due to limited throughput on their part. It's not really a kannel problem, the SMSC connection has a lower throughput, so at peak hours we experience message queueing. The problem is, we need some messages to get sent as soon as posible, but when we have thousands of messages queued for delivery there's a significant delay (it may be hours from the time of queueing). So my question is: is there any way to handle individual message's priority at sending time? My goal is to be able to enqueue some messages with critical priority and they should be sent asap. I've checked the user guide and found the priority parameter: prioritynumber Optional. Sets the Priority value (range 0-3 is allowed). This leads to some questions: 1. Do this parameter affect the queuing of outgoing messages inside kannel as I expect it to be, or it's just a parameter being passed as part of the PDU? 2. Which priority gets set by default if the paremeter is missing? 3. Which one is the highest (zero I guess?) 4. Does it work for SMPP and HTTP connections as well? Thank you in advance, Alejandro. -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-5, 13/09/2007 Analyse le : 13/09/2007 12:40:55 avast! - copyright (c) 1988-2007 ALWIL Software. -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-5, 13/09/2007 Analyse le : 13/09/2007 20:43:30 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kannel queue management
I cannot answering directly in reference with the source code but what I could tell you that we are using this feature sometime with the kannel gateway I got, and the feature is working fine. We send periodically some test sms in order to valid the quality of service of the queue. We put high priority on them and they always become on the top when we submit them whatever could be the queue size. So I suggest you make some tests and so you will be able to see if it is running ;-) Hope I give you some help. -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: vendredi 14 septembre 2007 09:33 To: info.ubichip Cc: users@kannel.org Subject: Re: Kannel queue management The priority flag is part of the SMPP specs and gets set using the priority parameter. I agree with you, I don't think that any SMSC would base his internal priority queue on my behalf. What I didn't find (yet, at least) is any actions being take by kannel in spite of the priority setting. I mean, I see it's being passed on the SMPP PDU, but I don't see any actions being take on kannel's internal queueing. Under this scenario, if I have thousands of messages queued on the store file, setting higher priority to a new message won't make any difference. Am I correct here or am I missing something? Thank you in advance, Alejandro On 9/14/07, info.ubichip [EMAIL PROTECTED] wrote: Hi, I don't think any operator let you send the priority parameter to their SMSC through SMPP, if yes, they will override your value in any case. What I suggest to you is to put all your regular traffic as lowest priority and so your emergency sms with higher priority. I already using this in Kannel and it is working perfectly whatever we got lot sms in queues. Hope thath helps ! Regards -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: jeudi 13 septembre 2007 18:30 To: users@kannel.org Subject: Re: Kannel queue management I've been checking the source code, and so far I've found that the priority parameter get sent into the SMPP PDU, so at least that wouldn't help in my case, specially since the default priority is zero (the highest, BTW). This parameter seems to be passed as is to the underlying protocol. If I have thousand of messages queued on my side, there won't be any difference setting the priority field. Am I wrong? Anybody can throw some light on this? BTW, I've found an error on the comments on the source code: /* check for any specified priority value in range [0-5] */ if (cfg_get_integer(priority, grp, octstr_imm(priority)) == -1) priority = SMPP_DEFAULT_PRIORITY; else if (priority 0 || priority 3) panic(0, SMPP: Invalid value for priority directive in configuraton (allowed range 0-3).); [0-5] should say [0-3] :) (Sorry this snippet should have gone to the devel list) Regards, Alejandro On 9/13/07, info.ubichip [EMAIL PROTECTED] wrote: Hi, To answer your Q1 and Q4:as far as I know, the priority parameter interact directly with the kannel queue, that means a message with a higher priority is sent quicker than previous one. I'm using it to pass debug and emergency sms in case of failure of one server. To determine if 0 is the highest or the lowest, you have to test or take a look in the source code ;-) BR -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: jeudi 13 septembre 2007 09:45 To: users@kannel.org Subject: Kannel queue management Hi, I'm facing some problems with carrier's connections due to limited throughput on their part. It's not really a kannel problem, the SMSC connection has a lower throughput, so at peak hours we experience message queueing. The problem is, we need some messages to get sent as soon as posible, but when we have thousands of messages queued for delivery there's a significant delay (it may be hours from the time of queueing). So my question is: is there any way to handle individual message's priority at sending time? My goal is to be able to enqueue some messages with critical priority and they should be sent asap. I've checked the user guide and found the priority parameter: prioritynumber Optional. Sets the Priority value (range 0-3 is allowed). This leads to some questions: 1. Do this parameter affect the queuing of outgoing messages inside kannel as I expect it to be, or it's just a parameter being passed as part of the PDU? 2. Which priority gets set by default if the paremeter is missing? 3. Which one is the highest (zero I guess?) 4. Does it work for SMPP and HTTP connections as well? Thank you in advance, Alejandro. -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base
RE: charset=iso-8859-1 coding=1
Yes, you could try it. Otherwise the first thing to test it to encode the text you put in the http request! Hope that helps -Original Message- From: Nicolas de Bari Embriz Garcia Rojas [mailto:[EMAIL PROTECTED] Sent: dimanche 16 septembre 2007 21:46 To: info.ubichip Cc: users@kannel.org Subject: Re: charset=iso-8859-1 coding=1 No, do you mean to send an empty text and all the coded string on the udh (160chars) ? regards On Sep 15, 2007, at 11:50 PM, info.ubichip wrote: Hi, Did you try to make it as encoded in the UDH ? br -Original Message- From: Nicolas de Bari Embriz Garcia Rojas [mailto:[EMAIL PROTECTED] Sent: samedi 15 septembre 2007 15:55 To: users@kannel.org Subject: charset=iso-8859-1 coding=1 Hello, I am trying to send some accented words, for doing that i use the following url http://khost:kport:/cgi-bin/sendsms? user=userpassword=passto=9911223344text=áéíóúsmsc=BETAcharset=iso -8 859-1coding=1 kannel sends the text áéíóú coded but some nokia phones (n73) when receiving the messages get a messages saying Unknown format can not open the message Any idea on how to fix that, or what is the correct coding for sending accented words? regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000774-7, 15/09/2007 Analyse le : 15/09/2007 21:50:53 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000775-0, 16/09/2007 Analyse le : 16/09/2007 22:02:23 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Deleting Received SMS from Kannel Modem
Hello, Could you please precise if you are using the memory from the modem or the sim memory in your kannel configuration ? I noticed something in some modem from nokia, whatever you tell kannel to use the handset memory, you have to wait until the sim sms memory is full before the read delete process is working fine in kannel. It is not a big issue if you are using dlr because in this case, the sim memory is filling very quickly. By the way I noticed another issues with sim card, it appears the sim card become buggy after a long usage (thousands of sms), do anyone got this issue as well ? Hope that help _ From: preeteesh kakkar [mailto:[EMAIL PROTECTED] Sent: mardi 18 septembre 2007 11:47 To: users@kannel.org; [EMAIL PROTECTED] Subject: Deleting Received SMS from Kannel Modem Hi All, I have a Kannel Gateway configured but my modem doesn't deletes any sms it receives. I want to delete a sms as soon as its received. I read that i need to send AT+CMGD=1,4 to delete all sms. Can someone tell me where i can do this in kannel and how can i have sms deleted from modem as soon as its received. Thanks. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000775-1, 17/09/2007 Analyse le : 18/09/2007 13:16:18 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Deleting Received SMS from Kannel Modem
From the Kannel guide, take a look in this 2 parameters : sim-buffering boolean Whether to enable the so-called SIM buffering behavior of the GSM module. if assigned a true value, the module will query the message storage memory of the modem and will process and delete any messages found there. this does not alter normal behavior, but only add the capability of reading messages that were stored in the memory for some reason. The type of memory to use can be selected using the 'message-storage' parameter of the modem configuration. Polling the memory is done at the same interval as keepalive (if set) or 60 seconds (if not set). NOTE: This behavior is known to cause minor or major hiccups for a few buggy modems. Modems known to work with this setting are Wavecom WM02/M1200 and the Siemens M20. message-storage string Message storage memory type to enable for SIM buffering. Possible values are: SM - SIM card memory or ME - Mobile equipment memory (may not be supported by your modem). check your modem's manual for more types. By default, if the option is not set, no message storage command will be sent to the modem and the modem's default message storage will be used (usually SM). Hope I help _ From: preeteesh kakkar [mailto:[EMAIL PROTECTED] Sent: mardi 18 septembre 2007 13:23 To: info.ubichip Cc: users@kannel.org; [EMAIL PROTECTED] Subject: Re: Deleting Received SMS from Kannel Modem Hi, Thanks for reply can you tell me how can i check which i am using i.e. modem memory or sim memory. How can i tell kannel which to use? On 9/19/07, info.ubichip [EMAIL PROTECTED] wrote: Hello, Could you please precise if you are using the memory from the modem or the sim memory in your kannel configuration ? I noticed something in some modem from nokia, whatever you tell kannel to use the handset memory, you have to wait until the sim sms memory is full before the read delete process is working fine in kannel. It is not a big issue if you are using dlr because in this case, the sim memory is filling very quickly. By the way I noticed another issues with sim card, it appears the sim card become buggy after a long usage (thousands of sms), do anyone got this issue as well ? Hope that help _ From: preeteesh kakkar [mailto:[EMAIL PROTECTED] Sent: mardi 18 septembre 2007 11:47 To: users@kannel.org; [EMAIL PROTECTED] Subject: Deleting Received SMS from Kannel Modem Hi All, I have a Kannel Gateway configured but my modem doesn't deletes any sms it receives. I want to delete a sms as soon as its received. I read that i need to send AT+CMGD=1,4 to delete all sms. Can someone tell me where i can do this in kannel and how can i have sms deleted from modem as soon as its received. Thanks. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000775-1, 17/09/2007 Analyse le : 18/09/2007 13:16:18 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000775-2, 18/09/2007 Analyse le : 18/09/2007 13:31:14 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Problem with Kannel Thread
Could you please be more precise in your request ? What is making your interface ? regards -Original Message- From: Martin Rodriguez [mailto:[EMAIL PROTECTED] Sent: vendredi 28 septembre 2007 13:26 To: users@kannel.org Subject: Problem with Kannel Thread Hi. I have any problem with the thread kannel. We make an interface in C, this interface sent the hits to other app server php. I can see that the process had any delay to run. Any know the problem about Kannel Thread?. The interface implement -- msg.h and gwlib.h My kannel version is 1.3, kannel run over Linux, kernel 2.6.15 Thk Martin - _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000777-2, 28/09/2007 Analyse le : 28/09/2007 13:32:24 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Store Growing
Hi Mathieu, Some answer to your questions : 1/ it could be retrie but if no route are found, they stay until you restart Kannel and so Kannel will retry them 2/ yes, find the files kannel.store and kannel.store.bak , delete them and restart kannel Hope that help _ From: Mathieu Bruneau [mailto:[EMAIL PROTECTED] Sent: vendredi 28 septembre 2007 11:34 To: users@kannel.org Subject: Store Growing Hi, I currently have my kannel store that contains about 300 messages. I found out yesterday that some of them were quite old ( 2 months ). 1) For those messages, when are they retried to be sent? On restart or is there some trigger inside Kannel that makes it retry them? 2) Is there a way to clean, let's say, the one older than 7 days? Or configured an automatic expiracy on the SMS ? Regards, --- Mathieu Bruneau _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000777-2, 28/09/2007 Analyse le : 28/09/2007 13:31:37 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: virtual smsc
Hi Serge, First of all, make some basics verification such as : - is your modem is connected on the good tty, it could be verified using minicom and basic command such as ATZ, please refer to minicom help page for details informations, - is your modem got the pin sim card ? Hope that help -Original Message- From: Beaulois serge Yoboué [mailto:[EMAIL PROTECTED] Sent: mardi 2 octobre 2007 13:39 To: users@kannel.org Subject: virtual smsc Hello I need help I can not send sms using a virtual smsc My modem is Wavecom When I send sms message This error appear in bearerbox terminal 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: TP-Validity-Period: 24.0 hours 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -- AT+CMGS=34^M 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -- 001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964 2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -- ^Z 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -- ERROR 2007-10-02 22:36:22 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status: -1 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -- AT+CMGS=34^M 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1 2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -- 001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964 2007-10-02 22:36:23 [9337] [6] DEBUG: AT2[smsserver]: -- ^Z 2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: -- ERROR 2007-10-02 22:36:28 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR 2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: send command status: -1 2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: -- AT+CMGS=34^M 2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1 2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: -- 001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964 2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: -- ^Z 2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: -- 2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: -- ERROR 2007-10-02 22:36:34 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR 2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: send command status: -1 Please help me This my conf file # Fichier de config pour Modem GSM connecte sur le port /dev/ttyS0 group = core admin-port = 13000 smsbox-port = 13001 admin-password = abc #status-password = foo #admin-deny-ip = admin-allow-ip = log-file = kannel.log log-level = 0 box-deny-ip = box-allow-ip = 127.0.0.1 #unified-prefix = +225 #http-proxy-host = 127.0.0.1 #http-proxy-port = 8081 sms-resend-freq = 2 sms-resend-retry = -1 #maximum-queue-length =-1 access-log = access.log #store-file = bearer.store #wdp-interface-name = '*' #ssl-certkey-file = mycertandprivkeyfile.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem include = /etc/kannel/modem.conf # SMSC CONNECTIONS # Groupe permettant à un modem de se connecter comme un centre de service data virtuel group = smsc smsc = at host = localhost port = 13013 smsc-id = smsserver modemtype = wavecom sms-center = +22566277851 #sms-center = +22507523046 device = /dev/ttyS0 speed = 9600 #pin = 1234 #sim-buffering = true #validityperiod = 167 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 15013 global-sender = +22566277851 sendsms-chars = 0123456789 +- log-file = smsbox.log log-level = 0 access-log = access.log sendsms-url = /cgi-bin/sendsms # SEND-SMS USERS group = sendsms-user username =foot password = nfoot #user-deny-ip = #user-allow-ip = #name = service_kannel #forced-smsc = wavecom #user-deny-ip = #user-allow-ip = *.*.*.* max-messages = 3 concatenation = true # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000778-1, 02/10/2007 Analyse le : 02/10/2007 18:10:58 avast! - copyright (c) 1988-2007 ALWIL Software.
RE:
Hi Serge, Please be more precise in your request if you want the community answer you. Precise at least the type of connection (SMPP, AT modem...) and your need. Regards -Original Message- From: Beaulois serge Yoboué [mailto:[EMAIL PROTECTED] Sent: mardi 2 octobre 2007 14:14 To: users@kannel.org Subject: Hello Please How can I set my operator smsc in kannel.conf file _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000778-1, 02/10/2007 Analyse le : 02/10/2007 16:32:44 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Logrotate.d
Whatever your log rotate size is, you will have to « hold » kannel in order to change the destination of the log. I am making a log rotate each day for convenient archive, I suggest you not to have to much big log file in order not to slow down your system. Hope that help Regards _ From: Djiby SY [mailto:[EMAIL PROTECTED] Sent: mercredi 10 octobre 2007 02:21 To: Rolandow Cc: users@kannel.org Subject: Re: Logrotate.d Hi Rolandow, Here is my logrotate.d script for kannel log files /your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log { daily missingok rotate 100 size=50M compress delaycompress olddir /your_path/oldlogs notifempty create 640 root root sharedscripts postrotate killall -HUP bearerbox sqlbox smsbox || true /dev/null 2 /dev/null endscript } Hope it helps. Regards -- Djiby Rolandow a écrit : Hi All, Could somebody post his (working) logrotate.d script? I am rotating my logfiles, but after the rotation, Kannel doesn't seem to write them anymore. Currently I let logrotate create the new script after logrotation. How can I logrotate the logs without interrupting Kannel? Thanks! _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000780-1, 10/10/2007 Analyse le : 10/10/2007 11:26:10 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: is there a way to send sms text from mysql db??
Hi, You could use directly send_sms table. Hope that helps _ From: Michael Habashy [mailto:[EMAIL PROTECTED] Sent: vendredi 12 octobre 2007 16:49 To: users@kannel.org Subject: is there a way to send sms text from mysql db?? Can i send sms messeges from mysql ? I would like to get a better way of tracking messeges that get sent out via kannel. There is no error handlign...that i can see in kannel to help that along. thanks mjh _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000780-2, 11/10/2007 Analyse le : 12/10/2007 19:13:09 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: 150 sms/sec through kannel
What type of backend program are you using ? thanks _ From: shehan [mailto:[EMAIL PROTECTED] Sent: dimanche 14 octobre 2007 23:05 To: 'Vahid Ghafarpour' Cc: users@kannel.org Subject: RE: 150 sms/sec through kannel Tx a lot for info. Backend program can be handle upto 300 sms/sec. So my target can be achieve using kannel. Br, Shehan -Original Message- From: Vahid Ghafarpour [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 11:30 AM To: shehan Cc: users@kannel.org Subject: Re: 150 sms/sec through kannel My through put in pick time is over 500 mps (MT+MO) but you need a good backend program to handle it. On 10/15/07, shehan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I need to push 150 sms/sec through kannel. Can I do that using kannel ?? BR, Shehan -- --Vahid Ghafarpour. http://vahid.ghafarpour.ir/ vahid at ghafarpour dot ir ghafarpour at gmail dot com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000781-1, 14/10/2007 Analyse le : 14/10/2007 23:49:12 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: mv file
Sorry, please do not post any NO RELATIVE Kannel subject to this mailing list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 19 octobre 2007 13:27 To: users@kannel.org Subject: Re: mv file Hi all This is not a kannel issue, but I need your assistance. I am using linux red hat. I mistakinly move all files in my root directory to anotehr directory - mv /* /var/www. Nothing works. Plese how can I move the files back. Thanks. Ismail - Original Message - From: info.ubichip [EMAIL PROTECTED] To: 'Alexander Bukharin' [EMAIL PROTECTED]; users@kannel.org Sent: Friday, October 19, 2007 6:30 AM Subject: RE: Delete old messages from store-file Yes definetly, You only have to delete the kannel.store and kannel.store.bak according your kannel.conf The first one is used by kannel as the true store, the .bak is used in case of crash for persistence. Hope that help Ps : you have to stop the kannel process to do that -Original Message- From: Alexander Bukharin [mailto:[EMAIL PROTECTED] Sent: jeudi 18 octobre 2007 21:33 To: users@kannel.org Subject: Delete old messages from store-file Hi! I'm using kannel with GSM modem. For some reason kannel can't send some messages and they remain in the store-file. I can see it with /store-status. But when I restart kannel it begins to send these messages even if they are quite old and there is validityperiod = 6 (35 minutes) in smsc group in kannel.conf. Is it possible to delete old messages from store-file, or to patch kannel so it wouldn't resend messages if they older then validity-period? Here is the situation when message get stuck in the store-file: 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: TP-Validity-Period: 35 minutes 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: -- AT+CMGS=54^M 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: -- 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: -- 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: send command status: 1 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: -- 0011000B320020 2007-10-17 20:21:39 [3736] [7] DEBUG: AT2[gsm1]: -- ^Z 2007-10-17 20:22:00 [3736] [7] DEBUG: AT2[gsm1]: send command status: -1 2007-10-17 20:22:00 [3736] [7] DEBUG: AT2[gsm1]: -- AT+CMGS=54^M 2007-10-17 20:22:00 [3736] [7] DEBUG: AT2[gsm1]: -- 2007-10-17 20:22:00 [3736] [7] DEBUG: AT2[gsm1]: -- OK 2007-10-17 20:22:00 [3736] [7] DEBUG: AT2[gsm1]: send command status: 0 _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000782-2, 18/10/2007 Analyse le : 18/10/2007 22:30:20 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000782-3, 19/10/2007 Analyse le : 19/10/2007 13:32:29 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Panic on running several copies of kannel Cannot bind socket UPDsocket
Hi, First type netstat -all | grep 9200 Then if multiple instances of the box are running , make it kill by Killall -9 bearerbox and so on Then in order to have multiple smpp account, copy paste the group smsc as many you want. Regards -Original Message- From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: jeudi 18 octobre 2007 19:55 To: users@kannel.org Subject: Re: Panic on running several copies of kannel Cannot bind socket UPDsocket You should be able to rule out that with netstat or lsof, of course. Regards, Alejandro On 10/19/07, Ben Williamson [EMAIL PROTECTED] wrote: Have you tried rebooting the box? I've encountered that same issue when bearbox does not exit cleanly, leaving the port in use even though the app has died. -Ben On Oct 19, 2007, at 4:02 AM, oscar cassetti wrote: Hello, thanks for fast reply On 10/19/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Please post configuration files. The port 9200 should be configured somewhere right? Maybe is the wapbox port? You cannot bind two processes to same port on same IP, of course. Indeed, I am looking for any parameter to specify the udp port first configuration--- # Core group. group = core admin-port = 13000 smsbox-port = 13001 admin-password = admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = xxx.xxx.xx.xx access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store dlr-storage = mysql # # The SMSCs. # # , config group = smsc smsc = smpp smsc-id = host = xx.xxx.135.201 port = 8011 smsc-username = xx smsc-password = system-type = SMPP source-addr-ton = 1 # source-addr-ton = 5 source-addr-npi = 1 # source-addr-npi = 8 dest-addr-ton = 1 # dest-addr-ton = 1 dest-addr-npi = 1 dest-addr-npi = 1 interface-version = 34 #alt-charset = HPROMAN8 alt-addr-charset = GSM msg-id-type = 0x00 --Second conf group = core admin-port = 13010 smsbox-port = 13011 admin-password = admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /scratch/run/log/bearerbox.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = x access-log = /scratch/run/log/access.log store-file = /scratch/run/log/kannel.store group = smsc smsc-id = xxx2 smsc = smpp host = xxx.xxx.239.181 port = 2775 smsc-username = smsc-password = x system-type = phorest source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 # transceiver-mode is only an option with SMPP version 4.3. interface-version = 34 transceiver-mode = 1 ---Third one (not running)--- # Core group. group = core admin-port = 13020 smsbox-port = 13021 admin-password = admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 wdp-interface-name = * log-file = /var/log/kannel-xxluk/bearerbox.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = xxx access-log = /var/log/kannel-xxxuk/access.log store-file = /var/log/kannel-xxxuk/kannel.store dlr-storage = mysql # # The SMSCs. # # HSL, config group = smsc smsc = smpp smsc-id = xxxuk host = xx.xx.xx.xx.201 port = 8011 smsc-username = x smsc-password = x system-type = SMPP source-addr-ton = 1 # source-addr-ton = 5 source-addr-npi = 1 # source-addr-npi = 8 dest-addr-ton = 1 # dest-addr-ton = 1 dest-addr-npi = 1 dest-addr-npi = 1 interface-version = 34 #alt-charset = HPROMAN8 alt-addr-charset = GSM msg-id-type = 0x00 Oscar -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000782-2, 18/10/2007 Analyse le : 18/10/2007 20:03:16 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: building sqlbox
Hi, If the configure process is not finding the path of kannel, you have to tell it with options like you build kannel before. Hope that helps _ From: Aaron Simmons [mailto:[EMAIL PROTECTED] Sent: lundi 22 octobre 2007 06:35 To: users@kannel.org Subject: building sqlbox I've re-built kannel 1.4.1 by doing a configure with these options --with-mysql --with-mysql-dir=/usr/local/mysql --with-dlr=mysql --enable-mysql-dlr --enable-start-stop-daemon followed by a make and a 'sudo make install'. Now I'm trying to build sqlbox-standalone. However, the configure is failing on: checking Kannel version... 1.4.1 checking Kannel libs... -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lresolv -lm -lpthread -liconv -L/sw/lib -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -L/usr/lib -lcrypto -lssl -L/usr/local/mysql/lib -lmysqlclient_r -lz -lm checking Kannel includes... -I/usr/local/include/kannel -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include -I/sw/include/libxml2 -I/sw/include -I/usr/include/openssl -I/usr/local/mysql/include *checking for cfg_create in -lgwlib... no* *configure: error: Kannel gwlib is required!* The kannel libs are available at the location configure thinks they are. Further, I checked using 'nm' and cfg_create is in libgwlib.a. I don't understand what the problem is. Thanks, aaron _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000783-0, 21/10/2007 Analyse le : 22/10/2007 09:08:38 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: DLR optinal parameters
Hi, Could you please be more specific ? with parameter are you looking for ? AFIK, the dlr returns only dlr flag. Regards -Original Message- From: Kyriacos Sakkas [mailto:[EMAIL PROTECTED] Sent: lundi 22 octobre 2007 07:18 To: users@kannel.org Subject: DLR optinal parameters Hi all, Is it possible (via the dlr-url) to capture optional parameters in a dlr report? (SMPP 3.4). The dlr is returned ok, but optinal parameters seem to be ignored (The parameters are configured, in a locally patched 1.4.1). I get the parameters if they come in a normal message submit_sm. Kyriacos -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: [EMAIL PROTECTED] http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at [EMAIL PROTECTED] ** _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000783-0, 21/10/2007 Analyse le : 22/10/2007 09:09:52 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Retreiving message using delivery report
Hi, If the message is still in the network, it will be resent to your mobile when it sign its activity to the network. If you phone is not up after a time, the message could expired without has been received. Could you setup the expiracy period when you submit the message but in many network, the operator overwritte this parameters in order to keep a normal queue in their smsc (typically 24 hours). Hope that helps -Original Message- From: longhorn123 [mailto:[EMAIL PROTECTED] Sent: lundi 22 octobre 2007 10:01 To: users@kannel.org Subject: Retreiving message using delivery report I am using a Sony erricson phone as a gsm modem and it works perfectly fine.How ever i want to retreive my message according to the delivery report that i receive.e.g. Suppose my phone was out of network and thus the message was rejected by the phone.Is their any way so that i could retreive that message whose sending was failed and then send it at a later time... -- View this message in context: http://www.nabble.com/Retreiving-message-using-delivery-report-tf4671862.htm l#a13346603 Sent from the Kannel - User mailing list archive at Nabble.com. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000783-0, 21/10/2007 Analyse le : 22/10/2007 10:21:44 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: WARNING: Cannot find SMSCConn for message to
Please update to kannel 1.4.1 And it looks that your kannel.conf is not good, I suggest you send it to the mailing list. Regards _ From: carla [mailto:[EMAIL PROTECTED] Sent: lundi 22 octobre 2007 15:27 To: users@kannel.org Subject: WARNING: Cannot find SMSCConn for message to Hello, Although this is a familiar error for most of you I couldn't find the solution. I've detected this error in the bearerbox.log and so several SMSs failed to be sent to the operators: 2007-10-12 17:11:29 [12866] [7] DEBUG: EMI2[operator123]: Got packet from the main socket 2007-10-12 17:11:29 [12866] [7] DEBUG: EMI2[operator123]: emi2 parsing packet: ^B37/00116/O/52/4147/912256068/121007171129 3//43415354524F4C2035353236315530///0///020100///56^C 2007-10-12 17:11:29 [12866] [7] DEBUG: EMI2[operator123]: emi2 sending packet: ^B37/00020/R/52/A///9F^C 2007-10-12 17:11:29 [12866] [17] DEBUG: send_msg: sending msg to box: 127.0.0.1 2007-10-12 17:11:29 [12866] [17] DEBUG: boxc_sender: sent message to 127.0.0.1 2007-10-12 17:11:29 [12866] [16] DEBUG: boxc_receiver: got ack 2007-10-12 17:11:30 [12866] [16] DEBUG: boxc_receiver: sms received 2007-10-12 17:11:30 [12866] [16] WARNING: Cannot find SMSCConn for message to mobile number, rejected. 2007-10-12 17:11:30 [12866] [16] WARNING: Message rejected by bearerbox, no router! I'm using Kannel version 1.3.2. Hope you can help me! Best Regards, Carla Godinho _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 000783-1, 22/10/2007 Analyse le : 22/10/2007 17:00:26 avast! - copyright (c) 1988-2007 ALWIL Software.
SMS service
Hello all, Does someone has some experience with the mecanisme of the retry when kannel retries a sms on an smsc/modem and should send it to a url that has been specified in the documentation : http-request-retry : If set, specifies how many retries should be performed for failing HTTP requests of sms-services. Defaults to 0, which means no retries should be performed and hence no HTTP request queuing is done. http-queue-delay : If set, specifies how many seconds should pass within the HTTP queuing thread for retrying a failed HTTP request. Defaults to 10 sec. and is only obeyed if http-request-retry is set to a non-zero value. max-pending-requests: number of messages Maximum number of pending MO or DLR messages that are handled in parallel. (Default: 512) imagine a sms service which url is http://somewhere?t=%s http://somewhere?t=%s; ... I understand that kannel is retrying to reach the distant server (somewhere) each N secondes for M times when receive an MO. What happen after ? Does some people have some experience about the max number of pending message ? Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071025-1, 25/10/2007 Analyse le : 25/10/2007 14:14:32 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Problems with kannel 1.4.1
Hi, Check the maximum dlr kannel is able to handle at a time, it should be 512 by default, and so could not be enough for uour traffic. Regards -Original Message- From: Fredrik Jeansson [mailto:[EMAIL PROTECTED] Sent: mercredi 31 octobre 2007 14:15 To: users@kannel.org Subject: Problems with kannel 1.4.1 Hello, I use Kannel to recieve and send SMS-messages to/from 4 different SMS-C's (using the protocols UCP/EMI, SMPP and CIMD2) on a FreeBSD 6.2 server. It has worked good for some months now but recently (without any configuration change to BSD or Kannel), I been having problems recieving messages from the UCP/EMI operator. Nothing has changed on the server exept that the SMS traffic (MO and MT) has gone up every month since the start. The traffic now reaches maximum of 10.000 SMS messages per day. The problem is that after a a couple of days Kannel stops recieving messages from the UCP/EMI system. The operator sending the messages to our kannel machine sais that our server don't respond at all (like if as the port was closed). The SMS-traffic works fine from all the other operators when this happens (the traffic is allmost evenly spread on the 4 operators). If I preform a quick restart of bearerbox smsbox we start to get MO-messages from this operator again (efter about 1 minute). This is the only of the 4 operators that uses UCP/EMI. I have no idea what could be wrong! Any ideas anyone? I'm stuck. Thanks, BR! / Fredrik Jeansson _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071031-1, 31/10/2007 Analyse le : 31/10/2007 17:37:43 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Small SMS auto-responder project
Hi, The more simple is to use one modem attached to kannel and some simple php scripts and the sms-service feature of kannel. Regards _ From: Ady Wicaksono [mailto:[EMAIL PROTECTED] Sent: mercredi 31 octobre 2007 21:48 To: Tracy R Reed Cc: users@kannel.org Subject: Re: Small SMS auto-responder project Hi Tracy You ask connection from somekind of content provider :) like www.mblox.com Kannel can not communicate with SS7, only some protocol on top of TCP/IP like SMPP (standard connection to SMSC) Ask mblox.com or similar company and they will give you SMPP connection On 11/1/07, Tracy R Reed mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm not sure if kannel can help me out here or not since I am new to dealing with SMS technology. Here is what we want to do: We are going to put up some billboards asking potential clients to text message to a certain number and then we will send them a canned reply. That's it. Pretty simple. I need an SMS gateway provider and a way to get the number. Can anyone recommend one? We are located in San Diego if it matters. And will kannel be required to talk to this gateway provider or is kannel to be used on a box with its own SS7 link for actually sending the messages? This is the part I am most unclear on. -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/ _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071031-1, 31/10/2007 Analyse le : 31/10/2007 22:43:35 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Interfase to Kannel
Hi, The best is to get the source code and read it ! Hope that helps _ From: Yadira Cruces [mailto:[EMAIL PROTECTED] Sent: vendredi 2 novembre 2007 15:22 To: users@kannel.org Subject: Interfase to Kannel Hi all: I pretend to develop a module which should send messages to the module bearerbox for that I want to know what is the structure of the data between the modules bearerbox/smsbox and smsbox/HTTPServer, or where can I get more information about that. Thanks for your answer. YCN _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071102-1, 02/11/2007 Analyse le : 02/11/2007 21:04:46 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: multi-part sms order
Hi all, AFAIK, send content through SMS should be managed by a protocol such as SAR : Segmentation And Reassembly, this is a Mécanism used to segment and reassemble the different paquets SAR is used with wap gateway and is supposed to be handled by the phone as well. The fact that the packets are arrived in the correct order is upon the operator responsibility (typically differents SMS are not always proceed by the same SMSC), there is nothing to do on the kannel side. Hope that helps, Regards _ From: Ady Wicaksono [mailto:[EMAIL PROTECTED] Sent: dimanche 4 novembre 2007 20:37 To: [EMAIL PROTECTED] Cc: users@kannel.org Subject: Re: multi-part sms order It's normal, and offcourse mobile phone must wait all messages to arrive first until it can reassemble the message. On 11/5/07, Aaron Simmons [EMAIL PROTECTED] wrote: My system is sending a lot of multi-part smses. While the sending works, I've noticed that the parts usually arrive in reverse order or out of order. e.g., if I'm sending a three-part sms, part three will arrive at the user's phone first, followed by part two, followed by part one. The user's phone will of course reassemble the message, but they must wait to read their message until part one arrives. Is anyone else seeing this? Or is it an idiosyncracy of the gsm phone I'm using to send the messages? I'm using kannel 1.4.1 with a nokia. Thanks, aaron -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/ _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071104-0, 04/11/2007 Analyse le : 04/11/2007 20:44:24 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Separate Logs
Use a grep on the log file ! Hope that help _ From: Otandeka Simon Peter [mailto:[EMAIL PROTECTED] Sent: mardi 6 novembre 2007 09:49 To: users@kannel.org Subject: Separate Logs Hello guys, I need your help. I wish to have two separate log tables. One for holding successful SMSs and another to hold failed ones. At the moment, i have one log table that stores any message that hits. What is the easiest way I can do it. Do I have to change anything in my configuration? Regards Peter _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071105-1, 05/11/2007 Analyse le : 06/11/2007 09:29:28 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Cannot start smsc. ERROR: System error 2: No such file ordirectory
USB port changes everytime you conect/diconnect the modem, it is manage by some hot process in linux. You have to make a small developpement to make the recognition correctly and map you usb. I did it and manage chain of usb by this way, it is quite tricky to debug! Regards _ From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: mercredi 7 novembre 2007 07:11 To: Kudzai Gadzira Cc: users@kannel.org Subject: Re: Cannot start smsc. ERROR: System error 2: No such file ordirectory Maybe /dev/ttyUSB0 is not really the device name? Check connecting with minicom to see if you can access the device that way. It may be also a permissions problem. Regards, Alejandro On 11/7/07, Kudzai Gadzira [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Kudzai Gadzira [EMAIL PROTECTED] Date: Nov 7, 2007 9:00 AM Subject: Cannot start smsc. ERROR: System error 2: No such file or directory To: users@kannel.org Hi all, i'm using a Motorola C261 as a gsm modem for an sms gateway but I cant start my smsc. When I start the bearer box i get the following error: 2007-03-07 17:48:28 [6895] [6] ERROR: System error 2: No such file or directory 2007-03-07 17:48:28 [6895] [6] DEBUG: AT2[VSMSC]: detecting modem type 2007-03-07 17:48:28 [6895] [6] INFO: AT2[VSMSC]: opening device 2007-03-07 17:48:28 [6895] [6] ERROR: AT2[VSMSC]: open failed! ERRNO=2 2007-03-07 17:48:28 [6895] [6] ERROR System error 2: No such file or directory Please help. Below is my .conf file group = core admin-port = 13000 admin-password = bar smsbox-port = 13001 log-file = /tmp/mobile_companion.log #log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 http://127.0.0.1/ # This is the SMSC group(s). This routes sms requests to/from users to Kannel # Fake smsc #group = smsc #smsc = fake #smsc-id = FAKE #preferred-smsc-id = HTTP #port = 1 #sms-center = 125 #connect-allow-ip = 127.0.0.1 http://127.0.0.1/ # GSM SMSC group = smsc smsc = at modemtype = auto device = /dev/ttyUSB0 speed = 9600 include = /usr/tmp/kannel/modems.conf group = smsc smsc = at smsc-id = my_smsc modemtype = Motorola device = /dev/ttyUSB0 speed = 115200 #modems group = modems id = Motorola name = Motorola init-string = AT+CGDCONT=1 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 need-sleep = true enable-mms = true speed = 115200 # This is the SMSbox group configuration group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-level = 0 # SERVICES group = sms-service keyword = nop post-url = http://localhost/%S.wml http://localhost/%25S.wml accept-x-kannel-headers = true max-messages = 5 concatenation = true #text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service specified # SEND SMS USER FOR SMS PUSH group = sendsms-user username = foo password = bar max-messages = 5 concatenation = true -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071106-0, 06/11/2007 Analyse le : 07/11/2007 09:10:22 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: audit sent and queued messages to DB
You could get all these informations from the sent_sms table in sqlbox. Hope that helps. -Original Message- From: Knaan Ratosh [mailto:[EMAIL PROTECTED] Sent: dimanche 11 novembre 2007 02:28 To: seik Cc: users@kannel.org Subject: RE: audit sent and queued messages to DB The problem is that I need to audit also success messages, and as I know the dlr stores a message in the DB and then deletes it when it's delivered successfully. Knaan Ratosh Acting VP RD AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED] -Original Message- From: seik [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:54 PM To: Knaan Ratosh Cc: users@kannel.org Subject: Re: audit sent and queued messages to DB well in case with queued you mean accepted by the SMSC and still not delivered to the recipient, you may just use DLR reporting data inserted into db each SMS should be sent with unique dlr smsid and proper value of the expiration timeout. from here you will deal with the sql queries i belive. -Original Message- From: Knaan Ratosh [EMAIL PROTECTED] Sent: 09 Ноември 2007 г. To: seik Subject:audit sent and queued messages to DB Hi, I need to store in an audit database information regarding messages that were sent successfully, and ones that are queued. I need this because I need to perform some reporting on the results - for example, report that counts the number of queued messages that were sent to a certain user within a range of dates. Does anyone have any idea how to do that? Knaan Ratosh Acting VP RD AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 07-1, 11/11/2007 Analyse le : 11/11/2007 23:59:42 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Problem starting kannel with dlr-storage mysql
Don't know it the misspelling 'mySql' with a capital S could be the issue ??? You have to provide your conf file in order we take a look on the full configuration. Regards -Original Message- From: Knaan Ratosh [mailto:[EMAIL PROTECTED] Sent: dimanche 11 novembre 2007 02:32 To: Rodrigo Cremaschi; Enver ALTIN Cc: users@kannel.org Subject: RE: Problem starting kannel with dlr-storage mysql I don't start the kanne; in a different way when using the dlr-storage=mysql. And when using internal I don't have the problem. So how can it be related to the order in which I start the services? Anyways, when starting only berearbox I get the following exception: [EMAIL PROTECTED] sbin]# ./bearerbox -v 0 /usr/local/kannel/etc/kannel.conf 2007-11-11 09:58:29 [26371] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2007-11-11 09:58:29 [26371] [0] PANIC: DLR: storage type 'mySql' is not supported! 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(gw_panic+0xa3) [0x80dd347] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(dlr_init+0x1c0) [0x8083e88] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(main+0xec) [0x807a450] 2007-11-11 09:58:29 [26371] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox [0x8079ed9] Meaning it says mysql is not supported, and this is after I compiled it with mysql specifically. So what can it be? Knaan Ratosh Acting VP RD AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED] -Original Message- From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:44 PM To: Enver ALTIN Cc: users@kannel.org Subject: Re: Problem starting kannel with dlr-storage mysql Hi Knaan, 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' at port `13002' 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox. Be sure that bearerbox is up and running before starting any other box. On Nov 9, 2007 7:30 AM, Enver ALTIN [EMAIL PROTECTED] wrote: On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote: I was trying to start the kannel using dlr-storage=mysql, but the it fails. The logs in the wapbox.log say: wapbox.log doesn't help, in order to understand the problem we need the output from bearerbox. -- Enver This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 07-1, 11/11/2007 Analyse le : 12/11/2007 00:01:18 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Setting up Kannel as a Daemon
First, you have to compile as a daemon and after depending of your system, you have to make it running at the launch. It is bascaaly explain in the manual. _ From: Sarfaraz Jamal [mailto:[EMAIL PROTECTED] Sent: dimanche 11 novembre 2007 15:51 To: users@kannel.org Subject: Setting up Kannel as a Daemon Hi guys, Earlier I asked on this thread: http://www.mail-archive.com/users@kannel.org/msg10798.html If we could set kannel up a daemon. I know it has the option to be compiled as a daemon, Besides that, and the start up script - what has to be done to ensure that we can run it as a daemon? Also, can anyone give me a quote on how much it would cost to do this? We are on linux now =) Thanks _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 07-1, 11/11/2007 Analyse le : 11/11/2007 23:57:14 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Re[2]: modem throughput
Hello, I got quite the same pictures, 6 sec per msg for MT. it could depend if you are using the sim memory or the modem one. Regards -Original Message- From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: mardi 13 novembre 2007 15:17 To: users@kannel.org Subject: Re: Re[2]: modem throughput Hi I get about the same numbers (9-12 seg/msg) for MT messages, does anyone have numbers for incomming messages? On Nov 13, 2007 4:21 PM, seikath [EMAIL PROTECTED] wrote: Wavecom here, its nothing to do with the CPU or kannel optimization. the traffic rates depend on the mobile network. here the average speed is 6-9 seconds per SMS, and if you request dlr reporting, it will take up to 13-17 seconds per SMS 500 sms/sec per modem ... :) .. it should be ss7 modem, not GSM modem. -Original Message- From: Haidut [EMAIL PROTECTED] Sent: 13 ??? 2007 ?. To: seikath Subject:modem throughput OK, thanks. Anybody else have throughput experience to share? On Nov 13, 2007 4:35 PM, Nathan Ferris [EMAIL PROTECTED] wrote: Hi Haidut, I am using wavecom GSM modems made by MultiTech on ATT pre-paid SIM cards in the US. I usually get 12-20 sms/minute. Nathan Haidut wrote: I know this has been asked before in one way or another but I didn't notice any definitive answers. My questions is this - WITHOUT using any special equipment and any optimizations to the generic kannel, what's a reasonable SMS throughput that I can expect. Some people earlier gave numbers as high as 500sms/sec, others said no more than 20sms/min. I have a quad-band Wavecom GSM modem and fairly powerful hardware (i.e. dual CPU machine with lots of RAM, which I don't think would be the bottleneck anyway). My provider is T-Mobile in the US, and I am just inserting a SIM from phone into the modem. So, comments welcome and please specify your setup. Once again, I am not looking for responses like yeah we get 500sms/sec with proprietary software, 5 modems, etc. I need to hear about people's experiences using vanilla Kannel setup, reasonable hardware, and a modem similar to Wavecom. Thanks in advance. -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071113-1, 13/11/2007 Analyse le : 13/11/2007 16:03:16 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: SMSC_AT Capture Calling number
A more simple solution to drop the call, is to forward all the call to the answer machine inconditionnally and you will not be annoyed ;-) -Original Message- From: seik [mailto:[EMAIL PROTECTED] Sent: mardi 13 novembre 2007 14:13 To: Alvaro Cornejo Cc: users@kannel.org Subject: Re: SMSC_AT Capture Calling number Hi, you would need to patch kannel AT smsc to dump the MSISDN before to drop the call. Other software cannot open the modem device in same time when its used by kannel without breaking the kannel process. I have used years ago zyneo SMS gateway. They do dump the call info while processing the MT traffic. But, this takes several seconds /1-2-3/ to be done, so consider slower performance. cheers seik -Original Message- From: Alvaro Cornejo [EMAIL PROTECTED] Sent: 13 ??? 2007 ?. To: seik Subject:SMSC_AT Capture Calling number Hi This might not be an kannel specific question but think some of you might come to the same issue. We are using modems as SMSC using smsc_at module. We have noticed that some people call to the modem number when receiving an sms from the modem since with modem connections it is not possible to override the sender number. Kannel, when detecting a call (ring), does drop the call inmediately and that is ok; however, what we would like to do is to reccord or show in the debug log the caller id so we can keep a reccord of those numbers for post_processing and follow up. Is this possible? how? Regards, Alvaro _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071113-1, 13/11/2007 Analyse le : 13/11/2007 16:04:48 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: can kannel check my credit using *888# command
I think you are speaking about USSD request. I'm not sure Kannel could handle both reading of incoming sms and USSD channel that could be done through AT command. Does someone has some similar experience ? -Original Message- From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: lundi 19 novembre 2007 14:00 To: Luki Lusiano Cc: users@kannel.org Subject: Re: can kannel check my credit using *888# command Hi Luki If you don´t use it now, you can setup kannel´s keepalive config of the smsc to send the AT equivalent command to the *888# to the modem ( I don´t know its equivalent) and set the keepalive retry to whatever interval you need. The result of the command can be viewed in kannel log (debug level). Since kannel has no way -as far as I know- to interact with the modem with other commands other than the buit-in -unless you patch smsc_at- you might need to stop kannel, access the modem through cu, minicom, getty or other terminal sw, enter the command(s) needed and then restart kannel. Regards Alvaro On 11/19/07, Luki Lusiano [EMAIL PROTECTED] wrote: Hi, i'm using kannel for 2 years now and I thank you for this great program. I hope this question is never been asked before, try to search it, but no luck. The question is : can kannel check my credit using *888# command i'm using prepaid mobile phone, thats mean that i have to buy voucher and put the code to the mobilephone to continue to use the phone, from the voucher i get my credit to make call or send sms. But the problem is, the my web and sms server is located at different island (500 KM from my place). To know that my mobile is still active i'm using this command at the phone *888# and receive this reply your credit is _some_number_ and you active periode until _some_date_ can i login remotely by using ssh and type some command at the server and i receive the answer from the phone? What is the command or the code? if it can, i'm planning make a script to check and send it using sms to my mobile phone. Thank You All. Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071119-1, 19/11/2007 Analyse le : 19/11/2007 14:06:19 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: WAP gateway
I think the question is more : do you take care of the wap gw or your telco has already a wap gateway ? After it will be more easy to answer your question BR _ From: Sriram [mailto:[EMAIL PROTECTED] Sent: lundi 19 novembre 2007 04:15 To: users@kannel.org Subject: WAP gateway Hi All I am a content provider for a mobile telco. I have been using kannel as sms gateway for providing some content to the telco and to push messages. He now wants me to put up a WAP site for my brand so that his customers can browse my site on their cellphones. Pls note that i already have my website but its being hosted at a data center. What i would like to know : 1. If i use Kannel as the WAP gateway do i need anything additional in terms of webserver etc ? 2. will i have to write wml pages and upload wbmp images from scratch? Where will i be storing all these files ie under which folder ? will they be stored in the kannel machine itself or any other machine ? Pls revert Thanks Sriram _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071119-1, 19/11/2007 Analyse le : 19/11/2007 14:08:41 avast! - copyright (c) 1988-2007 ALWIL Software.
ussd and at kernel
Hello all, Does someone have any informations on ussd kernel or AT kernel ? I know it is not relative straight to kannel but it could be a plugins or a standalone application. Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071120-0, 20/11/2007 Analyse le : 20/11/2007 11:13:36 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: can kannel check my credit using *888# command
Yes but in this solution, you have to stop kannel and then make your kermit stuff, isnt it ? _ From: Luki Lusiano [mailto:[EMAIL PROTECTED] Sent: mardi 20 novembre 2007 01:42 To: users@kannel.org Subject: Re: can kannel check my credit using *888# command Hi Alvaro Cornejo Problem solved!!! Thank you for pointing to me to use terminal sw, i'm using kermit. and this is my command, hope this will help other who face the same problem ( my modem speed is 19200 using ttyS0) run this : # kermit (press enter) C-Kermit set line /dev/ttyS0 (press enter) C-Kermit set speed 19200 (press enter) C-Kermit set carrier-watch off (press enter) C-Kermit set modem type generic (press enter) C-Kermit set dial display on (press enter) C-Kermit c (press enter) (after you press enter this line will show up) Connecting to /dev/ttyS0, speed 19200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. (here you type atd*888#) atd*888# (hoaaa!!! you see the result) __ * to quit press ctrl+\ then release both key and then press c Thank you all hope this will someone. Alvaro Cornejo [EMAIL PROTECTED] wrote: Hi Luki If you don´t use it now, you can setup kannel´s keepalive config of the smsc to send the AT equivalent command to the *888# to the modem ( I don´t know its equivalent) and set the keepalive retry to whatever interval you need. The result of the command can be viewed in kannel log (debug level). Since kannel has no way -as far as I know- to interact with the modem with other commands other than the buit-in -unless you patch smsc_at- you might need to stop kannel, access the modem through cu, minicom, getty or other terminal sw, enter the command(s) needed and then restart kannel. Regards Alvaro On 11/19/07, Luki Lusiano wrote: Hi, i'm using kannel for 2 years now and I thank you for this great program. I hope this question is never been asked before, try to search it, but no luck. The question is : can kannel check my credit using *888# command i'm using prepaid mobile phone, thats mean that i have to buy voucher and put the code to the mobilephone to continue to use the phone, from the voucher i get my credit to make call or send sms. But the problem is, the my web and sms server is located at different island (500 KM from my place). To know that my mobile is still active i'm using this command at the phone *888# and receive this reply your credit is _some_number_ and you active periode until _some_date_ can i login remotely by using ssh and type some command at the server and i receive the answer from the phone? What is the command or the code? if it can, i'm planning make a script to check and send it using sms to my mobile phone. Thank You All. Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Get easy, one-click access to your favorites. Make Yahoo! http://us.rd.yahoo.com/evt=51443/*http:/www.yahoo.com/r/hs your homepage. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071120-0, 20/11/2007 Analyse le : 20/11/2007 11:10:35 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: can kannel check my credit using *888# command
If you have a link to the operator billing system, it is possible, otherwise it is not possible. -Original Message- From: Sriram [mailto:[EMAIL PROTECTED] Sent: mardi 20 novembre 2007 04:04 To: Alvaro Cornejo; Luki Lusiano Cc: users@kannel.org Subject: Re: can kannel check my credit using *888# command On the same subject - I want to push a chargeable MT to a customer but before pushing i want to check if he has got sufficient balance is there anyway to do that ? Thanks Sriram - Original Message - From: Alvaro Cornejo [EMAIL PROTECTED] To: Luki Lusiano [EMAIL PROTECTED] Cc: users@kannel.org Sent: Tuesday, November 20, 2007 3:29 AM Subject: Re: can kannel check my credit using *888# command Hi Luki If you don´t use it now, you can setup kannel´s keepalive config of the smsc to send the AT equivalent command to the *888# to the modem ( I don´t know its equivalent) and set the keepalive retry to whatever interval you need. The result of the command can be viewed in kannel log (debug level). Since kannel has no way -as far as I know- to interact with the modem with other commands other than the buit-in -unless you patch smsc_at- you might need to stop kannel, access the modem through cu, minicom, getty or other terminal sw, enter the command(s) needed and then restart kannel. Regards Alvaro On 11/19/07, Luki Lusiano [EMAIL PROTECTED] wrote: Hi, i'm using kannel for 2 years now and I thank you for this great program. I hope this question is never been asked before, try to search it, but no luck. The question is : can kannel check my credit using *888# command i'm using prepaid mobile phone, thats mean that i have to buy voucher and put the code to the mobilephone to continue to use the phone, from the voucher i get my credit to make call or send sms. But the problem is, the my web and sms server is located at different island (500 KM from my place). To know that my mobile is still active i'm using this command at the phone *888# and receive this reply your credit is _some_number_ and you active periode until _some_date_ can i login remotely by using ssh and type some command at the server and i receive the answer from the phone? What is the command or the code? if it can, i'm planning make a script to check and send it using sms to my mobile phone. Thank You All. Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071120-0, 20/11/2007 Analyse le : 20/11/2007 11:08:46 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kannel and MRTG
Hello, I'm using monit to monitor all the other process on our Kannel servers. But it doesn't make specific monitoring of kannel. Regards -Original Message- From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: jeudi 22 novembre 2007 08:39 To: users@kannel.org Subject: Kannel and MRTG Hi I'm thinking in monitoring Kannel with MRTG, and before developp some code, I'll like to know if someone has already a scrpt? If not I'll tryu to developpe one and publish it here once Its working in order to have some feedback. Regards Alvaro -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071122-0, 22/11/2007 Analyse le : 22/11/2007 10:20:19 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: USB Modem Connection Problems
Hi, We have plenty of Nokia12 working in usb. my first advice : use a lower speed, the bottle neck is never the serial speed but more the dialogue AT with the nokia, so you will not have major improvement with high speed. my second advice : be carefull the usb is still on the same unix file handler, usb is hot pluggable so it oculd change time to time, we have been using some script developped by another compagny (I found back their address is www.wireless-expertise.com) to do it with multiples USB modems on a same machine. my htird advice : first configure your nokia12 with the configurator software to be sure to make autopin and some stuf like that and to setup the right baud speed. If kannel is not able to connect, it willl try the other speed. So if oyu make running you N12 on windows, it is almost 80% of the job. hope that help _ From: White, Phil [mailto:[EMAIL PROTECTED] Sent: mercredi 28 novembre 2007 08:49 To: users@kannel.org Subject: USB Modem Connection Problems Hi all, Apologies for the rather lame posting - I ought to be able to work this one out myself, but I've been trying for weeks now, with no luck. I'd appreciate someone giving me a pointer to what I'm doing wrong here... I have a USB connected GSM modem - an OEM Nokia 12i (Teltonkia). Previous postings, both here and elsewhere have shown some very happy users, so I know the device works... After loading kernel drivers, I can access the device at /dev/ttyUSB0 ... but *only* when I use minicom!!! Settings under minicom = 230400 baud 8N1 Kannel (in fact everything other than minicom) refuses to see the modem - I assume because of the speed (gnokii gives a helpful 230400 baud not supported). The log files under kannel show the AT command being sent to /dev/ttyUSB0, but no response is ever received. Am I doing something stupid here? Is it not possible for me to use minicom to tell the modem to use a lower baud rate? (I have tried using AT+IPR=115200, but to no avail - all that does is breaks the minicom connection, which i cannot reestablish at a lower baud rate subsequently). It really is beginning to bug me... Hints? Tips? anyone? Many thanks, Phil _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071127-0, 27/11/2007 Analyse le : 28/11/2007 13:19:37 avast! - copyright (c) 1988-2007 ALWIL Software.
Operator network time
Hello all, For my kannel and some others purposes, I need to have the time clock from the operator network. Does someone know an AT command to do that ? Thnaks in advance _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 29/11/2007 22:09:41 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Operator network time
Thanks for this answer, I already got this command, but it appears some devices are shifting someting, and for my application I need a clock totally synchronized with the operator one (for CDR reconciliation). So if someone got some others ideas, I heard about NTIZ but I didn't get more information from google. Thanks for the answer -Original Message- From: seikath [mailto:[EMAIL PROTECTED] Sent: vendredi 30 novembre 2007 00:49 To: info.ubichip Cc: users@kannel.org Subject: Re: Operator network time as far as I know, AT commands get the time from the device its ME realtime clock but in DLR SMS I believe the timestamp inprints could be the value you are searching for. 2007-11-30 10:48:30 Receive DLR [SMSC:mtel] [SVC:1302] [ACT:] [BINF:] [from:1302] [to:+35988xxx] [flags:-1:-1:-1:-1:1] [msg:122:id:0070699211 sub:001 dlvrd:001 submit date:0711301048 done date:0711301048 stat:DELIVRD err:000 text:Uspeshno zaplatihte ] [udh:0:] re AT command 4.16 Clock Management +CCLK 4.16.1 Description: This command is used to set or get the current date and time of the ME real-time clock. String format \ for date/time is: yy/MM/dd,hh:mm:ss. Valid years are 98 (for 1998) to 97 (for 2097). The seconds field is not mandatory. Default date/time is 98/01/\ 01,00:00:00 (January 1st, 1998 / midnight). 4.16.2 Syntax: Command Syntax: AT+CCLK=date and time string COMMAND POSSIBLE RESPONSES AT+CCLK=00/06/09,17:33:00 OK Note: set date to June 9th, 2000, and time to 5:33pm Note: Date/Time stored AT+CCLK=00/13/13\ ,12:00:00 +CME ERROR 3 Note: Incorrect month entered AT+CCLK? +CCLK: 00/06/09,17:34:23 Note: Get current date and time Note: current date is June 9t\ h, 2000 current time is 5:34:23 pm -Original Message- From: info.ubichip [EMAIL PROTECTED] Sent: 30 ??? 2007 ?. To: seikath Subject:Operator network time Hello all, For my kannel and some others purposes, I need to have the time clock from the operator network. Does someone know an AT command to do that ? Thnaks in advance _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 29/11/2007 22:09:41 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 30/11/2007 10:49:18 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: how to find the running kannel version
when you launched it, it appears in the log and the status page _ From: Siddharth Verma [mailto:[EMAIL PROTECTED] Sent: vendredi 30 novembre 2007 03:32 To: users@kannel.org Subject: how to find the running kannel version Hi All, I m sending some details,this is the directory structure of kannel in my organization /kannel/ind-kannel/ access.log ind.sh smskannel-ind.conf.bak wapbox backupFORaccessLOGS smsbox smskannel-ind.conf.old bearerboxsmsbox.log startkannel kannel.log smskannel-ind.conf stopkannel I have only above files available. Basicaly my qustion is,is it possibe that i can find out version no. of the kannel from any other file rather than VERSION,README and source code? Thanks in Advance. Siddharth _ Free Online Photosharing - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 30/11/2007 10:49:57 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Re[2]: Operator network time
Hello, Thanks for the answer. My purpose is to have a way to ask the time from the network but not ntp server. I know some normal handset,such as Ericsson or sagem, could ask operator time . I was asking myself what could be the AT command behind. Is anyone have some idea ? Regards -Original Message- From: seikath [mailto:[EMAIL PROTECTED] Sent: vendredi 30 novembre 2007 11:13 To: info.ubichip Cc: users@kannel.org Subject: Re[2]: Operator network time well, same here, after i told them they are late with 15 minutes now the operators and me sync from same ntpdate servers so just ask them which ntpdate server they use and sync your severs time with it via ntpdate -Original Message- From: info.ubichip [EMAIL PROTECTED] Sent: 30 ??? 2007 ?. To: seikath Subject:Operator network time Thanks for this answer, I already got this command, but it appears some devices are shifting someting, and for my application I need a clock totally synchronized with the operator one (for CDR reconciliation). So if someone got some others ideas, I heard about NTIZ but I didn't get more information from google. Thanks for the answer -Original Message- From: seikath [mailto:[EMAIL PROTECTED] Sent: vendredi 30 novembre 2007 00:49 To: info.ubichip Cc: users@kannel.org Subject: Re: Operator network time as far as I know, AT commands get the time from the device its ME realtime clock but in DLR SMS I believe the timestamp inprints could be the value you are searching for. 2007-11-30 10:48:30 Receive DLR [SMSC:mtel] [SVC:1302] [ACT:] [BINF:] [from:1302] [to:+35988xxx] [flags:-1:-1:-1:-1:1] [msg:122:id:0070699211 sub:001 dlvrd:001 submit date:0711301048 done date:0711301048 stat:DELIVRD err:000 text:Uspeshno zaplatihte ] [udh:0:] re AT command 4.16 Clock Management +CCLK 4.16.1 Description: This command is used to set or get the current date and time of the ME real-time clock. String format \ for date/time is: yy/MM/dd,hh:mm:ss. Valid years are 98 (for 1998) to 97 (for 2097). The seconds field is not mandatory. Default date/time is 98/01/\ 01,00:00:00 (January 1st, 1998 / midnight). 4.16.2 Syntax: Command Syntax: AT+CCLK=date and time string COMMAND POSSIBLE RESPONSES AT+CCLK=00/06/09,17:33:00 OK Note: set date to June 9th, 2000, and time to 5:33pm Note: Date/Time stored AT+CCLK=00/13/13\ ,12:00:00 +CME ERROR 3 Note: Incorrect month entered AT+CCLK? +CCLK: 00/06/09,17:34:23 Note: Get current date and time Note: current date is June 9t\ h, 2000 current time is 5:34:23 pm -Original Message- From: info.ubichip [EMAIL PROTECTED] Sent: 30 ??? 2007 ?. To: seikath Subject:Operator network time Hello all, For my kannel and some others purposes, I need to have the time clock from the operator network. Does someone know an AT command to do that ? Thnaks in advance _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 29/11/2007 22:09:41 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071129-0, 29/11/2007 Analyse le : 30/11/2007 10:49:18 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071202-0, 02/12/2007 Analyse le : 03/12/2007 00:02:52 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Uk networks info
Take a look on the commercial mailing list -Original Message- From: Gert Horne [mailto:[EMAIL PROTECTED] Sent: lundi 3 décembre 2007 12:10 To: users@kannel.org Subject: Uk networks info Hi all, Please help me I would like some contact information to any of the UK mobile providers (orange, t-mobile, vodafone) for bulk messaging accounts or wasp departments. If anyone could please assist me with some contact information please. Kind regards, Gert Horne _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071203-0, 03/12/2007 Analyse le : 03/12/2007 12:24:46 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: SMS to launch app in mobile
Hello, Please be more specific. There is alternative : 1/ use wap push to send the application Or 2/ personnalized the header UDH in order to send the sms to the correct port Hope that help -Original Message- From: Angel Gomez [mailto:[EMAIL PROTECTED] Sent: jeudi 13 décembre 2007 09:08 To: users@kannel.org Subject: SMS to launch app in mobile Hi all. I 've gone thru the user list archives and the documentation, with no success, looking for a way to send an SMS message with Kannel that launch an application in the mobile phone, as far as I know, the message needs to be sent to a specific port to which the application in the mobile phone is binded to. Is there a way to specify the port to which the SMS message will be delivered on the mobile phone ? TIA Regards. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071213-0, 13/12/2007 Analyse le : 13/12/2007 09:17:37 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: clarrify kannel
it exist a smpp plugins to make kannel act as a smsc, but it is not free, you should ask the creator of kannel ;-) to use kannel as smpp client, it is built in. hope that help _ From: teoh [mailto:[EMAIL PROTECTED] Sent: jeudi 13 décembre 2007 21:38 To: users@kannel.org Subject: clarrify kannel can i use kannel to act as smpp client to connect to a smsc elsewhere and also, use another smpp client to connect to this same kannel at the same time. ? or kannel can only connected through http ? thank you for clarifying. smpp client -- kannel --- smsc _ Looking for last minute shopping deals? Find http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/c ategory.php?category=shopping them fast with Yahoo! Search. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071213-0, 13/12/2007 Analyse le : 13/12/2007 21:48:21 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: delivery_status code value
hello, 12=8+4 so it is Delivered to smsc and queued and yes you have to put 31 to have all _ From: Shalini Yadav [mailto:[EMAIL PROTECTED] Sent: dimanche 16 décembre 2007 03:44 To: users@kannel.org Subject: delivery_status code value Hi All, I few months back I have ported my Kannel code from SMPP 3.1 to SMPP 3.4. I have noticed a change since then. Earlier my delivery_status code for a delivery used to be 12 (for a successful delivery) but now I see the delivery_status code as 1 (for success). I have gone through the specifications of SMPP 3.4 and realized that the delivery_status values are defined like this: 1: Delivered to phone, 2: Non-Delivered to Phone, 4: Queued on SMSC, 8: Delivered to SMSC, 16: Non-Delivered to SMSC. Now, I just need to know what were those changes that were causing the code to show a delivery_status code to be 12? Has dlr-mask got to do something with this? Where do we define the dlr-mask value? I am thinking of changing it to 31, because this value is set as 19 in my code somewhere. Thanks in advance. Shalini Yaduvanshi _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071216-0, 16/12/2007 Analyse le : 16/12/2007 14:53:07 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: how kannel charges sms with contents
hello, first I advised you to read the user manual you could find in www.kannel.org Kannel got a http API that provide you basic send mechanism. for billing, you have to make your own script based on the mysql table of kannel. You could use the file access.log that provide all the needed informations. hope it helps _ From: mauro [mailto:[EMAIL PROTECTED] Sent: jeudi 20 décembre 2007 13:32 To: users@kannel.org Subject: how kannel charges sms with contents dear All. In our company we are looking for I'm looking for an SMS GW. I'm now studing Kannel,solution. I would like to know how Kannel manages the billing for inboud request for users who wants to download contents using SMS and not WAP. I figure this basic flow user sends an sms to s pecific number with a code in the body txt the smsc foward the request to the sms gw kannel and bills the user so now how manage the content fetching from the CMS? I mean what happen if the content is not available? how is really the billing flow used to send ringtones or something else? do You have soem pdf that exaplain exactly how is the billing both outbound and inbound SMS? Do you have API for Applciation development? thanks Mauro _ _ L'email della prossima generazione? Puoi averla con la nuova http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://i t.docs.yahoo.com/nowyoucan.html Yahoo! Mail _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071220-0, 20/12/2007 Analyse le : 20/12/2007 17:59:57 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: user localization
hello, there is two way to make localisations : - from the terminal, you ask for cellid, lac and you send it to a server - from the network, the operator get the localisation from the BTS and HLR. on this case, the information is not always update, in case the mobile didn't make a call or send sms for a long time. So the operator must force the update to track the last position. hope it helps _ From: mauro [mailto:[EMAIL PROTECTED] Sent: dimanche 23 décembre 2007 08:18 To: users@kannel.org Subject: user localization Is Kannel able to recognize the user localization? or better, which are the parameters needed by Kannel to localize the user or for developing an application suing its APi for the same purpose? is the SMSC able to send /get uer or HLR/MSC data or every useful network information? thanks M _ _ L'email della prossima generazione? Puoi averla con la nuova http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://i t.docs.yahoo.com/nowyoucan.html Yahoo! Mail _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071223-0, 23/12/2007 Analyse le : 23/12/2007 13:49:09 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: user localization
for the terminal, it depend of the AT command implemented, you have to read the manual of it before ;-) for the operator, usually they implement such services and make you pay. There is also other solutions based on sim tool kit but it is another story and have no sense to discuss inside the kannel mailing list. hope it helps _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: lundi 24 décembre 2007 20:08 To: info.ubichip; 'mauro'; users@kannel.org Subject: Re: user localization Hi How can one query the terminal or network for this info? Thanks. Ismail - Original Message - From: info.ubichip mailto:[EMAIL PROTECTED] To: 'mauro' mailto:[EMAIL PROTECTED] ; users@kannel.org Sent: Sunday, December 23, 2007 10:49 PM Subject: RE: user localization hello, there is two way to make localisations : - from the terminal, you ask for cellid, lac and you send it to a server - from the network, the operator get the localisation from the BTS and HLR. on this case, the information is not always update, in case the mobile didn't make a call or send sms for a long time. So the operator must force the update to track the last position. hope it helps _ From: mauro [mailto:[EMAIL PROTECTED] Sent: dimanche 23 décembre 2007 08:18 To: users@kannel.org Subject: user localization Is Kannel able to recognize the user localization? or better, which are the parameters needed by Kannel to localize the user or for developing an application suing its APi for the same purpose? is the SMSC able to send /get uer or HLR/MSC data or every useful network information? thanks M _ _ L'email della prossima generazione? Puoi averla con la nuova http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://i t.docs.yahoo.com/nowyoucan.html Yahoo! Mail _ Antivirus http://www.avast.com avast!: message Sortant sain. Base de donnees virale (VPS) : 071223-0, 23/12/2007 Analyse le : 23/12/2007 13:49:09 avast! - copyright (c) 1988-2007 ALWIL Software. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071224-0, 24/12/2007 Analyse le : 24/12/2007 21:43:45 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Kannel monitor in PHP
hi all, I'm using Monit to do alert when Kannel is down, but I 'ma interessed in your scripts, so please put them on an URL where the kannel list could download it. thanks in advance. ps : do anyone has script to handle account and cutomers, as well to make billing ? _ From: Mads N. Vestergaard - CoolSMS [mailto:[EMAIL PROTECTED] Sent: vendredi 28 décembre 2007 08:49 To: users@kannel.org Subject: Re: Kannel monitor in PHP Hi There, We actually have a script aswell. The script checks state of all connections, and if it isn't online, it will autoatically, tell kannel to try to re-connect, to minimize downtime, in case the provider, is just restarting a server or simular. We also have a script parsing the status.xml file, to give a graphical view of the situation, showing all connections, their state, the queue, submitted messages, etc. Please let me know if anyone is interested in this aswell. .. Med venlig hilsen / Best Regards Mads N. Vestergaard Teknisk ansvarlig / CTO CoolSMS http://www.coolsms.com/ www.coolsms.com Phone: +45 7026 1272 Fax: +45 7630 1046 Mobile: +45 4270 1272 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Mike Nwaogu skrev: Hi Rowland, I have a similar script, but would like to know if there's something I could add. Do let me have it if will. --- Rolandow mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, To monitor our kannel connections with the SMSC's, I wrote a little PHP script. When a connection is down, it can send an e-mail, and a SMS. Sending SMS will be done using a clickatell account. The script uses netstat to check the connections, so this would only run on linux. It works with the PHP5 CGI, so you only have to install the php5 cgi version, if your server doesn't run a webserver. You can configure the connections you would like to monitor, based on IP and PORT number. You can also define a timeout. If the connection is down for more than xx seconds, it will send you an alert. Because in my experience a lot of connection restore themselves automatically within half an hour. If somebody would like to use this, I could send the script to the list (is that possible/allowed?), or I could put it somewhere to download. If you're interested, let me know. Kind regards, Roland. Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: [EMAIL PROTECTED] Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071228-0, 28/12/2007 Analyse le : 28/12/2007 18:43:16 avast! - copyright (c) 1988-2007 ALWIL Software. coolsms_mail.jpg
RE: CPIN Error in supporting multiple GPRS Modems in Bearerbox
It looks an issue with your sim card. It could need a PIN number to enter. Put your sim card in a normal phone and disabled the PIN number to fit your configuration file below (you remove the pin number). Hope it helps -Original Message- From: Blackman Anthony [mailto:[EMAIL PROTECTED] Sent: vendredi 28 décembre 2007 19:52 To: users@kannel.org Subject: CPIN Error in supporting multiple GPRS Modems in Bearerbox Hello All, I am haveing a problem with my 2nd modem in Bearerbox it does not activate attached is the config and the log. Can anyone send me a sample config that works. Anthony Config File #--- # Modem include section # include = /download/Configs/nycmodem.conf # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS # # SMSC GSM # # This is the USB test tty # # group = smsc smsc = at modemtype = wavecom device = /dev/ttyUSB0 #pin = 2345 validityperiod = 167 group = smsc smsc = at modemtype = wavecom device = /dev/ttyUSB4 #pin = 2345 validityperiod = 167 # Log 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATE0^M 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- ATE0^M 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- ATI^M 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATI^M 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- WAVECOM MODEM 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- WAVECOM MODEM 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- MULTIBAND G850 1900 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- MULTIBAND G850 1900 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:17 [14349] [7] DEBUG: Loading include file `/download/Configs/nycmodem.conf' (on line 77 of file /download/Configs/pushkannel1.conf). 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: found string WAVECOM, using modem definition Attnyc 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- AT+CSMS=?^M 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:17 [14349] [6] DEBUG: Loading include file `/download/Configs/nycmodem.conf' (on line 77 of file /download/Configs/pushkannel1.conf). 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: found string WAVECOM, using modem definition Attnyc 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=?^M 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- +CSMS: (0,1) 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: (0,1) 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: Phase 2+ is supported 2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: closing device 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: closing device 2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: opening device 2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: opening device 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: device opened 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened 2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: device opened 2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: init device 2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened 2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: init device 2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: speed set to 115200 2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- ATZ^M 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATZ^M 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- AT^M 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT^M 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- AT 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- OK 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- ATF^M 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF^M 2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: -- ATF 2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF
RE: Problem Modem D301 USB
Are you sure only one kannel process is running at the time ? -Original Message- From: Rafael Bernardes [mailto:[EMAIL PROTECTED] Sent: mardi 8 janvier 2008 09:49 To: Alvaro Cornejo Cc: users@kannel.org Subject: Re: Problem Modem D301 USB Im search in the list but nothing to see work: ls -al ttyACM* crwxrwxrwx 1 root dialout 166, 0 2008-01-08 15:28 ttyACM0 crwxrwxrwx 1 root dialout 166, 1 2008-01-08 15:39 ttyACM1 In minicom, ttyACM0 and ttyACM1 working! But in kannel have same error: AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0 OK ATI1 cxc1722861 OK ATI3 GW01 USB WMC Modem OK Regards Alvaro Cornejo wrote: Hi Check mailing list. There are several threads about this issue. Check device write permissions. Check kannel is connecting to the right device. Some USB devices use /dev/ttyUSBxx, /dev/ttyAMCxx, etc On 1/8/08, Rafael Bernardes [EMAIL PROTECTED] wrote: Hi to everyone! I have a modem D301 (with ATI1 command in minicom returns GW01 USB WMC Modem). When i start the kannel my log show me the following lines: 2008-01-08 13:04:15 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2008-01-08 13:04:19 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M 2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device 2008-01-08 13:04:23 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to open device with not closed device!!! Please report!!! 2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device 2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2008-01-08 13:04:24 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600 2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M 2008-01-08 13:04:26 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2008-01-08 13:04:30 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M 2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device 2008-01-08 13:04:34 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to open device with not closed device!!! Please report!!! 2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device 2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2008-01-08 13:04:35 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2008-01-08 13:04:35 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600 Kannel Conf: group = core admin-port = 13000 admin-password = bar admin-allow-ip = smsbox-port = 13001 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log box-allow-ip = group = smsc smsc = at modemtype = usb modem device = /dev/ttyACM0 pin = 3636 speed = 9600 sim-buffering = true log-file = /var/log/kannel/sms.log log-level = 0 group = modems id = auto name = GW01 USB WMC Modem? broken = true detect-string = D301 detect-string2 = GW01 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true #message-storage = ME keepalive-cmd = AT+CSQ group = smsbox bearerbox-host = localhost sendsms-port = 13003 log-file = /var/log/kannel/smsbox.log log-level = 0 group = core admin-port = 13000 admin-password = bar admin-allow-ip = smsbox-port = 13001 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log box-allow-ip = group = smsc smsc = at modemtype = usb modem device = /dev/ttyACM0 pin = 3636 speed = 9600 sim-buffering = true log-file = /var/log/kannel/sms.log log-level = 0 group = modems id = auto name = GW01 USB WMC Modem? broken = true detect-string = D301 detect-string2 = GW01 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true #message-storage = ME keepalive-cmd = AT+CSQ group = smsbox bearerbox-host = localhost sendsms-port = 13003 log-file = /var/log/kannel/smsbox.log log-level = 0 Regards Rafael http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018 http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408 -- * Rafael Bernardes * Infra 55 11 3525-5364 55 11 8643-3454 [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018 Agência F.biz http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408 http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408 _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080108-0, 08/01/2008 Analyse le : 08/01/2008 13:28:18 avast! - copyright (c) 1988-2008 ALWIL
RE: maximum SMSC kannel support
the limit is more on the number of sms to handle at a time , specially if you are using dlr report _ From: ashwani [mailto:[EMAIL PROTECTED] Sent: mardi 8 janvier 2008 22:15 To: 'Kannel Users' Subject: maximum SMSC kannel support Hi everyone, What is the maximum number of SMSC kannel can support on a single server? Is there any limit to it? Regards, Ashwani Kumar _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080108-0, 08/01/2008 Analyse le : 09/01/2008 01:14:52 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: maximum SMSC kannel support
You have to check the number of sms that kannel handle at a time, by default it is 512, check the manual for further details Regards -Original Message- From: Dave Jong A Lock [mailto:[EMAIL PROTECTED] Sent: mercredi 9 janvier 2008 04:45 To: users@kannel.org Subject: RE: maximum SMSC kannel support 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 _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080109-0, 09/01/2008 Analyse le : 09/01/2008 16:19:37 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: Cannot send sms from remote browser
you could make a telnet and then a GET on the http port to see what it return. are you sure to have all the kannel process running ? hope it helps _ From: monim benayad [mailto:[EMAIL PROTECTED] Sent: jeudi 31 janvier 2008 10:18 To: MalikSI Cc: users@kannel.org Subject: Re: Cannot send sms from remote browser May be a firewall or kannel.conf settings, configuire allow and deny IP(s) correctly. On Jan 31, 2008 12:41 PM, MalikSI [EMAIL PROTECTED] wrote: Hello All, I have seccessfully installed kannel 1.4.1 on Redhat Linux. I can send sms using the sendsms url from the linux box itself. But when I tried doing the same from another machine, I got Page cannot be dispayed message. Has anybody gotten this error before, and what am i doing wrong? Thank you. Malik Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080131-1, 31/01/2008 Analyse le : 31/01/2008 10:32:49 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: Kannel performance
Hello, Could you be more precise on the test environnement? Are you using mysql in both? It could depend as well how you are coding your database request. If you are asking for all the fields of each record or not Many things to explain before we could advice if the issue is from kannel or not! Hope it helps Regards -Original Message- From: Illimar Reinbusch - Telejazz.com [mailto:[EMAIL PROTECTED] Sent: mercredi 13 février 2008 04:55 To: users@kannel.org Subject: Kannel performance Hi Im testing Kannel performance using fakesmsc. I have set-up three fake connections and im sending 20 000 SMS per connection and kannel receives them in speed 2000 SMS/sec per connection and stores the messages in Kannel buffer. Now i have Apache2 server with PHP scripts that do the SMS logic and reply to kannel. I get about 600 sms/min speed both Kannel-Apache and Apache-Kannel direction, theres no difference what PHP script does, just empty echo haha or big sql queries, i still get the same speed. Any advice how to speed up the process? Illimar _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080213-0, 13/02/2008 Analyse le : 13/02/2008 14:43:46 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: GSM DLR from GSM operator for MTs
it is in the dlr feature of kannel if you want some examples of AT command. regards _ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: mercredi 12 mars 2008 08:59 To: Raul Igrisan Cc: users@kannel.org Subject: Re: GSM DLR from GSM operator for MTs As fas as I know, this is not possible. operator usually block this feature for modems/phones On Wed, Mar 12, 2008 at 5:17 AM, Raul Igrisan [EMAIL PROTECTED] wrote: Does anyone know how to instruct (perhaps AT command or PDU parameter) a GSM SMSC (phone/modem) to request DLR from GSM network when sending MT? By default the modem doesn't receive the a delivery report from operator when the message is delivered to the target mobile phone. Thanks -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080312-0, 12/03/2008 Analyse le : 12/03/2008 23:17:41 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: Query
RTFM go the user manual first please _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 4 avril 2008 01:50 To: users@kannel.org Subject: Query Hello, i have downloaded kannel gateway-1.4.1 for the application to send SMS from PC to mobile phone. But i m using Red Hat Linux 4. I dont know how to connect my Nokia 6070 cell phone to PC through Data Cable CA-42. Plz Can anyone tell me how to do it? Is there any drivers for connection for Linux OS? Plz reply me as soon as possible. (Please Today) * Operating system and version.= Red Hat Linux 4 * Kannel version. = 1.4.1 * Single processor machine _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080404-0, 04/04/2008 Analyse le : 04/04/2008 02:01:51 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: Store's growing, smsbox doesnt seem to take MOs
hello, in which order did you start your different process ? regards _ From: Fourat ZOUARI [mailto:[EMAIL PROTECTED] Sent: lundi 14 avril 2008 11:05 To: seik Cc: users @ kannel. org Subject: Re: Store's growing, smsbox doesnt seem to take MOs Here's the configs: group = core admin-port = 13000 admin-password = fxxbar status-password = sTtx admin-deny-ip = *.*.*.* admin-allow-ip = *.*.*.* box-deny-ip = *.*.*.* box-allow-ip = *.*.*.* wdp-interface-name = * log-file = /var/log/kannel/main.log log-level = 1 access-log = /var/log/kannel/raw.log smsbox-port = 13001 dlr-storage = pgsql store-type = spool store-location = /var/spool/kannel #include = /etc/kannel/bx-sql.conf include = /etc/kannel/bx-sms.conf include = /etc/kannel/smsc.conf include = /etc/kannel/routing-mo.conf include = /etc/kannel/routing-mt.conf include = /etc/kannel/db.conf include = /etc/kannel/routing-dlr.conf group = smsbox bearerbox-host = localhost log-file = /var/log/kannel/bx-sms.log log-level = 0 mo-recode = true http-request-retry = 10 http-queue-delay = 60 smsbox-id = smsbox-01 sendsms-port = 13002 #bearerbox-is-sqlbox = true group = smsbox bearerbox-host = localhost log-file = /var/log/kannel/bx-sms2.log log-level = 0 mo-recode = true http-request-retry = 10 http-queue-delay = 60 #smsbox-id = smsbox-01 sendsms-port = 13002 #bearerbox-is-sqlbox = true group = sqlbox id = dlr-01-db smsbox-id = smsbox-01 bearerbox-host = 127.0.0.1 bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = k_messaginglog sql-insert-table = k_messagingqueues log-file = /var/log/kannel/bx-sql.log log-level = 2 And here's the startup script: #!/bin/sh START_SMSBOX='YES' START_WAPBOX='' START_SQLBOX='YES' BOXPATH=/usr/local/sbin PIDFILES=/var/kannel CONF=/etc/kannel/bx-bearer.conf CONFSQL=/etc/kannel/bx-sql.conf PATH=$BOXPATH:$PATH case $1 in start) echo -n Starting Kannel: echo -n bearerbox start-stop-daemon --start --quiet \ --pidfile $PIDFILES/bearerbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/bearerbox.pid \ --no-extra-args \ $BOXPATH/bearerbox -v 4 -- $CONF sleep 1 # Wait for bearerbox test ! -z $START_SQLBOX ( echo -n SQL start-stop-daemon --start --quiet \ --pidfile $PIDFILES/sqlbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/sqlbox.pid \ --no-extra-args \ /usr/local/bin/sqlbox -v 4 -- $CONFSQL ) test ! -z $START_WAPBOX ( echo -n WAP start-stop-daemon --start --quiet \ --pidfile $PIDFILES/wapbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/wapbox.pid \ --no-extra-args \ $BOXPATH/wapbox -v 4 -- $CONF ) test ! -z $START_SMSBOX ( echo -n SMS start-stop-daemon --start --quiet \ --pidfile $PIDFILES/smsbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/smsbox.pid \ --no-extra-args \ $BOXPATH/smsbox -v 4 -- $CONF ) echo . ;; stop) echo -n Stopping Kannel: test ! -z $START_SMSBOX ( echo -n SMS start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/smsbox.pid \ --exec $BOXPATH/run_kannel_box ) test ! -z $START_WAPBOX ( echo -n WAP start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/wapbox.pid \ --exec $BOXPATH/run_kannel_box ) test ! -z $START_SQLBOX ( echo -n SQL start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/sqlbox.pid \ --exec $BOXPATH/run_kannel_box ) echo -n MAIN start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/bearerbox.pid \ --exec $BOXPATH/run_kannel_box echo . ;; reload) # We don't have support for this yet. exit 1 ;; restart|force-reload) $0 stop sleep 10 $0 start ;; *) echo Usage: $0 {start|stop|restart|force-reload} exit 1 esac exit 0 On Mon, Apr 14, 2008 at 7:01 PM, seik [EMAIL PROTECTED] wrote: what is the start order of your kannel boxes ? bearerbox, then sqlbox, then smsbox ? OR bearerbox, smsbox, sqlbox ? what ARE the sqlbox and the smsbox config ? -Original Message- From: users@kannel.org [EMAIL PROTECTED] Sent: 14 ? 2008 ?. To: seik Subject:Store's growing, smsbox doesnt seem to take MOs I have a problem with MOs get no execution and stay on the bearer side (queued). Problem is detected on 1.4.1, upgraded to the latest cvs HEAD (cvs-20080409) and still have the same problem. I receive MOs, but nothing gets passed to smsbox, reading the logs, for every received
RE: Store's growing, smsbox doesnt seem to take MOs
Hello, could you provide the following files, in order to see if something missing : include = /etc/kannel/bx-sms.conf include = /etc/kannel/smsc.conf include = /etc/kannel/routing-mo.conf include = /etc/kannel/routing-mt.conf include = /etc/kannel/db.conf include = /etc/kannel/routing-dlr.conf regards _ From: Fourat ZOUARI [mailto:[EMAIL PROTECTED] Sent: lundi 14 avril 2008 11:05 To: seik Cc: users @ kannel. org Subject: Re: Store's growing, smsbox doesnt seem to take MOs Here's the configs: group = core admin-port = 13000 admin-password = fxxbar status-password = sTtx admin-deny-ip = *.*.*.* admin-allow-ip = *.*.*.* box-deny-ip = *.*.*.* box-allow-ip = *.*.*.* wdp-interface-name = * log-file = /var/log/kannel/main.log log-level = 1 access-log = /var/log/kannel/raw.log smsbox-port = 13001 dlr-storage = pgsql store-type = spool store-location = /var/spool/kannel #include = /etc/kannel/bx-sql.conf include = /etc/kannel/bx-sms.conf include = /etc/kannel/smsc.conf include = /etc/kannel/routing-mo.conf include = /etc/kannel/routing-mt.conf include = /etc/kannel/db.conf include = /etc/kannel/routing-dlr.conf group = smsbox bearerbox-host = localhost log-file = /var/log/kannel/bx-sms.log log-level = 0 mo-recode = true http-request-retry = 10 http-queue-delay = 60 smsbox-id = smsbox-01 sendsms-port = 13002 #bearerbox-is-sqlbox = true group = smsbox bearerbox-host = localhost log-file = /var/log/kannel/bx-sms2.log log-level = 0 mo-recode = true http-request-retry = 10 http-queue-delay = 60 #smsbox-id = smsbox-01 sendsms-port = 13002 #bearerbox-is-sqlbox = true group = sqlbox id = dlr-01-db smsbox-id = smsbox-01 bearerbox-host = 127.0.0.1 bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = k_messaginglog sql-insert-table = k_messagingqueues log-file = /var/log/kannel/bx-sql.log log-level = 2 And here's the startup script: #!/bin/sh START_SMSBOX='YES' START_WAPBOX='' START_SQLBOX='YES' BOXPATH=/usr/local/sbin PIDFILES=/var/kannel CONF=/etc/kannel/bx-bearer.conf CONFSQL=/etc/kannel/bx-sql.conf PATH=$BOXPATH:$PATH case $1 in start) echo -n Starting Kannel: echo -n bearerbox start-stop-daemon --start --quiet \ --pidfile $PIDFILES/bearerbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/bearerbox.pid \ --no-extra-args \ $BOXPATH/bearerbox -v 4 -- $CONF sleep 1 # Wait for bearerbox test ! -z $START_SQLBOX ( echo -n SQL start-stop-daemon --start --quiet \ --pidfile $PIDFILES/sqlbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/sqlbox.pid \ --no-extra-args \ /usr/local/bin/sqlbox -v 4 -- $CONFSQL ) test ! -z $START_WAPBOX ( echo -n WAP start-stop-daemon --start --quiet \ --pidfile $PIDFILES/wapbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/wapbox.pid \ --no-extra-args \ $BOXPATH/wapbox -v 4 -- $CONF ) test ! -z $START_SMSBOX ( echo -n SMS start-stop-daemon --start --quiet \ --pidfile $PIDFILES/smsbox.pid \ --chuid kannel \ --exec $BOXPATH/run_kannel_box \ -- \ --pidfile $PIDFILES/smsbox.pid \ --no-extra-args \ $BOXPATH/smsbox -v 4 -- $CONF ) echo . ;; stop) echo -n Stopping Kannel: test ! -z $START_SMSBOX ( echo -n SMS start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/smsbox.pid \ --exec $BOXPATH/run_kannel_box ) test ! -z $START_WAPBOX ( echo -n WAP start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/wapbox.pid \ --exec $BOXPATH/run_kannel_box ) test ! -z $START_SQLBOX ( echo -n SQL start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/sqlbox.pid \ --exec $BOXPATH/run_kannel_box ) echo -n MAIN start-stop-daemon --stop --quiet \ --pidfile $PIDFILES/bearerbox.pid \ --exec $BOXPATH/run_kannel_box echo . ;; reload) # We don't have support for this yet. exit 1 ;; restart|force-reload) $0 stop sleep 10 $0 start ;; *) echo Usage: $0 {start|stop|restart|force-reload} exit 1 esac exit 0 On Mon, Apr 14, 2008 at 7:01 PM, seik [EMAIL PROTECTED] wrote: what is the start order of your kannel boxes ? bearerbox, then sqlbox, then smsbox ? OR bearerbox, smsbox, sqlbox ? what ARE the sqlbox and the smsbox config ? -Original Message- From: users@kannel.org [EMAIL PROTECTED] Sent: 14 ? 2008 ?. To: seik Subject:Store's growing, smsbox doesnt seem to take MOs I have a problem with MOs get no execution
Php script not working
Hi, I tried to use the simple form web php script in /contrib/web But I got the following error with the each Sendsms [?] From: [?] To: [?] Validity: [?] Deferred: Warning: Variable passed to each() is not an array or object in /var/www/web/form.php on line 294 Does anyone got the same issue ? Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080421-1, 21/04/2008 Analyse le : 21/04/2008 20:00:07 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: kannel 1.4.1-2 and debian and diskspace.
Try to take a look in /var/log/kannel/ Don't forget to make log rotate as well (it is well explained in the userguide) Hope it helps -Original Message- From: Michael Habashy [mailto:[EMAIL PROTECTED] Sent: lundi 21 avril 2008 08:46 To: Kyriacos Sakkas Cc: users@kannel.org Subject: Re: kannel 1.4.1-2 and debian and diskspace. I am running a flat file system. All i know is that kannel - bearerbox is occupying 50-80% of cpu time in top. And when i stop kannel via init script..it takes a while, but the diskspace comes back over 5-10 minutes of time. mjh On Mon, Apr 21, 2008 at 10:48 AM, Kyriacos Sakkas [EMAIL PROTECTED] wrote: A possibility although it is not something that has been a problem for me, running a couple of versions of kannel on debian is that maybe you have disk-based dlr and you are requesting reports but your carrier is not returning anything, so the storage files grows? somewhere under /var/spool/kannel/ . Can you not see which partition is filling up, or are you running on a flat file system? Michael Habashy wrote: I have a weird situation where kannel is occupying over 142 gig of diskspace and i do not think it is the log file either. I just installed and started my kannel package and i realized that my diskspace was disappearing. I ran top and realized that kannel was taking a lot of cpu time. But looked in the usual places and did not find out where the diskspace was disappearing... Does anyone know ??? I found out it was kannel -when i actually stopped it from running anymore.. can anyone help ??? thanks mjh -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: [EMAIL PROTECTED] http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at [EMAIL PROTECTED] ** _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080421-1, 21/04/2008 Analyse le : 21/04/2008 19:58:19 avast! - copyright (c) 1988-2008 ALWIL Software.
RE: dlr with mysql
take a look in the dlr-url and dlr-mask parameter when you send a sms. basically, you have to put you dlr-mask to 31 to have all the dlr (your operator have to support as well), and all the dlr will be forward to the url defined by dlr-url (must be url encoded) hope it helps _ From: hafez ahmad [mailto:[EMAIL PROTECTED] Sent: lundi 21 avril 2008 11:41 To: users@kannel.org Subject: dlr with mysql Hi all, I want to use the DLR with mysql I set up all the needed configuration like the user guide, but I didn't receive anything, is the there anything else I must add it?, and when I must use the dlr-mask and dlr-url in the sendsms? thanks for help. _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080421-1, 21/04/2008 Analyse le : 21/04/2008 20:01:50 avast! - copyright (c) 1988-2008 ALWIL Software.
CDMA phone
Hello, Does anyone got some experience on CDMA and Kannel ? What about the CDMA samsung phone such as the U410 ? Is it working with kannl ? Regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080421-1, 21/04/2008 Analyse le : 22/04/2008 00:55:54 avast! - copyright (c) 1988-2008 ALWIL Software.
CDMA nokia phone
Hello, Does someone got any experience with CDMA phone and kannel such as : Nokia 3105, Nokia 3125, Nokia 3152, Nokia 3155, Nokia 3155i, Nokia 3205, Nokia 3585i, Nokia 3586, Nokia 3586i, Nokia 3587, Nokia 3587i, Nokia 6012, Nokia 6015, Nokia 6015i, Nokia 6155, Nokia 6155i, Nokia 6225, 6235, Nokia 6235i Nokia 6585, and Nokia 6255 devices I read on the nokia site that their AT command looks similar to gsm, I am wondering if they could be use as modem for Kannel? Best regards _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 080422-1, 22/04/2008 Analyse le : 22/04/2008 23:31:21 avast! - copyright (c) 1988-2008 ALWIL Software.
CDMA help
Hello, I was posting a previous email on CDMA with Kannel but without answer. After my research in the AT command, it looks not so difficult to do it. But I need to have some support from the community to do the AT driver for CDMA. Do someone is interested in such driver ? Best regards
Receive binary sms
Hello, I'm looking to receive binary sms and I would to forward them to an external application web. I'm using sms service but the content of the sms is not I was looking for : 2008-05-07 21:44:45 QueryString: t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40 %40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC %3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40 Here are the string I received from access.log of kannel : 2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:] [from:+xx] [to:yyy] [flags:-1:0:-1:0:-1] [msg:160:?([EMAIL PROTECTED]?èQòéì?% £ìèihfacegg;?ù£@@@£ì¥@£@ [EMAIL PROTECTED]@@] As you could see there is some tricky characters at the beginning of the content. How to tell kannel to send them as binary (I already tried to put b=%b but with same wrong result). Hope someone got the answer Best regards
RE: Receive binary sms
Hello all, I forget to precise that the originator sms was in hex and it looks like the folliwng line when I sent it with another modem application : AT+CMGF=0;+CPMS=ME;+CSCS=HEX;+WMGO=001;+CMGW=154 0031000B913366399524F78FA0135400500060CA210A07CB ED153010D26873584C369F639042 0008148500402806 03042100205840924200 00 My need is to get the same hexa result transmit by kannel throug the sms service to the target web application. Does someone got any idea ? Regards -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: mercredi 7 mai 2008 13:18 To: users@kannel.org Subject: Receive binary sms Hello, I'm looking to receive binary sms and I would to forward them to an external application web. I'm using sms service but the content of the sms is not I was looking for : 2008-05-07 21:44:45 QueryString: t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40 %40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC %3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40 Here are the string I received from access.log of kannel : 2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:] [from:+xx] [to:yyy] [flags:-1:0:-1:0:-1] [msg:160:?([EMAIL PROTECTED]?èQòéì?% £ìèihfacegg;?ù£@@@£ì¥@£@ [EMAIL PROTECTED]@@] As you could see there is some tricky characters at the beginning of the content. How to tell kannel to send them as binary (I already tried to put b=%b but with same wrong result). Hope someone got the answer Best regards
RE: Receive binary sms
Any people got experience of sms service with %b ? From the kannel guide, we got : %b the original SMS message, in a binary form I was using it but unfortunelty for me the result was the same as %a ! If someone got some ideas on this issue ? Regards -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: mercredi 7 mai 2008 16:25 To: users@kannel.org Subject: RE: Receive binary sms Hello all, I forget to precise that the originator sms was in hex and it looks like the folliwng line when I sent it with another modem application : AT+CMGF=0;+CPMS=ME;+CSCS=HEX;+WMGO=001;+CMGW=154 0031000B913366399524F78FA0135400500060CA210A07CB ED153010D26873584C369F639042 0008148500402806 03042100205840924200 00 My need is to get the same hexa result transmit by kannel throug the sms service to the target web application. Does someone got any idea ? Regards -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: mercredi 7 mai 2008 13:18 To: users@kannel.org Subject: Receive binary sms Hello, I'm looking to receive binary sms and I would to forward them to an external application web. I'm using sms service but the content of the sms is not I was looking for : 2008-05-07 21:44:45 QueryString: t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40 %40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC %3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40 Here are the string I received from access.log of kannel : 2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:] [from:+xx] [to:yyy] [flags:-1:0:-1:0:-1] [msg:160:?([EMAIL PROTECTED]?èQòéì?% £ìèihfacegg;?ù£@@@£ì¥@£@ [EMAIL PROTECTED]@@] As you could see there is some tricky characters at the beginning of the content. How to tell kannel to send them as binary (I already tried to put b=%b but with same wrong result). Hope someone got the answer Best regards
RE: [Fwd: Re: Receive binary sms]
ok, I will try but it doesn't explain the strange parenthesis : %3F(%A3%40%E9%24%40%40%40%40%40%40%40 do you have any example of code ? regards _ From: Mihai Zsigmond [mailto:[EMAIL PROTECTED] Sent: jeudi 8 mai 2008 02:49 To: users@kannel.org Subject: [Fwd: Re: Receive binary sms] Dear info.ubichip, Your problem is in coding of the original message + urlencode or the message. So, use %s to tell you the coding of the message and %r to actually read the content. Please note that the sequence you see %3F(%A3%40%E9%24%40%40%40%40%40%40%40 is urlencoded If the coding is UTF16-BE use iconv routine of your system to convert it to its actual content. I'm using this trick to convert SMS containing national characters to plain ASCII. Hope it helps. Regards, Mihai info.ubichip wrote: Any people got experience of sms service with %b ? From the kannel guide, we got : %b the original SMS message, in a binary form I was using it but unfortunelty for me the result was the same as %a ! If someone got some ideas on this issue ? Regards -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: mercredi 7 mai 2008 16:25 To: users@kannel.org Subject: RE: Receive binary sms Hello all, I forget to precise that the originator sms was in hex and it looks like the folliwng line when I sent it with another modem application : AT+CMGF=0;+CPMS=ME;+CSCS=HEX;+WMGO=001;+CMGW=154 0031000B913366399524F78FA0135400500060CA210A07CB ED153010D26873584C369F639042 0008148500402806 03042100205840924200 00 My need is to get the same hexa result transmit by kannel throug the sms service to the target web application. Does someone got any idea ? Regards -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: mercredi 7 mai 2008 13:18 To: users@kannel.org Subject: Receive binary sms Hello, I'm looking to receive binary sms and I would to forward them to an external application web. I'm using sms service but the content of the sms is not I was looking for : 2008-05-07 21:44:45 QueryString: t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40 %40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC %3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40 Here are the string I received from access.log of kannel : 2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:] [from:+xx] [to:yyy] [flags:-1:0:-1:0:-1] [msg:160:?([EMAIL PROTECTED]?èQòéì?% £ìèihfacegg;?ù£@@@£ì¥@£@ [EMAIL PROTECTED]@@] As you could see there is some tricky characters at the beginning of the content. How to tell kannel to send them as binary (I already tried to put b=%b but with same wrong result). Hope someone got the answer Best regards -- Mihai Zsigmond Telemedia Consult srl tel: +40 21 316 0577 mobil: +40 746 091 360 -- Mihai Zsigmond Telemedia Consult srl tel: +40 21 316 0577 mobil: +40 746 091 360
Binary conversion and SMS service
Hello, I got some issue with the transmission of sms via kannel and sms service feature. The original sms is in 7 bit but it is raw data (not ascii one). When they arrive on kannel, I have the following log in the kannel.log 2008-05-10 09:29:40 [8869] [6] DEBUG: AT2[GSM0]: 1 messages waiting in memory 2008-05-10 09:29:40 [8869] [6] DEBUG: AT2[GSM0]: -- AT+CMGR=1^M 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: -- +CMGR: 0,,159 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: -- 07913366003000F0240B913366496236F980500190629280A01354005068 4006600A230A8A44A5124810D469B3986C469BC351200FE6B138108602611000 020200C0A0C12808 00 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: received message from SMSC: +33660003000 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: Numeric sender (international) +33669426639 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: User data length read as (160) 2008-05-10 09:29:41 [8869] [6] DEBUG: AT2[GSM0]: Udh decoding done len=160 udhi=0 udhlen=0 udh='' 2008-05-10 09:29:41 [8869] [12] DEBUG: send_msg: sending msg to box: 127.0.0.1 2008-05-10 09:29:41 [8869] [12] DEBUG: boxc_sender: sent message to 127.0.0.1 2008-05-10 09:29:41 [8869] [11] DEBUG: boxc_receiver: got ack 200 Here what I got in access.log : 2008-05-10 09:29:41 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:] [from:+33669426639] [to:0033669359427] [flags:-1:0:-1:0:-1] [msg:160:?([EMAIL PROTECTED]?@aòé Ç??£ÇèjifbdfhfaQ¡0ß?Åòùé襣@@£$@¥øé$@@@ @@] [udh:0:] And so this sms is transmit to an externat web site/ Here on the web site (please don't care on the hour because time are not accuratly synchronized between the 2 machines) 2008-05-10 09:26:40 QueryString: t=2008-05-10+07:26:29q=%2B43669426638a=%3F(%A3%40%E9+%40%40%40%40%40%40%40 %40%40%40%40%40%3F%40%26a%F2%E9+%C7%3F%3F%A3%C7%E8jifbdfhfaQ%A1%3C0%DF%3F%C5 %F2%F9%E9%E8%A5%A3%40%40%40%40%40%40%40%40%40%40%A3%24%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%A5+%F8%E9%24%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40 %40%40%40%40%40%40%40%40%40%40%40i=GSM0bin=%3F(%A3%40%E9%0D%40%40%40%40%40 %40%40%40%40%40%40%40%3F%40%26a%F2%E9%0A%C7%3F%3F%A3%C7%E8jifbdfhfaQ%A1%3C0% DF%3F%C5%F2%F9%E9%E8%A5%A3%40%40%40%40%40%40%40%40%40%40%A3%24%40%40%40%40%4 0%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%A5%0D%F8%E9%24 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%40%40%40%40%40%40%40%40coding=0charset=ISO-8859-1 2008-05-10 09:26:40 Request Params: 2008-05-10 09:26:40 a = ?([EMAIL PROTECTED] ?@a?? ??jifbdfhfaQ?0?@@?$@? ??$@ ?@a??0 bin = ?([EMAIL PROTECTED] ??$@ 2008-05-10 09:26:40 i = GSM0 2008-05-10 09:26:40 t = 2008-05-10 07:26:29 2008-05-10 09:26:40 q = +34669426638 I tried to use the %b parameters in the sms service url but without success. I tried to convert it with bin2hex php code but it appears like : 3f28a340e90a4040404040404040404040403f405c5c5c27a3f2e90ac7e940a3c7e86a686662 646667673a3f2d3e5a63bf4f323fc7e8a3a3a3a3404040404040404040404040404040404040 4040404040404040404040a3a340404040a3f2ec244040404040404040404040404040404040 4040404040404040404040404040404040404040404040404040404040404040404040404040 4040404040404040404040 My issue is the format in the http request is not understandable. How I could get the original raw data as it appears in the kannel log? How to tell Kannel to convert in the correct format in the sms service ? Does someone got some experience on it ? Regards
RE: Kannel converting binary message
it convert it otherwise it could not be pass correctly to the web server (because of encoding type stuff). But if it is a binary message, don't forget that the message is the data pdu itself and not the orginal data. hope it help.. _ From: Luis Augusto C. Sauerbronn [mailto:[EMAIL PROTECTED] Sent: mardi 13 mai 2008 11:31 To: users@kannel.org Subject: Re: Kannel converting binary message So? Can anyone shed some light upon this question? Best regards, Luis 2008/5/12 Luis Augusto C. Sauerbronn [EMAIL PROTECTED]: Hello, I was sending a binary message to kannel but even when I send coding=1 some of the characters were converted. Here is the picture: 1. Message is sent from kannel sendsms interface: from= 54321, to=987, smsc=SMSCMON, text=000BFF0E; 2. Kannel delivers message to SMSC correctly; 3. SMSC sends back massage to kannel: from= 54321, to=987, smsc=SMSC987, text=000BFF0E; 4. Kannel sends message to external script: from= 54321, to=987, smsc=SMSC987, text=%00+%FF%0E; Does anyone know why would kannel convert the message it received before it puts it on an URL? How can I prevent it from happening? Attached are the logs generated by the messages described above. Best regards, Luis -- Luis Augusto C. Sauerbronn Prill Tecnologia [EMAIL PROTECTED] Cel: +55 21 81881180 http://www.prill.com.br
Strange msg data conversion in pdu : kannel bug ?
Hello, I got a strange behavior from kannel. Here is the log from the bearerbox that show a message arrived : 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: -- 07913366003000F0240B913366496236F9805051 80054080A01354005000704A200A0F0103134010D267B2985C3E 9B5D924421 040A0200 00 00061D95A841186C340A0100 00 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: received message from SMSC: +33660003000 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: Numeric sender (international) +33669426639 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: User data length read as (160) 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: Udh decoding done len=160 udhi=0 udhlen=0 udh='' 2008-05-15 08:53:48 [26800] [12] DEBUG: send_msg: sending msg to box: 127.0.0.1 2008-05-15 08:53:48 [26800] [12] DEBUG: boxc_sender: sent message to 127.0.0.1 I assumed the user data (length=0A=160) is : 1354005000704A200A0F0103134010D267B2985C3E9B5D924421 040A0200 00 00061D95A841186C340A0100 00 Then the message is transmit to the smsbox : 2008-05-15 08:50:08 [26835] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13003. 2008-05-15 08:53:48 [26835] [4] INFO: Starting to service ?([EMAIL PROTECTED]@@@\'Çòéå$ø?£òèigdbdeg è¥?Çé£@@£é$@ @¥æ* $@@ from +33 to 003 And then the transmit data to the web server throug a sms service : GET /INSMS.jsp?t=2008-05-15+06:56:03q=%2B3366942xx39coding=0charset=ISO-8859- 1a=%3F(%A3%40%E9%A3%40%40%40%40%40%40%40%40%40%40%40%40%3F%40%5C'+%F2%E9%E5 %F27%40%A3+%E8jhdbdfhh*%C5%E8%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%A3%E9%24%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%A5%C6%26%C9%F8%A5%E9%DF+%E8%A3%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40 I don't understand why kannel doesn't transmit the orginal 1354 And why it is making strange caracters in the url such as the parenthesis or the strange %E8jhdbdfhh* in the middle of the url. Is it a bug in kannel or I forget something ? Is it a problem with url encode or with pdu transformation ? Please help me.
RE: Strange msg data conversion in pdu : kannel bug ?
Hello, I was looking forward for this bug and it appears that the code is not clear on the transcoding (see below), does someone know why the transcoding is done in at_smsc : debug(bb.smsc.at2, 0, AT2[%s]: Udh decoding done len=%d udhi=%d udhlen=%d udh='%s', octstr_get_cstr(privdata-name), len, udhi, udhlen, (udh ? octstr_get_cstr(udh) : )); if (pos octstr_len(pdu) || len 0) goto msg_error; /* build the message */ message = msg_create(sms); if (!dcs_to_fields(message, dcs)) { /* XXX Should reject this message? */ debug(bb.smsc.at2, 0, AT2[%s]: Invalid DCS, octstr_get_cstr(privdata-name)); dcs_to_fields(message, 0); } message-sms.pid = pid; /* deal with the user data -- 7 or 8 bit encoded */ tmpstr = octstr_copy(pdu, pos, len); if (message-sms.coding == DC_8BIT || message-sms.coding == DC_UCS2) { text = octstr_duplicate(tmpstr); } else { int offset = 0; text = octstr_create(); if (udhi message-sms.coding == DC_7BIT) { int nbits; nbits = (udhlen + 1) * 8; /* fill bits for UDH to septet boundary */ offset = (((nbits / 7) + 1) * 7 - nbits) % 7; } at2_decode7bituncompressed(tmpstr, len, text, offset); } message-sms.sender = origin; if (octstr_len(privdata-my_number)) { message-sms.receiver = octstr_duplicate(privdata-my_number); } else { /* Put a dummy address in the receiver for now (SMSC requires one) */ message-sms.receiver = octstr_create_from_data(1234, 4); } if (udhi) { message-sms.udhdata = udh; } message-sms.msgdata = text; message-sms.time = stime; /* cleanup */ octstr_destroy(pdu); octstr_destroy(tmpstr); return message; -Original Message- From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: jeudi 15 mai 2008 01:11 To: users@kannel.org Subject: Strange msg data conversion in pdu : kannel bug ? Hello, I got a strange behavior from kannel. Here is the log from the bearerbox that show a message arrived : 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: -- 07913366003000F0240B913366496236F9805051 80054080A01354005000704A200A0F0103134010D267B2985C3E 9B5D924421 040A0200 00 00061D95A841186C340A0100 00 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: received message from SMSC: +33660003000 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: Numeric sender (international) +33669426639 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: User data length read as (160) 2008-05-15 08:53:48 [26800] [6] DEBUG: AT2[GSM0]: Udh decoding done len=160 udhi=0 udhlen=0 udh='' 2008-05-15 08:53:48 [26800] [12] DEBUG: send_msg: sending msg to box: 127.0.0.1 2008-05-15 08:53:48 [26800] [12] DEBUG: boxc_sender: sent message to 127.0.0.1 I assumed the user data (length=0A=160) is : 1354005000704A200A0F0103134010D267B2985C3E9B5D924421 040A0200 00 00061D95A841186C340A0100 00 Then the message is transmit to the smsbox : 2008-05-15 08:50:08 [26835] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13003. 2008-05-15 08:53:48 [26835] [4] INFO: Starting to service ?([EMAIL PROTECTED]@@@\'Çòéå$ø?£òèigdbdeg è¥?Çé£@@£é$@ @¥æ* $@@ from +33 to 003 And then the transmit data to the web server throug a sms service : GET /INSMS.jsp?t=2008-05-15+06:56:03q=%2B3366942xx39coding=0charset=ISO-8859- 1a=%3F(%A3%40%E9%A3%40%40%40%40%40%40%40%40%40%40%40%40%3F%40%5C'+%F2%E9%E5 %F27%40%A3+%E8jhdbdfhh*%C5%E8%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4 0%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%A3%E9%24%40%40 %40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%A5%C6%26%C9%F8%A5%E9%DF+%E8%A3%40%40%40%40% 40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40 I don't understand why kannel doesn't transmit the orginal 1354 And why it is making strange caracters in the url such as the parenthesis or the strange %E8jhdbdfhh* in the middle of the url. Is it a bug in kannel or I forget something ? Is it a problem with url encode or with pdu transformation ? Please help me.
RE: pause modem
you could use the admin command, and stop the relative smsc hope it helps _ From: ACL [mailto:[EMAIL PROTECTED] Sent: samedi 17 mai 2008 09:09 To: users@kannel.org Subject: pause modem We are 3 wavecom modems (eg. com1, com2 and com3) connected to kannel. There are many pending sms to be delivered via them. The sendsms url specified the smsc http://192.168.1.1:13013/cgi-bin/sendsms?username=testerpassword=123to=127 05121423text=testsmsc=com3 For some reasons, we need to pause one modem (eg. com3). 1. Could we do this without stopping the kannel? 2. Could we change all pending sms to com3 to other smscs? Best Rgds,
RE: USB Modem
it is possible. but you have to deal with the hotplug of linux _ From: Philip Ankunda [mailto:[EMAIL PROTECTED] Sent: samedi 31 mai 2008 05:38 To: Kannel User Subject: USB Modem Is it possible to connect a USB modem and configure it ok or is kannel locked down to only serial connections? Thanks all in advance Philip _ Connect to the next generation of MSN Messenger Get it now! http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource= wlmailtagline
Simulate kannel
Hello all, I got some particular script in php that are supposing to simulate a kannel gateway. So when I sent a SMS, it answered 0: Accepted for delivery. I would like my kannel gateway saw this script as another kannel gw. Right now all the sms sent by my original gw are sent correctly (the php code is correctly requested) but the kannel gw saw them as failed. I assume it could be because of the 0: Accepted for delivery. Does it need some carriage return or a specific http code (like 200) ? Any help will be appreciate. regards
RE: Basic SMS tests
yes, it is a good way to know the maximum capacity of your system _ From: regme please [mailto:[EMAIL PROTECTED] Sent: vendredi 13 juin 2008 09:36 To: users@kannel.org Subject: Basic SMS tests Hello all. I'd like to make an all-local test system, that is with no real SMSC or phone. The idea is to see things happening just in the logs. How can I use the fake SMSC in order to inject messages? Thanks.
Http relay issue with kannel
Hello, I would like to achieve the following schema to send sms: app --- kannel gw 1--- php code I would like the php code is seen as another kannel gw by the kannel gw #1. In the php code, I wrote some code answering 0: Accepted for delivery or Sent. but the GW1 saw it as NACK and so make it as failed in the kannel database. I take a look in the kannel source and I found that in the /gw/smsc/smsc_http.c : static void kannel_parse_reply(SMSCConn *conn, Msg *msg, int status, List *headers, Octstr *body) { /* Test on three cases: * 1. an smsbox reply of an remote kannel instance * 2. an smsc_http response (if used for MT to MO looping) * 3. an smsbox reply of partly successful sendings */ if ((status == HTTP_OK || status == HTTP_ACCEPTED) (octstr_case_compare(body, octstr_imm(Sent.)) == 0 || octstr_case_compare(body, octstr_imm(Ok.)) == 0 || octstr_ncompare(body, octstr_imm(Result: OK),10) == 0)) { bb_smscconn_sent(conn, msg, NULL); } else { bb_smscconn_send_failed(conn, msg, SMSCCONN_FAILED_MALFORMED, octstr_duplicate(body)); } } So I assume kannel saw a good transmission when it receive a HTTP OK and a message like Sent. or Ok. Does I forget something ? Does someone got similar issue ? Regards
RE: Http relay issue with kannel
Thanks, it was helpfull. it is working now,despite the dlr but it is for cdma and my other gw does not support it. _ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: vendredi 13 juin 2008 16:26 To: info.ubichip Cc: users@kannel.org Subject: Re: Http relay issue with kannel define your php smsc as generic. there you can define regex for the accepted/rejected/etc status. Note that in order to use generic smsc you must use CVS. I use this setup: group = smsc smsc = http smsc-id = kan2mail log-level = 0 log-file = /var/log/kannel/kan2mail.log system-type = generic port = 13017 send-url = http://localhost/sms/kannel/kan2mail.php?u=usr http://localhost/sms/kannel/kan2mail.php?u=usrp p =passto=%pfrom=%Pmsg=%a connect-allow-ip = localhost denied-smsc-id = modem, smsc1 allowed-smsc-id = kan2mail preferred-smsc-id-regex = kan2mail status-success-regex = OK status-permfail-regex = failure status-tempfail-regex = retry later hope helps Alvaro On 6/13/08, info.ubichip [EMAIL PROTECTED] wrote: Hello, I would like to achieve the following schema to send sms: app --- kannel gw 1--- php code I would like the php code is seen as another kannel gw by the kannel gw #1. In the php code, I wrote some code answering 0: Accepted for delivery or Sent. but the GW1 saw it as NACK and so make it as failed in the kannel database. I take a look in the kannel source and I found that in the /gw/smsc/smsc_http.c : static void kannel_parse_reply(SMSCConn *conn, Msg *msg, int status, List *headers, Octstr *body) { /* Test on three cases: * 1. an smsbox reply of an remote kannel instance * 2. an smsc_http response (if used for MT to MO looping) * 3. an smsbox reply of partly successful sendings */ if ((status == HTTP_OK || status == HTTP_ACCEPTED) (octstr_case_compare(body, octstr_imm(Sent.)) == 0 || octstr_case_compare(body, octstr_imm(Ok.)) == 0 || octstr_ncompare(body, octstr_imm(Result: OK),10) == 0)) { bb_smscconn_sent(conn, msg, NULL); } else { bb_smscconn_send_failed(conn, msg, SMSCCONN_FAILED_MALFORMED, octstr_duplicate(body)); } } So I assume kannel saw a good transmission when it receive a HTTP OK and a message like Sent. or Ok. Does I forget something ? Does someone got similar issue ? Regards -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com
RE: Http relay issue with kannel
Hello, I set up a small other application which deal with cdma, and I setup a generic http sms that handle the link from this application to kannel. regards _ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: lundi 16 juin 2008 07:00 To: info.ubichip; users@kannel.org Subject: Re: Http relay issue with kannel How do you handle cdma with kannel?? On Mon, Jun 16, 2008 at 3:35 AM, info.ubichip [EMAIL PROTECTED] wrote: Thanks, it was helpfull. it is working now,despite the dlr but it is for cdma and my other gw does not support it. _ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: vendredi 13 juin 2008 16:26 To: info.ubichip Cc: users@kannel.org Subject: Re: Http relay issue with kannel define your php smsc as generic. there you can define regex for the accepted/rejected/etc status. Note that in order to use generic smsc you must use CVS. I use this setup: group = smsc smsc = http smsc-id = kan2mail log-level = 0 log-file = /var/log/kannel/kan2mail.log system-type = generic port = 13017 send-url = http://localhost/sms/kannel/kan2mail.php?u=usr http://localhost/sms/kannel/kan2mail.php?u=usrp p =passto=%pfrom=%Pmsg=%a connect-allow-ip = localhost denied-smsc-id = modem, smsc1 allowed-smsc-id = kan2mail preferred-smsc-id-regex = kan2mail status-success-regex = OK status-permfail-regex = failure status-tempfail-regex = retry later hope helps Alvaro On 6/13/08, info.ubichip [EMAIL PROTECTED] wrote: Hello, I would like to achieve the following schema to send sms: app --- kannel gw 1--- php code I would like the php code is seen as another kannel gw by the kannel gw #1. In the php code, I wrote some code answering 0: Accepted for delivery or Sent. but the GW1 saw it as NACK and so make it as failed in the kannel database. I take a look in the kannel source and I found that in the /gw/smsc/smsc_http.c : static void kannel_parse_reply(SMSCConn *conn, Msg *msg, int status, List *headers, Octstr *body) { /* Test on three cases: * 1. an smsbox reply of an remote kannel instance * 2. an smsc_http response (if used for MT to MO looping) * 3. an smsbox reply of partly successful sendings */ if ((status == HTTP_OK || status == HTTP_ACCEPTED) (octstr_case_compare(body, octstr_imm(Sent.)) == 0 || octstr_case_compare(body, octstr_imm(Ok.)) == 0 || octstr_ncompare(body, octstr_imm(Result: OK),10) == 0)) { bb_smscconn_sent(conn, msg, NULL); } else { bb_smscconn_send_failed(conn, msg, SMSCCONN_FAILED_MALFORMED, octstr_duplicate(body)); } } So I assume kannel saw a good transmission when it receive a HTTP OK and a message like Sent. or Ok. Does I forget something ? Does someone got similar issue ? Regards -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx http://www.smsglobal.com.mx/ y www.pravcom.com http://www.pravcom.com/ -- |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com
RE: Messages not handled
Hello, Are you using DLR ? Are you using sim buffering ? There is two others things to consider : 1/ the capacity of a modem to send thousand of sms = if it send, it got less time to receive 2/ capacity of the network to make retry to your phone = some network does not make several retry when then send feedback to reduce the noise and lower their smsc licence. So one of the solution is to have more modems, it will load balance the eak and you will have a better quality of service. Regards -Original Message- From: LoLoVioLo [mailto:[EMAIL PROTECTED] Sent: mardi 17 juin 2008 04:42 To: users@kannel.org Subject: Messages not handled Hi all, Following advices on this mailing list - I am now using kannel with a Siemens S45 as SMSC. however I still have a problem. almost all received message are not handled by kannel. I use kannel mainly to send SMS and not really as a SMS services system. Anyway I'd like to be able to use services now. The fact is that I send thousands of SMS a day and receive hundreds. The problem is that almost all received messages are stored into mobile phone and not routed to kannel. The config is the following : group = modems id = siemens_sl45 name = Siemens SL45 detect-string = SIEMENS detect-string2 = SL45 init-string = AT+CNMI=1,2,2,2,1 keepalive-cmd = AT+CBC;+CSQ speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true Appears that this config is ok as when I launch kannel everything is ok and received messages are correctly routed to kannel. The problem comes when launched on production. When the flow of messages to send arrives - messages are no more handled correctly and stored in Phone SIM. For exemple : during a day session 1 SMS sent and only 15 received in kannel (200 SMS in phone) I had a look in logs but I saw no errors - It seems like AT+CNMI is back to 0 and no more route messages to kannel. I saw some AT + CNMA sometimes that I suppose is the reason but what can I do ? Thanks for your help. Regards, LoLoVioLo
RE: Deffered sending
The smsc is a http generic. So if I understand correctly, you say that the sms is transmit to the smsc and it up to the smsc entity to deal whith the deffered variable ? What about hte send_sms table, is it possible to put sms that will e send lately inside ? Regards -Original Message- From: Falko Ziemann [mailto:[EMAIL PROTECTED] Sent: mercredi 25 juin 2008 02:21 To: info.ubichip Cc: users@kannel.org Subject: Re: Deffered sending Hi, I don't know how this is done if you use a mobile as sending entity. But if you use a smsc uplink via smpp, e.g., the message will be stored till delivery in the mno's smsc. So if you're connected to a smsc and the message is delivered direct you should check if the switch is set in the protocol inside your smsc-logs and contact the OMC of your uplink. Many (cheap) aggregators don't support deferred delivery. Regards Falko 2008/6/25 info.ubichip [EMAIL PROTECTED]: Hello, Does someone manage to use the deferred variable to send SMS in Kannel. I tried it but it looks, the sms was sent at the moment it has been written and not N minutes later as I previously setup. Thanks for your answer
How to postpone send
Hello, Is anyone know how to differ a send process in Kannel? What is the meaning of the Send_sms table with sqlbox ? thanks
RE: Message ID
Hello, Take a look on the sqlbox and the table structure, it should answer your question. regards -Original Message- From: James Mubhoyi [mailto:[EMAIL PROTECTED] Sent: vendredi 18 juillet 2008 12:41 To: users@kannel.org Subject: Message ID Hi, I am fairly new to Kannel, and am wondering if there is a parameter in Kannel that links a replied message back to the original message that was sent. I have looked at the parameter list in Kannel and not 100% sure if there is one that works the way I would like it to work. I can track the cell number, but this isn't specific enough for my needs. Please advise. Regards James
RE: Message ID
I managed to make it by a simple idea, I assumed if someone send a sms through a specific route, it will come back through the same route, so I wrote a script using default sms service to search for the last SMS sent to this recipient, so I could them together. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 18 juillet 2008 23:05 To: info.ubichip; 'James Mubhoyi'; users@kannel.org Subject: Re: Message ID As far as I know there is no ID to relate mo and mt messages as they are generated from different modules (mo-smsc and sendsms). I have looked at this for a long time but failed to find any solution. Eduardo Sent from my BlackBerryR wireless device -Original Message- From: info.ubichip [EMAIL PROTECTED] Date: Fri, 18 Jul 2008 21:15:42 To: 'James Mubhoyi'[EMAIL PROTECTED]; users@kannel.org Subject: RE: Message ID Hello, Take a look on the sqlbox and the table structure, it should answer your question. regards -Original Message- From: James Mubhoyi [mailto:[EMAIL PROTECTED] Sent: vendredi 18 juillet 2008 12:41 To: users@kannel.org Subject: Message ID Hi, I am fairly new to Kannel, and am wondering if there is a parameter in Kannel that links a replied message back to the original message that was sent. I have looked at the parameter list in Kannel and not 100% sure if there is one that works the way I would like it to work. I can track the cell number, but this isn't specific enough for my needs. Please advise. Regards James
RE: Load Balancing
The best is to load balance on the application server. AFAIK, kannel send the sms with the first sms service which match criteria -Original Message- From: sangprabv [mailto:[EMAIL PROTECTED] Sent: lundi 21 juillet 2008 00:34 To: users@kannel.org Subject: Load Balancing Hi, Is it possible to do load balancing with round robin mechanism on sms-service group? Such as: group = sms-service keyword = abc exec = /path/to/script/1.ext ... group = sms-service keyword = abc exec = /path/to/script/2.ext ... group = sms-service keyword = abc exec = /path/to/script/3.ext ... Or is there any other options to do load balancing? So we can increase the number of requests? TIA Regards, Willy
PDU format
Hello All, I send a sms from an external application with at command (which is 160 bytes long) : +CMGR: STO UNSENT,+123456789, 132803041A042632080716001400010D046965636466686A 61230C030101 000B150A03000303 00060B040100 Kannel is receiving this format : 131400302080866092210E160005106810D2E531D98C5687478C4100 205854140300 003018302C080100 Which is 140 bytes Does someone know how to decode the pdu of this sms to have back my original sms ? Is it a kannel function in C for that ? regards
RE: PDU format
Thanks, I already check this url but it doesn't help me. Do you know if there is a specific function in Kannel for this (convert the 140 bytes to the 160 bytes) ? Regards -Original Message- From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: mercredi 23 juillet 2008 07:48 To: 'info.ubichip'; users@kannel.org Subject: RE: PDU format Hi Try this online pdu ec¡ncoder/decoder http://twit88.com/home/utility/sms-pdu-encode-decode Regards Alvaro -Mensaje original- De: info.ubichip [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 23 de Julio de 2008 02:36 Para: users@kannel.org Asunto: PDU format Hello All, I send a sms from an external application with at command (which is 160 bytes long) : +CMGR: STO UNSENT,+123456789, 132803041A042632080716001400010D046965636466686A 61230C030101 000B150A03000303 00060B040100 Kannel is receiving this format : 131400302080866092210E160005106810D2E531D98C5687478C4100 205854140300 003018302C080100 Which is 140 bytes Does someone know how to decode the pdu of this sms to have back my original sms ? Is it a kannel function in C for that ? regards
RE:
For this, you should post in playsms forums. for the credit, you have to write some code in playsms to do so. regards _ From: Cyprian Makhafola [mailto:[EMAIL PROTECTED] Sent: jeudi 24 juillet 2008 14:44 To: users@kannel.org Subject: Hi I am using kannel with playsms and it is working perfectly except 2 things 1. Messages sent to playsms does not get stored on the inbox 2. I need to allocate credits to a user and decrement them when messages are succesfully sent Please assist Regards Bazziano _ Post up to 500 photo's a month to share with family and friends! Go to your free Windows Live Space now Click here! http://get.live.com/spaces/overview