Re: How can i install kannel with Cygwin
Please, avoid such general questions. Otherwise, you will get answers like this one: Install Cygwin, then compile Kannel. Regards. 2009/11/3 David G. Navarro Ferrer dgnava...@estudiantes.uci.cu: How can i install kannel with Cygwin? -- El universitario de estos tiempos está llamado a convertir su espacio en un espacio productivo
Re: Questions about incomming SMS
Set max-messages = 0 in your SMS-service group. userguide: If max-messages is set to 0, no reply is sent, except for error messages. Regards. On Tue, Sep 29, 2009 at 9:44 AM, Loïc Burdet loic.bur...@gmail.com wrote: Hello, I've a problem... little problem... I allready installed Kannel and sending SMS works well. My question is about incomming SMS. Each time I receive a new message on Kannel from a mobile phone, a response message is sent to the incomming number. I want to cancel this action and not to respond. I just want to receive the message without respond automatically. I see the group sms-service which I think is the key of my problem. How can I cancel this action ? Thanks for your answers.
Re: questions about syntax
Hi again, Kannel uses spaces to distinguish one number from another. So, you cannot use spaces inside a phone number. Please, pre-process your numbers, so that they don't have spaces within. A well formed number looks like this: +5411 and not +54 11 --- this will be seen as four numbers. For multiple numbers, use space as separator: +5411 +5411 +5411 and remember to URL-encode the hole string, something like: urlencode(+5411 +5411 +5411) Best regards, Rodrigo. On Fri, May 29, 2009 at 9:20 AM, jessica.vongunten-hi...@swisscom.com wrote: Thanks for the reply. The problem is more that I don't want spaces. It is confusing the program into thinking that a new number is beginning, when all I really want is to find some way to get it to ignore them. Thanks -Original Message- From: Rodrigo Cremaschi [mailto:rodrigo.cremas...@gmail.com] Sent: Thursday, May 28, 2009 4:41 PM To: von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC Cc: us...@vm1.kannel.org Subject: Re: questions about syntax Try + (which is the URL encoded version of the space character) On Thu, May 28, 2009 at 11:27 AM, jessica.vongunten-hi...@swisscom.com wrote: Here is more or less what I am doing This works: lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=1234567890text=hello; This works lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=1234567890 0987654321text=hello But this doesn't work regardless of whether or not sendsms-chars is defined to allow spaces or not: lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=123 456 7890text=hello I would like to be able to able to somehow indicate where one number stops and the next begins using a character other than ' ' and also to allow ' ' within a number like 123 123 4567. Thanks for your help. Jessica -Original Message- From: Rodrigo Cremaschi [mailto:rodrigo.cremas...@gmail.com] Sent: Thursday, May 28, 2009 4:21 PM To: von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC Cc: us...@vm1.kannel.org Subject: Re: questions about syntax Hi Jessica, Are you URL-encoding the list of numbers? Regards, Rod. On Thu, May 28, 2009 at 11:16 AM, jessica.vongunten-hi...@swisscom.com wrote: Hi Everyone, I am trying to send SMS via command line with lynx. It is no problem with a single number, it works. With multiple users it also works, but only for numbers that don't need a country code and only if there is a single blank space between numbers. Is there some way that I can make kannel use a different character, other than ' ' to indicate a new number. The problem is that in the add user interface users are allowed to enter blank spaces between (Ex: 075 222 ) and this is screwing with kannel. Also, it is not sending messages wtih +, such as +41 for Switzerland. Is this not an acceptable use of the character. J
Re: questions about syntax
Hi Jessica, Are you URL-encoding the list of numbers? Regards, Rod. On Thu, May 28, 2009 at 11:16 AM, jessica.vongunten-hi...@swisscom.com wrote: Hi Everyone, I am trying to send SMS via command line with lynx. It is no problem with a single number, it works. With multiple users it also works, but only for numbers that don't need a country code and only if there is a single blank space between numbers. Is there some way that I can make kannel use a different character, other than ' ' to indicate a new number. The problem is that in the add user interface users are allowed to enter blank spaces between (Ex: 075 222 ) and this is screwing with kannel. Also, it is not sending messages wtih +, such as +41 for Switzerland. Is this not an acceptable use of the character. J
Re: questions about syntax
Try + (which is the URL encoded version of the space character) On Thu, May 28, 2009 at 11:27 AM, jessica.vongunten-hi...@swisscom.com wrote: Here is more or less what I am doing This works: lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=1234567890text=hello; This works lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=1234567890 0987654321text=hello But this doesn't work regardless of whether or not sendsms-chars is defined to allow spaces or not: lynx -dump http://localhost:13007/cgi-bin/sendsms?username=usernamepassword=passwordto=123 456 7890text=hello I would like to be able to able to somehow indicate where one number stops and the next begins using a character other than ' ' and also to allow ' ' within a number like 123 123 4567. Thanks for your help. Jessica -Original Message- From: Rodrigo Cremaschi [mailto:rodrigo.cremas...@gmail.com] Sent: Thursday, May 28, 2009 4:21 PM To: von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC Cc: us...@vm1.kannel.org Subject: Re: questions about syntax Hi Jessica, Are you URL-encoding the list of numbers? Regards, Rod. On Thu, May 28, 2009 at 11:16 AM, jessica.vongunten-hi...@swisscom.com wrote: Hi Everyone, I am trying to send SMS via command line with lynx. It is no problem with a single number, it works. With multiple users it also works, but only for numbers that don't need a country code and only if there is a single blank space between numbers. Is there some way that I can make kannel use a different character, other than ' ' to indicate a new number. The problem is that in the add user interface users are allowed to enter blank spaces between (Ex: 075 222 ) and this is screwing with kannel. Also, it is not sending messages wtih +, such as +41 for Switzerland. Is this not an acceptable use of the character. J
Re: ASCII Message
Hello Irfan, Omit the UDH header. Regards. On Wed, May 27, 2009 at 2:58 PM, Irfan Malik irfan.ma...@tcm.com.pk wrote: Hello every body, Is there any method with which we can send ASCII text instead of hexadecimal using sendsms? http://localhost:13013/cgi-bin/sendsm?username=userpassword=passudh=%06%05%04%40%7A%23%F0text=test Kannel converts text “test” to hexadecimal and delivers message. Can we change default behavior of Kannel so it sends SMS and in ASCII format? Regards, Irfan Malik = Manager MIS TricastMedia Cell: +92 321-6099155 PH: +92 42 5845265 Web: www.tcm.com.pk
Re: Date Message Sent - 24 hours off?
Check the date and time zone of your server. On Thu, May 14, 2009 at 2:48 PM, Bryan Gintz bgi...@coyfc.org wrote: When I use the get-url to receive a message with Kannel, it shows the date the message was sent was right around 24 hours before it was actually sent. Any ideas? Thanks, Bryan
Re: Help needed very very urgent
Hi Dheerendra, First of all, it's Kannel. Not kenel. Second, Kannel is not an SMS center. Kannel is an ESME. Third, you need some knowledge on HTTP, webserver (maybe Apache) and PHP. If you read the userguide you will know how to invoque php functions from Kannel. Best regards, Rodrigo. On Tue, Apr 21, 2009 at 9:38 AM, dheerendra dheeren...@uniquesofts.info wrote: Hi All, I am new bee for Kenel , i am doing a project and i want to use kenel as sms center as i will integrate 5-6 sms gateways and when any user will send the sms , kenel should check for the cheapest gateway and send by that. But till now i could only install the kenel nothing else, and i am surviving for next step. Please could any body help me regarding this and show me a way to complete this. I am using PHP and MySql . Also i have not any idea that how to integrate php and kenel. Please help me to overcome this prob . Thanks Regards Dheerendra Tripathi
Re: removing plus operator from ph-nos
Hi there! Mh... Appends or prepends? Probably, the carrier uses the international numbering format, which begins with a + (plus sign). If that's what you mean, define the unified-prefix parameter in your core group. unified-prefix = -,+ This means: replace the + with nothing. Regards, Rodrigo. On Tue, Mar 31, 2009 at 9:55 AM, Latitude Berlin latitude...@googlemail.com wrote: Hi, Kannel is forwarding incoming SMS to my servlet configured under: sms-service group. I have get-url set as follows: ... to=%pfrom=%q... Kannel appends PLUS operator with the number. How may I avoid this behaviour. Thanks - Latitude
Re: smsbox log error
Well, what's the URL you are trying to invoke? On Mon, Mar 30, 2009 at 8:58 AM, narendra reddy kamaninaren...@gmail.com wrote: Hi users, when i am trying to hit the url i am getting below error in the smsbox logs .can anybody tell me wat is the reason for below error. 2009-03-30 17:24:13 [9060] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-30 17:24:13 [9060] [9] ERROR: Couldn't send request to 2009-03-30 17:24:13 [9060] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-30 17:24:13 [9060] [9] ERROR: Couldn't send request to - TIA. Best Regards, K.narendra reddy, 9985167784.
Re: smsbox log error
In ttp:// You're missing the h. Besides that, you must URL-encode the dlr-url parameter, like this: $dlr-url=http%3A%2F%2Flocalhost%2Fdlr%2Emysql%2Ephp%3FsmscID%3DSMPPSim On Mon, Mar 30, 2009 at 10:51 AM, narendra reddy kamaninaren...@gmail.com wrote: ttp://localhost:13001/cgi-bin/sendsms?username=pyropassword=pyrofrom=to=91971236987text=Test%20Messagecharset=UTF-16BEmclass=2coding=1pid=0dlr-mask=1dlr-url=http://localhost/dlr.mysql.php?smscID=SMPPSim i am invoking this url. On Mon, Mar 30, 2009 at 6:42 PM, Rodrigo Cremaschi rodrigo.cremas...@gmail.com wrote: Well, what's the URL you are trying to invoke? On Mon, Mar 30, 2009 at 8:58 AM, narendra reddy kamaninaren...@gmail.com wrote: Hi users, when i am trying to hit the url i am getting below error in the smsbox logs .can anybody tell me wat is the reason for below error. 2009-03-30 17:24:13 [9060] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-30 17:24:13 [9060] [9] ERROR: Couldn't send request to 2009-03-30 17:24:13 [9060] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-30 17:24:13 [9060] [9] ERROR: Couldn't send request to - TIA. Best Regards, K.narendra reddy, 9985167784. -- Best Regards,
Re: MBSessionIdTag TLV for mBlox Issue
You have to URL-decode the received message so the following strings get converted to their original characters. %2B = + %3A = / %24 = $ Likewise, when you send text, you have to URL-encode it. Regards. On Tue, Mar 3, 2009 at 10:37 AM, Ishtiaq Ahmed ishtiaq.ah...@ooober.com wrote: Hi Guyz, Once again working with mBlox this time the problem is in MBSessionIdTag TLV... here is its definition.. group = smpp-tlv name = MBsessionIdTag tag = 0x1521 type = octetstring length = 60 Now the problem... MBlox is sending the special characters in this TLB like +, $, and other stuff Let me clarify by following example... The Session ID sent *from the mBlox: AocPrFt6+LkAABkA4jofAcvtxZT6F3On/Yw$* When sent to application using the following get-url get-url = http://PKNOC:8080/ooobermoframework/receivemsg.htm?sender=%ptext=%ashortcode=%PoperatorId=%oprice=%Osmscid=%imeta-data=%D; *Application is receiving: AocPrFt6%2BLkAABkA4jofAcvtxZT6F3On%3A2fYw%24* while sending back using the same received Tag... here is what Kannel receive... Kannel log: *DEBUG: group=`smpp' key=`MBsessionIdTag' value=`AocPrFt6 LkAABkA4jofAcvtxZT6F3On/Yw'* *Note that space...* Regards, Ishtiaq Ahmed
Re: SMS-SERVICE
HEllo Elton, The userguide is not perfect, it's not complete, and it's not foolproof. You are right. But take some more time reading it, explore the web, use Google, write and test some configurations for yourself, read the mail archives and you will be rewarded with a working Kannel. If, in spite of all this, you find yourself in trouble to make Kannel work, come back with your config files, log excerpts and the list will try to help you. Best regards, Rodrigo. On Tue, Mar 3, 2009 at 12:03 PM, Elton Hoxha elt...@gmail.com wrote: I have it but its confusing a bit On Tue, Mar 3, 2009 at 2:59 PM, Davor Spasoski davor.spaso...@cosmofon.com.mk wrote: Do you have a manual? From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Elton Hoxha Sent: Tuesday, March 03, 2009 2:44 PM To: users@kannel.org Subject: SMS-SERVICE Hi, Can anyone please explain me the functionality of this group? I read the guide already but again I have some ambiguities. What the keyword parameter is used for? The text parameter, is it used for predefined reply when the sender sends a SMS to a voting service for example. Please anyone explain with few words these parameters? send-url, get-url, dlr-url Thanks COSMOFON - Mobile Telecommunications Services - A.D. Skopje ___ This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. COSMOFON A.D. Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Re: SMS-SERVICE
In your config file, you define port=3700 Is the SMPP connection a trasciever-mode one? If not, you must define receive-port=3700 (or the port specified by the carrier) and transceiver-mode=0 On Tue, Mar 3, 2009 at 12:27 PM, Elton Hoxha elt...@gmail.com wrote: Hi Rodrigo, I`m reading the guide several times, and what I want now its the basic service, just to send and receive MO-MT SMS using Kannel. I have set the SMPP connections already and there is no problem with binding issues between kannel and SMPP Server. I`m able to send from tha application to mobile, but I cannot vice versa, from mobile to application. In the guide at the SMS-SERVICE configuration section, it writes: Now that you have an SMS center connection to send and receive SMS messages you need to define services for incoming messages But after many many many tries, im not able to receive Here is the conf file. All the blocks are understandable except SMS-SERVICE one that looks a bit ambigous. group = core admin-port = 13000 smsbox-port = 13002 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log group=smsc smsc=smpp smsc-id=internal interface-version=34 host=10.234.252.80 port=3700 system-id=demirbim smsc-password=demirbim system-type=demirbim transceiver-mode=1 address-range=98 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13014 log-level = 0 group = sendsms-user username = b password = b group = sms-service keyword = default text = test faked-sender = 98 catch-all = true Thanks On Tue, Mar 3, 2009 at 3:18 PM, Rodrigo Cremaschi rodrigo.cremas...@gmail.com wrote: HEllo Elton, The userguide is not perfect, it's not complete, and it's not foolproof. You are right. But take some more time reading it, explore the web, use Google, write and test some configurations for yourself, read the mail archives and you will be rewarded with a working Kannel. If, in spite of all this, you find yourself in trouble to make Kannel work, come back with your config files, log excerpts and the list will try to help you. Best regards, Rodrigo. On Tue, Mar 3, 2009 at 12:03 PM, Elton Hoxha elt...@gmail.com wrote: I have it but its confusing a bit On Tue, Mar 3, 2009 at 2:59 PM, Davor Spasoski davor.spaso...@cosmofon.com.mk wrote: Do you have a manual? From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Elton Hoxha Sent: Tuesday, March 03, 2009 2:44 PM To: users@kannel.org Subject: SMS-SERVICE Hi, Can anyone please explain me the functionality of this group? I read the guide already but again I have some ambiguities. What the keyword parameter is used for? The text parameter, is it used for predefined reply when the sender sends a SMS to a voting service for example. Please anyone explain with few words these parameters? send-url, get-url, dlr-url Thanks COSMOFON - Mobile Telecommunications Services - A.D. Skopje ___ This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. COSMOFON A.D. Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Re: SMS-SERVICE
] [6] DEBUG: SMPP PDU dump ends. On Tue, Mar 3, 2009 at 3:46 PM, Remon re...@interact.mobi wrote: Hello there, I’m gonna guide you on sms services First to test your setup please configure only one sms service group as follows group = sms-service keyword = default get-url = “ http://localhost/logger/logMessage?mobile_number=%pshort_code=%Ptext=%bbinary_text=%s Please make sure the URL will log all received parameters. Now if kannel receives SMS message from SMSC (MO Message) sent from mobile then kannel will send these parameters to the URL configured above. Please check this and send me back. Regards, Remon From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Elton Hoxha Sent: Tuesday, March 03, 2009 4:27 PM To: Rodrigo Cremaschi Cc: users@kannel.org Subject: Re: SMS-SERVICE Hi Rodrigo, I`m reading the guide several times, and what I want now its the basic service, just to send and receive MO-MT SMS using Kannel. I have set the SMPP connections already and there is no problem with binding issues between kannel and SMPP Server. I`m able to send from tha application to mobile, but I cannot vice versa, from mobile to application. In the guide at the SMS-SERVICE configuration section, it writes: Now that you have an SMS center connection to send and receive SMS messages you need to define services for incoming messages But after many many many tries, im not able to receive Here is the conf file. All the blocks are understandable except SMS-SERVICE one that looks a bit ambigous. group = core admin-port = 13000 smsbox-port = 13002 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log group=smsc smsc=smpp smsc-id=internal interface-version=34 host=10.234.252.80 port=3700 system-id=demirbim smsc-password=demirbim system-type=demirbim transceiver-mode=1 address-range=98 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13014 log-level = 0 group = sendsms-user username = b password = b group = sms-service keyword = default text = test faked-sender = 98 catch-all = true Thanks On Tue, Mar 3, 2009 at 3:18 PM, Rodrigo Cremaschi rodrigo.cremas...@gmail.com wrote: HEllo Elton, The userguide is not perfect, it's not complete, and it's not foolproof. You are right. But take some more time reading it, explore the web, use Google, write and test some configurations for yourself, read the mail archives and you will be rewarded with a working Kannel. If, in spite of all this, you find yourself in trouble to make Kannel work, come back with your config files, log excerpts and the list will try to help you. Best regards, Rodrigo. On Tue, Mar 3, 2009 at 12:03 PM, Elton Hoxha elt...@gmail.com wrote: I have it but its confusing a bit On Tue, Mar 3, 2009 at 2:59 PM, Davor Spasoski davor.spaso...@cosmofon.com.mk wrote: Do you have a manual? From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Elton Hoxha Sent: Tuesday, March 03, 2009 2:44 PM To: users@kannel.org Subject: SMS-SERVICE Hi, Can anyone please explain me the functionality of this group? I read the guide already but again I have some ambiguities. What the keyword parameter is used for? The text parameter, is it used for predefined reply when the sender sends a SMS to a voting service for example. Please anyone explain with few words these parameters? send-url, get-url, dlr-url Thanks COSMOFON - Mobile Telecommunications Services - A.D. Skopje ___ This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. COSMOFON A.D. Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Re: SMPP problem
Hi, 1) Why are you defining username = a password = a in sendsms-user group, and then using another user and pass when invoking the URL? 2) Does smsbox.localhost exist at all? Regards, Rodrigo. On Mon, Mar 2, 2009 at 10:34 AM, Elton Hoxha elton.ho...@eaglemobile.al wrote: Hi, I followed the instruction in the guide and configured the smskannel.conf like this; group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group=smsc smsc=smpp smsc-id=internal interface-version=34 host=10.234.252.80 port=3700 system-id=bkt smsc-password=bkt system-type=bkt transceiver-mode=1 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = sendsms-user username = a password = a Then I try to call from the browser like that; http://smsbox.localhost:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world but is not responding. Any clue? From: Falko Ziemann [mailto:fal...@gmail.com] Sent: Monday, March 02, 2009 11:22 AM To: Elton Hoxha Cc: users@kannel.org Subject: Re: SMPP problem Please take a look at the userguide. There is nice chapter Running SMS Gateway Am 02.03.2009 um 11:11 schrieb Elton Hoxha: Hi, Thank you for your prompt reply. I managed to connect to my SMPP Server, making bind and unbind normally. Now could you please tell me how can I test now sending sms from this account I have defined to my mobile. Regards Elton From: Falko Ziemann [mailto:fal...@gmail.com] Sent: Monday, March 02, 2009 10:55 AM To: Elton Hoxha Cc: us...@kannel.org Subject: Re: SMPP problem Hi, Yes, there really seems to be a problem in your config an kannel says ist appears in line 91 but only posted about 30 lines of config... are you sure this is your complete config?? Regards Falko Am 02.03.2009 um 10:34 schrieb Elton Hoxha: Hi After configuring the setting to connect to SMPP Server, I run ./smsbox –v 1 smskannel.conf and I receive the below error: 2009-03-02 05:52:00 [6213] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-03-02 05:52:00 [6213] [0] ERROR: Group does not contain variable 'group'. 2009-03-02 05:52:00 [6213] [0] ERROR: Error found on line 91 of file `smskannel.conf'. 2009-03-02 05:52:00 [6213] [0] PANIC: Couldn't read configuration from `smskannel.conf'. 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(gw_panic+0xc2) [0x8087212] 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(main+0x133b) [0x80541eb] 2009-03-02 05:52:00 [6213] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) [0x942dec] 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox [0x8052701] Below it is my smskannel.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = /tmp/kannel.log log-level = 0 #box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = 0123456789 +- #log-file = /tmp/smsbox.log #log-level = 0 #access-log = /tmp/access.log # SMSC SMPP group = smsc smsc = smpp host = 10.234.252.80 port = 3700 receive-port = 3700 smsc-username = bkt smsc-password = bkt system-type = bkt address-range = 15166 transceiver-mode = 1 Is there any problem in my configuration file? Thanks Elton __ Information from ESET NOD32 Antivirus, version of virus signature database 3900 (20090302) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com This e-mail 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 are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited. If you receive this e-mail in error, please notify the sender by phone or e-mail immediately and delete it! Eagle Mobile makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message may belong to sender alone and may not necessarily reflect the opinions of Eagle Mobile. Eagle Mobile shall bear no liability for any loss or damage caused by software or e-mail viruses. Ky mesazh dhe
Re: SMPP problem
Hello Elton, You need a sender and a receiver. The sender gets specified by the from variable in the URL. The receiver, by the to variable. The error states that the sender is missing. Give it another try. :) On Mon, Mar 2, 2009 at 10:47 AM, Elton Hoxha elton.ho...@eaglemobile.al wrote: Hi, IT was just a mistake, pasting directly from the guide. Normally I tried invoking like this; http://smsbox.localhost:13013/cgi-bin/sendsms?username=apassword=ato=35567240text=Hello+world About the URL, I don't know the reason of smsbox.localhost. I saw it in the guide under the Running SMS gateway section. When I try to invoke like this; http://localhost:13013/cgi-bin/sendsms?username=apassword=ato=35567240text=Hello+world I get this error on the page: Sender missing and no global set, rejected Thanks in advance -Original Message- From: Rodrigo Cremaschi [mailto:rodrigo.cremas...@gmail.com] Sent: Monday, March 02, 2009 1:44 PM To: Elton Hoxha Cc: Falko Ziemann; users@kannel.org Subject: Re: SMPP problem Hi, 1) Why are you defining username = a password = a in sendsms-user group, and then using another user and pass when invoking the URL? 2) Does smsbox.localhost exist at all? Regards, Rodrigo. On Mon, Mar 2, 2009 at 10:34 AM, Elton Hoxha elton.ho...@eaglemobile.al wrote: Hi, I followed the instruction in the guide and configured the smskannel.conf like this; group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group=smsc smsc=smpp smsc-id=internal interface-version=34 host=10.234.252.80 port=3700 system-id=bkt smsc-password=bkt system-type=bkt transceiver-mode=1 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = sendsms-user username = a password = a Then I try to call from the browser like that; http://smsbox.localhost:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world but is not responding. Any clue? From: Falko Ziemann [mailto:fal...@gmail.com] Sent: Monday, March 02, 2009 11:22 AM To: Elton Hoxha Cc: users@kannel.org Subject: Re: SMPP problem Please take a look at the userguide. There is nice chapter Running SMS Gateway Am 02.03.2009 um 11:11 schrieb Elton Hoxha: Hi, Thank you for your prompt reply. I managed to connect to my SMPP Server, making bind and unbind normally. Now could you please tell me how can I test now sending sms from this account I have defined to my mobile. Regards Elton From: Falko Ziemann [mailto:fal...@gmail.com] Sent: Monday, March 02, 2009 10:55 AM To: Elton Hoxha Cc: users@kannel.org Subject: Re: SMPP problem Hi, Yes, there really seems to be a problem in your config an kannel says ist appears in line 91 but only posted about 30 lines of config... are you sure this is your complete config?? Regards Falko Am 02.03.2009 um 10:34 schrieb Elton Hoxha: Hi After configuring the setting to connect to SMPP Server, I run ./smsbox -v 1 smskannel.conf and I receive the below error: 2009-03-02 05:52:00 [6213] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-03-02 05:52:00 [6213] [0] ERROR: Group does not contain variable 'group'. 2009-03-02 05:52:00 [6213] [0] ERROR: Error found on line 91 of file `smskannel.conf'. 2009-03-02 05:52:00 [6213] [0] PANIC: Couldn't read configuration from `smskannel.conf'. 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(gw_panic+0xc2) [0x8087212] 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(main+0x133b) [0x80541eb] 2009-03-02 05:52:00 [6213] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) [0x942dec] 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox [0x8052701] Below it is my smskannel.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = /tmp/kannel.log log-level = 0 #box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = 0123456789 +- #log-file = /tmp/smsbox.log #log-level = 0 #access-log = /tmp/access.log # SMSC SMPP group = smsc smsc = smpp host = 10.234.252.80 port = 3700 receive-port = 3700 smsc-username = bkt smsc-password = bkt system-type = bkt address-range = 15166 transceiver-mode = 1 Is there any problem in my configuration file? Thanks Elton __ Information from ESET NOD32 Antivirus, version of virus signature database 3900 (20090302
Re: two msgs to two diff subscribers in one url
You are forcing Kannel to do things it cannot do. Please, read the userguide. If you are still in doubt, please, read it again. On Thu, Feb 26, 2009 at 11:32 AM, narendra reddy kamaninaren...@gmail.com wrote: Hi All, in single url i tried two text messages to two subscribers in single url .is it possible.? http://localhost:13001/cgi-bin/sendsms?username=pyropassword=pyrofrom=888%20text=haveaniceday%20 to=91971236987%20text=narendra%206%20text=hello%2058text=Test%20Messagecharset=UTF-16BEmclass=2coding=2pid=0dlr-mask=8 I tried like this .but it's gave some bug.can one explain me with some example . -- Best Regards,
Re: flash sms
Hi Narendra, I think you posted this same question before. Please, take a look at the mail archives. Your questions may have been already answered (more than once) http://www.mail-archive.com/users@kannel.org/ Regards, Rodrigo. On Mon, Feb 23, 2009 at 10:00 AM, narendra reddy kamaninaren...@gmail.com wrote: Hi, How we can send a flash messages to SMPPSim from ESME. i tried like this to submit a message to the simulator .is it correct way to approach a flash sms. http://localhost:13005/cgi-bin/sendsms?username=pyropassword=pyrofrom=to=91971236987text=Test charset=UTF-16BEmclass=0coding=1pid=0dlr-mask=31 -- Best Regards,
Re: mysql data-base
Hello Narendra, Please: 1) take a look at the documentation provided with Kannel. 2) post your question to ONLY one mailing list, NOT to all of them. 3) use Google to see if someone has already answered your question (most probably the answer will be YES) 4) don't make such a general request as give me information or you will risk getting zero answers. Best regards, Rodrigo. On Thu, Jan 29, 2009 at 4:37 AM, narendra reddy kamaninaren...@gmail.com wrote: Hi, I want the information regading mysql database .how to write a make file to support a mysql libraries . Best Regards, Narendra Reddy.
Re: Invalid content type error
In your kannel.conf, you are declaring group = sendsms-user username = user password = pass1 but you are invoking the sendsms service with another user and password: username=userpassword=foobar please, use the same username and password in your URL. On Wed, Jan 14, 2009 at 6:18 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote: $baseUrl = http://192.168.0.1:13013/cgi-bin/sendsms?;; $params = username=userpassword=foobarto=$tofrom=$frmdefault_smsc=sms3dlr-mask=31text=.urlencode($msg); Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: as_u_ca...@d.top From: Otandeka Simon Peter otand...@smsmedia.info To: Mike Nwaogu michael_nwa...@yahoo.com Cc: users@kannel.org User users@kannel.org Sent: Wednesday, January 14, 2009 6:18:30 AM Subject: Re: Invalid content type error Can you paste your cgi-bin sendsms url? You could be missing something. Are you able to bind successfully? On Jan 13, 2009, at 10:32 PM, Mike Nwaogu wrote: Yes I am. Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: as_u_ca...@d.top From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 8:31:23 PM Subject: Re: Invalid content type error Hi, Are you including the username and password variables you defined in the sendsms-user group into your URL? Regards, Rodrigo. On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote: smsbox.log log-level=0 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for `41.222.67.127'. 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area 0x8755330. 2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 41.222.67.127 2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed for sendsms 2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for `41.222.67.127'. 2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 41.222.67.127 2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed for sendsms 2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for `41.222.67.127'. 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient area 0x8755330. 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient for `41.222.67.127'. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Nikos Balkanas nbalka...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 7:38:49 PM Subject: Re: Invalid content type error Hi, By error message I mean the error message from bearerbox logs and/or smsbox log. Please do not send me php code or HTTP server response (end result). It is not my intention to debug your application. BR, Nikos - Original Message - From: Nikos Balkanas To: Mike Nwaogu ; Alejandro Guerrieri Cc: users@kannel.org Sent: Tuesday, January 13, 2009 8:25 PM Subject: Re: Invalid content type error I am confused. Could you please post the packet from tcpdump -or- smsbox (verbosity 0)? (just the packet) and the exact error message that you are getting? BR, Nikos - Original Message - From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: users@kannel.org Sent: Tuesday, January 13, 2009 7:32 PM Subject: Re: Invalid content type error No I meant that the error changes to Authorization failed for sendsms when I know I've inputed the right details. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Mike Nwaogu michael_nwa...@yahoo.com To: Nikos Balkanas nbalka...@gmail.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 5:42:41 PM Subject: Re: Invalid content type error Ok thanks, what's the best header to send in. Content-Type: text/html; charset=utf-8 or Content-Type: text/html; charset=iso-8859-1 Do I need to config kannel to expect a particular type, I noticed that every time I send a request with the either header above I have a PANIC in the logs and the process dies. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Nikos Balkanas nbalka...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Friday, January 2, 2009 6:18:52 PM Subject: Re: Invalid content type error Hi Mike, Kannel is very explicit about its problem. The HTML header Content-type you are submitting with your javascript (or more likely don't send at all) is invalid. The header of course is not part of the URL which seems to be OK. You can see the headers you are sending to kannel either by a packet analyzer like tcpdump
Re: Invalid content type error
Hi, Are you including the username and password variables you defined in the sendsms-user group into your URL? Regards, Rodrigo. On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote: smsbox.log log-level=0 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for `41.222.67.127'. 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area 0x8755330. 2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 41.222.67.127 2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed for sendsms 2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for `41.222.67.127'. 2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 41.222.67.127 2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed for sendsms 2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for `41.222.67.127'. 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient area 0x8755330. 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient for `41.222.67.127'. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Nikos Balkanas nbalka...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 7:38:49 PM Subject: Re: Invalid content type error Hi, By error message I mean the error message from bearerbox logs and/or smsbox log. Please do not send me php code or HTTP server response (end result). It is not my intention to debug your application. BR, Nikos - Original Message - From: Nikos Balkanas To: Mike Nwaogu ; Alejandro Guerrieri Cc: users@kannel.org Sent: Tuesday, January 13, 2009 8:25 PM Subject: Re: Invalid content type error I am confused. Could you please post the packet from tcpdump -or- smsbox (verbosity 0)? (just the packet) and the exact error message that you are getting? BR, Nikos - Original Message - From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: users@kannel.org Sent: Tuesday, January 13, 2009 7:32 PM Subject: Re: Invalid content type error No I meant that the error changes to Authorization failed for sendsms when I know I've inputed the right details. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Mike Nwaogu michael_nwa...@yahoo.com To: Nikos Balkanas nbalka...@gmail.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 5:42:41 PM Subject: Re: Invalid content type error Ok thanks, what's the best header to send in. Content-Type: text/html; charset=utf-8 or Content-Type: text/html; charset=iso-8859-1 Do I need to config kannel to expect a particular type, I noticed that every time I send a request with the either header above I have a PANIC in the logs and the process dies. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Nikos Balkanas nbalka...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Friday, January 2, 2009 6:18:52 PM Subject: Re: Invalid content type error Hi Mike, Kannel is very explicit about its problem. The HTML header Content-type you are submitting with your javascript (or more likely don't send at all) is invalid. The header of course is not part of the URL which seems to be OK. You can see the headers you are sending to kannel either by a packet analyzer like tcpdump, or by starting bearerbox and smsbox at the shell at maximum verbosity: bearerbox conffile smsbox conffile BR, Nikos - Original Message - From: Mike Nwaogu To: Alejandro Guerrieri Cc: users@kannel.org Sent: Friday, January 02, 2009 7:01 PM Subject: Re: Invalid content type error Hello All, I'm not sure you recall this request from last year, but i'm having the same issue, and I have checked to be sure, I'm encoding properly using PHP curl, have searched thru the list. Please help with a pointer, really lost now. TIA Mike Nwaogu. Alejandro Guerrieri alejandro.guerrieri at gmail.com Mon Mar 5 22:14:56 CET 2007 Previous message: Invalid content type error Next message: Problematic Kannel behaviour with large message stores Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] This looks more as a question for the users mailing list. From Kannel's standpoint this is a kannel user question, not a kannel developer one. Hint: Check if you are urlencoding your text fields. Regards, Alejandro. On 3/5/07, sudhir ssharma at signdomains.com wrote: Hi, i am using Kannel 1.4.1 for my sms application.The configuration settings have been made.When i use that url directly into the browser it runs
Re: Configuring multiple Transmitter on 1 port
There's no problem in stablishing two connections on the same port. You can use same IP, port, username and password. Just identify them with distinct names: (This is a user-related question, so please, address it to the appropriate list) #SMSC NEXTEL1 group = smsc smsc = smpp smsc-id = NEXTEL1 allowed-smsc-id = NEXTEL1;NEXTEL2 host = www.xxx.yyy.zzz receive-port = 800 port = 800 smsc-username = **user** smsc-password = **pass** system-type = EXT_SME connect-allow-ip = *.*.*.* source-addr-npi = 0 #SMSC NEXTEL2 group = smsc smsc = smpp smsc-id = NEXTEL2 allowed-smsc-id = NEXTEL1;NEXTEL2 host = www.xxx.yyy.zzz receive-port = 800 port = 800 smsc-username = **user** smsc-password = **pass** system-type = EXT_SME connect-allow-ip = *.*.*.* source-addr-npi = 0 On Mon, Dec 29, 2008 at 10:06 AM, Chaitanya Bhatt // Viva chaita...@vivainfomedia.com wrote: Hi My smpp provider has given me one smpp username,password 2 ports, and told to use 3 binds as transmitter on port1, 3 binds as transmitter on port2, 1 bind as receiver on port2 to get good throughput. But i don't know how to configure multiple binds on single port? However i have configured this as follow:- Please let me know whether i had configured correct or not? group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= port = port1 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= port = port1 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= port = port1 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= port = port2 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password=x port =port2 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= port = port2 receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 reroute-dlr=1 group = smsc smsc = smpp smsc-id = smscid host=xxx.xxx.xxx.xxx smsc-username= smscid smsc-password= receive-port=port2 connect-allow-ip = 127.0.0.1 system-type= address-range= source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 -- Thanks Regards Chaitanya Bhatt
Re: sms-service question
Hi Carlos, Besides the keyword matching problem, you are not sending any parameter to your script. So it does not know what to do. Maybe that is your problem. A more complete exec line should look like this exec = /usr/bin/perl /home/carlos/development/perl/kannel/test.pl %p %i %P %k %r Regards, Rodrigo. On Thu, Oct 16, 2008 at 10:30 PM, Alan McNatty [EMAIL PROTECTED] wrote: Hi Carlos Carlos Ruiz Diaz wrote: Hello all. After a lot of searching and reading I finally make kannel works. Now, today, I have a new problem to get over. I want to catch the incoming SMSs to my number and do some operation if some word is found, a common sms service. I do read the manual and I write the exact example that I found in there but is not working at all, so I reduce the complexity to test and still nothing. Now i just want to exec a perl script if the word ping is found. ... group = sms-service keyword = ping. exec = /usr/bin/perl /home/carlos/development/perl/kannel/test.pl #accepted-smsc = change as needed You have 'ping.' so that will do a case-insensitive match on any message that begins with 'ping.' - note the full-stop. If that is not what is happening then supply some log entries detailing the messages your trying to send. You may also want to consider the keyword-regex config parameter and starting with a basic 'text = It works' setting (before moving onto an exec call).
Re: Interactive SMS
I think it will be much simpler if you code a script from zero, instead of having to translate every wap page into an SMS (which may end up in more than 160 chars). On Fri, Oct 17, 2008 at 12:06 PM, Carlos Ruiz Diaz [EMAIL PROTECTED] wrote: Thank for the reply Stipe. Let me explain myself better with an example, maybe there was something wrong with my bad English :). I want to send the following kind of messages to the users: Make your choice: A. Vote for Carlos B. Vote for Augusto if the user sends me a reply with an A or B I want to send: You have selected the option A|B and if not: No such option I already have a wap page for the above example and but I don't know if there exists a way to translate it transparently to interactive SMS or I should write my own system using sms services with keywords like A, B. On Fri, Oct 17, 2008 at 8:20 AM, Stipe Tolj [EMAIL PROTECTED] wrote: Alejandro Guerrieri schrieb: Carlos, Of course you could program a system that responds an SMS with a wap-push that points to a particular wap page, but I'm not sure if that's what you're trying to achieve. Could you please clarify further? Regarding sending wap pages using SMS transport, that sounds a lot like [EMAIL PROTECTED] which is precisely that (a subste of wml over SMS transport). If that's the case, Kannel cannot help you on that department, you'd need a [EMAIL PROTECTED] gateway for that. what is [EMAIL PROTECTED] Any URL reference for that? A WAP Push can have a WML conent-type as payload. From a protocol architecture this is possible, as the PPG (push proxy gateway) knows how to encode this. The problem is (like most times) on the device side. I don't know exactly how many devices are out there that DO support WAP push messages, but KNOW how to interpret WML pushed payload too. Obviously they know how to display WML, using the browser component in the device. But the WAP Push component has usually an own browser that does the handling. So there is no nice registry mime type correlation as we know if from the Windows world ;) In addition USSD may be used for what you intend to do. But this requires again more dependencies in the core network structure and a dedicated USSD gateway too. The way I would do it: - let the user initiate, via a normal MO SMS keyword - send a WAP push SI (session indication) to the user, this will pop up on the screen and ask the user if he wants to make his decission. - the user can either say yes or no, yes means opening the embeded URL. - and the URL is your WML deck with the decision A or B. This has the benefits: a) you know that SI documents work on any WAP push capable phones, no failures. b) adding a session ID to the URL in the SI, maps the MSISDN of the user into your application, so when the user comes into the application you know who it is by MSISDN number, which makes later notifications or other SMS transmissions MT wise very easy to him Stipe -- --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Trivial (maybe) questions
Hi RMP, there is no id for incoming messages. If you need to create some kind of session you will have to create your own id at arrival of the first SMS. Regards, Rodrigo. On Mon, Sep 8, 2008 at 12:24 PM, regme please [EMAIL PROTECTED] wrote: Hi there. The application will operate as a gateway between a number of different SMSCs of different operators for both MO and MT. I would expect to have a msg-id in every incoming (to the application) SMS as well as some msg-id clashes. I'd like to create a DB (probably either Oracle or Postgres) for storage and for statistics and would then need a two-way access: one with (really) unique IDs to the application and one with SMSC-related IDs. If I could unify the IDs with a unique numbering, I would then get an advance in my architecture. I hope I've been clearer as I'm not English native speaker. 2008/9/8 Christian Jensen [EMAIL PROTECTED] What will you do with the id once you get it? Describe your scenario better. From: regme please [EMAIL PROTECTED] Sent: September 8, 2008 7:57 AM To: Alejandro Guerrieri [EMAIL PROTECTED] Cc: users@kannel.org users@kannel.org Subject: Re: Trivial (maybe) questions Hi, I have been unclear, I presume. I mean, isn't there any msg-id when I receive an SMS from an external SMSC (a real one I mean)? Who is in charge for creating such an ID in a complete chain (handlset, MSC, SMSC, gateway and the way back)? How is this ID handled in respect to all other message entities' IDs? I have not enough background on the technicalities of 2G/3G and some reference for study would also be greatly appreciated. Muchas gracias. :-) 2008/9/8 Alejandro Guerrieri [EMAIL PROTECTED] The message-id's are created from an uuid implementation (system function that creates unique id's based on a microsecond timestamp and some random factors to achieve uniqueness). Afaik, there's no way to re-define it without patching the code. Hope it helps, Alex On Mon, Sep 8, 2008 at 11:29 AM, regme please [EMAIL PROTECTED] wrote: Who is in charge for assigning a message-ID to each SMS? Am I allowed in Kannel to somehow re-define it? Thanks for the patience. RMP.
Re: 回复:stress test
Hi Mario, I suggest you to perform a series of tests: The first one being just answering some text form within Kannel, not invoking any external services and avoiding DLRs. That will measure the maximum perfomance you can get. The rest of the tests should: invoke a simple shell script (take some care when doing this), invoke a script using get-url, invoke a script that has access to a database, then add DLRs, etc. Ask the carrier to perform each test 3-4 times so you can average your results. I hope this can be of some help in finding your bottleneck. Regards! Rodrigo. 2008/8/27 [EMAIL PROTECTED]: I'm not sure whether it works, But you can try multi-threads(more threads) best regards wj.z - - Original Message - From: Mario Noboa [EMAIL PROTECTED] To: users@kannel.org Subject: stress test Date: 2008-8-27 23:11:39 Hi List, I'm making a stress test with my operator. They sent me 10 000 messages, and told me that i have to response in 4 mins and 10 seconds (40 msg/sec). But kannel response in 4 min and 40 seconds. I tried modifying the values of max-pending-submits (50) and with but i can't make that Kannel response faster, anyone have any idea? thanks a lot guys! 注册新浪2G免费邮箱
Re: submit single MO sms to multiple services
Hi there! The best way is to use a dispatcher script. Two benefits from this: 1) You won't need to restart Kannel in case of adding new services. 2) You have a central administration point for all your services. The get-url conf line will look like this: get-url = http://host1:13113/dispatch.php?sender=%ptext=%a Regards, Rodrigo. On Sun, Aug 24, 2008 at 11:01 PM, Garth Patil [EMAIL PROTECTED] wrote: I believe that's not possible inside the kannel configuration. At least, I was unable to figure out a way to do it when I tried. I just wrote a simple php script that makes multiple calls to the additional hosts. This is an example of how you might do that: ?php $hosts = array (http://host1:13113/smsmt;, http://host2:13113/smsmt;); foreach ( $hosts as $host ) { $curl_handle=curl_init(); $req_url = $host.'?'.$_SERVER['QUERY_STRING']; curl_setopt($curl_handle,CURLOPT_URL, $req_url); curl_exec($curl_handle); curl_close($curl_handle); } ? On Sun, Aug 24, 2008 at 6:05 PM, Vlad Troyanker [EMAIL PROTECTED] wrote: Hi, Please advise how I can submit a _single_ mo sms message to multiple sms services. Tried the following but only one of the groups work: kannel.conf, note hosts are different # # SMS-SERVICE # group = sms-service keyword = default catch-all = true get-url = http://host1:13113/smsmt?sender=%ptext=%a max-messages = 0# dont reply to MO concatenation = true omit-empty = true # # SMS-SERVICE # group = sms-service keyword = default catch-all = true get-url = http://host2:13113/smsmt?sender=%ptext=%a max-messages = 0# dont reply to MO concatenation = true omit-empty = true ANother attempt, single group by multiple URLs # # SMS-SERVICE # group = sms-service keyword = default catch-all = true get-url = http://host1:13113/smsmt?sender=%ptext=%a get-url = http://host2:13113/smsmt?sender=%ptext=%a max-messages = 0# dont reply to MO concatenation = true omit-empty = true Help is much appreciated
Re: receiving Mo message and execute a programme
Hi Rim, 1) All your config lines are commented out. 2) Check the execute permissions of /home/kannel/Documents/smsin. 3) Set loglevel to 0 (max detail) and check your logs to see what's happening. Regards, Rodrigo. On Mon, Jul 28, 2008 at 7:44 AM, bahassi rim hajar [EMAIL PROTECTED] wrote: hi, i have a probleme in configuration for sms-service. i receive Mo message but the sms-service don't treat them. this is my configuration for this : #group = sms-service #keyword = default #max-messages = 10 #concatenation = true #exec=/home/kannel/Documents/smsin --modemname=... --path=/home/kannel/Documents/exec/ --sender=%q --phonenumber=%Q --dcs=%m --udh=%u #accept-x-kannel-headers = true #catch-all = true i don't know why the programme don't execute. Please help Regards Rim _ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
Re: SMS MO Cancelation
Hi Marcelo, Once the SMS is sent, the operator charges the user and there is nothing you can do. You should switch to a charge-by-MT scheme to avoid charging the user when something goes wrong on your side. Regards, Rodrigo. On Fri, Jun 27, 2008 at 6:52 PM, Marcelo Aguila [EMAIL PROTECTED] wrote: Hi, guys. I've got a doubt with this issue. We're impleting a service that sms mo has a cost and sms mt it's free. In the case of system error (for example we couldn't wrote this sms mo transaction into a database), it's possible, in kannel (operator uses smpp), to answer in some way that this sms mo doesn't be charged to the client, because we couldn't finish the transaction succesfully ? Regards, m
Re: dump access.log to a database
It's quite easy to process kannel log files using cat and grep (or fgrep) commands. If you want to know the number of sent SMS for a certain short number, you may try something like: cat access.log | grep Sent SMS | grep \[from: \] | wc -l If your log file is already compressed: zcat access.log.gz | ... Hope this can help you. On Wed, Apr 23, 2008 at 10:08 PM, Luis Valencia [EMAIL PROTECTED] wrote: Hi all, I need to do a lot of searches in the access.log information, but its really nasty to do it on a text plain file. So I want to know if anyone ever try to dump the access.log to a Mysql database table so I can run queries on it? Anyone? Or any other option to do what I want? Thanks a lot in advance. Luis GT -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: Malformed Address and Unknown TLV
Hi, TLVs are sent by the operator. If the operator doesn't ask you to acknolewdge TLVs in any way, it's OK to ignore them. They don't affect message delivery. Regards. On Sat, Apr 19, 2008 at 2:49 AM, Logic 1902 [EMAIL PROTECTED] wrote: 2)But can it be set to Auto? in userguide its written as an integer and default is '0' - i didnt mention it anywhere in config file already means its already '0'.. 1)How about TLV error and does it affect message delivery? Date: Thu, 17 Apr 2008 11:49:36 +0300 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: users@kannel.org Subject: Re: Malformed Address and Unknown TLV for 2, just set your outgoing ton and npi as auto in kannel.conf Logic 1902 wrote: Hi, Two things; 1- Unknown TLV Error - have read postings before; this is not an error O.K. but does it affect message delivery in any way? 2- 'Malformed address, expected at least 7 digits' (error below in trace) - sometimes the same sending works but sometimes it gives this error? does it affect msg delivery? How can it be cured? thanks for help 2008-04-15 07:52:35 [10222] [7] ERROR: SMPP: Unknown TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received! 2008-04-15 07:52:35 [10222] [7] DEBUG: Optional parameter tag (0x0424) 2008-04-15 07:52:35 [10222] [7] DEBUG: Optional parameter length read as 30 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP[TELE]: Got PDU: 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP PDU 0x8203a20 dump: 2008-04-15 07:52:35 [10222] [7] DEBUG: type_name: deliver_sm 2008-04-15 07:52:35 [10222] [7] DEBUG: command_id: 5 = 0x0005 2008-04-15 07:52:35 [10222] [7] DEBUG: command_status: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: sequence_number: 2 = 0x0002 2008-04-15 07:52:35 [10222] [7] DEBUG: service_type: NULL 2008-04-15 07:52:35 [10222] [7] DEBUG: source_addr_ton: 1 = 0x0001 2008-04-15 07:52:35 [10222] [7] DEBUG: source_addr_npi: 1 = 0x0001 2008-04-15 07:52:35 [10222] [7] DEBUG: source_addr: 9928289 2008-04-15 07:52:35 [10222] [7] DEBUG: dest_addr_ton: 1 = 0x0001 2008-04-15 07:52:35 [10222] [7] DEBUG: dest_addr_npi: 1 = 0x0001 2008-04-15 07:52:35 [10222] [7] DEBUG: destination_addr: 8284 2008-04-15 07:52:35 [10222] [7] DEBUG: esm_class: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: protocol_id: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: priority_flag: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: schedule_delivery_time: NULL 2008-04-15 07:52:35 [10222] [7] DEBUG: validity_period: NULL 2008-04-15 07:52:35 [10222] [7] DEBUG: registered_delivery: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: replace_if_present_flag: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: data_coding: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: sm_default_msg_id: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: sm_length: 0 = 0x 2008-04-15 07:52:35 [10222] [7] DEBUG: short_message: 2008-04-15 07:52:35 [10222] [7] DEBUG: message_payload: 2008-04-15 07:52:35 [10222] [7] DEBUG: Octet string at 0x82225f8: 2008-04-15 07:52:35 [10222] [7] DEBUG: len: 30 2008-04-15 07:52:35 [10222] [7] DEBUG: size: 31 2008-04-15 07:52:35 [10222] [7] DEBUG: immutable: 0 2008-04-15 07:52:35 [10222] [7] DEBUG: data: 43 75 67 20 63 72 65 61 74 65 20 64 69 61 6d 6f ABC (fake) 2008-04-15 07:52:35 [10222] [7] DEBUG: data: 283 283 82 28 2839 (fake) 2008-04-15 07:52:35 [10222] [7] DEBUG: Octet string dump ends. 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP PDU dump ends. 2008-04-15 07:52:35 [10222] [7] ERROR: SMPP[TELE]: Mallformed addr `8284', expected at least 7 digits. 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP[TELE]: Sending PDU: 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP PDU 0x8203af8 dump: 2008-04-15 07:52:35 [10222] [7] DEBUG: type_name: deliver_sm_resp 2008-04-15 07:52:35 [10222] [7] DEBUG: command_id: 2147483653 = 0x8005 2008-04-15 07:52:35 [10222] [7] DEBUG: command_status: 10 = 0x000a 2008-04-15 07:52:35 [10222] [7] DEBUG: sequence_number: 2 = 0x0002 2008-04-15 07:52:35 [10222] [7] DEBUG: message_id: NULL 2008-04-15 07:52:35 [10222] [7] DEBUG: SMPP PDU dump ends. Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us -- 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
Re: No reply sent, denied smsbox
Hi Niurka , You will get that INFO message (not really an error) if you specify max-messages=0. This disables the capability of answering the original message. In this case, you will have to make an SMS push using the service /cgi-bin/sendsms. max-messages limits the number os SMS messages. Not the length of each message. Best regards, Rodrigo. On Wed, Apr 9, 2008 at 5:09 PM, Niurka Richiez Perez [EMAIL PROTECTED] wrote: Hi, I installed kannel 1.4.1 but I am unable to get the smsbox to send out the messages. I receive the messages but the smsbox logs the error No reply sent, denied when trying to send a MT. I check the source out and it looks like it has something to do with the max-messages parameter in the sms-service group but The MT is not longer than 160 chars. Does anybody know how can this be fixed? Thanks, NR
Re: kannel installation help
Hi David, 2008-02-17 04:32:38 [15441] [0] PANIC: Couldn't connect to the bearerbox. Is your bearerbox running BEFORE starting smsbox? It must. Best regards. On Feb 18, 2008 7:40 PM, David Bruno [EMAIL PROTECTED] wrote: Hi, I've been using SMS providers that have http api's for years. But now I need to go directly to an SMSC via SMPP. I found some online tutorials and tried installing kannel myself. It compiled, but still no success. I only need it for the basic function of send messages from my applications to the SMSC. I'm not dealing with modems or incoming messages. I would appreciate any assistance in installing it and sending from a PHP script. Is other sofware required. How do I start the service? This was the output when I first ran smsbox: It starts out ok, but then there's a connection failed error. thank you, Bruno 2008-02-17 04:32:11 [9980] [0] PANIC: ./smsbox [0x805151d] 2008-02-17 04:32:38 [15441] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl= 0 2008-02-17 04:32:38 [15441] [0] DEBUG: Kannel smsbox version `1.4.1'. Build `Feb 17 2008 03:49:14', compiler `3.4.5 20051201 (Red Hat 3.4.5-2)'. System Linux, release 2.6.9-023stab043.1-smp, version #1 SMP Mon Mar 5 16:35:19MSK 2007, machine i686. Libxml version 2.6.16. Using native malloc. 2008-02-17 04:32:38 [15441] [0] INFO: Service global sender set as '13013' 2008-02-17 04:32:38 [15441] [0] INFO: HTTP: Opening server at port 13013. 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thr ead) 2008-02-17 04:32:38 [15441] [0] INFO: Set up send sms service at port 13013 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thr ead) 2008-02-17 04:32:38 [15441] [0] DEBUG: - - 2008-02-17 04:32:38 [15441] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_reques t_thread) 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_ thread) 2008-02-17 04:32:38 [15441] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) map s to pid 15441. 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_ thread) 2008-02-17 04:32:38 [15441] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) map s to pid 15441. 2008-02-17 04:32:38 [15441] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to p id 15441. 2008-02-17 04:32:38 [15441] [0] ERROR: connect failed 2008-02-17 04:32:38 [15441] [0] ERROR: System error 111: Connection refused 2008-02-17 04:32:38 [15441] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread ) maps to pid 15441. 2008-02-17 04:32:38 [15441] [0] ERROR: error connecting to server `127.0.0.1' atport `13001' 2008-02-17 04:32:38 [15441] [0] PANIC: Couldn't connect to the bearerbox. 2008-02-17 04:32:38 [15441] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread)maps to pid 15441. 2008-02-17 04:32:38 [15441] [0] PANIC: ./smsbox(gw_panic+0xa3) [0x807cf3f] 2008-02-17 04:32:38 [15441] [0] PANIC: ./smsbox(main+0xc1f) [0x8056537] 2008-02-17 04:32:38 [15441] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3 ) [0xb7d53e23]
Re: Need apache config info
Hi Michael, Will you be using Apache and PHP for SMS processing? Then try googling Apache + PHP. Besides that, there's nothing you will need to modify in httpd.conf to make Apache work with Kannel. Regards, Rodrigo. On Feb 16, 2008 12:10 PM, Michael Sole [EMAIL PROTECTED] wrote: I am new to Kannel. I am have installed and configured correctly (I believe) but what I am unsure of is how to configure Apache. I do not see anything about how to configure the web server in the documentation. Can someone please advise? Thanks, Michael Sole Gold Group Dream | Change | Profit www.gold-group.com www.gold-mobile.com 732.587.2101 x 261 - Office 516.592.3683 - Mobile
Re: Invoking PHP Script through Kannel
From within the PHP script, write the text to a file for debugging. So you will know where the problem is. On Jan 15, 2008 10:37 AM, Mads N. Vestergaard - CoolSMS [EMAIL PROTECTED] wrote: You could try to check the log for your webserver and see why the data seems to be cut, if it is kannel or the webserver. .. Med venlig hilsen / Best Regards Mads N. Vestergaard Teknisk ansvarlig / CTO CoolSMS 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. preeteesh kakkar skrev: Anyone got any idea?? Please help me with this..! On Jan 15, 2008 2:05 PM, preeteesh kakkar [EMAIL PROTECTED] wrote: Its Text Type...! On Jan 15, 2008 1:18 PM, Mads N. Vestergaard - CoolSMS [EMAIL PROTECTED] wrote: What type is the field in the database ? .. Med venlig hilsen / Best Regards Mads N. Vestergaard Teknisk ansvarlig / CTO CoolSMS 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. preeteesh kakkar skrev: Hi, I am invoking a PHP script when kannel recieves any sms. The received sms is then stored in db from that PHP script. In case the sms is too large it is cut and whole sms is not stored in db. I am using GET request as paramter in kannel. I think becuase of limit of url lenght the whole sms is not stored. Can someone help me how can i get the full sms stored in db. Thanks...!
Re: Can a failed service cause a reject of an incoming sms message?
Hello Pawel, - If Kannel is up and running, why should the operator be used as a temp storage? I don't think the operator would like this situation. - Otherwise, if Kannel (or the link) is down, the operator queues the messages until Kannel restablishes the connection. The only solution I can figure out is closing the SMPP connection until the VASP is up again. BUT, BE AWARE that you may be signing a contract with the operator, asking you some kind of QOS, uptime, reliability, or whatever, that will force you to stay connected even if you can't provide the service. Best Regards, Rodrigo Cremaschi -- On Dec 10, 2007 6:23 PM, Pawel J. Sawicki [EMAIL PROTECTED] wrote: On Mon, Dec 10, 2007 at 08:47:34PM +, Khary Sharpe wrote: Hi Pawel, Hello! :) One possible solution is to have Kannel queue the request and retry at a later time. OK, but... what happens if during the time when the message queue is not empty, when Kannel has those messages stored on the local filesystem (I couldn't see a way to place the store in a RDBMS) disks get fried? I loose all the messages that were queued - don't I? I was (well, I am in fact) hoping that it is possible to queue messages on the mmsc side, by rejecting the ones that cannot be passed further on. Any ideas? Regards, Pawel Sawicki
Re: My first post - I want to start to develop and use commercially Kannel
Hi Wesley, How does the Kannel product stack up against commercial products at this point in time? I haven't tested commercial ESME software myself, but Kannel does a great job! If you ever feel the need of commercial assistance, subscribe to commercial[at]kannel[dot]org. Does Kannel have the ability to have many DEVICES added to it, say from wurfl.xml list etc? This could possible enable smoother deliver of DEVICE specific content. I.e. Deliver right jar file for right screen size. Kannel is a gateway. It is device independent. If you need any kind of device identification, you have to do at the next level. What are the minimum hardware and software requirements? Very few, since you can compile it on almost any *nix machine. Any reasonable new PC will do the job. Do you know any web servers I could utilize for this? Apache will make your people happy. How much customization work would it take to get a version of Kannel to a commercial state? What do you mean by commercial? We all use Kannel not only for the fun of sending and receiving text messages, but for commercial purposes. You only need to configure it. The design of the applications is up to you. This article may be of some help: http://www.ibm.com/developerworks/library/wi-kannelwap.html Best regards, Rodrigo.
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
Re: How to receive MO on an SMPP link
I don't quite understant your architecture. Why would you need more than one SMSbox? On 9/2/07, lekkie [EMAIL PROTECTED] wrote: Thanks for your reply. I ve gone thru the doc. So, if I want to set up multiple SMSBox, how do I do that. I tried setting up two SMSBoxes my make two SMSBox config file and assigning different sms-port numbers to them, but it was only the second SMSBox that was up. How do I do this? Thanks once again. Rodrigo Cremaschi wrote: YES, it is possible. PLEASE, take some time to read the userguide AND the following document: http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Many of the terms defined there apply also to SMS. Then, come back with any problems that may araise. Regards, R. On 8/31/07, lekkie [EMAIL PROTECTED] wrote: Please, I need a help here. I want to to be able to receive message from a telco's SMPP SMSC and only pass it to a url. I also need another SMPP SMSC that will only deliver mesage to the same telco. Is this possible? lekkie wrote: Hi, Below is my config file. However, what'd like is a single HTTP connection to an application to send and receive SMS from the application I'd also like 3 links to 3 telcos over SMPP binding as transceivers, so that they can receive and send messages. How can I make sure a message coming from a telco SMSC link will be forwarded to another SMSC or to a URL. I also want to be able to receive message from this application and forward it to an SMSC. (This I can do my specifying the user) Thanks. group = core admin-port = 13000 smsbox-port = 13001 admin-password = password #status-password = password admin-allow-ip = 127.0.0.1 log-file = /var/smsgateway/log/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 unified-prefix = +234,0 access-log = /var/smsgateway/log/access.log #store-file = /var/smsgateway/kannel/kannel.store group = smsc smsc = smpp host = [telco-ip] port = [telco-port] receive-port = [same-port-as-above] transceiver-mode = true smsc-id = TelcoSmppLink smsc-username = uname smsc-password = pword system-type = [system-type] service-type = smpp allowed-prefix = +234803;+234806;+234703;0803;0806;0703 denied-prefix = * unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1;[telco-ip] # SMSC Link to send SMS to app group = smsc smsc = http port = 0 smsc-id = HttpLinkToApp system-type = kannel smsc-username = http smsc-password = http send-url = http://[app-server-ip]/app/smexpress?smsvendor=kannelfrom=%Pto=%ptext=%bid=%I; allowed-prefix = +234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808 denied-prefix = * preferred-smsc-id = HttpLinkToApp unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1 # SMSC Link to receive SMS from app group = smsc smsc = http port = 8080 smsc-id = HttpLinkFromPayphone system-type = kannel smsc-username = http smsc-password = http send-url = http://localhost:13013/cgi-bin/sendsms?username=telcopassword=telcofrom=AppNameto=%ptext=%b; allowed-prefix = +234803;+234806;+234703;0803;0806;0703 denied-prefix = * preferred-smsc-id = HttpLinkFromApp unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1;[app-server-ip] group = smsbox smsbox-id = LinktoTelcoSMSBox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = App #sendsms-chars = 0123456789 +- log-file = /var/smsgateway/log/smsbox.log log-level = 0 access-log = /var/smsgateway/log/access.log group = smsbox smsbox-id = LinktoAppNameSMSBox bearerbox-host = 172.16.10.249 sendsms-port = 13013 global-sender = App #sendsms-chars = 0123456789 +- log-file = /var/smsgateway/log/smsbox.log log-level = 0 access-log = /var/smsgateway/log/access.log group = smsbox-route smsbox-id = LinktoTelcoSMSBox smsc-ids = TelcoSmppLink # SEND-SMS USERS group = sendsms-user username = mtn password = mtn forced-smsc = TelcoSmppLink allowed-prefix = +234803;+234806;+234703;0803;0806;0703 #user-deny-ip = #user-allow-ip = # SEND-SMS USERS group = sendsms-user username = appname password = appname forced-smsc = SmscToApp allowed-prefix = +234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808 #user-deny-ip = #user-allow-ip = Rodrigo Cremaschi wrote: Hi Lekkie, Tell us what have you done so far, and what problems have you
Re: keyword-regex and matching spaces
Hello Aaron, This seems to be kind of a philosofical discussion, but at some point in time, you will find much easier to modify a script than to modify the config file and restart kannel just for a minor change. Best regards, Rodrigo On 8/31/07, Aaron Simmons [EMAIL PROTECTED] wrote: I've run into a problem with keyword-regexp and matching spaces. Kannel won't match spaces. Though it doesn't appear to be documented (clearly?) in the Kannel User's Guide, its mentioned a couple times on this mailing list. My question is: why? Does Kannel throw out everything past the first space and only feed the first word to the regexp engine? I understand that the sms-service feature is designed to facilitate single-keyword matching, but still...this seems like an arbitrary limitation. For any kind of semi-complex patterns, the user has to send the sms off to a program that can handle regex's with spaces. Its doable, but its a pain. I'd rather have all of my logic in the conf file and not split between the conf file and some other scripts. Thanks, aaron
Re: How to receive MO on an SMPP link
Hi Lekkie, Tell us what have you done so far, and what problems have you encountered. If you talked to the the carrier guys, what did they say? So we can find out if Kannel, or the connection, or the SMSC has any kind of problem. Regards, Rodrigo. On 8/31/07, lekkie [EMAIL PROTECTED] wrote: How do I route incoming messages from SMPP Link? Rodrigo Cremaschi wrote: In that case, you must declare transceiver-mode variable to true. Omit receive-port variable. Check the userguide, under SMPP 3.4 section. Regards. On 8/29/07, lekkie omotayo [EMAIL PROTECTED] wrote: Thanks for quick response. Yes, they have transceiver. If the operator has a transceiver connection, how can I can get the inbound messages from my operator? How to I set up the config? What if my operator only supports transmitter/Receiver connection? Kind regards, Lekkie On 8/29/07, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Could this be because of the kannel version I am using (1.4.1)? No Is it possible to receive SMS on SMPP connection? Yes, that's what Kannel is for. Are you sure your operator needs 2 connetcions Tx and Rx? Or is it a transceiver? On 8/29/07, lekkie [EMAIL PROTECTED] wrote: Hi guys, I am trying to connect kannel to my mobile operator through an SMPP connection. However, my kannel box seem not to be listening on the receiver port I specified. It ws able to connect to my operator on the transmitter port, but it never listen on the specified receive-port. With some googling, I found out, I can only get a receiver connection by creating two separate SMSC configs using one as a transmitter the other as a receiver. I was advised to set transceiver mode to no, set the receive-port option to 0 (set transmit port) if I want to transmit and set transmit port to 0 if I want to receive (set receive port to 2001). When I did this, the log file told me I had a receiver bind however, kannel connects to the operator's SMSC on the receiver port even though transmitter port is set to 0. However, when I tried setting both port to same port, I ended up having two connections to SMSC both connection to the operator's port while source port was not open However, when I tried setting both port to diff port, I ended up having one connection to SMSC. I am afraid my config file may be wrong. Is there a way I can do this. Do I need 1 smsc config to achieve both transmitter and receiver connection? Do I need 1 smsbox config to achieve both transmitter and receiver connection? Could this be because of the kannel version I am using ( 1.4.1)? Is it possible to receive SMS on SMPP connection? Thanks. -- View this message in context: http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12394561 Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12426727 Sent from the Kannel - User mailing list archive at Nabble.com.
Re: How to receive MO on an SMPP link
YES, it is possible. PLEASE, take some time to read the userguide AND the following document: http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Many of the terms defined there apply also to SMS. Then, come back with any problems that may araise. Regards, R. On 8/31/07, lekkie [EMAIL PROTECTED] wrote: Please, I need a help here. I want to to be able to receive message from a telco's SMPP SMSC and only pass it to a url. I also need another SMPP SMSC that will only deliver mesage to the same telco. Is this possible? lekkie wrote: Hi, Below is my config file. However, what'd like is a single HTTP connection to an application to send and receive SMS from the application I'd also like 3 links to 3 telcos over SMPP binding as transceivers, so that they can receive and send messages. How can I make sure a message coming from a telco SMSC link will be forwarded to another SMSC or to a URL. I also want to be able to receive message from this application and forward it to an SMSC. (This I can do my specifying the user) Thanks. group = core admin-port = 13000 smsbox-port = 13001 admin-password = password #status-password = password admin-allow-ip = 127.0.0.1 log-file = /var/smsgateway/log/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 unified-prefix = +234,0 access-log = /var/smsgateway/log/access.log #store-file = /var/smsgateway/kannel/kannel.store group = smsc smsc = smpp host = [telco-ip] port = [telco-port] receive-port = [same-port-as-above] transceiver-mode = true smsc-id = TelcoSmppLink smsc-username = uname smsc-password = pword system-type = [system-type] service-type = smpp allowed-prefix = +234803;+234806;+234703;0803;0806;0703 denied-prefix = * unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1;[telco-ip] # SMSC Link to send SMS to app group = smsc smsc = http port = 0 smsc-id = HttpLinkToApp system-type = kannel smsc-username = http smsc-password = http send-url = http://[app-server-ip]/app/smexpress?smsvendor=kannelfrom=%Pto=%ptext=%bid=%I; allowed-prefix = +234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808 denied-prefix = * preferred-smsc-id = HttpLinkToApp unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1 # SMSC Link to receive SMS from app group = smsc smsc = http port = 8080 smsc-id = HttpLinkFromPayphone system-type = kannel smsc-username = http smsc-password = http send-url = http://localhost:13013/cgi-bin/sendsms?username=telcopassword=telcofrom=AppNameto=%ptext=%b; allowed-prefix = +234803;+234806;+234703;0803;0806;0703 denied-prefix = * preferred-smsc-id = HttpLinkFromApp unified-prefix = +234,0,234 log-file = /var/smsgateway/log/kannel.log log-level = 0 address-range = 0 connect-allow-ip = 127.0.0.1;[app-server-ip] group = smsbox smsbox-id = LinktoTelcoSMSBox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = App #sendsms-chars = 0123456789 +- log-file = /var/smsgateway/log/smsbox.log log-level = 0 access-log = /var/smsgateway/log/access.log group = smsbox smsbox-id = LinktoAppNameSMSBox bearerbox-host = 172.16.10.249 sendsms-port = 13013 global-sender = App #sendsms-chars = 0123456789 +- log-file = /var/smsgateway/log/smsbox.log log-level = 0 access-log = /var/smsgateway/log/access.log group = smsbox-route smsbox-id = LinktoTelcoSMSBox smsc-ids = TelcoSmppLink # SEND-SMS USERS group = sendsms-user username = mtn password = mtn forced-smsc = TelcoSmppLink allowed-prefix = +234803;+234806;+234703;0803;0806;0703 #user-deny-ip = #user-allow-ip = # SEND-SMS USERS group = sendsms-user username = appname password = appname forced-smsc = SmscToApp allowed-prefix = +234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808 #user-deny-ip = #user-allow-ip = Rodrigo Cremaschi wrote: Hi Lekkie, Tell us what have you done so far, and what problems have you encountered. If you talked to the the carrier guys, what did they say? So we can find out if Kannel, or the connection, or the SMSC has any kind of problem. Regards, Rodrigo. On 8/31/07, lekkie [EMAIL PROTECTED] wrote: How do I route incoming messages from SMPP Link? Rodrigo Cremaschi wrote: In that case, you must declare transceiver-mode variable to true. Omit receive-port variable. Check the userguide, under SMPP 3.4 section. Regards. On 8/29/07, lekkie omotayo [EMAIL PROTECTED] wrote: Thanks for quick response. Yes, they have transceiver. If the operator has a transceiver connection, how
Re: How to receive MO on an SMPP link
Could this be because of the kannel version I am using (1.4.1)? No Is it possible to receive SMS on SMPP connection? Yes, that's what Kannel is for. Are you sure your operator needs 2 connetcions Tx and Rx? Or is it a transceiver? On 8/29/07, lekkie [EMAIL PROTECTED] wrote: Hi guys, I am trying to connect kannel to my mobile operator through an SMPP connection. However, my kannel box seem not to be listening on the receiver port I specified. It ws able to connect to my operator on the transmitter port, but it never listen on the specified receive-port. With some googling, I found out, I can only get a receiver connection by creating two separate SMSC configs using one as a transmitter the other as a receiver. I was advised to set transceiver mode to no, set the receive-port option to 0 (set transmit port) if I want to transmit and set transmit port to 0 if I want to receive (set receive port to 2001). When I did this, the log file told me I had a receiver bind however, kannel connects to the operator's SMSC on the receiver port even though transmitter port is set to 0. However, when I tried setting both port to same port, I ended up having two connections to SMSC both connection to the operator's port while source port was not open However, when I tried setting both port to diff port, I ended up having one connection to SMSC. I am afraid my config file may be wrong. Is there a way I can do this. Do I need 1 smsc config to achieve both transmitter and receiver connection? Do I need 1 smsbox config to achieve both transmitter and receiver connection? Could this be because of the kannel version I am using (1.4.1)? Is it possible to receive SMS on SMPP connection? Thanks. -- View this message in context: http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12394561 Sent from the Kannel - User mailing list archive at Nabble.com.
Re: How to receive MO on an SMPP link
In that case, you must declare transceiver-mode variable to true. Omit receive-port variable. Check the userguide, under SMPP 3.4 section. Regards. On 8/29/07, lekkie omotayo [EMAIL PROTECTED] wrote: Thanks for quick response. Yes, they have transceiver. If the operator has a transceiver connection, how can I can get the inbound messages from my operator? How to I set up the config? What if my operator only supports transmitter/Receiver connection? Kind regards, Lekkie On 8/29/07, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Could this be because of the kannel version I am using (1.4.1)? No Is it possible to receive SMS on SMPP connection? Yes, that's what Kannel is for. Are you sure your operator needs 2 connetcions Tx and Rx? Or is it a transceiver? On 8/29/07, lekkie [EMAIL PROTECTED] wrote: Hi guys, I am trying to connect kannel to my mobile operator through an SMPP connection. However, my kannel box seem not to be listening on the receiver port I specified. It ws able to connect to my operator on the transmitter port, but it never listen on the specified receive-port. With some googling, I found out, I can only get a receiver connection by creating two separate SMSC configs using one as a transmitter the other as a receiver. I was advised to set transceiver mode to no, set the receive-port option to 0 (set transmit port) if I want to transmit and set transmit port to 0 if I want to receive (set receive port to 2001). When I did this, the log file told me I had a receiver bind however, kannel connects to the operator's SMSC on the receiver port even though transmitter port is set to 0. However, when I tried setting both port to same port, I ended up having two connections to SMSC both connection to the operator's port while source port was not open However, when I tried setting both port to diff port, I ended up having one connection to SMSC. I am afraid my config file may be wrong. Is there a way I can do this. Do I need 1 smsc config to achieve both transmitter and receiver connection? Do I need 1 smsbox config to achieve both transmitter and receiver connection? Could this be because of the kannel version I am using ( 1.4.1)? Is it possible to receive SMS on SMPP connection? Thanks. -- View this message in context: http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12394561 Sent from the Kannel - User mailing list archive at Nabble.com.
Re: CBC
Hi Vahid, Kannel complies with, and implements version 3.4 of SMPP. I think broadcast operations are defined in the new SMPP v5.0. Maybe you should post your question to the devel list to chek if it will be implemented in a short time. Regards, Rodrigo. On 8/28/07, Vahid Ghafarpour [EMAIL PROTECTED] wrote: Hi, Thanks for your reply, I havn't problem with this agreement, but I don't know how kannel support it. it means how can I set zone (or BTS address) in kannel? regards On 8/27/07, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: I think that requires an agreement with the operator... On 8/26/07, Vahid Ghafarpour [EMAIL PROTECTED] wrote: how can I send cell broadcasting messages to a smpp connection by kannel? -- --Vahid Ghafarpour. http://vahid.ghafarpour.ir/ vahid at ghafarpour dot ir ghafarpour at gmail dot com -- --Vahid Ghafarpour. http://vahid.ghafarpour.ir/ vahid at ghafarpour dot ir ghafarpour at gmail dot com
Re: CBC
I think that requires an agreement with the operator... On 8/26/07, Vahid Ghafarpour [EMAIL PROTECTED] wrote: how can I send cell broadcasting messages to a smpp connection by kannel? -- --Vahid Ghafarpour. http://vahid.ghafarpour.ir/ vahid at ghafarpour dot ir ghafarpour at gmail dot com
Re: Check Kannel status remotely
Hi Carlos, To be short, the simplest remote monitor is: http://yourkannelhost:13000/status.html You can change the listening port using the admin-port parameter. Regards, Rodrigo. On 8/23/07, Carlos Ghabrous Larrea [EMAIL PROTECTED] wrote: Dear All, I would like to know if it is possible to check the Kannel status remotely. I developed one application with Kannel, and now I would like to add some redudance to the system. Basically, I have two machines with Kannel running on both of them. The idea is that only one of them to process all the requests done to my system, unless this machine (or Kannel in this machine) is down. In case, requests should be forwarded to the other one. Does Kannel offer any means to do this? I read about the httpI read about the heartbeats signals, but neither I know if they can be used for this, nor if they are accesible from an external application. Thank you in advance for your help.
Re: sms routing
No. But you can make an application that invokes two (or as many as you wish) applications. On 8/23/07, Paweł Buńko [EMAIL PROTECTED] wrote: Hello, is it possible to make kannel to route sms to more than one application? -- Paweł Buńko Dział Rozwoju Produktów AutoGuard Insurance sp. z o.o. e-mail: [EMAIL PROTECTED] tel +48 22 611 68 82 mobile +48 502 477 791 Tlen.pl: pawlin_b GG: #1692409 Skype: pawlin
Re: Send Multiple SMS
Hi Phillip, You can use a list of space-separated receivers when you push the message. Like this: http://smsbox.host.name:13013/cgi-bin/sendsms? username=foopassword=barto=++text=Hello+world Best regards, Rodrigo. On 8/21/07, Philip Ankunda [EMAIL PROTECTED] wrote: Need help. Have kannel up and fine and running well. Can send a single sms to a single client, but want to be able to send the same sms to multiple clients at the same time. Will appreciate any help. Thanks _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
Re: Commercial KANNEL
Contact commercial (at) kannel (dot) org On 8/16/07, Real World [EMAIL PROTECTED] wrote: Dear Kannel, I need to get some information about kannel commercial support and commercial gateway from you.Who should i have to contact ? Any phone no: , chat Id's are acceptable. Thank you, Mark. Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search.
Re: How to stop 'Could not fecth' error from going to mobile
Hi Khary: You can use reply-couldnotfetch configuration variable to change the message. That will not stop the message from reaching the phone, though. Maybe you can try a combination of reply-couldnotfetch = omit-empty = true as Seik suggests. I never tried it. The best way to avoid this problem is effectively fetching the content from the webserver. If you still can't get your webserver to be always available, you will need some programming to catch the error before it reaches Kannel (using a local script as an interface between Kannel and the webserver). Best regards, Rodrigo. On 8/13/07, seik [EMAIL PROTECTED] wrote: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html Table 6-8. SMS-Service Group Variables omit-empty = true cheers seik -Original Message- From: Khary Sharpe [EMAIL PROTECTED] Sent: 13 ?? 2007 ?. To: seik Subject:How to stop 'Could not fecth' error from going to mobile Hi All, Does anyone know how disable the 'Could not fech' error that is sent back to phones when Kannel fails to fetch a URL? Thanks - Khary
Re: Double post-url statements in one service group
Hi Raphael, Use only one script per sms-service. Invoke 2 (or more) services from that script. Regards, Rodrigo. On 8/10/07, Raphael Maseko [EMAIL PROTECTED] wrote: Hi, I am trying to get kannel to do two different actions on an incoming SMS. Both processes are post-url but are going to two different servers. I have tried to put the statements one after the other but it seems to be executing only one and ignoring the other. group = sms-service keyword = default post-url = http://a.b.c/xy/script.php?smsmsg=%aphone=%p; post-url = http://somewebsite/web/SMS.cfc?method=addSMSfrom=%pto=12345678message=%a password=password omit-empty = true accept-x-kannel-headers = true max-messages = 3 concatenation = true Does anyone know how I can achieve this? Thanks in advance. Ralph
Re: Recieve SMS
If you start your bearerbox using bearerbox /var/log/kannel/bbox.log set loglevel to 0 (max detail) and then tail -f /var/log/kannel/bbox.log You will see all incoming and outgoing packets. On 8/7/07, preeteesh kakkar [EMAIL PROTECTED] wrote: What i have to do so that my kannel recieves sms... I am able to send sms using kannel as of now. Also How can i check if someuser sends an sms to kannel..? I mean is there any possible way in logs or anywhere to check that kannel box recieved sms from abc number??
Re: load balance smsc
Yes, check this thread: http://www.kannel.org/pipermail/devel/2007-May/001040.html On 6/20/07, Anand Gupta [EMAIL PROTECTED] wrote: Hi! I am getting 2 smpp connections from my smsc for load balancing. Can i use it inside kannel to automatically do load balance between messages ? And incase one is down, shift to another smpp link ? Is above possible ? Any suggestions / comments would be appreciated. -- regards, Anand Gupta
Re: exec not working in sms-service
Hi Abraham, Define only the exec= action in your configuration and print the text from within your executable. Regards, Rodrigo. On 6/13/07, Abraham Teck [EMAIL PROTECTED] wrote: I'm attempting to create a flat file for upstream processing and notify the SMS sender that the text has been received. the sms-service config is as follows: group = sms-service keyword = SUB text = Thank you for subscribing - your request is being processed exec = /usr/local/bin/imomgen %q %a In this instance, only the text is sent to the text originator, and the exec command is not executed, 2007-06-13 10:57:35 [5062] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2007-06-13 10:57:35 [5062] [0] INFO: Connected to bearerbox at 127.0.0.1 port 23001. 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2007-06-13 10:57:35 [5062] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 5062. 2007-06-13 10:57:35 [5062] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 5062. 2007-06-13 10:57:47 [5062] [4] INFO: Starting to service SUB from +5016001358 to 5016102261 2007-06-13 10:57:47 [5062] [4] DEBUG: formatted text answer: Thank you for subscribing - your request is being processed 2007-06-13 10:57:47 [5062] [4] DEBUG: message length 59, sending 1 messages If the text = Thank you for subscribing - your request is being processed is removed, then the exec command is executed, but only if the text is removed. 2007-06-13 11:06:48 [5111] [4] INFO: Starting to service SUB from +5016001358 to 5016102261 2007-06-13 11:06:48 [5111] [4] DEBUG: executing sms-service '/usr/local/bin/imomgen %2B5016001358 SUB' 2007-06-13 11:06:48 [5111] [4] DEBUG: message length 35, sending 1 messages The 1 message refers to the Empty reply from service provider. Can anyone help in providing the required configuration to (a) run exec (b) send a customized text ? Is this doable? _ Don't miss your chance to WIN $10,000 and other great prizes from Microsoft Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/
Re: load balancing can Kannel do it
Hi Hillel, I think you are misunderstanding what smsbox-route can do. It is meant to manage several smsboxes connected to one bearerbox. But, as I understand, the carrier wants you to stablish two connections and load-balance traffic between them in such a way that doubles the throughput. BUT if one connection fails, you must use the reminding in degraded mode (half total throughput) right? This can be achieved defining 2 SMSC connections (2 smsc groups) and specifying allowed-smsc-id and preferred-smsc-id for each one. So, all outgoing traffic (MTs) will be sent through the preferred connection and only if this connection becomes unavailable it will be redirected to the allowed one. Throughput of each connection should be set to 10msgs/sec. It is up to your script to load balance the outgoing traffic between the 2 connections. No smsbox-route is needed for this. Best regards, Rodrigo P.S.: This should be directed to users list. On 5/8/07, Hillel [EMAIL PROTECTED] wrote: Hi, We have a SMSC provider that wants us to load balance so the diagram will look like: Sending SMSs: Kannel ---Bind to Gateway1- Gateway1 connect to SMSC- SMSC ---Bind to Gateway2- Gateway2 connect to SMSC- For Incoming SMSs and delivery receipts: Kannel ---Bind to Kannel- Gateway1 connect to Gateway1- SMSC ---Bind to Kannel- Gateway2 connect to Gateway2 - From Gateway 1 and Gateway 2 we can send SMSs at 10 SMSs/sec per Gateway. For SMSs going out, we must send via both Gateway1 and Gateway2 to get 20 SMSs/sec. If either of the gateways go down the other must get the full amount of the SMSs and throttle at 10 SMS/sec. For delivery receipts they can come back via either Gateway. For Incoming SMSs they can come back via either Gateway. 1. For Sending SMSs is there any way to get Kannel to do the load balancing or must one add a patch to CVS? For incoming SMSs we would like to use the setup: group = smsbox-route smsbox-id = smsc_provider smsc-id = Gateway1;Gateway2 2. Will this work for delivery receipts so that they can come back with either Gateway1 or Gateway2.? (I assume this will work for incoming SMSs as this is described via the Kannel CVS website.) Thanks, any ideas on how to setup load-balancing (or if it can be done) appreciated
Re: multiple smscs
Hi Gabriel, post your config file, please. Are you using sms-push mechanism to reply to the MO messages? In this case, the INFO line is normal, as you are setting max-messages = 0. Your script is responsible for specifying the outgoing SMSC. When you use multiple SMSCs, you have to allow the desired SMSC and deny the others, as Davy said, like this: # SMSC ONE group = smsc smsc = smpp smsc-id = ONE allowed-smsc-id = ONE denied-smsc-id = TWO, THREE ... # SMSC TWO group = smsc smsc = smpp smsc-id = TWO allowed-smsc-id = TWO denied-smsc-id = ONE, THREE ... etc. Regards, Rodrigo Cremaschi. On 4/27/07, Gabriel Luhers Graca [EMAIL PROTECTED] wrote: I did as you suggested, Chan, but my SMSs are always being sent to the same SMSC. It seems like the allowed-prefix is simply ignored. But the denied-smsc-id is not, because the logs show this: 2007-04-27 14:14:56 [10761] [5] INFO: No reply sent, denied. How does kannel decide who gets the request? Thanks, Gabriel Lühers Graça [EMAIL PROTECTED] -Mensagem original- De: Davy Chan [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 24 de Abril de 2007 1:30 Para: Gabriel Luhers Graca Cc: users@kannel.org Assunto: Re: multiple smscs **Subject: multiple smscs **Date: Mon, 23 Apr 2007 11:32:25 -0300 **Message-ID: [EMAIL PROTECTED] **From: Gabriel Luhers Graca [EMAIL PROTECTED] **To: users@kannel.org ** **Hello, ** ** I'm trying to configure multiple SMSCs without success. ** ** The sms-services are identical for all 3 of my SMSCs, but I need to ** be able to choose which one sends back the reply using the number. ** The actually just have to go back to the same SMSC they came from. ** ** One operator handles all numbers that start with 91, another all ** that start with 96 and a third the remainder. ** ** I've tried the following: ** **group = smsc **smsc-id = xxx3344 **smsc = emi **allowed-smsc-id = xxx3344 **host = 10.xxx.yyy.zzz **port = ppp **my-number = 3344 **keepalive = 30 **idle-timeout = 60 **flow-control = 1 **window = 100 ** **group = sendsms-user **username = jdoe **password = secret **max-messages = 3 **concatenation = true **user-deny-ip = *.*.*.* **user-allow-ip = 127.0.0.1; 10.xxx.yyy.zzz **forced-smsc = xxx3344 **allowed-prefix = 96 ** ** ** I thought allowed-prefix would make all requests from numbers starting with 96 be channeled to this SMSC, but that didn't happen. ** ** How does one configure this? allowed-smsc-id establishes that a particular smsc entry is willing to accept SMS for a specific smsc smsc-id name. What you want to do is to limit the list of smsc-id that can use the smsc. You should also add a denied-smsci-id that lists all the smsc-id's that are forbidden to use that smsc. See ya... d.c.
Re: Authorization failed for sendsms - reg.
Hi, The problem is that Kannel is not letting you send the message, because you are not authenticated. Please check your sendsms-user group, and verify the username and password variables you are using. They should match those in the URL. Best Regards, Rodrigo. On 4/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, fine and thank you for your guide line but the same code is not functioning for me. Insteadof xxx in system-id I use the user id what I got from clickatell and corresponding username and my pwd I used. still I got an error as Authorization failed for sendsms how did you try to connect clickatell either using any browser with the following url http://localhost:13013/cgi-bin/sendsms?username=foopassword=barto=phone numbertext=helloworld is it correct? # SMSC HTTP CLICKATEL group = smsc smsc = http smsc-id = click system-id = X --- API-ID system-type = clickatell port = 13015 smsc-username = YYY --- Clickatell username smsc-password = - Clickatell password send-url = http://api.clickatell.com/http Clickatell Http API base Url connect-allow-ip = 196.30.96.134 ARP with reg. - This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India)
Re: Sending message to smsc
Fastest and easiest: elinks -dump http://localhost:13013/cgi-bin/sendsms?username=usernamepassword=passwordfrom=shortcodeto=phonenumbertext=HELLO+WORLD Replace ... with corresponding configured variables. If you don't have elinks, try lynx instead. Regards, Rodrigo. On 4/20/07, Clay Zevely [EMAIL PROTECTED] wrote: Is there a command line and instructions I can use to test kannel with the smsc? I have installed kannel and on the smsc I see I am binding via smpp. At this point all seems well. What I want to do is send an sms via smpp from the kannel to the smsc to verify My kannel is configured correctly. I have see lots of messages on this and as a new user none of them have been of any help. All I would like if possible is an example and instructions on the easiest and fastest way to Send a test message from kannel to the smsc via smpp. Clay Zevely Homisco 99 Washington Street Melrose, MA 02176 Phone: 781-665-1997 Fax: 781-665-3013 Email: [EMAIL PROTECTED]
Re: Kannel List in spanish.
I'm in. A good start would be translating the userguide into spanish, right? Rodrigo. On 4/13/07, Mi Reflejo [EMAIL PROTECTED] wrote: Since i'm receiving mails asking for support in spanish i think is a good idea start a new List for those users who speak spanish. If we have feedback from here. I'll start a new mail-list ASAP and i'll give support in this language.. Would you subscribe? Regards, Martin Conte
Re: Kannel on freebsd
Hi there, please, try: ./configure touch .depend make depend make I used to work with FreeBSD and I think that was needed. If you need to start over again, use make clean first. Regards, Rodrigo. On 2/27/07, Ben Suffolk [EMAIL PROTECTED] wrote: I just did a fresh download and make on FreeBSD 6.2 myself. Your right you do see an error about a .depend file, but it does then go and create them :- tigger:$ fetch http://www.kannel.org/download/1.4.1/gateway-1.4.1.tar.gz tigger:$ tar -xvzf gateway-1.4.1.tar.gz x gateway-1.4.1/ x gateway-1.4.1/configure.in snip tigger:$ cd gateway-1.4.1 tigger:$ ./configure --with-pgsql Configuring for Kannel gateway version 1.4.1 ... snip tigger:$ gmake Makefile:327: .depend: No such file or directory for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \ gcc -D_REENTRANT=1 -I. -Igw -g -O2 -pthread -I/usr/ local/include/libxml2 -I/usr/local/include -I/usr/include/openssl -I/ usr/local/include -MM $dir/*.c | sed s:^[^ ^#]:$dir/:; done .depend gcc -D_REENTRANT=1 -I. -Igw -g -O2 -pthread -I/usr/local/include/ libxml2 -I/usr/local/include -I/usr/include/openssl -I/usr/local/ include -o gw/bb_alog.o -c gw/bb_alog.c gcc -D_REENTRANT=1 -I. -Igw -g -O2 -pthread -I/usr/local/include/ libxml2 -I/usr/local/include -I/usr/include/openssl -I/usr/local/ include -o gw/bb_boxc.o -c gw/bb_boxc.c snip If you get something different let me know what you get. Regards Ben On 27 Feb 2007, at 17:30, [EMAIL PROTECTED] wrote: Ben Suffolk : Hi, I user FreeBSD and don't recall this issue, but you need to make sure you are using gmake, and have run ./configure Regards Ben of course i using gmake, and have run ./configure
Re: SOLARIS 8 Installation probs
Michael, You have an incomplete Solaris install, as you are missing some of the development packages. Unfortunately, you will need the Solaris install CD to install those packages. Check for these packages using pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWsprot SUNWtoo then 'pkadd' the missing packages. Regards Rodrigo. On 2/7/07, Mike Nwaogu [EMAIL PROTECTED] wrote: Hello Yall, I've been trying to install kannel on a Solaris 8 on a SPARC platform. Discovered there was no Gnu C libraries installed. I downloaded and installed the version for solaris 8. I still can't compile kannel. twas returning someerror about as from google it suggests I install: SUNWbtool, SUNWsprot, SUNWhea, SUNWarc, SUNWdfbh, SUNWcg6h, for ucb compatiblity: SUNWsra, SUNWsrh Question is where do I get this? Files as I dont have the Solaris CD. Any help would be appreciated. Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/
Re: SOLARIS 8 Installation probs
Hi Michael, You're missing some Solaris packages. You may find them at http://www.sunfreeware.com/ On the right margin, you will find SPARC / Solaris 8 Packages. Browse down to gcc-3.4.6, download (the transfer may be sloow) and install. You may need also libgcc-3.4.6. Other packages are there too. DO NOT USE SUN CC COMPILER. Regards, Rodrigo. On 2/7/07, Mike Nwaogu [EMAIL PROTECTED] wrote: Hello Yall, I've been trying to install kannel on a Solaris 8 on a SPARC platform. Discovered there was no Gnu C libraries installed. I downloaded and installed the version for solaris 8. I still can't compile kannel. twas returning someerror about as from google it suggests I install: SUNWbtool, SUNWsprot, SUNWhea, SUNWarc, SUNWdfbh, SUNWcg6h, for ucb compatiblity: SUNWsra, SUNWsrh Question is where do I get this? Files as I dont have the Solaris CD. Any help would be appreciated. It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/
Re: Newbie question
Hello Winston, For a start, are you working for a phone company? If not, you will be functioning as an ESME, not an SMSC. For a better understanding fo these terms, take a look at http://www.kannel.org/download/1.4.1/arch-1.4.1/arch.html Although aimed primarily to WAP Gateway, this doc describes te interaction between ESME and SMSC. (Check Gateway architecture chapter). Kannel can do this, of course. You will need a computer running some Unix OS where to complie Kannel (most Linux flavors will do) and a connection to a provider. For testing purposes, you may use a cell phone working as your SMSC. I hope this can shed some light on your questions. Regards. Rodrigo. On 1/17/07, winston [EMAIL PROTECTED] wrote: Hello all, yes, i'm new to SMS :) here's what we'd like to do: function as smsc in regarding to getting the sms. i mean the customers change the sms center number to our number and our system receives the sms. Then we send out the sms through a bigger provides smsc. is this possible in any way? what would we need to start a service like this? thanks for the answers, winston
Re: Windows Version
Hi all, To make things clear, THERE IS NO WINDOWS VERSION of KANNEL. Period. Kannel runs on Linux. It compiles and runs on other Unix systems too, such as Solaris or FreeBSD. But NOT on Windows. You can install and run a Linux virtual machine on top of a Windows system (such as Cygwin), and THEN, compile and run Kannel there. This is ONLY recommended for testing purposes. NOT production systems. My 2 cents. Rodrigo. On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Hello I just saw in the FAQ section that we can use Kannel with Windows NT also 2.2 Is the windows zip file version of the gateway a source that can be compiled and run on Windows NT or Windows 9x? Yes. You can compile it using Cygwin tools just like you do on your unix system. But I am unable to find the windows zip file.Please help me and send me the windows zip file version. thank youRegards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) Want to start your own business? Learn how on Yahoo! Small Business.
Re: Windows Version
Hi Abhisek, Kannel works as an ESME (that is, a client). As an SMSC (server) you can use: 1) A real SMS service, provided by a phone operator (this will cost you money, and I suppose you don't want to spend $$$ on it) 2) Fakesmsc, which is an utility provided with Kannel, for testing the bearerbox and smsbox. It doesnt send any real messages to the outside world. or 3) a GSM phone or modem, connected to the serial/USB port of your computer. Kannel uses this phone as an SMSC and you can send and receive real SMS messages as if you were connected to a carrier service. Although I have not tested this configuration, many users have, so this is what I recommend. Best regards, Rodrigo. On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Thanks Rodrigo Thanks a lot for the clarification.But as u said it can work for testing purpose i wud like to knw if dat wud help for my final year project for sending the sms from pc to mobiles which is oviously not going to b launched into the market !! well the next thing i would like to know if there is any other tool like Kannel which can be used to create a fake smsc ? I have been searching for such a tool since long bt in vain. Hoping to get some reply for this. anyways thanks a lot Rodrigo. Regards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) - Original Message From: Rodrigo Cremaschi [EMAIL PROTECTED] To: Abhisek Mohanty [EMAIL PROTECTED] Cc: users@kannel.org Sent: Friday, December 8, 2006 8:36:46 PM Subject: Re: Windows Version Hi all, To make things clear, THERE IS NO WINDOWS VERSION of KANNEL. Period. Kannel runs on Linux. It compiles and runs on other Unix systems too, such as Solaris or FreeBSD. But NOT on Windows. You can install and run a Linux virtual machine on top of a Windows system (such as Cygwin), and THEN, compile and run Kannel there. This is ONLY recommended for testing purposes. NOT production systems. My 2 cents. Rodrigo. On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Hello I just saw in the FAQ section that we can use Kannel with Windows NT also 2.2 Is the windows zip file version of the gateway a source that can be compiled and run on Windows NT or Windows 9x? Yes. You can compile it using Cygwin tools just like you do on your unix system. But I am unable to find the windows zip file.Please help me and send me the windows zip file version. thank youRegards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) Want to start your own business? Learn how on Yahoo! Small Business. Access over 1 million songs - Yahoo! Music Unlimited.
Re: Windows Version
You will still be able to compile and run Kannel on your machine, using Cygwin. I think Cygwin is able to access serial ports, so this is feasible. Take a look at how to obtain install Cygwin at http://www.cygwin.com/ Then download Kannel source, compile, configure and run (this is not a simple task, as you have to get your phone connected to your serial port and recognised by Cygwin). Browse the Kannel mail archives to see what problems you may find in the process. Regards! On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Thanks again Rodrigo But the real problem dat lies with me is that i am using windows for my project.And as mentioned by u in ur prior mail i cant use kannel for the purpose.Thats really dissapointing. Well all that u said regarding fakesmsc or using a GSM phone in my USB port, requires Kannel to be installed.Can I do all dat by installing the Kannel in a Linux virtual machine ? Regards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) - Original Message From: Rodrigo Cremaschi [EMAIL PROTECTED] To: Abhisek Mohanty [EMAIL PROTECTED] Cc: kannel Users users@kannel.org Sent: Friday, December 8, 2006 10:40:01 PM Subject: Re: Windows Version Hi Abhisek, Kannel works as an ESME (that is, a client). As an SMSC (server) you can use: 1) A real SMS service, provided by a phone operator (this will cost you money, and I suppose you don't want to spend $$$ on it) 2) Fakesmsc, which is an utility provided with Kannel, for testing the bearerbox and smsbox. It doesnt send any real messages to the outside world. or 3) a GSM phone or modem, connected to the serial/USB port of your computer. Kannel uses this phone as an SMSC and you can send and receive real SMS messages as if you were connected to a carrier service. Although I have not tested this configuration, many users have, so this is what I recommend. Best regards, Rodrigo. On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Thanks Rodrigo Thanks a lot for the clarification.But as u said it can work for testing purpose i wud like to knw if dat wud help for my final year project for sending the sms from pc to mobiles which is oviously not going to b launched into the market !! well the next thing i would like to know if there is any other tool like Kannel which can be used to create a fake smsc ? I have been searching for such a tool since long bt in vain. Hoping to get some reply for this. anyways thanks a lot Rodrigo. Regards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) - Original Message From: Rodrigo Cremaschi [EMAIL PROTECTED] To: Abhisek Mohanty [EMAIL PROTECTED] Cc: users@kannel.org Sent: Friday, December 8, 2006 8:36:46 PM Subject: Re: Windows Version Hi all, To make things clear, THERE IS NO WINDOWS VERSION of KANNEL. Period. Kannel runs on Linux. It compiles and runs on other Unix systems too, such as Solaris or FreeBSD. But NOT on Windows. You can install and run a Linux virtual machine on top of a Windows system (such as Cygwin), and THEN, compile and run Kannel there. This is ONLY recommended for testing purposes. NOT production systems. My 2 cents. Rodrigo. On 12/8/06, Abhisek Mohanty [EMAIL PROTECTED] wrote: Hello I just saw in the FAQ section that we can use Kannel with Windows NT also 2.2 Is the windows zip file version of the gateway a source that can be compiled and run on Windows NT or Windows 9x? Yes. You can compile it using Cygwin tools just like you do on your unix system. But I am unable to find the windows zip file.Please help me and send me the windows zip file version. thank youRegards Abhisek Mohanty Information Technology Dept. KIIT-DU,Bhubaneswar 0-9337295074(M) Want to start your own business? Learn how on Yahoo! Small Business. Access over 1 million songs - Yahoo! Music Unlimited. Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
Re: 2nd Post: Sending SMS message to FakeSMSC
Hi Mustafa, Are you developing the content server too? That is where Kannel comes into play. If this is the case, I would develop and test separately the J2ME app. and the content server app. behind Kannel. Regards, Rodrigo. On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote: Hi Rodrigo, I am trying to do exactly what has shown in Figure 1-2 Logical position of SMS gateway between a phone and a content server in chapter 1 page 4 in Users Guide. My J2ME application in this case is the phone which has been depicted in that figure. As I said since I don't have the actual phone, I am using the emulator. So I am putting functionality as such that I can run that functionalty from the emulator to talk to SMSC. Why are you saying Kannel has nothing to do with this? Thanks, Mustafa On 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Mustafa: Now it is clear what you are trying to do. But Kannel can't help you because it sits at the other side of the line Service - Kannel - SMSC - Your phone What your application is trying to do (send an SMS from a J2ME application) unfortunately has nothing to do with Kannel. I advise you to post your questiong to forum.java.sun.com. Best regards, Rodrigo. On 11/4/06, Mustafa Cayci [EMAIL PROTECTED] wrote: I don't know what you're trying to achieve with that, what is MessageConnection and TextMessage is for and what library they are coming from so I can't speculate on that. I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java code in mobile devices. Since I don't have real mobile device, I am using Sun Java Wireless ToolKit (WTK) to emulate one. So the code sniplet in my previous email is a J2ME code and the libraries are from javax.microedition.io.*. Now my goal is to write a simple Java code and deploy to the WTK emulator that sends a SMS message to a SMSC. Can I use Kannel to do what I explained above? I don't want to use HTTP interface as shown below to send SMS message. That is not what I want to do. http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world Regards, Mustafa On 11/3/06, Enver ALTIN [EMAIL PROTECTED] wrote: On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote: Thanks Enver. I was playing with the http://yourserver:sendsms-port/cgi-bin/sendsms. However, J2ME does not like the connection this is returning. I am getting java.lang.ClassCastException [...] String address = http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456 ; conn = (MessageConnection)Connector.open(address); TextMessage txtmessage = (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE); I don't know what you're trying to achieve with that, what is MessageConnection and TextMessage is for and what library they are coming from so I can't speculate on that. What I can tell is, if you click on the URL link above, Kannel should receive an HTTP GET request via the sendsms CGI interface and process it appropriately. -HTH -- .O. ..O Enver ALTIN | http://enveraltin.com/ OOO Software developer @ Parkyeri | http://www.parkyeri.com/
Re: 2nd Post: Sending SMS message to FakeSMSC
For a better understanding of what Kannel can do, take a look at this doc:http://www.kannel.org/download/kannel-arch-snapshot/arch.html Specially Chapter 4, from Gateway Architecture on.On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote:Hi Rodrigo,Yes effectively, I am going to be developing the content server too. It should listen and service requests forwarded by Kannel. Please note the following post in forums.java.sun.com . That is exactly what I am trying to do. If you have any insight on the BOLD, I would like to hear. bgoyanna Posts:4 Registered: 3/17/02 Re: J2ME SMS sending Mar 18, 2004 10:56 PM (reply 1 of 52) Hi James,you cannot send a SMS directly to a web page. When you send a SMS this message goes to a SMS-C (Short Message Service Centre) then you need an TCP/IP application that usually talks UCP or SMPP protocol to receive the message. You can use one famous gateway called kannel http://www.kannel.org to connect to a SMSC and receive the message. So this gateway will get the SMS that you send and then you can configure it to forward to a URL. Thanks,Mustafa On 11/7/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Mustafa,Are you developing the content server too? That is where Kannelcomes into play. If this is the case, I would develop and testseparately the J2ME app. and the content server app. behind Kannel. Regards,Rodrigo.On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote: Hi Rodrigo, I am trying to do exactly what has shown in Figure 1-2 Logical position of SMS gateway between a phone and a content server in chapter 1 page 4 in Users Guide. My J2ME application in this case is the phone which has been depicted in that figure. As I said since I don't have the actual phone, I am using the emulator.So I am putting functionality as such that I can run that functionalty from the emulator to talk to SMSC.Why are you saying Kannel has nothing to do with this? Thanks, Mustafa On 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Mustafa: Now it is clear what you are trying to do. But Kannel can't help you because it sits at the other side of the line Service - Kannel - SMSC - Your phone What your application is trying to do (send an SMS from a J2ME application) unfortunately has nothing to do with Kannel. I advise you to post your questiong to forum.java.sun.com. Best regards, Rodrigo. On 11/4/06, Mustafa Cayci [EMAIL PROTECTED] wrote: I don't know what you're trying to achieve with that, what is MessageConnection and TextMessage is for and what library they are coming from so I can't speculate on that. I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java code in mobile devices.Since I don't have real mobile device, I am using Sun Java Wireless ToolKit (WTK) to emulate one.So the code sniplet in my previous email is a J2ME code and the libraries are from javax.microedition.io.*.Now my goal is to write a simple Java code and deploy to the WTK emulator that sends a SMS message to a SMSC.Can I use Kannel to do what I explained above? I don't want to use HTTP interface as shown below to send SMS message. That is not what I want to do. http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world Regards, Mustafa On 11/3/06, Enver ALTIN [EMAIL PROTECTED] wrote:On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote: Thanks Enver.I was playing with the http://yourserver:sendsms-port/cgi-bin/sendsms. However, J2ME does not like the connection this is returning.I am getting java.lang.ClassCastException [...]String address = http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456 ; conn = (MessageConnection)Connector.open(address); TextMessage txtmessage = (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE); I don't know what you're trying to achieve with that, what is MessageConnection and TextMessage is for and what library they arecoming from so I can't speculate on that. What I can tell is, if you click on the URL link above, Kannel should receive an HTTP GET request via the sendsms CGI interface and process itappropriately. -HTH-- .O...O Enver ALTIN | http://enveraltin.com/ OOO Software developer @ Parkyeri | http://www.parkyeri.com/
Re: NewBie Question Pardon me if ?
Hi Goke: Your setup is perfectly feasible. You may use only one Kannel instance to connect to several SMSCs and, of course, send and receive to/from all of them. The key to this is in the configuration file (check the docs, and maybe previous posts to this list) and the scripts you use to process and reroute each incoming SMS. Hope this helps you out a bit. Rodrigo. On 11/3/06, Goke Aruna [EMAIL PROTECTED] wrote: What i mean is wether kannel can receive and send to different smsc? Thanks goksie On 11/3/06, nuri kidy [EMAIL PROTECTED] wrote: yes it is possible let say you'll be running 2 kannel with 2 config files (the simplest way) KANNEL-A .. connect to 999 ... receive message only KANNEL-B.. connect to 8889 ... sending message onyl the message from KANNEL-A will be sent to apps-A using sms-service group in your KANNEL-A configuration apps-A will process the message and result a reply (MT message) that MT message will be submitted to KANNEL-B via http to sendsms-port you have defined in group sendsms of your KANNEL-B configuration On 11/3/06, Goksie [EMAIL PROTECTED] wrote: Dear all, thank you all for the great effort. I have installed gateway-1.4.1 on fedora core 3 I am proposing this setup. SMSC(A)(999-PREFIX) *--* KANNEL(SMS SERVER ) *---* SMSC(B)(8889-PREFIX) AND MORE SMSC WILL now connect to the same KANNEL as illustrated above. However, I want to ask these questions. Is this set up possible with kannel just to use kannel to receive and send to different connected SMSCentres? if yes.. how can i do that? if what i have requested for is rubbish, then i am sorry, dont be annoyed. thanks in anticipation of your help.. goksie
Re: Sustained Throughput
Hi Ben, I would start asking the carriers what their throughput is. In all cases I have faced the bottleneck is at the carrier side, even using only one bearerbox and one smsbox. If you hit their max throughput the operators may ask you to establish additional SMPP connections to their SMSC to load balance the traffic. Regards, Rodrigo Cremaschi. On 10/18/06, Ben Suffolk [EMAIL PROTECTED] wrote: Hello, I am currently planning a new service, and the relevant hardware for it. I am after some figures on SMS throughput, both inbound and outbound. My connections will be with SMSCs not modems, and will most likely be smpp3.4, but could in some cases be other SMSC protocols. No messages will be answered locally by kannel, all will be pushed out via http to another server (on the same private LAN, so no network latency issues). All outbound messages will be sent via the http interface, no messages will be replied to via the original outbound http service request. I need to know if anybody has any figures for sustained throughput, and peak throughput for SMS. I'd also be interested if anybody knows the best configuration for maximum throughput, is it better to a a high performance server with several smsboxes and the bearebox, or to have a lower performance server (i.e cheaper) and split the smsboxes from the bearbox, and is it better to have multiple servers each with a single instance of an smsbox (this would obviously be a resilience benefit, but is it a performance one?) At high throughput what resources are used by the bearerbox, and the smsbox. i.e memory intensive?, processor intensive? Regards Ben
Re: problem with special chars as @ and °
Try an MO sending those characters to see what Kannel gets. Then, use those same characters when generating your MTs. This usually works fine. On 10/9/06, Fourat Zouari [EMAIL PROTECTED] wrote: anyone can help please ? On 10/6/06, Fourat Zouari [EMAIL PROTECTED] wrote: Hello Trying to send a message like this : test of degree: ° and test of [at]: @ i receive this : test of degree: o and test of [at]: any idea ? thanks
Re: validity period
Does your operator support this parameter? On 9/20/06, Jyothi rao [EMAIL PROTECTED] wrote: does anyone know how it should be used ?? On 9/12/06, Jyothi rao [EMAIL PROTECTED] wrote: has anybody used the validity period ?? On 9/2/06, Jyothi rao [EMAIL PROTECTED] wrote: Hi, I have read about the validity period in kannel user guide and tested it for validityperiod=1 in the smsc group. within 1 minute if the mobile is not switched on, the message sending fails and returns. i gave the value as 30 and checked it, but it did not return within 30 minutes. I read that the unit is in minutes. is it really minutes, if so, why is it not working exactly for 30 minutes. can anyone give more details on validityperiod thanks in advance -- Jyothi Rao -- Jyothi Rao -- Jyothi Rao
Re: Ramdom strange characters in the MO-SMS
Hello Hapa, 1.3.2? (Why is this version still available? Why the site still states This section contains the latest development release version, version 1.3.2.?) Please, try latest CVS version from http://www.kannel.org/download/kannel-snapshot.tar.gz or at least 1.4.0-stable http://www.kannel.org/download/1.4.0/gateway-1.4.0.tar.gz Best regards, Rodrigo. On 9/19/06, hapanimeli [EMAIL PROTECTED] wrote: Hello there, I tried to look for a similar case in the forum but couldn't find one. I'm using Kannel 1.3.2 for delivering my SMS alerts and services. For some unknown reason, sometimes I get text messages with some weird characters in between letters. For example, if the body of the MO-SMS sent to my gateway was MIKE I would receive [EMAIL PROTECTED]@[EMAIL PROTECTED]@@. Sometimes other characters appear. What it makes it more difficult to troubleshoot is that it happens randomly and with all the wireless carriers I'm connected to. I checked with the carrier logs and the messages are sent fine so this trash is added at my Kannel Gateway. Anybody has had similar experience? Thanks for any hint you could give me. Hapa -- View this message in context: http://www.nabble.com/Ramdom-strange-characters-in-the-MO-SMS-tf2302272.html#a6399308 Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Getting the PDU sequence number or any identification number..
Hi Raul, You will have to implement some kind of state handling within you own application to accomplish this. Kannel can't do this for you. For example, you may instruct your users to start their SMS with an ID karl: hi there goes to user1-phone mary: good day goes to user3-phone then you continue sending messages to the same user, unless the ID is changed. Just an idea. Regards, Rodrigo. On 8/30/06, Raul Martinez [EMAIL PROTECTED] wrote: My app will work as a middle-man. diagram: (1.1) user1-phone - [smsc1] - MYAPP - [smsc2] - user2-phone (1.2) user2-phone - [smsc1] - MYAPP - [smsc2] - user2-phone (2.1) user3-phone - [smsc1] - MYAPP - [smsc2] - user2-phone (2.2) user3-phone - [smsc1] - MYAPP - [smsc2] - user2-phone Is there a way to getting some sort of identification or sequence numbers so that I can identify whose number to send a messages coming from another number. Like in the diagram above, I will know that whenever user2-phone sends a reply (without special commands, just normal reply text) to a message sent by user3-phone it is user3-phone that will really receives it and not user1.
Re: kannel version
Hi Real, If your bearerbox is up and running, try getting the URL http://your_kannel_machine:13000/status.html That will return Kannel version, build and compiler info. Best regards. On 8/15/06, Real World [EMAIL PROTECTED] wrote: Hi , Can i know , in which file i can find that Kannel version stored ?? ( in the kannel source code ) Mark. Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
Re: shortcode kannel and sms services
Hello Anil, All your answers are already written down, so I will save someone some days of typing. You will find the userguide here: http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html In case something is missing or you reach a dead end, come back for further assistance. We will be glad to help you, after you help yourself a bit. Best regards, Rodrigo. On 7/16/06, anil maran [EMAIL PROTECTED] wrote: hi guys i m wondering how to integrate kannel/shortcodes and sms services thanks a lot See the all-new, redesigned Yahoo.com. Check it out.
Re: Urgent Kannel Configuration Help !
Hello Vaibhav, Treat each connection as a disctinct SMSC, enabling only transmitter or receiver for each one of them: #SMSC RX group = smsc smsc = smpp smsc-id = YOURCARRIER_RX allowed-smsc-id = YOURCARRIER_RX host = 66.66.66.66 receive-port = smsc-username = rxuser smsc-password = rxpass ... #SMSC TX group = smsc smsc = smpp smsc-id = YOURCARRIER_TX allowed-smsc-id = YOURCARRIER_TX host = 99.99.99.99 port = smsc-username = txuser smsc-password = txpass ... I think this will do the trick for you. Try not to send the same question to devel@ and users@ Best regards! Rodrigo. On 7/11/06, Vaibhav Solanki [EMAIL PROTECTED] wrote: Hello all, I am having two hosts(ip) and different ports for RX and TX settings in Kannel. Is it possible to configure SMPP with one RX and one with TX settings. Or else please letmme know how to configure the same with Kannel. Please help urgently ! Thankz Vaibhav
Re: trouble with platform
Try make not dotslashmake On 6/13/06, sarwat jabeen [EMAIL PROTECTED] wrote: hello everyone I ve been tryin 2 compile kannel. ./compile command runs fine bt the ./make command gives n error. cd there b a prob with the platform?im using redhat 9.if im switching 2 some other distribution wht is the best option? The error is : [EMAIL PROTECTED] gateway-1.4.0]# ./make bash: ./make: No such file or directory [EMAIL PROTECTED] gateway-1.4.0]# ./makefile ./makefile: line 10: SHELL: command not found ./makefile: line 12: srcdir: command not found ./makefile: line 13: top_srcdir: command not found ./makefile: line 14: prefix: command not found ./makefile: line 15: exec_prefix: command not found ./makefile: line 17: bindir: command not found ./makefile: line 18: sbindir: command not found ./makefile: line 19: libexecdir: command not found ./makefile: line 20: datadir: command not found ./makefile: line 21: sysconfdir: command not found ./makefile: line 22: sharedstatedir: command not found ./makefile: line 23: localstatedir: command not found ./makefile: line 24: libdir: command not found ./makefile: line 25: infodir: command not found ./makefile: line 26: mandir: command not found ./makefile: line 27: includedir: command not found ./makefile: line 28: oldincludedir: command not found ./makefile: line 30: docdir: command not found ./makefile: line 32: DESTDIR: command not found ./makefile: line 1: datadir: command not found ./makefile: line 34: pkgdatadir: command not found ./makefile: line 1: libdir: command not found ./makefile: line 35: pkglibdir: command not found ./makefile: line 1: includedir: command not found ./makefile: line 36: pkgincludedir: command not found ./makefile: line 38: top_builddir: command not found ./makefile: line 40: ACLOCAL: command not found ./makefile: line 41: AUTOCONF: command not found ./makefile: line 42: AUTOHEADER: command not found ./makefile: line 44: INSTALL: command not found ./makefile: line 1: AM_INSTALL_PROGRAM_FLAGS: command not found ./makefile: line 45: INSTALL_PROGRAM: command not found ./makefile: line 46: INSTALL_DATA: command not found ./makefile: line 47: INSTALL_SCRIPT: command not found ./makefile: line 48: transform: command not found ./makefile: line 50: NORMAL_INSTALL: command not found ./makefile: line 51: PRE_INSTALL: command not found ./makefile: line 52: POST_INSTALL: command not found ./makefile: line 53: NORMAL_UNINSTALL: command not found ./makefile: line 54: PRE_UNINSTALL: command not found ./makefile: line 55: POST_UNINSTALL: command not found ./makefile: line 56: CC: command not found ./makefile: line 57: MAKEINFO: command not found ./makefile: line 58: PACKAGE: command not found ./makefile: line 59: RANLIB: command not found ./makefile: line 60: SHELL: command not found ./makefile: line 61: VERSION: command not found ./makefile: line 62: SUFFIX: command not found ./makefile: line 63: LEX: command not found ./makefile: line 64: PERL: command not found ./makefile: line 65: YACC: command not found ./makefile: line 68: YFLAGS: command not found ./makefile: line 1: SHELL: command not found ./makefile: line 1: top_srcdir: command not found ./makefile: line 71: mkinstalldirs: command not found ./makefile: line 72: CONFIG_HEADER: command not found ./makefile: line 73: CONFIG_CLEAN_FILES: command not found ./makefile: line 1: LIBOBJS:.o=.c: command not found ./makefile: line 79: -lrt: command not found ./makefile: line 80: -I.: command not found ./makefile: line 81: -rdynamic: command not found ./makefile: line 1: CFLAGS: command not found ./makefile: line 1: CC: command not found ./makefile: line 83: -MM: command not found ./makefile: line 1: SUFFIX: command not found ./makefile: line 97: suffix: command not found ./makefile: line 106: binsrcs: command not found ./makefile: line 1: STARTSTOPDAEMONSRC: command not found ./makefile: line 111: sbinsrcs: command not found ./makefile: line 1: binsrcs: command not found ./makefile: line 1: sbinsrcs: command not found ./makefile: line 117: progsrcs: command not found ./makefile: line 1: progsrcs:.c=.o: command not found ./makefile: line 118: progobjs: command not found ./makefile: line 1: progsrcs:.c=: command not found ./makefile: line 119: progs: command not found ./makefile: line 1: binsrcs:.c=: command not found ./makefile: line 120: binprogs: command not found ./makefile: line 1: sbinsrcs:.c=: command not found ./makefile: line 121: sbinprogs: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 123: gwsrcs: command not found ./makefile: line 1: gwsrcs:.c=.o: command not found ./makefile: line 124: gwobjs: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 1: LIBSRCS: command not found ./makefile: line 126: libsrcs: command not found ./makefile: line 1: libsrcs:.c=.o: command not found ./makefile: line 1: LIBOBJS: command not found ./makefile: line 127: libobjs: command not found ./makefile:
Re: What sms-service group is using for?
Hi, This group determines what Kannel will do with each of the incoming messages. Two examples follow. This will invoke test.pl script upon receiving the keyword test as MO SMS: group = sms-service keyword = test exec = /home/kannel/gw/apps/test.pl %p %i %P %k %r accepted-smsc = UNIFON;MOVICOM max-messages = 0 This one will invoke MO.php for any other keyword: group = sms-service keyword = default get-url = http://localhost/disp/MO.php?from=%psmsc=%ito=%Pkeyword=%kmoretext=%r; max-messages = 0 Check the userguide for more details on using this group. Best regards. Rodrigo. -- On 5/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, actualli I don't understand the using of sms-service group. How can I use it? Where can I find any examples? Thnak You This message was sent using IMP, the Internet Messaging Program.
Re: Re[2]: How to support Thai language?
Hi Kavuri, Check table Table 6-15 in the userguide. Try charset and coding variables. Maybe those will help you. Regards. Rodrigo. On 5/9/06, Kavuri Prasad [EMAIL PROTECTED] wrote: Thanks Benoit, Yes, In Thailand GSM operators exists. As you said Thai characters only supported by UCS2. That means we need to send sms from kannel to phone in UCS2 format instead of default UTF-7. But I don't know where to change the encoding/decoding parameter for this. I tried sending Hexadecimal, octets ... from my application to Kannel. Nothing works for me. I strongle presume the enoding(UCS2) has to change in Kannel. Once again thanks for you inputs... -- Thanks, Prasad Kavuri Software Consultant Mobile Lifestyle Berhad Unit F10 Block 3 (2320) Century Square 63000 Cyberjaya Malaysia. Tel: +60 3 8318 6691 Fax:+60 3 8318 7760 HP: +60 12 927 4711 On 5/9/06, Benoît [EMAIL PROTECTED] wrote: Hello , In Thailand there are only GSM operators, no? if yes, GSM is using a limited character set, you will have to send a binary message to your phone with the characters encoded in UCS2. I have never done that with kannel but I hope it will be of some help for you. try to look in your preferred search engine for GSM 3.38 (this is for the default GSM character set). And then look for UCS2 -- Best regards, benoît Thursday, May 4, 2006, 2:31:03 AM, you wrote: Thanks for your reply. Yes, it is included in UTF8. I am able to see the thai characters in log file. But when it converts into octet format, it is not returning the expected octets ... Is there any encoding to specify? thanks, Prasad On 5/3/06, Julien Buratto [EMAIL PROTECTED] wrote: Is that set of chars also included in UTF-8 ? J Kavuri Prasad ha scritto: Dear All, I am facing a problem in transmitting thai message.. Is there any special encoding for thai dialect. I think thai language is format is TIS-620 (Windows). My modile phone supports Thai dialect. Thanks to the group. -- Thanks, Prasad Kavuri Software Consultant Mobile Lifestyle Berhad Unit F10 Block 3 (2320) Century Square 63000 Cyberjaya Malaysia. Tel: +60 3 8318 6691 Fax:+60 3 8318 7760 HP: +60 12 927 4711
Re: Basic SMS implementation
Hi Kartikay, Kannel can take care of sending and receiving SMS to and from mobile networks. Anything beyond that (like telling the X device that an SMS has arrived) depends totally on your own implementation. Take a moment to read the docs and use pencil paper to plan where to place each of your components (X dvice / HTTP server / Kannel / etc). Best regards, Rodrigo. On 5/4/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear Rodrigo, I am grateful - you are taking active interest in helping me out. I have a mobile device, let me call it X. Something like a palmtop. And there can be many such devices. They have an IP address, and can communicate over TCP/IP. I wish to implement SMS service in these devices. For now, I do not have an SMSC connection. I do not know whether any SMSC operator would send me SMS using SMS Protocol, SMPP, or as an HTTP stream. I must keep things open ended for now. I am, therefore, trying to use fakeSMS.for development work. Once I've a fakeSMS, from the SMSBox, I don't know what to do with it. My questions to you are: 1. How can I forward the SMS to a HTTP Server (say apache) running over a different machine? Please mention exact changes in configuration file. Do I need some cgi-script? 2. At the HTTP server, I wish to preserve the message in a database. That seems straight-forward. But I must also inform my device (X), that a SMS has been sent to it. How to implement that? All ideas are welcome. For now, this shall suffice. Best Regards KM On 5/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Kartikay, I don't quite understand what you are trying to do, but Kannel is meant to give SMS and WAP service to cell phone users. FakeSMSC is used as a testing server only. Messages sent to fakesmsc won't go anywhere. If your intention is to provide SMS and/or WAP services to end users, you should contact a local carrier (mobile phone company) or a bulk SMS provider (v.g. Cliackatell). Be aware that publishing SMS contents may violate privacy laws. Regards, Rodrigo. On 5/4/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear Rodrigo, Many Thanks for your reply. I've been able to test fake SMS, and it seems to be working fine. 1. How can I transfer the received fake SMS to another (target) machine? What should be installed/configured in the target machine? 2. Can I post the received SMS to a public domain, say google account using Kannel? I think both of these are possible (after reading the documentation). I would prefer the exact steps, and configuration file changes. Warm Regards Kartikay Malhotra On 5/2/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Kartikay, welcome to the list. 1) You may download and compile Kannel from http://www.kannel.org/download.shtml Latest CVS is recommended and pretty stable. You will need at least Linux and a C compiler installed, or you may download some RPM package. 2) Kannel can perform many actions on receiving an SMS. The most common is invoking an URL which can run a CGI script. Others, include running a shell script. 3) Incoming or outgoing SMS may be stored in a DB or written to a file (using the same CGI script that handles the SMS). Log files serve this purpose too. 4) Depends on configuration. Plain text HTTP requests are available. Check the documentation at: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html and for Kannel architecture: http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Hope this can serve as an introduction to Kannel. Best regards, Rodrigo. On 5/2/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear all, I'm new to kannel and a novice in networking area. So my questions may appear trivial. To quote the documentation (user guide) of Kannel: Setting up a SMS Gateway, In addition to an SMS center (real or virtual), you need some server to handle any SMS requests received. This server has simple or complex cgi-bins, programs or scripts to serve HTTP requests generated by Kannel in response to received SMS messages. My questions are: 1. How where do I install this server? 2. If I receive a SMS, say via a virtual SMS center, how does Kannel inform me (example, interrupt/polling/ pop-up) of the incoming SMS? 3. Is this SMS dumped into a file folder? If so, how to configure it? 4. Is the received SMS in plain text or HTML, or some other coded/ scripted form? Many many thanks Kartikay Malhotra
Re: Basic SMS implementation
Hi Kartikay, I don't quite understand what you are trying to do, but Kannel is meant to give SMS and WAP service to cell phone users. FakeSMSC is used as a testing server only. Messages sent to fakesmsc won't go anywhere. If your intention is to provide SMS and/or WAP services to end users, you should contact a local carrier (mobile phone company) or a bulk SMS provider (v.g. Cliackatell). Be aware that publishing SMS contents may violate privacy laws. Regards, Rodrigo. On 5/4/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear Rodrigo, Many Thanks for your reply. I've been able to test fake SMS, and it seems to be working fine. 1. How can I transfer the received fake SMS to another (target) machine? What should be installed/configured in the target machine? 2. Can I post the received SMS to a public domain, say google account using Kannel? I think both of these are possible (after reading the documentation). I would prefer the exact steps, and configuration file changes. Warm Regards Kartikay Malhotra On 5/2/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hi Kartikay, welcome to the list. 1) You may download and compile Kannel from http://www.kannel.org/download.shtml Latest CVS is recommended and pretty stable. You will need at least Linux and a C compiler installed, or you may download some RPM package. 2) Kannel can perform many actions on receiving an SMS. The most common is invoking an URL which can run a CGI script. Others, include running a shell script. 3) Incoming or outgoing SMS may be stored in a DB or written to a file (using the same CGI script that handles the SMS). Log files serve this purpose too. 4) Depends on configuration. Plain text HTTP requests are available. Check the documentation at: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html and for Kannel architecture: http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Hope this can serve as an introduction to Kannel. Best regards, Rodrigo. On 5/2/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear all, I'm new to kannel and a novice in networking area. So my questions may appear trivial. To quote the documentation (user guide) of Kannel: Setting up a SMS Gateway, In addition to an SMS center (real or virtual), you need some server to handle any SMS requests received. This server has simple or complex cgi-bins, programs or scripts to serve HTTP requests generated by Kannel in response to received SMS messages. My questions are: 1. How where do I install this server? 2. If I receive a SMS, say via a virtual SMS center, how does Kannel inform me (example, interrupt/polling/ pop-up) of the incoming SMS? 3. Is this SMS dumped into a file folder? If so, how to configure it? 4. Is the received SMS in plain text or HTML, or some other coded/ scripted form? Many many thanks Kartikay Malhotra
Re: Basic SMS implementation
Hi Kartikay, welcome to the list. 1) You may download and compile Kannel from http://www.kannel.org/download.shtml Latest CVS is recommended and pretty stable. You will need at least Linux and a C compiler installed, or you may download some RPM package. 2) Kannel can perform many actions on receiving an SMS. The most common is invoking an URL which can run a CGI script. Others, include running a shell script. 3) Incoming or outgoing SMS may be stored in a DB or written to a file (using the same CGI script that handles the SMS). Log files serve this purpose too. 4) Depends on configuration. Plain text HTTP requests are available. Check the documentation at: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html and for Kannel architecture: http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Hope this can serve as an introduction to Kannel. Best regards, Rodrigo. On 5/2/06, kartikay malhotra [EMAIL PROTECTED] wrote: Dear all, I'm new to kannel and a novice in networking area. So my questions may appear trivial. To quote the documentation (user guide) of Kannel: Setting up a SMS Gateway, In addition to an SMS center (real or virtual), you need some server to handle any SMS requests received. This server has simple or complex cgi-bins, programs or scripts to serve HTTP requests generated by Kannel in response to received SMS messages. My questions are: 1. How where do I install this server? 2. If I receive a SMS, say via a virtual SMS center, how does Kannel inform me (example, interrupt/polling/ pop-up) of the incoming SMS? 3. Is this SMS dumped into a file folder? If so, how to configure it? 4. Is the received SMS in plain text or HTML, or some other coded/ scripted form? Many many thanks Kartikay Malhotra
Re: Sending vendor specific parameters with send-sms cgi
Hi Matthew, Rayson, account and binfo are ok, BUT, if you need to send more specific parameters, ther's no way of doing that in Kannel, unless you patch it. Alejandro Guerrieri has tried, tested and provided this one: http://www.mail-archive.com/devel@kannel.org/msg05605.html Give it a try! On 4/24/06, Rayson Lee [EMAIL PROTECTED] wrote: Dear Matthew, You can specify account or binfo in the sendsms request. These fields are reserved for accounting / billing purpose. Best regards, Rayson Lee InnoAge Hong Kong Limited From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew M. Gamble Sent: Monday, April 24, 2006 4:28 AM To: users@kannel.org Subject: RE: Sending vendor specific parameters with send-sms cgi Can anyone please provide more details of how you do this? I can't find anything in the docs about how to add vendor specific parameters to send-sms cgi. Thanks! From: matt pelletier [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 3:44 PM To: Matthew M. Gamble Subject: Re: Sending vendor specific parameters with send-sms cgi We pass the billing type from the app sending the requests through kannel, as part of the delivery string. On 4/21/06, Matthew M. Gamble [EMAIL PROTECTED] wrote: My SMSC requires that we send a vendor specific optional parameter called billing_type with each message to indicate if the message is premium (PRM) or standard rated (STD). Is this possible with kannel, and if so, how do I go about sending this field with my messages using the send-sms cgi interface? Thanks!
Re: Which gateway?
On 4/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everybody, which gateway do you use? Kannel. Do we all agree?. I am looking for convenient smsc. It depends on the country you are trying to provide your services. Can you please advise any of them? Thank You! Sergio Archynet
Re: SMPP server to receive SMS requests via SMPP and send SMS
Hi there, Maybe if you explain what kind of services will you provide, it will be easier to give you some advice. If you really need to talk _only_ SMPP, you may try PHP - SMPP class. But (again, depending on what you try to do) it may be worth the effort of trying Kannel. I will not describe Kannel architecture here, but Kannel talks HTTP with your application (what makes life a lot easier) and several protocols (including SMPP) with the carriers. Best regards, Rodrigo. On 4/18/06, WEBBEE. BIZ [EMAIL PROTECTED] wrote: Dear Rodrigo and all, I read the documentation and found that kannel can be used via HTTP interface to send SMS messages but i need SMPP interfce to send the messages. Pl. give me some help regarding that, Thanks for your time and effort. -- Regards Abhishek Jain On 4/17/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote: Hello Jain, You know what you want. That is good! 1) Kannel can do that in an efficient way. 2) You have to become a carrier. Take some time to read the userguide and this important document about Kannel architecture: http://www.kannel.org/download/kannel-arch-snapshot/arch.html Maybe you don't need an SMPP server, but a client (that's what Kannel is) and an SMPP connection to a carrier. Best regards. Rodrigo. On 4/15/06, WEBBEE. BIZ [EMAIL PROTECTED] wrote: Dear Friends, I want to have: 1)A SMPP to HTTP converter 2)A SMPP server which can send sms vis SMPP connection. Can kannel work in this way if yes give me some exaples of the configuration files. I shall be very grateful, Thanks, Jain
Re: SMPP server to receive SMS requests via SMPP and send SMS
Hello Jain, You know what you want. That is good! 1) Kannel can do that in an efficient way. 2) You have to become a carrier. Take some time to read the userguide and this important document about Kannel architecture: http://www.kannel.org/download/kannel-arch-snapshot/arch.html Maybe you don't need an SMPP server, but a client (that's what Kannel is) and an SMPP connection to a carrier. Best regards. Rodrigo. On 4/15/06, WEBBEE. BIZ [EMAIL PROTECTED] wrote: Dear Friends, I want to have: 1)A SMPP to HTTP converter 2)A SMPP server which can send sms vis SMPP connection. Can kannel work in this way if yes give me some exaples of the configuration files. I shall be very grateful, Thanks, Jain
Re: I just don't get it! Waaah!
set max-messages = 0 and that will make it! On 2/24/06, tonex [EMAIL PROTECTED] wrote: Stipe Tolj wrote: a) smsbox passes to HTTP server and get's a HTTP response, _THAT_ HTTP response is send back to the user (MT) message. b) smsbox passes to HTTP server and ommits the response. Now the HTTP server layer is responsible to call smsbox's sendsms HTTP interface to inject the MT message. That's what you see with 'sent.'. Stipe, How do I omit the HTTP response? My problem is the mobile receives 2 messages: 1. from the sendsms http interface that i call from my web application, and 2. from the response of the web application url (even though my web application does not echo/respond) I just want to use the sendsms http interface when replying to a mobile. Thanks, tonex -- View this message in context: http://www.nabble.com/I-just-don%27t-get-it%21-Waaah%21-t1126000.html#a3109859 Sent from the Kannel - User forum at Nabble.com.
Re: Multiple keyword
Please try keyword-regex: This field may be used to enable service-selection based on a regular expression. If this field is defined for a service, then the selection will rely on the regex only, never taking the literal keyword into account. See section on regular expressions for details. Regards! On 2/17/06, Lars-Hendrik Schneider [EMAIL PROTECTED] wrote: Hi, Gulshan Babajee schrieb: Hi, in the sms-service group, insert the word 'default' for variable keyword. e.g keyword = default I think this is for all services - means, if no matching keyword anywhere else, default is used to send an answer. AFAIK it is not possible to set more than one keyword for one service in a way like keyword = PETER|PAUL|MARY get-url = http://localhost/myparser.php? The other idea is (where we come back to default again) is to parse ALL incoming messages to another application that decides then what to with the message (I think this was meant by Gulshan)! Perhaps you can have a look on the discussion in the last days (PlaySMS) which might handle your requests. Otherwise - copypaste keyword = PETER get-url = http://localhost/myparser.php? keyword = PAUL get-url = http://localhost/myparser.php? keyword = MARY get-url = http://localhost/myparser.php? Hth, Lars-Hendrik hope this helps -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Ngurah Bagus *Sent:* Friday, February 17, 2006 1:07 PM *To:* users@kannel.org *Subject:* Multiple keyword Quick question, is there a way to register multiple keywords for the same sms-service? Or must I make a new group for each and every keyword? They all point to the same get-url, you see. Cheers, -- A. A. Ngurah Bagus W. Systems Administrator PT. Pintar Media Indonesia
Re: I just don't get it! Waaah!
Hi Ngurah, You are not far from understanding the mechanics of Kannel. Maybe this document will help you out a bit: http://www.kannel.org/download/1.2.1/arch-1.2.1/arch.html It´s an old one, but very useful. Regarding your questions, Kannel may reply to an MO in several ways, but you have (correctly) summarized them in two. Some sms-services may be replied by Kannel itself (check group=sms-service) setting max-messages 0 (Road A). Others, you may want to push the SMS, setting max-messages=0 (Road B). In any case, the SMSC cannot distinguish among this two ways of replying, because Kannel takes care of this. BUT if they ask you to reply using a special URL, maybe this results in different charges to the client. The way the carrier charges the client depends on the agreement you have, as a provider, with them for each service. If you need to capture MO and/or MT messages, you have to do it within your servlet. Sent does not mean really sent, but Delivered to the SMSC (Maybe this should be changed some day). When developing you application or servlet, always set log-level to zero and check all logs at the same time. Best Regards, Rodrigo. On 2/15/06, Ngurah Bagus [EMAIL PROTECTED] wrote: Okay, I've tried to understand the inner workings of Kannel but I'm just too stupid to even begin! Can anyone please show me the step by step of making the following system: - The Service Provider sends a message from the user using SMPP to a port in my server (say http://host:port/Receiver) - Kannel takes it and then passes it to a servlet (say http://host:anotherport/Servlet) - The servlet finds out what the user wanted and prepares a reply. Now starts the hazy bit. I still don't know which road the system (or I, even) will/should take next. Is it: Road A: - The servlet returns a text message - Kannel takes it, and passes it to the Service Provider as a reply to Receiver - The Service Provider sends the message to the user as a reply of the SMS OR Road B: - The servlet contacts the Service Provider's Push address (say http://anotherhost:yetanotherport/Push.jsp) - The Service Provider sends the message to the user as a Push SMS With Road A, I don't get how to capture the Servlet's response. I managed to make the servlet to spew some (as evident in the bearerbox log, which in turn I find strange...shouldn't it be in the smsbox log?), but I can't capture it (maybe I'm doing it wrong...Can someone tell me the right way anyway, just to make sure.) When I tried it in HTTP, the only thing returned was 'Sent.' With Road B, I'm afraid that by using the SP's Push address, I may be double-charging the user, since s/he should already have been charged when s/he sent the requesting message...right? With this road I haven't done much testing since I'm trying to go there as a last resort. Please, please if anyone knows even a hint, please tell me. I'm the only person in a small company's IT dept. (which does have some perks, like being able to choose my own title, hahaha [see signature]) and I'm starting to lose hair (hyperbolically speaking.) And I've only just graduated Uni _ And I only have until the end of February to finish all this _ Cheers, --- A. A. Ngurah Bagus W. Systems Administrator PT. Pintar Media Indonesia
Re: PHP script please help
Hello Achmad, You may program a dispatcher.php which can be in charge of receiving all the incoming (MO) SMS, perform a query to the database and, according to the results, invoke the apropriate action. But, from my point of view, is better to have this decision made within dispatcher.php. (Post your questions to the list, so everyone can benefit from it). Best regards, Rodrigo. On 2/6/06, Achmad Yudayanto [EMAIL PROTECTED] wrote: dear rodrigo is it possible to using mysql database for service keyword ?, so we can have a lot of keyword, wtih a differents service Thanks
Re: SMSc Problem
Hi Jesús, Your get-url surely exceeds the maximum allowed (I think it is 256 chars). Yours is 350 chars long. Try using post-url, or shorten your get-url. Best regards, Rodrigo. On 2/6/06, Jesús Hinojal Hernández [EMAIL PROTECTED] wrote: Hi, I´ve configured Kannel to send and recive sms. But we´ve a problem, we can´t identify to number in incoming SMSs. group = sms-service keyword = default catch-all = true get-url=http://xxx.jsp?Orig=%qDest=%QCarrier=%iBody=%akeyword=%ktime=%tBinBody=%bcmin=%cCMAY=%CPRIORITY=0Exta1=%IExtra2=%sExtra3=%SExtra4=%rExtra5=%TExtra6=%dExtra7=%AExtra8=%nExtra9=%cExtra10=%CExtra11=%uExtra12=%BExtra13=%oExtra14=%pExtra15=%P; accept-x-kannel-headers = true max-messages = 0 concatenation = true This our http request to wasp aplication. But in paramerte Dest=%P we have the send-sms port. In the smsbox log we see that this parameter is 15013 and we need identified 33542. Please tell me how can insert this param (to number 33542 in this case) in http request. 2006-02-03 14:19:05 [21132] [4] INFO: Starting to service Power from +27736772797 to 33542 2006-02-03 14:19:05 [21132] [9] DEBUG: Parsing URL `http://x.jsp?Orig=%2B27736772797Dest=15013Carrier=222Body=Powerkeyword=Powertime=2006-02-03+13:19:05BinBody=Powercmin=0CMAY=ISO-8859-1PRIORITY=0Exta1=65e135aa-26b8-4408-9d86-610b2ba053deExtra2=Extra3=Extra4=Extra5=1222Extra6=-1Extra7=Extra8=defaultExtra9=0Extra10=ISO-8859-1Extra11=Extra12=NOREPExtra13=Extra14=%2B27736772797Extra15=15013': 2006-02-03 14:19:05 [21132] [9] DEBUG: Scheme: http:// 2006-02-03 14:19:05 [21132] [9] DEBUG: Host: 217.15.41.202 2006-02-03 14:19:05 [21132] [9] DEBUG: Port: 8086 2006-02-03 14:19:05 [21132] [9] DEBUG: Username: (null) 2006-02-03 14:19:05 [21132] [9] DEBUG: Password: (null) 2006-02-03 14:19:05 [21132] [9] DEBUG: Path: /kannellistener/jsp/kannelreceive.jsp 2006-02-03 14:19:05 [21132] [9] DEBUG: Query: Orig=%2B27736772797Dest=15013Carrier=222Body=Powerkeyword=Powertime=2006-02-03+13:19:05BinBody=Powercmin=0CMAY=ISO-8859-1PRIORITY=0Exta1=65e135aa-26b8-4408-9d86-610b2ba053deExtra2=Extra3=Extra4=Extra5=1222Extra6=-1Extra7=Extra8=defaultExtra9=0Extra10=ISO-8859-1Extra11=Extra12=NOREPExtra13=Extra14=%2B27736772797Extra15=15013 2006-02-03 14:19:05 [21132] [9] DEBUG: Fragment: (null) 2006-02-03 14:19:05 [21132] [9] DEBUG: HTTP: Opening connection to `217.15.41.202:8086' (fd=28). 2006-02-03 14:19:05 [21132] [9] DEBUG: Socket connecting 2006-02-03 14:19:05 [21132] [8] DEBUG: Get info about connecting socket 2006-02-03 14:19:05 [21132] [8] DEBUG: HTTP: Sending request: 2006-02-03 14:19:05 [21132] [8] DEBUG: Octet string at 0x897b398: 2006-02-03 14:19:05 [21132] [8] DEBUG: len: 456 2006-02-03 14:19:05 [21132] [8] DEBUG: size: 1024 2006-02-03 14:19:05 [21132] [8] DEBUG: immutable: 0 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 47 45 54 20 2f 6b 61 6e 6e 65 6c 6c 69 73 74 65 GET /kannelliste 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 6e 65 72 2f 6a 73 70 2f 6b 61 6e 6e 65 6c 72 65 ner/jsp/kannelre 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 63 65 69 76 65 2e 6a 73 70 3f 4f 72 69 67 3d 25 ceive.jsp?Orig=% 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 32 42 32 37 37 33 36 37 37 32 37 39 37 26 44 65 2B27736772797De 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 73 74 3d 31 35 30 31 33 26 43 61 72 72 69 65 72 st=15013Carrier 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 3d 32 32 32 26 42 6f 64 79 3d 50 6f 77 65 72 26 =222Body=Power 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 6b 65 79 77 6f 72 64 3d 50 6f 77 65 72 26 74 69 keyword=Powerti 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 6d 65 3d 32 30 30 36 2d 30 32 2d 30 33 2b 31 33 me=2006-02-03+13 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 3a 31 39 3a 30 35 26 42 69 6e 42 6f 64 79 3d 50 :19:05BinBody=P 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 6f 77 65 72 26 63 6d 69 6e 3d 30 26 43 4d 41 59 owercmin=0CMAY 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 3d 49 53 4f 2d 38 38 35 39 2d 31 26 50 52 49 4f =ISO-8859-1PRIO 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 52 49 54 59 3d 30 26 45 78 74 61 31 3d 36 35 65 RITY=0Exta1=65e 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 31 33 35 61 61 2d 32 36 62 38 2d 34 34 30 38 2d 135aa-26b8-4408- 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 39 64 38 36 2d 36 31 30 62 32 62 61 30 35 33 64 9d86-610b2ba053d 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 65 26 45 78 74 72 61 32 3d 26 45 78 74 72 61 33 eExtra2=Extra3 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 3d 26 45 78 74 72 61 34 3d 26 45 78 74 72 61 35 =Extra4=Extra5 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 3d 31 32 32 32 26 45 78 74 72 61 36 3d 2d 31 26 =1222Extra6=-1 2006-02-03 14:19:05 [21132] [8] DEBUG: data: 45 78 74 72 61 37 3d 26 45 78 74 72 61 38 3d 64 Extra7=Extra8=d 2006-02-03
Re: sms-service: Define more than one service for a keyword
Hi Lars, Did you try to invoke storeIt.php from doIt.php? (Just a thought) Rodrigo. On 2/2/06, Lars-Hendrik Schneider [EMAIL PROTECTED] wrote: Hello, one short question: I am wondering how to start more than one get-url requests for a keyword. I think about triggering one URL doing the main job and answering to the incoming SMS and another URL e.g. for storing the SMS in a database or sending a mail. Is ist possible to define one service with max-messages 0 for answering and another service with max-messages=0 that will not re-send a SMS, or is there another way to do it? Example (describing my thoughts): +++ group = sms-service keyword = G get-url = http://remotehost/doIt.php?smsbody=%s; strip-keyword = true max-messages = 3 concatenation = true group = sms-service keyword = G get-url = http://localhost/storeIt.php?smsbody=%s; strip-keyword = true max-messages = 0 Is that possible or will the second service be discarded? Perhaps someone knows a hint. greetz, Lars-Hendrik
Re: configuration files?
Ciao Massimiliano, You will find sample configuration files in the source code, under /gateway-1.4.0/gw/ directory. Anyway, my best advise is: make your own configuration file, as the one provided will not fit your specific needs. Take a look at the user guide, and include each group of variables according to the services you want to provide. Best regards, Rodrigo. On 1/13/06, Massimiliano Fratoni [EMAIL PROTECTED] wrote: Please help me! I launch configure and make command, at end installation i not found the configuration files!? Where are they? I trying install kannel webmin module for configuration and it ask me where is conf file! Massimiliano
Re: SMPP: Error sending SMS
Hi Huber, The short number you are using to send the SMS is not recognized by the operator (Invalid Source Address). Be sure this number is the right one, or the SMSC will reject all your MTs. Best regards, Rodrigo. On 1/10/06, Huber, Gottfried [EMAIL PROTECTED] wrote: Hi all, I tried to configure SMPP the first time. I get a connection (online) to SMSC. But sending a SMS , I receive the following Error-Message: 2006-01-10 15:26:45 [17683] [7] ERROR: SMPP[SMS-Direct]: SMSC returned error code 0x000a (Invalid Source Address) in response to submit_sm. Debug-Info: 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP[SMS-Direct]: Sending enquire link: 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP PDU 14fa30 dump: 2006-01-10 15:25:46 [17567] [7] DEBUG: type_name: enquire_link 2006-01-10 15:25:46 [17567] [7] DEBUG: command_id: 21 = 0x0015 2006-01-10 15:25:46 [17567] [7] DEBUG: command_status: 0 = 0x 2006-01-10 15:25:46 [17567] [7] DEBUG: sequence_number: 8 = 0x0008 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP PDU dump ends. 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP[SMS-Direct]: Got PDU: 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP PDU 14fa30 dump: 2006-01-10 15:25:46 [17567] [7] DEBUG: type_name: enquire_link_resp 2006-01-10 15:25:46 [17567] [7] DEBUG: command_id: 2147483669 = 0x8015 2006-01-10 15:25:46 [17567] [7] DEBUG: command_status: 0 = 0x 2006-01-10 15:25:46 [17567] [7] DEBUG: sequence_number: 8 = 0x0008 2006-01-10 15:25:46 [17567] [7] DEBUG: SMPP PDU dump ends. 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP[SMS-Direct]: Sending enquire link: 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP PDU 14fa30 dump: 2006-01-10 15:25:46 [17567] [8] DEBUG: type_name: enquire_link 2006-01-10 15:25:46 [17567] [8] DEBUG: command_id: 21 = 0x0015 2006-01-10 15:25:46 [17567] [8] DEBUG: command_status: 0 = 0x 2006-01-10 15:25:46 [17567] [8] DEBUG: sequence_number: 9 = 0x0009 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP PDU dump ends. 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP[SMS-Direct]: Got PDU: 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP PDU 14fa30 dump: 2006-01-10 15:25:46 [17567] [8] DEBUG: type_name: enquire_link_resp 2006-01-10 15:25:46 [17567] [8] DEBUG: command_id: 2147483669 = 0x8015 2006-01-10 15:25:46 [17567] [8] DEBUG: command_status: 0 = 0x 2006-01-10 15:25:46 [17567] [8] DEBUG: sequence_number: 9 = 0x0009 2006-01-10 15:25:46 [17567] [8] DEBUG: SMPP PDU dump ends. What is wrong ? Please help me ! Thank You very much ! best regards Gottfried Huber
Re: How to send @ chars
Hi Hillel, happy 2006 to all! From what I have tested, you should send a ¡ (inverted exclamation mark, %A1) to get an @ in your terminal. This may depend on conversions performed by your operator, so ask them. Try sending those special characters (MO) to Kannel to see what you get at the other side (check your logs). I hope this can be of help. Regards, Rodrigo. On 1/1/06, Hillel [EMAIL PROTECTED] wrote: Dear Kannel Users, According to the spec Table 6-3 SMSC driver internal features, Kannel can correctly send and receive the chars @ ä {. http://kannel.org/download/kannel-userguide-snapshot/userguide.html How does one achieve this using Kannel? Thanks any help appreciated.
Re: several sms-service for different connections with no keywords
Hi Juan, Have you tried group = sms-service keyword = default name = SMSC_A_service get-url =SMSC_A.url accepted-smsc = SMSC_A max-messages = 0 omit-empty = true group = sms-service keyword = default name = SMSC_B_service get-url =SMSC_B.url accepted-smsc = SMSC_B max-messages = 0 omit-empty = true On 1/2/06, Juan Nin [EMAIL PROTECTED] wrote: Hi! First of all, Happy New Year to all!!! :) I want to have 2 sms-services, one should work for some SMSC connections, and the other one for other connections. The thing is that they shouldn't be redirected to one or other sms-service based on keyword, since there is no specific keyword, they should just be based on the SMSC connection. According to what I believe and have seen on some thread, keyword = default on smsc-service can be used only once, so there just can be only one default... I can use accepted-smsc-regex for making each smsc-service match what I want, but how do I do with keyword since it's a mandatory parameter and only one defualt should be used?? Or this can not be handled by Kannel and I should do it by the programming side on my scripts? What I want is something like this: group = sms-service keyword = default catch-all = true omit-empty = true get-url = http://myHost.tld/script.php?smsc_id=%ishort_code=%Pphone=%pmessage=%a; max-messages= 0 accepted-smsc-regex=^aa- group = sms-service keyword = default catch-all = true omit-empty = true get-url = http://myOtherHost.tld/script.php?smsc_id=%ishort_code=%Pphone=%pmessage=%a; max-messages= 0 accepted-smsc-regex=^bb- Thanks in advance, Juan
Re: SMPP enquire link
The TCP connection is easily checked (manually) if you use netstat or you telnet SMSC_IP SMSC_PORT You will not get a prompt, but something like this: Trying aaa.bbb.ccc.ddd... Connected to smsc.server.yourcarrier.com (aaa.bbb.ccc.ddd). Escape character is '^]'. Besides, if you can receive any kind of SMPP traffic, the TCP connection IS up. Did you tried my second advise? Regards, Rodrigo. On 12/22/05, Alberto Devesa [EMAIL PROTECTED] wrote: Hi Rodrigo, First of all thank you for your time. It is very difficult to check if the TCP connection with the SMSC is up because that error is not very usually and when I see the error in the logs the connection is already reestablished by kannel. Anyway if the connection was broken I guess that the enquire link send by kannel should appear in the logs without its correspondig enquire link resp from smsc or, at least, kannel should try to reconnect inmeadtly and not 300 seconds after. Am I wrong about this ? Regards, Alberto On Thursday 22 December 2005 15:34, Rodrigo Cremaschi wrote: Hola Alberto: Maybe your transmitter disconnects and that is why Kannel cannot send any more SMPP packets to your SMSC. - Did you check if both transmitter and receiver are connected? - Try to send some SMS to a phone as a keep-alive before the 6 minute period, and see if the problem persists. (Some SMSCs behave strangely and disconnect the ESME if they don´t get an SMS, even if you send enquire links...). In this particular case, you should disconnect and reconnect :( I hope this may be of help. Rodrigo. On 12/21/05, Alberto Devesa [EMAIL PROTECTED] wrote: Hello, I am getting a strange behaviour while connected to a SMPP SMSC. Kannel is sending an enquire link each 60 seconds (as configured) but at a given moment it stops sending enquire links and after 6 minutes it complains about not receiving response from SMSC but it seems that really it is kannel who does not send the enquire link. Here are the logs: Enquire link n: 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link: 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump: 2005-12-21 19:43:22 [30798] [7] DEBUG: type_name: enquire_link 2005-12-21 19:43:22 [30798] [7] DEBUG: command_id: 21 = 0x0015 2005-12-21 19:43:22 [30798] [7] DEBUG: command_status: 0 = 0x 2005-12-21 19:43:22 [30798] [7] DEBUG: sequence_number: 1729 = 0x06c1 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU dump ends. 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP[smpp1]: Got PDU: 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump: 2005-12-21 19:43:22 [30798] [7] DEBUG: type_name: enquire_link_resp 2005-12-21 19:43:22 [30798] [7] DEBUG: command_id: 2147483669 = 0x8015 2005-12-21 19:43:22 [30798] [7] DEBUG: command_status: 0 = 0x 2005-12-21 19:43:22 [30798] [7] DEBUG: sequence_number: 1729 = 0x06c1 2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU dump ends. Enquire link n+1: 2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link: 2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump: 2005-12-21 19:44:22 [30798] [7] DEBUG: type_name: enquire_link 2005-12-21 19:44:22 [30798] [7] DEBUG: command_id: 21 = 0x0015 2005-12-21 19:44:22 [30798] [7] DEBUG: command_status: 0 = 0x 2005-12-21 19:44:22 [30798] [7] DEBUG: sequence_number: 1730 = 0x06c2 2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP PDU dump ends. 2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP[smpp1]: Got PDU: 2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump: 2005-12-21 19:44:23 [30798] [7] DEBUG: type_name: enquire_link_resp 2005-12-21 19:44:23 [30798] [7] DEBUG: command_id: 2147483669 = 0x8015 2005-12-21 19:44:23 [30798] [7] DEBUG: command_status: 0 = 0x 2005-12-21 19:44:23 [30798] [7] DEBUG: sequence_number: 1730 = 0x06c2 2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP PDU dump ends. Enquire link n+2 (6 minutes later !!) 2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link: 2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump: 2005-12-21 19:50:35 [30798] [7] DEBUG: type_name: enquire_link 2005-12-21 19:50:35 [30798] [7] DEBUG: command_id: 21 = 0x0015 2005-12-21 19:50:35 [30798] [7] DEBUG: command_status: 0 = 0x 2005-12-21 19:50:35 [30798] [7] DEBUG: sequence_number: 1731 = 0x06c3 2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP PDU dump ends. 2005-12-21 19:50:35 [30798] [7] ERROR: SMPP[smpp1]: No responses from SMSC within 300 sec. Reconnecting. Here, kannel reconnects and all goes fine again. Regards and thanks for your help Alberto