RE: Basic SMS tests
It is documented in the user guide. _ From: regme please [mailto:[EMAIL PROTECTED] Sent: 14 June 2008 10:49 To: info.ubichip Cc: users@kannel.org Subject: Re: Basic SMS tests Right. But my question still holds true: how to use the fake SMSC? 2008/6/13 info.ubichip [EMAIL PROTECTED]: 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.
RE: documentation for generic http
In the user guide, Chapter 6. Setting up a SMS Gateway paragraph HTTP-based relay and content gateways. For how to build the send-url see Table 6-9. Parameters (Escape Codes). -Original Message- From: Niels Przybilla [mailto:[EMAIL PROTECTED] Sent: 19 April 2008 13:07 To: users@kannel.org Subject: documentation for generic http Hi, i am sorry, but i am not finding the documentation how to configure the request string to send sms via http to my sms-provider. Can anyone give me a hint ? Thanks and best regards Niels
RE: Kannel and Huaweei E220
sangprabv , the guy said the permission has been fixed. It is a very unfortunate idea to run Kannel as root. Instead make an unprivileged user (let's say kannel) and set permissions on the device (here /dev/ttyUSB0) or add Kannel to uucp (if uucp has permission on the device). Samir, if existing modem configurations are not working with your device, you have to explicitly set 'modemtype' in your AT smsc conf and write the appropriate configuration for that device. Parameters differ from one device to another and usually your only help if no one has experience with that specific device is Kannel user guide or source code (to see which are the accepted parameters) and AT Command reference (for parameter values). And a lot o patience and determination to experiment. I have just spent 2 hours configuring a new Premicell... Good luck! -Original Message- From: sangprabv [mailto:[EMAIL PROTECTED] Sent: 18 April 2008 12:13 To: Samir Mazzawi Cc: users@kannel.org Subject: Re: Kannel and Huaweei E220 Hi, It's about permission or privilege issue. You need to run Kannel is super user or root. But before you do that, make sure the modem is properly detected. Huawei E220 act as a GSM Modem and a storage device on first detection. You need to re detect it by executing : modprobe -r uhci_hcd modprobe uhci_hcd Once again above command must be run as a super user or root Regards, Willy On Thu, 2008-04-17 at 14:14 +0200, Samir Mazzawi wrote: Hi, I am trying to run kannel with a Huaweei E220 modem do anyone know if this works? 2008-04-12 01:24:02 [4014] [6] ERROR: AT2[/dev/ttyUSB0]: open failed! ERRNO=13 2008-04-12 01:24:02 [4014] [6] ERROR: System error 13: Permission denied 2008-04-12 01:24:02 [4014] [6] INFO: AT2[/dev/ttyUSB0]: opening device 2008-04-12 01:24:03 [4014] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 57600 I fixed the permission error and it looks like it starts to open device but messages is just in que. My modems.conf: # Modems configuration # # Example and default values # # group = modems # id = my-id # name = my-name # detect-string = MODEM # detect-string2 = [Default] # init-string = AT+CNMI=1,2,0,0,0 [Default] # speed = 9600 [Default] # enable-hwhs = AT+IFC=2,2 [Default] # need-sleep = false [Default] # no-pin = false [Default] # no-smsc = false [Default] # sendline-sleep = 100 [Default, miliseconds] # keepalive-cmd = AT [Default] # broken = false [Default] # message-storage = SM # enable-mms = false [Default] # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = Generic Modem group = modems id = keegan name = Keegan detect-string = KEEGAN speed = 115200 no-pin = true no-smsc = true #message-storage = SM enable-hwhs = AT+IFC=2,2 enable-mms = true reset-string = ATZ #init-string = AT+CNMI=0,0,0,0,0 #init-string = AT+CMGF=1 group = modems id = wavecom name = Wavecom detect-string = WAVECOM group = modems id = premicell name = Premicell detect-string = PREMICEL no-pin = true no-smsc = true group = modems id = siemens_tc35 name = Siemens TC35 detect-string = SIEMENS detect-string2 = TC35 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true group = modems id = siemens_m20 name = Siemens M20 detect-string = SIEMENS detect-string2 = M20 speed = 19200 enable-hwhs = AT\\Q3 keepalive-cmd = AT+CBC;+CSQ need-sleep = true 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 message-storage = SM group = modems id = nokiaphone name = Nokia Phone detect-string = Nokia Mobile Phone need-sleep = true keepalive-cmd = AT+CBC;+CSQ enable-mms = true group = modems id = falcom name = Falcom detect-string = Falcom #no-smsc = true group = modems id = ericsson_r520m name = Ericsson R520m detect-string = R520m init-string = AT+CNMI=3,2,0,0 group = modems id = ericsson_t68 name = Ericsson T68 detect-string = T68 init-string = AT+CNMI=3,3 keepalive-cmd = AT+CBC;+CSQ broken = true group = modems id = sonyericsson_gr47 name = Sony Ericsson GR47 detect-string = GR47 message-storage = ME # use this init-string for non sim-buffering init-string = AT+CNMI=3,2,0,0 # use this init-string for sim-buffering #init-string = AT+CNMI=3,1,0,0 reset-string = ATZ broken = true group = modems id = alcatel name = Alcatel detect-string = Alcatel init-string = AT+CNMI=3,2,0,0 group = modems id = sonyericsson_T630-T628 name = Sony Ericsson T630-T628? init-string = AT+CNMI=2,3,2,0,0;+CMGF=0? keepalive-cmd = AT+CBC;+CSQ;+CMGF=0? broken = true -- [sangprabv]
RE: Force SMSC from HTTP Sendsms
Yes, there is a request parameter documented in the user guide. There are also config parameters regarding routing (also documented). _ From: Remon Magdy [mailto:[EMAIL PROTECTED] Sent: 31 March 2008 22:43 To: users@kannel.org Subject: Force SMSC from HTTP Sendsms Hello there, is there anyway to force an MT message sent from the http interface (SMSBOX) to go through a certain SMSC ID? Regards, Remon
RE: UCP client needed
Have you looked at sqlbox? -Original Message- From: nemam pojma [mailto:[EMAIL PROTECTED] Sent: 20 March 2008 16:48 To: [EMAIL PROTECTED] Cc: users@kannel.org Subject: UCP client needed Hello I need and Emi-Ucp client application,written in Perl or ANSI C,but with modifications to use message's data from our existing database. For example,application will connect to Emi-Ucp server,get one message from table 'queue' and send it. On receipt of delivery notification,it should update column 'status' in table 'history' for that specific message. All interesting persons,please reply to my email directly and we can make some further aggrements on payment model,database scheme,or any other issue. Sincerely D -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze
RE: C API?
There is no C API. HTTP or SQL interface would suffice, you don't have to worry about speed here because the bottleneck is the provider (SMSC). Kannel can accept far more messages than your provider would allow you to send. So if you plan using Java for your app, using HttpClient or your favourite HTTP lib for making HTTP requests to the smsbox is all right. _ From: Bibek Shrestha [mailto:[EMAIL PROTECTED] Sent: 16 March 2008 13:51 To: users@kannel.org Subject: C API? I've been reading the user manual, may be not enough but want a quick reply on this. I see that kannel provides a HTTP cgi interface to send sms through smsc, i'd like to know if there is a C API for it, such that i can create a C program to send sms. If anyone can tell me where to start from, i'd be more than happy :D Btw, Im trying to make a web interface in Java, servlet probably and concerned about speed. My plan is to create a Java Interface using JNI to interact with the C api provided by Kannel. Using Kannel's HTTP api is also an option where servlet connects to the Kannel's HTTP port. Has anyone done a benchmark on this? Regards -- Bibek Shrestha [EMAIL PROTECTED]
RE: Clickatell dlr (callback)
Setup a dlr-url http handler (web app/servlet/script/rtc) and let kannel call back your dlr-url when it has something to report. See manual for dlr-url and dlr-mask. Thus you won't depend on clickatell's callback or dlr api. _ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: 16 March 2008 23:28 To: users@kannel.org Subject: Clickatell dlr (callback) Hi I´m using clickatell successfully since some time ago. But now I´ll like to get the dlr from them. Does anyone has a kannel configuration for capturing the dlr? In clickatell I see that there is a configuration called callback. Does thsi callback url calls a local script I´v to implement or does it should call kannel some how? Regards Alvaro attachment: winmail.dat
RE: GSM DLR from GSM operator for MTs
I found a solution. sim-buffering = true Im not very happy with it (because of latency and concern of buffer overrun) but it does the job. Im looking now at AT+CNMI hoping there is a way to instruct the phone not to store DLRs to SIM but forward them directly to kannel. _ From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 08:18 To: 'Alvaro Cornejo'; 'Raul Igrisan' Cc: users@kannel.org Subject: 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: GSM DLR from GSM operator for MTs
It seems init-string = AT+CNMI=2,2,2,1,0 is the right way to do it. The phone forwards the DLR to kannel as soon as it receives it (very few seconds after the message is sent). _ From: Raul Igrisan [mailto:[EMAIL PROTECTED] Sent: 15 March 2008 19:02 To: 'info.ubichip'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: GSM DLR from GSM operator for MTs I found a solution. sim-buffering = true Im not very happy with it (because of latency and concern of buffer overrun) but it does the job. Im looking now at AT+CNMI hoping there is a way to instruct the phone not to store DLRs to SIM but forward them directly to kannel. _ From: info.ubichip [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 08:18 To: 'Alvaro Cornejo'; 'Raul Igrisan' Cc: users@kannel.org Subject: 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: gw/smsbox.c:http_queue_thread connect failed
Try adding box-allow-ip = 127.0.0.1 to core group. _ From: Iqbal_Ir [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 20:40 To: users@kannel.org Subject: gw/smsbox.c:http_queue_thread connect failed Dear all, I'm a newbie in Kannel. I'm using Maestro 100 Lite modem (wavecom chipset), Kannel.1.4.1 on Ubuntu 7.10 64bit. I found this error while use kannel: [EMAIL PROTECTED]:~$ smsbox /etc/kannel/kannel.conf 2008-03-13 14:52:46 [13813] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2008-03-13 14:52:46 [13813] [0] DEBUG: Loading include file `/etc/kannel/smsc.conf' (on line 22 of file /etc/kannel/kannel.conf). 2008-03-13 14:52:46 [13813] [0] DEBUG: Loading include file `/etc/kannel/modems.conf' (on line 16 of file /etc/kannel/smsc.conf). 2008-03-13 14:52:46 [13813] [0] DEBUG: Kannel smsbox version `1.4.1'. Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)'. System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12 02:46:46 UTC 2008, machine x86_64. Hostname unknown-localhost, IP 127.0.1.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 04 May 2006. Compiled with MySQL 5.0.26, using MySQL 5.0.45. Using native malloc. 2008-03-13 14:52:46 [13813] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2008-03-13 14:52:46 [13813] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2008-03-13 14:52:46 [13813] [0] INFO: Service global sender set as '1231231234' 2008-03-13 14:52:46 [13813] [0] INFO: Logging accesses to '/var/log/kannel/access.log'. 2008-03-13 14:52:46 [13813] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2008-03-13 14:52:46 [13813] [0] INFO: HTTP: Opening server at port 13031. 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-03-13 14:52:46 [13813] [0] INFO: Set up send sms service at port 13031 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: -- 2008-03-13 14:52:46 [13813] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2008-03-13 14:52:46 [13813] [0] ERROR: connect failed 2008-03-13 14:52:46 [13813] [0] ERROR: System error 111: Connection refused 2008-03-13 14:52:46 [13813] [0] ERROR: error connecting to server `localhost' at port `13001' 2008-03-13 14:52:46 [13813] [0] PANIC: Couldn't connect to the bearerbox. 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox(gw_panic+0x193) [0x43b7b3] 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox(main+0xc94) [0x40e0b4] 2008-03-13 14:52:46 [13813] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b6a0777cb44] 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox [0x40cd99] What cause of this problem and how to fix this...?? Attached is my kannel.conf file Any suggestion would be appreciated. Thank you, Iqbal_Ir
RE: Text problem
Do you have a smsbox-route group? group = smsbox-route smsbox-id = your_smsbox_name_here smsc-ids = C-858 _ From: Mihai Zsigmond [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 11:47 To: users@kannel.org Subject: Text problem Hi, guys I have some problems with sending back predefined text to users. First, if the original message is blank, Kannel sends back to user a message: 'Request Failed' instead the predefined text. Second, the answer is not going back through the SMSC that called the service, although the answer is text and there are some settings to it. Any help is highly appreciated. Best Regards, Mihai PS. Here is the relevant part of the set-up: group = smsc smsc = emi smsc-id = C-858 host=xxx.xxx.xxx.xxx port = 7000 our-port = 9858 receive-port = 8858 allowed-prefix=072;+4072;004072;4072;073;4073;+4073;004073 throughput=1 keepalive = 50 idle-timeout = 0 my-number = 858 wait-ack = 160 wait-ack-expire=0x01 allowed-smsc-id=C-858 ... group=sms-service name=SAME-NAME keyword= keyword-regex= text = Some predefined text accept-x-kannel-headers=true max-messages=1 catch-all=true accepted-smsc=C-858 allowed-receiver-prefix=858
RE: Text problem
why the text reply doesn't go back through the same SMSC link What exectly do you mean by smsc link? Anyway; there are more possible explanations, so I won't venture guesing w/o seeing the full config. Do you have all your smscs configured exactly the same (same id, same provider, same routes)? If so, Kannel choses an arbitrary one for load balancing. _ From: Mihai Zsigmond [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 13:58 To: Raul Igrisan Cc: users@kannel.org Subject: Re: Text problem Hi Raul, No, I don't have one. Looking into it. But, in my set-up there is only one sms-box, but several SMSCs. Btw, I have solved the first problem, which turned out not to be related to text reply itself. I have changed the keyword from null to default and the reply works now. Remains the second one, why the text reply doesn't go back through the same SMSC link. Thanks for answ. Mihai Raul Igrisan wrote: Do you have a smsbox-route group? group = smsbox-route smsbox-id = your_smsbox_name_here smsc-ids = C-858 _ From: Mihai Zsigmond [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 11:47 To: users@kannel.org Subject: Text problem Hi, guys I have some problems with sending back predefined text to users. First, if the original message is blank, Kannel sends back to user a message: 'Request Failed' instead the predefined text. Second, the answer is not going back through the SMSC that called the service, although the answer is text and there are some settings to it. Any help is highly appreciated. Best Regards, Mihai PS. Here is the relevant part of the set-up: group = smsc smsc = emi smsc-id = C-858 host=xxx.xxx.xxx.xxx port = 7000 our-port = 9858 receive-port = 8858 allowed-prefix=072;+4072;004072;4072;073;4073;+4073;004073 throughput=1 keepalive = 50 idle-timeout = 0 my-number = 858 wait-ack = 160 wait-ack-expire=0x01 allowed-smsc-id=C-858 ... group=sms-service name=SAME-NAME keyword= keyword-regex= text = Some predefined text accept-x-kannel-headers=true max-messages=1 catch-all=true accepted-smsc=C-858 allowed-receiver-prefix=858
RE: sms delivery status
Check the manual and examples for dlr-url and dlr-mask _ From: ACL [mailto:[EMAIL PROTECTED] Sent: 12 March 2008 10:13 To: users@kannel.org Subject: sms delivery status I am using wavecom as SMSC. if we send sms via http, the result is sent to kannel queue. How could we know if the SMS is really sent via wavecom? I have searched through the mailing list and someone suggested immediate-sendsms-reply=true. But, i have tried without success. Pls kindly reply. _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20 it now.
RE: how 2 send SMS using C prog and GET url
The query parameters have to be URL-encoded (the space on your hello world breaks the request string). I strongly recommend you to use an HTTP lib instead of plain sockets (that without stating the lines of code you have quoted looks like an example of how not to write code in C (should have been using safe string routines (e.g. snprintf), should have the return code checked). You don't have to convert the text to GSM charset; Kannel will do it if necessarily. cheers _ From: denis punnoose [mailto:[EMAIL PROTECTED] Sent: 06 March 2008 10:40 To: kannel Subject: how 2 send SMS using C prog and GET url Hi ALL, Im trying to send sms from my CELL phone connected to my PC. I wrote a C program to send a http GET request to port 13013 (to smsbox). I use the fallowing line in the prog- sprintf(buffer, GET /cgi-bin/sendsms?username=testerpassword=foobarto=012345678901text=%s HTTP/1.1\n\n, hello world); send(sockfd, buffer, strlen(buffer), 0); But when i receive the SMS in the other cell, i get some strange characters in the SMS. I know this has something to do with the 7-bit charset of GSM cells. PLZ HELLP me to convert ASCII char to GSM 7-bit charset in C. Does anyone know how to use iconv in c programs? THANK U _ Why delete messages? Unlimited storage is just http://in.rd.yahoo.com/tagline_mail_1/*http:/help.yahoo.com/l/in/yahoo/mail /yahoomail/tools/tools-08.html/ a click away.
Receiving MO with app port to GSM SMSC
Hi, Has anyone tried to receive MO messages having the application port set using Kannel connected to a GSM modem/phone? I've crafted a simple J2ME app which sends sms to a nokia connected to Kannel. When I send the message w/o specifying the port (send to sms://msisdn_phone_number), the phone delivers the message to Kannel. When I try to send to a specific application port (send to sms://msisdn_phone_no:port_no), nothing happens. Sending MT from Kannel to my J2ME app listening to an sms port also works fine (just have set the port in the UDH of Kannel sendsms request). I was expecting for Kannel to get at least the message if not the message and the UDH containing the port info. Thanks, Raul
RE: Long messages problem
Try adding max-messages = 10 to sendsms-user group. -Original Message- From: Merge [mailto:[EMAIL PROTECTED] Sent: 14 May 2007 12:43 To: users@kannel.org Subject: Long messages problem I'am having problem with sending long messages to SMSC. First part is sent immidiately and the rest goes to kannel.store. When I restart kannel then the rest of the message is sent to SMSC. Now I tweeked this in a way that I split message in my aplication and send second part of the message from aplication with one second delay after first part. I'am using RHES3 UP6 with installed kannel-1.4.1-2.el3.rf.rpm from DAG packages. Here are my kannel.conf and one example from log files. kannel.conf: group = core admin-port = 13000 smsbox-port = 13001 admin-password = log-file = /var/log/kannel/core-kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 unified-prefix = 00xx,0;00x,+ access-log = /var/log/kannel/core-access.log store-file = /var/log/kannel/kannel.store group = smsc smsc = fake smsc-id = fake port = 1 connect-allow-ip = 127.0.0.1 denied-smsc-id = connex;orange;zapp # ORANGE group = smsc smsc = emi smsc-id = orange host = a.b.c.d port = 5451 receive-port = 5453 idle-timeout = 0 keepalive = 30 denied-smsc-id = fake;connex;zapp connect-allow-ip = a.b.c.d smsc-username = smsc-password = # VODAFONE (CONNEX) group = smsc smsc = emi smsc-id = connex host = a.b.c.d port = 3001 idle-timeout = 0 keepalive = 30 our-port = 7865 receive-port = 6865 denied-smsc-id = fake;orange;zapp connect-allow-ip = a.b.c.d # ZAPP group = smsc smsc = smpp smsc-id = zapp host = a.b.c.d port = 3700 receive-port = 3700 denied-smsc-id = fake;orange;connex connect-allow-ip = a.b.c.d smsc-username = smsc-password = system-type = VMA dest-addr-ton = 1 dest-addr-npi = 1 address-range = source-addr-ton = 1 source-addr-npi = 1 unified-prefix = -,00x group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 1865 sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox-smsbox.log log-level = 0 access-log = /var/log/kannel/smsbox-access.log reply-couldnotfetch = immediate-sendsms-reply = false group = sendsms-user username = tester password = foobar user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1 group = sms-service keyword = nop text = Trazio si nista i to si dobio! group = sms-service keyword = default get-url = http://192.168.4.246:80/cgi/get?goper=1gsms=%agnum=%p; max-messages = 0 concatenation = false text = Fake accepted-smsc = fake # VODAFONE (CONNEX) group = sms-service keyword = default get-url = http://192.168.4.246:80/cgi/get?goper=2gsms=%agnum=%p; max-messages = 0 concatenation = false text = Vodafone Connex accepted-smsc = connex # ORANGE group = sms-service keyword = default get-url = http://192.168.4.246:80/cgi/get?goper=3gsms=%agnum=%p; max-messages = 0 concatenation =false text = Orange accepted-smsc = orange # ZAPP group = sms-service keyword = default get-url = http://192.168.4.246:80/cgi/get?goper=4gsms=%agnum=%p; max-messages = 0 concatenation = false text = Zapp accepted-smsc = zapp group = sms-service keyword = default text = No service specified! # Vodafone (Connex) group = sendsms-user username = connexuser password = connexpass user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1;192.168.4.246;192.168.4.251;192.168.4.252;192.168.4.253;192.168.4 .247 forced-smsc = connex max-messages = 9 concatenation = false # Orange group = sendsms-user username = orangeuser password = orangepass user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1;192.168.4.246;192.168.4.251;192.168.4.252;192.168.4.253;192.168.4 .247 forced-smsc = orange max-messages = 9 concatenation = false # Zapp group = sendsms-user username = zappuser password = zapppass user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1;192.168.4.246;192.168.4.251;192.168.4.252;192.168.4.253;192.168.4 .247 forced-smsc = zapp max-messages = 9 concatenation = false core-access.log 2007-05-14 00:55:30 Receive SMS [SMSC:orange] [SVC:] [ACT:] [BINF:] [from:xxx] [to:1018650] [flags:-1:0:-1:0:-1] [msg:17:message_text] [udh:0:] 2007-05-14 00:55:30 Sent SMS [SMSC:orange] [SVC:orangeuser] [ACT:] [BINF:] [from:1865] [to:xxx] [flags:-1:0:-1:-1:-1] [msg:160:message_text] [udh:0:] ... 2007-05-14 08:12:57 Log begins 2007-05-14 08:13:01 Sent SMS [SMSC:orange] [SVC:orangeuser] [ACT:] [BINF:] [from:1865] [to:xxx] [flags:-1:0:-1:-1:-1] [msg:44:rest_of_message_text] [udh:0:] core-kannel.log 2007-05-14 00:55:30 [5296] [8] DEBUG: EMI2[orange]: Got packet from the main socket 2007-05-14 00:55:30 [5296] [8] DEBUG: EMI2[orange]: emi2 parsing packet: ^B09/00128/O/52/1018650/xxx/1405070055293//7A20 31332E30352E323030372034353035///0///020100///AE^C 2007-05-14 00:55:30 [5296] [8] DEBUG: EMI2[orange]: emi2 sending packet: ^B09/00020/R/52/A///9E^C 2007-05-14 00:55:30 [5296] [16] DEBUG: send_msg: sending msg to box: 127.0.0.1 2007-05-14 00:55:30 [5296] [16] DEBUG:
RE: kannel with newsyslog
Kannel reopens the log files when it receives SIGHUP. -Original Message- From: Iain Dooley [mailto:[EMAIL PROTECTED] Sent: 19 April 2007 08:18 To: users@kannel.org Subject: kannel with newsyslog hi all, freebsd has this thing called newsyslog (not sure what the linux equivalent is) which rotates your log files when they reach a certain size. i'm finding that, once a log file has been rotated, the new log file is always empty. it would appear that kannel doesn't like the rotation, perhaps because it keeps the file open rather than opening it everytime? has anyone else seen this problem before? cheers iain
RE: how to send sms using kannel
Read chapter 6 in Kannel user's guide. You need to connect to a GSM gateway (GSM modem, mobile phone, SMPP provider, etc) in order to send the message to mobile. _ From: arputharaj [mailto:[EMAIL PROTECTED] Sent: 18 April 2007 13:39 To: users@kannel.org Subject: how to send sms using kannel Hi, Wish you all great success. I am new to kannel. Just I have downloaded and compiled the gateway1.4.1., with the help of userguide I'm able to understand little bit about kannel. But I am not clear how to use the kannel to send sms via internet with out the GSM modem. Since we are getting internet via leased line and we use proxy server to connect our pc to internet. In this situation how can I send sms via pc to mobile using kannel. How to configure the kannel according to my setup. If any one knows kindly help me ARP with reg. _ View this message in context: how http://www.nabble.com/how-to-send-sms-using-kannel-tf3600234.html#a10056169 to send sms using kannel Sent from the Kannel http://www.nabble.com/Kannel---User-f14436.html - User mailing list archive at Nabble.com.
RE: SMPP incoming message
Have you checked your firewall settings/logs? Why don't you bind as transceiver (transceiver-mode=true, remove receive-port) so you won't need a server port on your endpoint? _ From: Kaneza Innocent [mailto:[EMAIL PROTECTED] Sent: 09 March 2007 11:33 To: Ben Suffolk Cc: users@kannel.org Subject: Re: SMPP incoming message No i havent set it, but wht is funny is that i can send sms and they reach the cellphones from my platform but still incomong messages are a problem. i ahvent set it here is a snap of my config file: group = core admin-port = 13000 smsbox-port = 13005 wapbox-port = 13004 admin-password = bar log-file = /var/log/kannel/kannel.log log-level = 1 unified-prefix = +243,00243,0;+,00 access-log = /var/log/kannel/access.log # SMSC CONNECTIONS group = smsc smsc = smpp smsc-id = smsc host = xx.xxx.xx.xxx port = receive-port = system-type = smsc-username = smsc-password = throughput = 20 source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 alt-charset = iso-8859-1 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 8371 sendsms-chars = +0123456789 log-file = /var/log/kannel/smsbox.log log-level = 1 access-log = /var/log/kannel/smsbox_access.log - Original Message - From: Ben Suffolk mailto:[EMAIL PROTECTED] To: Kaneza Innocent mailto:[EMAIL PROTECTED] Cc: users@kannel.org Sent: Friday, March 09, 2007 11:27 Subject: Re: SMPP incoming message Thats just your connection (both threads) pinging the smsc to check the connection is still alive. Do you get anything else in the log files? If not then your SMSC provider is not even trying to send you any messages. In your configuration you are supposed to (although I have not come across an SMSC that uses it) specify a regex to show what numbers you wish to receive messages for. Have you specified this correctly? Regards Ben On 9 Mar 2007, at 09:24, Kaneza Innocent wrote: 2007-03-09 01:55:54 [25875] [7] DEBUG: SMPP[smsc]: Sending enquire link: 2007-03-09 01:55:54 [25875] [7] DEBUG: SMPP PDU 0x9de9420 dump: 2007-03-09 01:55:54 [25875] [7] DEBUG: type_name: enquire_link 2007-03-09 01:55:54 [25875] [7] DEBUG: command_id: 21 = 0x0015 2007-03-09 01:55:54 [25875] [7] DEBUG: command_status: 0 = 0x 2007-03-09 01:55:54 [25875] [7] DEBUG: sequence_number: 147 = 0x0093 2007-03-09 01:55:54 [25875] [7] DEBUG: SMPP PDU dump ends. 2007-03-09 01:55:54 [25875] [6] DEBUG: SMPP[smsc]: Sending enquire link: 2007-03-09 01:55:54 [25875] [6] DEBUG: SMPP PDU 0x9de9420 dump: 2007-03-09 01:55:54 [25875] [6] DEBUG: type_name: enquire_link 2007-03-09 01:55:54 [25875] [6] DEBUG: command_id: 21 = 0x0015 2007-03-09 01:55:54 [25875] [6] DEBUG: command_status: 0 = 0x 2007-03-09 01:55:54 [25875] [6] DEBUG: sequence_number: 148 = 0x0094 2007-03-09 01:55:54 [25875] [6] DEBUG: SMPP PDU dump ends. 2007-03-09 01:55:55 [25875] [7] DEBUG: SMPP[smsc]: Got PDU: 2007-03-09 01:55:55 [25875] [7] DEBUG: SMPP PDU 0x9de9420 dump: 2007-03-09 01:55:55 [25875] [7] DEBUG: type_name: enquire_link_resp 2007-03-09 01:55:55 [25875] [7] DEBUG: command_id: 2147483669 = 0x8015 2007-03-09 01:55:55 [25875] [7] DEBUG: command_status: 0 = 0x 2007-03-09 01:55:55 [25875] [7] DEBUG: sequence_number: 147 = 0x0093 2007-03-09 01:55:55 [25875] [7] DEBUG: SMPP PDU dump ends. 2007-03-09 01:55:55 [25875] [6] DEBUG: SMPP[smsc]: Got PDU: 2007-03-09 01:55:55 [25875] [6] DEBUG: SMPP PDU 0x9de9420 dump: 2007-03-09 01:55:55 [25875] [6] DEBUG: type_name: enquire_link_resp 2007-03-09 01:55:55 [25875] [6] DEBUG: command_id: 2147483669 = 0x8015 2007-03-09 01:55:55 [25875] [6] DEBUG: command_status: 0 = 0x 2007-03-09 01:55:55 [25875] [6] DEBUG: sequence_number: 148 = 0x0094 2007-03-09 01:55:55 [25875] [6] DEBUG: SMPP PDU dump ends. - Original Message - From: mailto:[EMAIL PROTECTED] Ben Suffolk To: mailto:[EMAIL PROTECTED] Kaneza Innocent Cc: mailto:users@kannel.org users@kannel.org Sent: Friday, March 09, 2007 11:13 Subject: Re: SMPP incoming message What's in the smsc log files when a deliver_sm PDU attempts to come in? Regards Ben On 9 Mar 2007, at 08:43, Kaneza Innocent wrote: Hello, I have a problem here, I cannot receive incoming messages from the carrier SMS-C but I can send without problem. they tell me there is no problem on their side and as I know there is no problem on my side too. I have been using my kannel on another provider and it was working fine. thanks Kaneza Innocent SMS Media System Administrator
RE: sms-service help
You also need to route your incoming messages from the receiving smsc to the smsbox which runs the service (by defining an smsbox-route group). Check the user guide for details on smsbox-route. _ From: Tushar [mailto:[EMAIL PROTECTED] Sent: 28 February 2007 11:34 To: users@kannel.org Subject: sms-service help Hi all I wanted to know about the sms-service group more clearly.. If I want to make a keyword live, wot exactly should I do. : The group configured by me is as below: #SMS-SERVICE group group = sms-service keyword = abcdef catch-all = true accept-x-kannel-headers = true #text = reply is here %k post-url = http://some_wap_page.com; max-messages = 3 Only sms-service will help or some other group is also related to it. Plz help me . Thanks and regards, Tushar