Kannel: Subject line
Hi all, Could you please write Kannel in the subject line, like on every other mailing lists? :D Best regards Ebbe, Denmark
Beginner questions
Hi, since I`m new to this type of software, and the english is not my first language (I got confused from the manual) I have one basic question: Is it possible to send SMS with Kannel without a mobile phone (i. e. no mobile phone, no SMS centers). Will specifying HTTP as SMSC work without anything else? I made this type of configuration, ran the example script in the manual - it gave me SMS sent but I didn`t receive it. Thanks in advance. -- Ilia Bazliancov, team leader. Rodonika www.rodonika.info
Re: Beginner questions
Did you mean, send SMS to mobile phone without network connection (over SMSC or mobile phone or 3rd party provider like clickatell)? If yes, i think it's not possible Ilia Bazliancov wrote: Hi, since I`m new to this type of software, and the english is not my first language (I got confused from the manual) I have one basic question: Is it possible to send SMS with Kannel without a mobile phone (i. e. no mobile phone, no SMS centers). Will specifying HTTP as SMSC work without anything else? I made this type of configuration, ran the example script in the manual - it gave me SMS sent but I didn`t receive it. Thanks in advance. -- Regards, Ady Wicaksono HP: +628562208680
Beginner questions
Well, I have a network connection. In the manual I saw a HTTP option for SMSC. Will it work? What do I need in order to use it? HTTP-based relay and content gateways This special SMSC is used for HTTP based connections with other gateways and various other relay services, when direct SMSC is not available. 2005/8/16, Ady Wicaksono [EMAIL PROTECTED]: Did you mean, send SMS to mobile phone without network connection (over SMSC or mobile phone or 3rd party provider like clickatell)? If yes, i think it's not possible Ilia Bazliancov wrote: Hi, since I`m new to this type of software, and the english is not my first language (I got confused from the manual) I have one basic question: Is it possible to send SMS with Kannel without a mobile phone (i. e. no mobile phone, no SMS centers). Will specifying HTTP as SMSC work without anything else? I made this type of configuration, ran the example script in the manual - it gave me SMS sent but I didn`t receive it. Thanks in advance. -- Regards, Ady Wicaksono HP: +628562208680 -- Ilia Bazliancov, team leader. Rodonika www.rodonika.info -- Ilia Bazliancov, team leader. Rodonika www.rodonika.info
Nokia Premicell GSM Modem - Help me out
Hi, I want to use nokia premicell GSM modem as a virtual SMSC. Can anybody tell me how to configure and what is the stability for the same. If someone can share config file and other related info. I will be greatful to him/her. I will be using kannel 1.2 or 1.4 on Linux Redhat AS 2.1. Pls help me out as i just need info before i buy the nokia premicell. Thanks, Divyesh A. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: Question about tracking messages (maybe using UDH ?)
Stephane, SMS protocol does not have any transaction-oriented capabilities built in. I'm afraid you'll have to come up with a solution more or less painful for your users: 1. You could, as mentioned, ask the client to include a tracking number. 2. If you don't expect to send many requests at the same time to the same guy, You could implement some time-window oriented mechanism, that is: any reply you get during the X minutes after sending message #432 to number 123 is supossedly regarding message #432. After X minutes, you consider the #432 abandoned even if 123 replies to it. This works as long as you don't have more than one open message with a particular ANI. In that case you could indicate that he must include the tracking number... (here the painful part comes to developing the logic for this, nbut it's absolutely doable). 3. You could implemente the messages as wap pushes (with the tracking number encoded) and redirect the client to a wap form where he can reply ot them. Hope it helps, Alejandro Guerrieri On 8/16/05, Stephane Rosa [EMAIL PROTECTED] wrote: Hi, What I'm trying to do is to track messages when they are replied to. The goal is to use Kannel to send alerts to people and let them a chance to acknowledge them (will be used With Nagios for those who know it). How can I put some kind of transaction number in a message sent, so that I can track it back when it is replied to. For example : Send message HOST X IS DOWN to number 123 Send message HOST Z IS DOWN to number 456 Guy with number 123 replies ACK I will take care of it Guy with number 456 replies NACK got no time now I want to create two sms-services, ACK and NACK and log their answer in the system, but how can I match messages sent with replies ? I could add an alert number to the text, but users would have to retype that number when replying, that's painful. Hope I'm clear enough. Thanks for any hint. Cheers Stephane -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
RE: Question about tracking messages (maybe using UDH ?)
Hi Alejandro, Thanks for your reply. I'm a bit disappointed as I really thought that there would be some sort of persistent information between a message sent to a mobile and its reply. I think I can handle this missing feature by asking users to include the original message in their reply. A quick investigation showed up that on Nokia phones this functionality exists. On Ericsson it doesn't but the user can forward the message back, that should be ok to start with. Thus said, I would be very interested in investigating wap push for a near future, unfortunately I have pretty much no idea of how to set that up and the documentation is more a technical reference than a tutorial :-) If somebody would have a truly basic example of wap config and wap scripts that does any kind of simple job (even unrelated to the alerting system that I try to setup) to help me understand I would be glad. Thanks Stephane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 13:53 To: users@kannel.org Subject: Re: Question about tracking messages (maybe using UDH ?) Stephane, SMS protocol does not have any transaction-oriented capabilities built in. I'm afraid you'll have to come up with a solution more or less painful for your users: 1. You could, as mentioned, ask the client to include a tracking number. 2. If you don't expect to send many requests at the same time to the same guy, You could implement some time-window oriented mechanism, that is: any reply you get during the X minutes after sending message #432 to number 123 is supossedly regarding message #432. After X minutes, you consider the #432 abandoned even if 123 replies to it. This works as long as you don't have more than one open message with a particular ANI. In that case you could indicate that he must include the tracking number... (here the painful part comes to developing the logic for this, nbut it's absolutely doable). 3. You could implemente the messages as wap pushes (with the tracking number encoded) and redirect the client to a wap form where he can reply ot them. Hope it helps, Alejandro Guerrieri On 8/16/05, Stephane Rosa [EMAIL PROTECTED] wrote: Hi, What I'm trying to do is to track messages when they are replied to. The goal is to use Kannel to send alerts to people and let them a chance to acknowledge them (will be used With Nagios for those who know it). How can I put some kind of transaction number in a message sent, so that I can track it back when it is replied to. For example : Send message HOST X IS DOWN to number 123 Send message HOST Z IS DOWN to number 456 Guy with number 123 replies ACK I will take care of it Guy with number 456 replies NACK got no time now I want to create two sms-services, ACK and NACK and log their answer in the system, but how can I match messages sent with replies ? I could add an alert number to the text, but users would have to retype that number when replying, that's painful. Hope I'm clear enough. Thanks for any hint. Cheers Stephane -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
Wrong smsc-id used for submit_sm
Hi List, Here's my problem.. I have several links up in my setup - some of them SMPP , some EMI2 When i submit an MT to sendsms (over http), i specify smsc-id to be used for sending. (by smsc= uri parameter) However, in some cases (it does not happen all the time), the real smsc used to send the message (that, i can see in bearerbox.log) is different. I am not sure if that it's entirely correct, but as far as i can see this substitution happens when smsc-id i use is EMI2. (maybe i did not notice this on other links though) For example, i submit msg with smsc=orange_ro_1353 , and it's going out through smsc-id mobileway_uk .. (both are configured properly and deliver messages both ways, the substitution does not happen on every such msg) Question is... why can this thing happen, and how can i prevent kannel from doing that? For what it's worth, if the smsc i requested is down and msg cannot be sent through it, i prefer such message to be dropped rather than being attempted to deliver through other link (as every link i have is limited for delivery to its own destination only). Regards, Konstantin P.S. My configuration (relevant parts of it :) ) OS: Fedora Core 2 Kannel: kannel-1.3.2-3.1.fc2.fr (useragent: Kannel/1.3.2-mblox) ^^ kannel is binary distribution that comes with fedora core2 kannel.conf (partial): group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = bar status-password = foo log-file = /var/log/kannel/bearerbox.log access-log = /var/log/kannel/bearerbox-access.log log-level = 0 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 # SMSC SMPP group = smsc smsc = smpp smsc-id = mobileway_uk_orange host = xxx.xxx.xxx.xxx port = transceiver-mode = true smsc-username = smsc-password = system-type = VMA address-range = my-number = enquire-link-interval = 120 reconnect-delay = 30 source-addr-ton = 5 source-addr-npi = 0 source-addr-autodetect = false # SMSC UCP group = smsc smsc = emi smsc-id = orange_ro_1351 host = xxx.xxx.xxx.xxx port = smsc-username = smsc-password = my-number = 1351 keepalive = 55 receive-port = idle-timeout = 30 # SMSBOX SETUP group = smsbox bearerbox-host = localhost #smsbox-id = smsbox1 sendsms-port = #global-sender = 123 log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/smsbox-access.log log-level = 0 # SEND-SMS USERS group = sendsms-user username = password = user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1 default-smsc = # ^^ what is this value used for? is it unused if i specify smsc-id on request? # smsc-id i have here is neither mobileway_uk_orange nor orange_ro_1351 ... # Forward everything to VAST group = sms-service name = vast keyword = default get-url = http://vast-host/kannel/mo?from=%qto=%Qtext=%audh=%ubinary=%bsmsc=%its=%t max-messages = 0 ### note that there are more smsc's exist there, skipped some of them because of similarity / irrelevancy ### end of kannel.conf Request made to kannel: /cgi-bin/sendsms?user=pass=from=1351to=%2B40744813571text=%01%06%04%03%AE%81%EA%02%05%6A%00%45%C6%0b%03http://v4.appcell.com/imsc/units/kissfmro/kiss_content/kiss_content.sms?sid=3dd3528d%00%08%01%03World+Soccer+Manager+2005%00%01%01udh=%06%05%04%0B%84%23%F0smsc=orange_ro_1351 bearerbox.log: 2005-08-16 15:25:32 [6408] [7] DEBUG: SMPP[mobileway_uk_orange]: Manually forced source addr ton = 5, source add npi = 0 2005-08-16 15:25:32 [6408] [7] DEBUG: SMPP[mobileway_uk_orange]: Sending PDU: 2005-08-16 15:25:32 [6408] [7] DEBUG: SMPP PDU 0x91741f8 dump: 2005-08-16 15:25:32 [6408] [7] DEBUG: type_name: submit_sm 2005-08-16 15:25:32 [6408] [7] DEBUG: command_id: 4 = 0x0004 2005-08-16 15:25:32 [6408] [7] DEBUG: command_status: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: sequence_number: 2713 = 0x0a99 2005-08-16 15:25:32 [6408] [7] DEBUG: service_type: NULL 2005-08-16 15:25:32 [6408] [7] DEBUG: source_addr_ton: 5 = 0x0005 2005-08-16 15:25:32 [6408] [7] DEBUG: source_addr_npi: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: source_addr: 1351 2005-08-16 15:25:32 [6408] [7] DEBUG: dest_addr_ton: 1 = 0x0001 2005-08-16 15:25:32 [6408] [7] DEBUG: dest_addr_npi: 1 = 0x0001 2005-08-16 15:25:32 [6408] [7] DEBUG: destination_addr: 40744813571 2005-08-16 15:25:32 [6408] [7] DEBUG: esm_class: 67 = 0x0043 2005-08-16 15:25:32 [6408] [7] DEBUG: protocol_id: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: priority_flag: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: schedule_delivery_time: NULL 2005-08-16 15:25:32 [6408] [7] DEBUG: validity_period: NULL 2005-08-16 15:25:32 [6408] [7] DEBUG: registered_delivery: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: replace_if_present_flag: 0 = 0x 2005-08-16 15:25:32 [6408] [7] DEBUG: data_coding: 4 = 0x0004 2005-08-16 15:25:32 [6408] [7] DEBUG: sm_default_msg_id: 0 =
Re: reply on fail
I don't get the idea. If I deny all tghe inbound the prefixes in the second kannel, all messages will bounce back to the modem, and I only want to bounce the messages that can't be delivered to a initial sms-service. Gelvis On 8/15/05, Wilfried Goesgens [EMAIL PROTECTED] wrote: On Mon, Aug 15, 2005 at 09:02:13PM +0200, Gelvis Sequera wrote: Hi: I'm trying to configure kannel for an special case: If a message is delivered to the smsc but the sms-service associated with kannel is down, kannel relay the sms to another sms-service, but if the service is up, kannel doesn't relay anything. set up an http connection to a second kannel. deny the prefixes to the inbound smsc. then you at least get the message back to the modem... Any ideas? Gelvis Sequera Caracas, Venezuela --
@ character as 00?
Dear all, We're connected to several SMSCs through SMPP, and are having a problem with one of them, which makes me sick... If we send an SMS to this SMSC that includes a '@' character, Kannel converts this character to a 00-code character... Here's a part of a kannel debug dump (this PDU is sent): [.cut.] data: 6c 61 73 7a 74 7f 73 00 42 65 64 42 65 61 63 68 laszt.s.BedBeach [.cut.] (the original message was [EMAIL PROTECTED], the á character was OK at the destination mobile phone). Do you have an idea why this conversion is done? We have this problem only with one SMSC direction, and since that SMSC truncates the messages at 00 characters, these SMSes are only partially sent... :/ All SMSCs are configured similarly, only basic settings are used (host, port, username, password, system-type, enquire-link-interval, dest/source addr ton and npi, keepalive, log, reconnect, preferred/denied prefixes). Thanks for your help in advance! Best regards, - Tamás TURCSÁNYI - senior webdeveloper, CCNA Dream Interactive Kft. [EMAIL PROTECTED] Weboldalunk megújult! www.dream.hu
Re: Question about tracking messages (maybe using UDH ?)
I've wrote a very simple PHP function that does the binary encoding for you. It's on the list archive, try here: http://article.gmane.org/gmane.comp.mobile.kannel.user/6631 Hope it helps, Alejandro Guerrieri On 8/16/05, Stephane Rosa [EMAIL PROTECTED] wrote: Hi Alejandro, Thanks for your reply. I'm a bit disappointed as I really thought that there would be some sort of persistent information between a message sent to a mobile and its reply. I think I can handle this missing feature by asking users to include the original message in their reply. A quick investigation showed up that on Nokia phones this functionality exists. On Ericsson it doesn't but the user can forward the message back, that should be ok to start with. Thus said, I would be very interested in investigating wap push for a near future, unfortunately I have pretty much no idea of how to set that up and the documentation is more a technical reference than a tutorial :-) If somebody would have a truly basic example of wap config and wap scripts that does any kind of simple job (even unrelated to the alerting system that I try to setup) to help me understand I would be glad. Thanks Stephane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 13:53 To: users@kannel.org Subject: Re: Question about tracking messages (maybe using UDH ?) Stephane, SMS protocol does not have any transaction-oriented capabilities built in. I'm afraid you'll have to come up with a solution more or less painful for your users: 1. You could, as mentioned, ask the client to include a tracking number. 2. If you don't expect to send many requests at the same time to the same guy, You could implement some time-window oriented mechanism, that is: any reply you get during the X minutes after sending message #432 to number 123 is supossedly regarding message #432. After X minutes, you consider the #432 abandoned even if 123 replies to it. This works as long as you don't have more than one open message with a particular ANI. In that case you could indicate that he must include the tracking number... (here the painful part comes to developing the logic for this, nbut it's absolutely doable). 3. You could implemente the messages as wap pushes (with the tracking number encoded) and redirect the client to a wap form where he can reply ot them. Hope it helps, Alejandro Guerrieri On 8/16/05, Stephane Rosa [EMAIL PROTECTED] wrote: Hi, What I'm trying to do is to track messages when they are replied to. The goal is to use Kannel to send alerts to people and let them a chance to acknowledge them (will be used With Nagios for those who know it). How can I put some kind of transaction number in a message sent, so that I can track it back when it is replied to. For example : Send message HOST X IS DOWN to number 123 Send message HOST Z IS DOWN to number 456 Guy with number 123 replies ACK I will take care of it Guy with number 456 replies NACK got no time now I want to create two sms-services, ACK and NACK and log their answer in the system, but how can I match messages sent with replies ? I could add an alert number to the text, but users would have to retype that number when replying, that's painful. Hope I'm clear enough. Thanks for any hint. Cheers Stephane -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
Re: Beginner questions
Using get-url or post-url you can connect with Clickatell and most of the HTTP-based gateways with no problems. You just have to write the right URL to pass the parameters, but that's rather simple to achieve most of the times. Regards, On 8/16/05, Catalin Trifu [EMAIL PROTECTED] wrote: Hi, As far as I know the other end of a HTTP connections has to be a kannel system. Kannel is not designed to interoperate with 3rd party vendors like clickatel, wapme or simplewire or whatever other. In short you can't send without a phone or smsc connection (which for testing can be a simulator). Catalin Ilia Bazliancov wrote: Well, I have a network connection. In the manual I saw a HTTP option for SMSC. Will it work? What do I need in order to use it? HTTP-based relay and content gateways This special SMSC is used for HTTP based connections with other gateways and various other relay services, when direct SMSC is not available. 2005/8/16, Ady Wicaksono [EMAIL PROTECTED]: Did you mean, send SMS to mobile phone without network connection (over SMSC or mobile phone or 3rd party provider like clickatell)? If yes, i think it's not possible Ilia Bazliancov wrote: Hi, since I`m new to this type of software, and the english is not my first language (I got confused from the manual) I have one basic question: Is it possible to send SMS with Kannel without a mobile phone (i. e. no mobile phone, no SMS centers). Will specifying HTTP as SMSC work without anything else? I made this type of configuration, ran the example script in the manual - it gave me SMS sent but I didn`t receive it. Thanks in advance. -- Regards, Ady Wicaksono HP: +628562208680 -- Ilia Bazliancov, team leader. Rodonika www.rodonika.info -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
Re: @ character as 00?
@ is 0 in the GSM alphabet (7 bit): http://www.dreamfabric.com/sms/default_alphabet.html You'll have to change the charset or substitute the characters before sending it to the SMSC. Hope it helps, Alejandro Guerrieri On 8/16/05, Tamás TURCSÁNYI [EMAIL PROTECTED] wrote: Dear all, We're connected to several SMSCs through SMPP, and are having a problem with one of them, which makes me sick... If we send an SMS to this SMSC that includes a '@' character, Kannel converts this character to a 00-code character... Here's a part of a kannel debug dump (this PDU is sent): [.cut.] data: 6c 61 73 7a 74 7f 73 00 42 65 64 42 65 61 63 68 laszt.s.BedBeach [.cut.] (the original message was [EMAIL PROTECTED], the á character was OK at the destination mobile phone). Do you have an idea why this conversion is done? We have this problem only with one SMSC direction, and since that SMSC truncates the messages at 00 characters, these SMSes are only partially sent... :/ All SMSCs are configured similarly, only basic settings are used (host, port, username, password, system-type, enquire-link-interval, dest/source addr ton and npi, keepalive, log, reconnect, preferred/denied prefixes). Thanks for your help in advance! Best regards, - Tamás TURCSÁNYI - senior webdeveloper, CCNA Dream Interactive Kft. [EMAIL PROTECTED] Weboldalunk megújult! www.dream.hu -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/