Weird Request Failed
Hi, I found a weird situation. When there is incoming MO sometimes it is translated and processed well but sometimes it received Request Failed. Does anybody experience the same situation and got any solution? I already set: group = sms-service keyword = default get-url = http://1.2.3.4:8686/?sender=%preceiver=%Psms=%atelco=%imsgid=%Ifid=%F; omit-empty = true max-messages = 0 Thanks
Re: Kannel adding extra character:
%25 is URL Encode of % On Jul 24, 2013, at 1:52 PM, Himanshu Matta himan...@hostnsoft.com wrote: Hello, I configured kannel to send messages. But I am facing one issue. When I send message 'get 35% discount' then I am getting 'get 35%25 dscount' on my handset. Kannel adding extra 25. How to solve this ? -- Thanks and regards, Himanshu Matta
Re: store-location keep empty folders
This question should be addressed to users not devel. Those folders will be used for the queue. You may remove it manually but Kannel will always re create it :) On Jul 22, 2013, at 3:13 PM, Qqblog Qqblog qqb...@ymail.com wrote: group = core store-type = spool store-location = /etc/kannel/queue After I added store-type and store-location, store-location still leave many empty folders after message delivered, folder name is numeric like 13,14, 61,67 ... How to configure your system to remove them ?
Re: get-url or post-url to two destionations (inboxes)
You can not do it, only 1 URL is permitted. What is your goal actually? On Jul 11, 2013, at 3:42 PM, mwamba duncan.ow...@gmail.com wrote: Hi, I am trying to use two URLs destination for my message but it seems i can only have only once active post-url or get-url. I want a received SMS to be duplicated to both destinations. my sms-service is as follows: #- # SERVICES #- group = sms-service keyword-regex = .* catch-all = true max-messages = 3 omit-empty = true catch-all = true get-url = http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%tq=%qa=%a; post-url = http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%tq=%qa=%a http://x.x.x.x/-/inbox/inbox.php?receiver=%Psender=%pmessage_content=%atime_received=%tid_tt=%I; How do i achieve this since the above only allows either one of the lines get-url or post-url but not both at the same time. Do I need to define each on its own sms-service despite needed them to process same SMS? Regards, Mwamba http://x.x.x.x/-/inbox/inbox.php?receiver=%Psender=%pmessage_content=%atime_received=%tid_tt=%I -- View this message in context: http://kannel.6189.n7.nabble.com/get-url-or-post-url-to-two-destionations-inboxes-tp28565.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Got DLR but could not find message
About the msg-id type you should consult with your telco first. There are several types of it. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Sep 2, 2010, at 5:56 PM, dafodil wrote: Hi List, Good Day. I am sending message through kannel.Message is delivered to destination.I see deliver and deliverresp in log but i get the bellow error. i went through different post in forum which suggests about setting msg-id-type=0x01 but with no succes.where i m wrong.pls suggest. 2010-08-31 16:03:39 [29210] [7] DEBUG: DLR[internal]: Looking for DLR smsc=B, ts=50083117041435426, dst=919437112909, type=1 2010-08-31 16:03:39 [29210] [7] WARNING: DLR[internal]: DLR from SMSC for DST919437112909 not found. 2010-08-31 16:03:39 [29210] [7] ERROR: SMPP[B]: got DLR but could not find message or was not interested in it id50083117041435426 dst919437112909, type1 SMSC conf in kannel.conf group = smsc smsc = smpp smsc-id = mg1 host = .xxx. port = transceiver-mode = true alt-charset = ISO-8859-1 msg-id-type=0x01 system-type = xxx address-range = max-pending-submits = 10 smsc-username = smsc-password = connect-allow-ip = *.*.*.* Br daf -- View this message in context: http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29602939.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: dlr issue
You said all MT are DLVRD. Where did you get the statuses? Kannel uses dlr-mask = 1 to flag each DLVRD MT. Your log only said that the dlr-mask was set to 31, which mean it should capture all statuses (please refer to the user guide). And from last part of your log, it said the MT got ACK. None said the MT is DLVRD. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 30, 2010, at 3:14 PM, budi wibowo wrote: hi that's what i got in debug mode and receiver (B#) switched off. any option to get the more detail result? br budi On Mon, Aug 30, 2010 at 12:51 PM, sangprabv sangpr...@gmail.com wrote: I don't see any DLR there :) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 30, 2010, at 12:21 PM, budi wibowo wrote: hi i attache bb log for reference 2010-08-30 11:43:31 [23161] [9] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput (0.00,300.00) 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP[smsc3]: Got PDU: 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:31 [23161] [8] DEBUG: type_name: enquire_link_resp 2010-08-30 11:43:31 [23161] [8] DEBUG: command_id: 2147483669 = 0x8015 2010-08-30 11:43:31 [23161] [8] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:31 [23161] [8] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP[smsc2]: Got PDU: 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:31 [23161] [7] DEBUG: type_name: enquire_link_resp 2010-08-30 11:43:31 [23161] [7] DEBUG: command_id: 2147483669 = 0x8015 2010-08-30 11:43:31 [23161] [7] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:31 [23161] [7] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP[smsc2]: throughput (0.00,300.00) 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput (0.00,300.00) 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: Got PDU: 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:31 [23161] [9] DEBUG: type_name: enquire_link_resp 2010-08-30 11:43:31 [23161] [9] DEBUG: command_id: 2147483669 = 0x8015 2010-08-30 11:43:31 [23161] [9] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:31 [23161] [9] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput (0.00,300.00) 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP[smsc1]: Got PDU: 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:41 [23161] [6] DEBUG: type_name: enquire_link 2010-08-30 11:43:41 [23161] [6] DEBUG: command_id: 21 = 0x0015 2010-08-30 11:43:41 [23161] [6] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:41 [23161] [6] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP[smsc1]: Sending PDU: 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU 0x9374748 dump: 2010-08-30 11:43:41 [23161] [6] DEBUG: type_name: enquire_link_resp 2010-08-30 11:43:41 [23161] [6] DEBUG: command_id: 2147483669 = 0x8015 2010-08-30 11:43:41 [23161] [6] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:41 [23161] [6] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP[smsc3]: Got PDU: 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:41 [23161] [8] DEBUG: type_name: enquire_link 2010-08-30 11:43:41 [23161] [8] DEBUG: command_id: 21 = 0x0015 2010-08-30 11:43:41 [23161] [8] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:41 [23161] [8] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP[smsc3]: Sending PDU: 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU 0x9374748 dump: 2010-08-30 11:43:41 [23161] [8] DEBUG: type_name: enquire_link_resp 2010-08-30 11:43:41 [23161] [8] DEBUG: command_id: 2147483669 = 0x8015 2010-08-30 11:43:41 [23161] [8] DEBUG: command_status: 0 = 0x 2010-08-30 11:43:41 [23161] [8] DEBUG: sequence_number: 2 = 0x0002 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU dump ends. 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: throughput (0.00,300.00) 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: Got PDU: 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP PDU 0x9374668 dump: 2010-08-30 11:43:41 [23161] [9] DEBUG: type_name: enquire_link 2010-08-30 11:43:41 [23161] [9] DEBUG: command_id: 21 = 0x0015
Re: Sending Pictures Ringtones and Games
Is it SMS or MMS? If SMS then you might need Kannel + WAP Push only. But for MMS then Mbuni might help you CMIIW ;) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 28, 2010, at 11:11 PM, Alvaro Cornejo wrote: You need kannel + mbuni to do that |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Sat, Aug 28, 2010 at 10:51 AM, Innocent Muchedzi innoc...@syldah.co.bw wrote: Hie How can i setup and configure kannel to send ringtones, picture images and games to mobile phones using sms thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
Re: dlr issue
Are you sure all got DLVRD status? What is your dlr-mask set during MT and dlr-mask return from smsc? May we have your log? sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 28, 2010, at 9:15 AM, budi wibowo wrote: dear all i have dlr issue i have following scenario, : a. client connect to smpp_server b. smpp server send the message to kannel then kannel modify sender-id c. kannel return the modified message back to smpp server d. smpp server send the modified message to smsc sending sms working normally, the only issue is the delivery report, where client always get message delivered successfully even mobile phone is switched off. smppbox config also attached. any help is highly appreciated i attached the kannel.conf group = core admin-port= 14040 admin-password= admin status-password = status smsbox-port = 14041 log-file = /var/log/kannel/bearerbox.log log-level = 1 dlr-storage = internal # SMSBOX-SETUP group = smsbox sendsms-port = 14042 bearerbox-host = localhost smsbox-id = kannel-smsc1 log-file = /var/log/kannel/smsbox.log log-level = 1 #= group = smsbox-route smsbox-id = kannel-smsc1 smsc-id = smsc1;smsc2;smsc3;smsc4 #== group = smsc smsc= smpp smsc-id = smsc1 allowed-smsc-id = smsc1;smsc2 denied-smsc-id = smsc3;smsc4 throughput = 300 host= 10.17.x.x receive-port= 3200 transceiver-mode= false smsc-username = userin smsc-password = p4ss system-type = interface-version = 34 address-range = source-addr-ton = 49 source-addr-npi = 2 source-addr-autodetect = false dest-addr-ton = 49 dest-addr-npi = 2 enquire-link-interval = 20 reconnect-delay = 10 alt-charset = ASCII reroute-dlr = true #=== group = sms-service keyword = default get-url = http://localhost/kannel/sms.php?message=%atime=%tMDN=%pto=%Ptrxid=%T; max-messages= 50 concatenation = true accepted-smsc = smsc1 #== group = smsc smsc= smpp smsc-id = smsc2 allowed-smsc-id = smsc2 denied-smsc-id = smsc1;smsc3;smsc4 throughput = 300 host= 10.17.x.x port= 3200 transceiver-mode= false smsc-username = userin smsc-password = p4ss system-type = interface-version = 34 address-range = source-addr-ton = 49 source-addr-npi = 2 source-addr-autodetect = false dest-addr-ton = 49 dest-addr-npi = 2 enquire-link-interval = 20 reconnect-delay = 10 alt-charset = ASCII reroute-dlr = true #== group = smsc smsc= smpp smsc-id = smsc3 allowed-smsc-id = smsc3;smsc4 denied-smsc-id = smsc1;smsc2 throughput = 300 host= 10.17.x.x receive-port= 3200 transceiver-mode= false smsc-username = userout smsc-password = p4ss system-type = interface-version = 34 address-range = source-addr-ton = 49 source-addr-npi = 2 source-addr-autodetect = false dest-addr-ton = 49 dest-addr-npi = 2 enquire-link-interval = 20 reconnect-delay = 10 alt-charset = ASCII reroute-dlr = true #=== group = sms-service keyword = default get-url= http://localhost/kannel/sms.php?message=%atime=%tMDN=%pto=%Ptrxid=%T; max-messages= 50 concatenation = true accepted-smsc = smsc1 #== group = smsc smsc= smpp smsc-id = smsc4 allowed-smsc-id = smsc4 denied-smsc-id = smsc1;smsc2;smsc3 throughput = 300 host= 10.17.x.x port= 3200 transceiver-mode= false smsc-username = userout smsc-password = p4ss system-type = interface-version = 34 address-range
Re: configuration help required
It should be about sms-service sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:10 PM, Irfan Malik wrote: Hi All, I am looking for help to configure kannel sms-service based on number of words in request. Requirement is to append different URL's to the request based on number of words in keyword. it should work for any keyword Request 1) 92123456789 Request 2) 92123456789 1234 10 For number 1, want to append a URL e.g. http://www.myweb.com/blank For number 2, want to append a URL e.g. http://www.myweb1.com/pinrequest From definition of keyword, I could see it is possible but don't know how to configure it, keyword (m)word Services are identified by the first word in the SMS. Each `%s' in the URL corresponds to one word in the SMS message. Words are separated with spaces. A keyword is matched only if the number of words in the SMS message is the same as the number of `%s' fields in the URL. This allows you to configure the gateway to use different URLs for the same keyword depending on the number of words the SMS message contains. The keyword matches in non-case sensitive manner, which means you don't have to use aliases to handle different cased versions of your keyword. Any help would be very much appreciated. Best Regards, Irfan Malik
Re: configuration help required
Im not sure, but maybe keyword-regex directive might help you. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:28 PM, Irfan Malik wrote: Yes, It is. Any help ? Best Regards, Irfan Malik Subject: Re: configuration help required From: sangpr...@gmail.com Date: Thu, 26 Aug 2010 14:22:26 +0700 CC: users@kannel.org To: irfanahma...@hotmail.com It should be about sms-service sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:10 PM, Irfan Malik wrote: Hi All, I am looking for help to configure kannel sms-service based on number of words in request. Requirement is to append different URL's to the request based on number of words in keyword. it should work for any keyword Request 1) 92123456789 Request 2) 92123456789 1234 10 For number 1, want to append a URL e.g. http://www.myweb.com/blank For number 2, want to append a URL e.g. http://www.myweb1.com/pinrequest From definition of keyword, I could see it is possible but don't know how to configure it, keyword (m)word Services are identified by the first word in the SMS. Each `%s' in the URL corresponds to one word in the SMS message. Words are separated with spaces. A keyword is matched only if the number of words in the SMS message is the same as the number of `%s' fields in the URL. This allows you to configure the gateway to use different URLs for the same keyword depending on the number of words the SMS message contains. The keyword matches in non-case sensitive manner, which means you don't have to use aliases to handle different cased versions of your keyword. Any help would be very much appreciated. Best Regards, Irfan Malik
Re: configuration help required
if 92123456789 will always be your first word then you only need keyword not keyword-regex. it could be something like this: group = sms-service keyword = 92123456789 name = 92123456789 get-url = http://1.2.3.4/path_a; and for other requests: group = sms-service keyword = default name = default get-url = http://1.2.3.4/path_b; sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:48 PM, Irfan Malik wrote: Many thanks dear, How if we remove the digits 92123456789? Request 1) 92123456789 Request 2) 92123456789 1234 10 lets have request one blank Request 1) Request 2) 1234 10 Best Regards, Irfan Malik Date: Thu, 26 Aug 2010 09:35:49 +0200 Subject: Re: configuration help required From: elt...@gmail.com To: sangpr...@gmail.com CC: irfanahma...@hotmail.com; users@kannel.org Maybe you need to define two sms-service groups to call each of your services in background. To match your given digits; 1 - keyword-regex = ^[0-9]+$ 2 - keyword-regex = ^[0-9]+ [1-4]+ [0-1]+$ On Thu, Aug 26, 2010 at 9:22 AM, sangprabv sangpr...@gmail.com wrote: It should be about sms-service sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:10 PM, Irfan Malik wrote: Hi All, I am looking for help to configure kannel sms-service based on number of words in request. Requirement is to append different URL's to the request based on number of words in keyword. it should work for any keyword Request 1) 92123456789 Request 2) 92123456789 1234 10 For number 1, want to append a URL e.g. http://www.myweb.com/blank For number 2, want to append a URL e.g. http://www.myweb1.com/pinrequest From definition of keyword, I could see it is possible but don't know how to configure it, keyword (m)word Services are identified by the first word in the SMS. Each `%s' in the URL corresponds to one word in the SMS message. Words are separated with spaces. A keyword is matched only if the number of words in the SMS message is the same as the number of `%s' fields in the URL. This allows you to configure the gateway to use different URLs for the same keyword depending on the number of words the SMS message contains. The keyword matches in non-case sensitive manner, which means you don't have to use aliases to handle different cased versions of your keyword. Any help would be very much appreciated. Best Regards, Irfan Malik
Re: Dlr.php
And develop such DLR application using PHP is simple as well ;) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 27, 2010, at 7:39 AM, budi wibowo wrote: my requirement is simple, dlr.php template for something mention in http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#DELIVERY-REPORTS TIA budi On Fri, Aug 27, 2010 at 7:19 AM, Juan Nin jua...@gmail.com wrote: You won't find, it's just an example :) You're the one who knows what to do with DLRs on your own application, each one's application is different and you may want to do different stuff with DLRs. So just code yours according to your own needs. Regards, Juan On Thu, Aug 26, 2010 at 12:05 PM, Budi wibowo bwib...@gmail.com wrote: Dear all Where can I find sample of dlr.php that is used in user guide? Regards Budi
Re: Kannel profermance
AFAIK Kannel set throughput to 100/second. So if we want more then we increase the number. Otherwise decrease to avoid throttling error from telco. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 14, 2010, at 11:58 AM, Juan Nin wrote: Actually you're wrong. You would use the throughput directive if you want to restrict your throughput. If you don't want to restrict it then you should not set it at all (but you may receive throttling errors form the remote SMSC) On Sat, Aug 14, 2010 at 1:42 AM, sangprabv sangpr...@gmail.com wrote: You can use throughput directive :) Beware of your telco policy, some telcos limit MT from us ;) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 14, 2010, at 1:33 AM, Ravindra Gupta // Viva wrote: Dear Team, Sorry for previous mail. I am using kannel 1.4.3 version. Please inform me how to improve performance/Speed delivery in sms using Kannel Server. Which parameters we have use and improve efficiency for kennel server. Give the suggestion On Fri, Aug 13, 2010 at 6:56 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Hi I think you have not things clear yet. Please read the user guide. There is no kannel version 3.4, the latest version is 1.4.3 plus the svn... However kannel supports SMPP versions 3.3 and 3.4... Regards |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Fri, Aug 13, 2010 at 6:42 AM, Ravindra Gupta // Viva ravin...@vivainfomedia.com wrote: Dear Team, I am using kennel 3.4 version. Please inform me how to improve performance/Speed delivery in Kannel Server. Which parameters we have use and improve efficiency for kennel server. Give the suggestion -- Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks Regards, Ravindra Gupta Technical Support Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310353 Board: +91.22.40310310 Email : ravin...@vivainfomedia.com Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009 -- Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks Regards, Ravindra Gupta Technical Support Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310353 Board: +91.22.40310310 Email : ravin...@vivainfomedia.com Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009 -- Juan Nin 3Cinteractive / Mobilizing Great Brands http://www.3cinteractive.com
Re: Configure kannel via httpconnect protocol
Userguide is your bestfriend. Since HTTP SMSC is very generic, it is probably you need to modify it. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 14, 2010, at 7:43 PM, Omar THIAM wrote: Hi , Does somebody can help me about configuring kannel with smsc using httpconnect protocol. Cant give one configuration file for that? I would like to know exactly how to configure in my kannel.conf the http smsc!
Re: Kannel profermance
You can use throughput directive :) Beware of your telco policy, some telcos limit MT from us ;) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 14, 2010, at 1:33 AM, Ravindra Gupta // Viva wrote: Dear Team, Sorry for previous mail. I am using kannel 1.4.3 version. Please inform me how to improve performance/Speed delivery in sms using Kannel Server. Which parameters we have use and improve efficiency for kennel server. Give the suggestion On Fri, Aug 13, 2010 at 6:56 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Hi I think you have not things clear yet. Please read the user guide. There is no kannel version 3.4, the latest version is 1.4.3 plus the svn... However kannel supports SMPP versions 3.3 and 3.4... Regards |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Fri, Aug 13, 2010 at 6:42 AM, Ravindra Gupta // Viva ravin...@vivainfomedia.com wrote: Dear Team, I am using kennel 3.4 version. Please inform me how to improve performance/Speed delivery in Kannel Server. Which parameters we have use and improve efficiency for kennel server. Give the suggestion -- Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks Regards, Ravindra Gupta Technical Support Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310353 Board: +91.22.40310310 Email : ravin...@vivainfomedia.com Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009 -- Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks Regards, Ravindra Gupta Technical Support Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310353 Board: +91.22.40310310 Email : ravin...@vivainfomedia.com Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009
Re: Kannel performance benchmarking
Regarding this performance benchmarking. I still got memory problem. Kannel fails to release buffered or cached memory. Does anybody has tips to avoid this problem? Thanks. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 10, 2010, at 10:12 PM, Rene Kluwen wrote: Why don’t you try it on your own system. Test with a MyIsam table and with InnoDB. It will be easy to determine which one works faster for you. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of brett skinner Sent: Tuesday, 10 August, 2010 11:56 To: Alejandro Guerrieri Cc: Users Subject: Re: Kannel performance benchmarking Thanks for your feedback. Guess it is the age old tao of computer science. Space vs Time, always space vs time. :) Regards, On Tue, Aug 10, 2010 at 11:52 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Oh yes, I read that blog quite frequently :) There's a lot of stuff to say about optimizing InnoDB, but it's definitely off-topic here and wouldn't fit on a single email of course. We've gone thru a series of optimization cycles on our platform and, with respect to Kannel, ended up using MyIsam for DLR's. We don't have any locking issues, the only detail is we need to be careful when expiring old entries to do it in small batches and not on peak hours. For the rest of our applications, except for small and mostly read-only tables, we use InnoDB and while seems slower when you do a couple of requests, it's a _lot_ faster if you are under heavy traffic because of the row locking instead of table locking. Anyway, there's no a one-size-fits-all solution and if you really need to sustain heavy traffic I'd recommend you do a lot of profiling and find the bottlenecks either on the DB and the rest of your platform. Regards, Alex On Tue, Aug 10, 2010 at 11:15 AM, brett skinner tatty.dishcl...@gmail.com wrote: Hi Alex That is why I have chosen Innodb for the tables we use for the application that surround Kannel. MyISAM definitely beat Innodb out the box but Innodb does seem to be better in terms of the issues you have pointed out. The other thing that I have read is that Innodb is incredibly slow with the stock standard configuration. I read through the following blog and followed their advice which increased its performance quite drastically. http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ If you have a moment you can give that a read. Or if you have any other good references please send them a long. I am still rather new to MySql. Thanks :) Regards, On Tue, Aug 10, 2010 at 10:56 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Well, if it weren't for the SELECT COUNT(*) slowness would be my preferred option here as well. Despite seeming slower at first (specially on small tables) InnoDB performs row-locking on index-based queries, which indeed improves things quite a bit on big tables with lots of simultaneous reads and writes. Regards, Alex 2010/8/10 Nikos Balkanas nbalka...@gmail.com Indeed. InnoDB is much slower overall compared to MyIsam. However, it has its use for some jobs (archive_logs, hot backups, etc.) The figures I gave were sustained rates simulated with a 1-SMS batch. Count was sufficient to reach sustainability and reproducibility, yet short enough to get results fast. When i submitted fakesmpp, I also released similar data from a 64bit Solaris 10 server. BR, Nikos - Original Message - From: alejandro.guerri...@gmail.com To: brett skinner ; users-boun...@kannel.org ; us...@kannel. us...@kannel. Org Sent: Tuesday, August 10, 2010 11:21 AM Subject: Re: Kannel performance benchmarking Brett, The DLR engine uses SELECT COUNT(*) from the admin interface, which is painfully slow on InnoDB for moderately big tables. While InnoDB would theoretically be the best option, MyIsam performs quite better in this case. Regards, Alex BlackBerry de movistar, allν donde estιs estα tu oficin@ From: brett skinner tatty.dishcl...@gmail.com Sender: users-boun...@kannel.org Date: Tue, 10 Aug 2010 10:13:54 +0200 To: Usersusers@kannel.org Subject: Re: Kannel performance benchmarking Hi Nikos Thanks for the extra information. What was the motivation for using MyISAM? My reading lead me to believe that MyISAM was not that well suited for interleaved reads and writes due to table locking which is why I opted to use InnoDB. From what I assumed about how Kannel worked is that reading/writing to the DLR table would be interleaved. I may be quite badly mistaken and might perhaps need to switch to MyISAM as a few others have recommended. In your opinion what should Kannel be able to handle sustained (assuming normal business hours)? And what should Kannel be able to burst to? I know
Does SMSBox Really Sent Out Messages?
Hi, I found some weird situation. I cross checked bearerbox-access log and smsbox-access log. In the bearerbox-access I found 874 messages. But when check smsbox-access it's only 871 sent to back end application using http get protocol. Where does the 3 messages gone?I see no errors in the smsbox-access log (all http requests got http 200). So does SMSBox really sent out all messages to back end application? Thanks. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/
Re: Kannel performance benchmarking
Hi Nikos, Do you experience memory problem? In my case Kannel is eating the memory on high load traffics. I always need to restart the box to get more memory. I even give 3 on /proc/sys/vm/drop_caches but still Kannel eat the memory :( sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 9, 2010, at 9:42 PM, brett skinner wrote: Hi Nikos Out of curiosity can you go into more detail regarding what hardware you were running and your setup for MySql? Were you using Innodb or MyIsam. If you were using Innodb did you make any other configuration changes to MySql to accommodate Innodb. From the user guide it is implied that the bottle neck for Kannel is the number of messages that the SMSC can accommodate per second. Is this still the case? Regards, 2010/8/8 Nikos Balkanas nbalka...@gmail.com Hi, I have run some benchmarking for a client using fakesmpp. Using the default service for MO's I got: MO's: 1400 SMS/s MT + DLRs (internal): 747 SMS/s MT + DLRs (MySql): 434 SMS/s BR, Nikos - Original Message - From: ha...@aeon.pk To: kannel users Sent: Sunday, August 08, 2010 4:22 PM Subject: Kannel performance benchmarking Hi, I am interested to know about the kannel performance benchmarking, especially in terms of speed (msgs/sec), MO or MT. I assume that multiple smsboxes does not have any effect over kannel performance, since the front-end talking to SMSC is the main bearerbox. What is the max speed that could be attained by kannel and/or bearerbox? Regards, Hamza
Re: Kannel performance benchmarking
Yeah I understand that. But when the there is no traffic. Kannel doesn't release the cached or buffered memory it used. Do you have any solution? What command to list down or trace the memory usage by Kannel? So maybe we can investigate which function or module in Kannel is eating the memory. Thanks sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 9, 2010, at 11:19 PM, Nikos Balkanas wrote: No memory problems. It is reasonable that kannel will use more memory in higher traffic, since all queues are in memory, as long as it drops to nominal levels once the traffic is gone. BR, Nikos - Original Message - From: sangprabv To: brett skinner Cc: Nikos Balkanas ; kannel users Sent: Monday, August 09, 2010 5:59 PM Subject: Re: Kannel performance benchmarking Hi Nikos, Do you experience memory problem? In my case Kannel is eating the memory on high load traffics. I always need to restart the box to get more memory. I even give 3 on /proc/sys/vm/drop_caches but still Kannel eat the memory :( sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 9, 2010, at 9:42 PM, brett skinner wrote: Hi Nikos Out of curiosity can you go into more detail regarding what hardware you were running and your setup for MySql? Were you using Innodb or MyIsam. If you were using Innodb did you make any other configuration changes to MySql to accommodate Innodb. From the user guide it is implied that the bottle neck for Kannel is the number of messages that the SMSC can accommodate per second. Is this still the case? Regards, 2010/8/8 Nikos Balkanas nbalka...@gmail.com Hi, I have run some benchmarking for a client using fakesmpp. Using the default service for MO's I got: MO's: 1400 SMS/s MT + DLRs (internal): 747 SMS/s MT + DLRs (MySql): 434 SMS/s BR, Nikos - Original Message - From: ha...@aeon.pk To: kannel users Sent: Sunday, August 08, 2010 4:22 PM Subject: Kannel performance benchmarking Hi, I am interested to know about the kannel performance benchmarking, especially in terms of speed (msgs/sec), MO or MT. I assume that multiple smsboxes does not have any effect over kannel performance, since the front-end talking to SMSC is the main bearerbox. What is the max speed that could be attained by kannel and/or bearerbox? Regards, Hamza
WTA dlr-url
Does Kannel keep trying the unfetched or failed dlr-url or not? Many thanks :) sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/
[HELP]Force Kannel to send unsent MT
As subject's title. How to force Kannel to send unsent MT in the spool folder immediately? Is there any CLI? Thanks sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/
HTTP SMSC Fail To Connect
Hi, I have a situation where Kannel complaints can not connect to an HTTP SMSC, but when I tried to telnet the host and browse the host manually everything is OK? What makes Kannel complaints and how to solve this? Thanks. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/
Re: Authentication Failure on Kannel 1.4.3
The parameter is correct, please check your sendsms port. Is it 13131? What is your detail configuration file? sangprabv sangpr...@gmail.com On Jul 1, 2010, at 7:38 AM, RIFQI wrote: I have just install kannel 1.4.3 on ubuntu server 10.04 and i configure the kannel conf bellow, but when i try to send the sms test using lynx with command : lynx -dump http://localhost:13131/cgi-bin/sendsms?username=aaapassword=bbbto=08text=Hello+world I always get the bellow result lynx -dump http://localhost:13131/cgi-bin/sendsms?username=rifqipassword=testto=081575013938text=Hello+world [1] 18256 [2] 18257 [3] 18258 tricon...@tricon-sms-gate:~$Authorization failed for sendsms bellow is the SEND SMS-USER config on the kannel.conf : #SEND-SMS USERS group = sendsms-user username = rifqi password = test user-deny-ip = user-allow-ip = *.*.*.* concatenation = true can some one told me why did i always get this error? Thanks For the answer
WTA Send WAP Push with SQLBox
Hi List, I've searched the archives to find solution on how to send WAP Push with SQLBox, tried all suggested but none work. Is there someone who is sucessfully send WAP Push with SQLBox? Thanks. sangprabv sangpr...@gmail.com
Re: Scheduling Question
it's in the smsc group, check it out. sangprabv sangpr...@gmail.com On Jun 21, 2010, at 2:26 PM, T.K.Thapa wrote: Where i need to configure throughput directive? Do i need to configure in bearerbox or sqlbox? if i am configuring in bearerbox then it will only limit bearerbox to submit at defined rate to smsc. it will not limit sqlbox to submit at defined rate to bearerbox. Regards Tapan Thapa --- On Mon, 21/6/10, sangprabv sangpr...@gmail.com wrote: From: sangprabv sangpr...@gmail.com Subject: Re: Scheduling Question To: T.K.Thapa tapan_thapa2...@yahoo.com Cc: Rene Kluwen rene.klu...@chimit.nl, Kannel list users@kannel.org Date: Monday, 21 June, 2010, 10:41 AM You can use throughput directive. sangprabv sangpr...@gmail.com On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote: Hello, Two more questions: 1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 message per second so that no queue is built at bearerbox for particular smsc. 2. If there is a queue at bearerbox (particular smsc), lets say 100 then till the time queue come down to less than 100, sqlbox do not push further messages to that particular smsc. Regards Tapan Thapa --- On Mon, 21/6/10, T.K.Thapa tapan_thapa2...@yahoo.com wrote: From: T.K.Thapa tapan_thapa2...@yahoo.com Subject: RE: Scheduling Question To: Rene Kluwen rene.klu...@chimit.nl Cc: Kannel list users@kannel.org Date: Monday, 21 June, 2010, 9:37 AM Hello, I have seen the same feature requested by many users. Can't we have the same by default in source code of sqlbox and put the query in configuration file. Regards Tapan Thapa --- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote: From: Rene Kluwen rene.klu...@chimit.nl Subject: RE: Scheduling Question To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' tapan_thapa2...@yahoo.com Cc: users@kannel.org Date: Sunday, 20 June, 2010, 11:11 PM Yes, sqlbox does scheduling of writing with a simple (1-line) patch. You can find it on the mailinglist, but to facilitate your search, here it is again: in gw/sqlbox_mysql.h something like: SELECT sql_id, momt, sender, receiver, udhdata, \ msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \ compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \ charset, boxc_id, binfo, meta_data FROM %S WHERE time UNIX_TIMESTAMP(NOW()) LIMIT 0,1 == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of sangprabv Sent: zondag 20 juni 2010 16:04 To: T.K.Thapa Cc: users@kannel.org Subject: Re: Scheduling Question Quick and dirty way is patch the query in the sqlbox source code. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: Hello, Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes how? Regards Tapan Thapa
Re: Kannel goes in infinite loop
delete the queue or spool file. sangprabv sangpr...@gmail.com On Jun 21, 2010, at 7:10 PM, Waqas Farooq wrote: Hi All, I am facing an issue that when kannel is restarted after a long time, I get this message indefinitely repeated without any messages going or coming i.e. smsbox is doing nothing at all. What exactly does that mean? Secondly where does the kannel stores the outgoing message queue? [9] DEBUG: Message routed successfully. [9] DEBUG: sms_router: handling message (0xb1d0ad40 vs 0xb1d0ad40) Thanks a lot in advance, Hotmail: Powerful Free email with security by Microsoft. Get it now.
Re: Too long password
It should be in smsc_smpp.c sangprabv sangpr...@gmail.com On Jun 20, 2010, at 3:23 PM, hafez ahmad wrote: Dears, I get the following error when I try to connect my SMPP connection, my password is 9 chars 2010-06-20 10:52:19 [4228] [38] WARNING: SMPP: PDU element password too long (length is 9, should be 8) and I know that the SMPP allows 8 chars + the null char as terminator, I called my provider and they need 3 working days to change the password :/ is there any patch or anything I can do from my side to fix the problem. Regards, -- Hafez A.Ahmad Amman-Jordan mobile: 962-795708728 http://blog.hafezadnan.com
Re: Scheduling Question
Quick and dirty way is patch the query in the sqlbox source code. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: Hello, Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes how? Regards Tapan Thapa
Re: Scheduling Question
Agree with Rene but keep in mind by using that query for a high load system will reduce the speed since there will be overhead. sangprabv sangpr...@gmail.com On Jun 21, 2010, at 12:41 AM, Rene Kluwen wrote: Yes, sqlbox does scheduling of writing with a simple (1-line) patch. You can find it on the mailinglist, but to facilitate your search, here it is again: in gw/sqlbox_mysql.h something like: SELECT sql_id, momt, sender, receiver, udhdata, \ msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \ compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \ charset, boxc_id, binfo, meta_data FROM %S WHERE time UNIX_TIMESTAMP(NOW()) LIMIT 0,1 == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of sangprabv Sent: zondag 20 juni 2010 16:04 To: T.K.Thapa Cc: users@kannel.org Subject: Re: Scheduling Question Quick and dirty way is patch the query in the sqlbox source code. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: Hello, Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes how? Regards Tapan Thapa
Re: Scheduling Question
You can use throughput directive. sangprabv sangpr...@gmail.com On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote: Hello, Two more questions: 1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 message per second so that no queue is built at bearerbox for particular smsc. 2. If there is a queue at bearerbox (particular smsc), lets say 100 then till the time queue come down to less than 100, sqlbox do not push further messages to that particular smsc. Regards Tapan Thapa --- On Mon, 21/6/10, T.K.Thapa tapan_thapa2...@yahoo.com wrote: From: T.K.Thapa tapan_thapa2...@yahoo.com Subject: RE: Scheduling Question To: Rene Kluwen rene.klu...@chimit.nl Cc: Kannel list users@kannel.org Date: Monday, 21 June, 2010, 9:37 AM Hello, I have seen the same feature requested by many users. Can't we have the same by default in source code of sqlbox and put the query in configuration file. Regards Tapan Thapa --- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote: From: Rene Kluwen rene.klu...@chimit.nl Subject: RE: Scheduling Question To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' tapan_thapa2...@yahoo.com Cc: users@kannel.org Date: Sunday, 20 June, 2010, 11:11 PM Yes, sqlbox does scheduling of writing with a simple (1-line) patch. You can find it on the mailinglist, but to facilitate your search, here it is again: in gw/sqlbox_mysql.h something like: SELECT sql_id, momt, sender, receiver, udhdata, \ msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \ compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \ charset, boxc_id, binfo, meta_data FROM %S WHERE time UNIX_TIMESTAMP(NOW()) LIMIT 0,1 == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of sangprabv Sent: zondag 20 juni 2010 16:04 To: T.K.Thapa Cc: users@kannel.org Subject: Re: Scheduling Question Quick and dirty way is patch the query in the sqlbox source code. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: Hello, Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes how? Regards Tapan Thapa
Re: Scheduling Question
Alex is developing the feature, keep watching and contribute to the community :) sangprabv sangpr...@gmail.com On Jun 21, 2010, at 11:07 AM, T.K.Thapa wrote: Hello, I have seen the same feature requested by many users. Can't we have the same by default in source code of sqlbox and put the query in configuration file. Regards Tapan Thapa --- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote: From: Rene Kluwen rene.klu...@chimit.nl Subject: RE: Scheduling Question To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' tapan_thapa2...@yahoo.com Cc: users@kannel.org Date: Sunday, 20 June, 2010, 11:11 PM Yes, sqlbox does scheduling of writing with a simple (1-line) patch. You can find it on the mailinglist, but to facilitate your search, here it is again: in gw/sqlbox_mysql.h something like: SELECT sql_id, momt, sender, receiver, udhdata, \ msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \ compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \ charset, boxc_id, binfo, meta_data FROM %S WHERE time UNIX_TIMESTAMP(NOW()) LIMIT 0,1 == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of sangprabv Sent: zondag 20 juni 2010 16:04 To: T.K.Thapa Cc: users@kannel.org Subject: Re: Scheduling Question Quick and dirty way is patch the query in the sqlbox source code. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: Hello, Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes how? Regards Tapan Thapa
Re: For the ones using (open) smppbox...
What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: For the ones using (open) smppbox...
In the other words we can not have a pass-thru configuration then? sangprabv sangpr...@gmail.com On Jun 19, 2010, at 7:15 PM, Nikos Balkanas wrote: Nope. The way it works is (SMPP_CLIENT = ESME): ESME - SMPPBOX -Bearerbox-SMSC The connection from ESME is SMPP. The connection to Bearerbox is (Msg *), which is a kannel protocol. ESME can be any SMPP client. BR, Nikos - Original Message - From: sangprabv sangpr...@gmail.com To: Rene Kluwen rene.klu...@chimit.nl Cc: users@kannel.org Sent: Saturday, June 19, 2010 2:55 PM Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: For the ones using (open) smppbox...
CMIIW, it only route incoming MO from smsc-link. While MT routing so far done by explicitly define the smsc-id in the send-sms URL and or smsc_id field in the SQLBox. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 9:14 PM, Rene Kluwen wrote: I am thinking of a possibility. Does the group = smsbox-route also route incoming message from a box? Or just incoming messages from the smsc-link? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: zaterdag 19 juni 2010 14:15 To: sangprabv Cc: users@kannel.org Subject: Re: For the ones using (open) smppbox... Nope. The way it works is (SMPP_CLIENT = ESME): ESME - SMPPBOX -Bearerbox-SMSC The connection from ESME is SMPP. The connection to Bearerbox is (Msg *), which is a kannel protocol. ESME can be any SMPP client. BR, Nikos - Original Message - From: sangprabv sangpr...@gmail.com To: Rene Kluwen rene.klu...@chimit.nl Cc: users@kannel.org Sent: Saturday, June 19, 2010 2:55 PM Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: For the ones using (open) smppbox...
My goal is pass all traffics from ESME A to ESME B and vice versa (it's a about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX in between, CMIIW :) sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote: Pass-thru seems to work the other way around. For this to work, your clients need to run smppbox. The setup will be as follows: /SMPPBOX_CLIENT_1 YOUR_BEARERBOX \SMPPBOX_CLIENT_2 With the bearerbox reroute-smsc-id messages can be passed in between the client. Probably this setup is not what you wanted. But it is a possibility. == Rene -Original Message- From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 13:55 To: Rene Kluwen Cc: users@kannel.org Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: For the ones using (open) smppbox...
So the configuration would be like this: ESME_A-SMPPBOX_A-BEARERBOX-SMPPBOX_B-ESME_B is it? sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote: What about implementing reroute-smsbox-id on bearerbox? That would provide a consistent interface, similar to what reroute-smsc-id does already. Regards, Alex On Sat, Jun 19, 2010 at 5:26 PM, sangprabv sangpr...@gmail.com wrote: My goal is pass all traffics from ESME A to ESME B and vice versa (it's a about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX in between, CMIIW :) sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote: Pass-thru seems to work the other way around. For this to work, your clients need to run smppbox. The setup will be as follows: /SMPPBOX_CLIENT_1 YOUR_BEARERBOX \SMPPBOX_CLIENT_2 With the bearerbox reroute-smsc-id messages can be passed in between the client. Probably this setup is not what you wanted. But it is a possibility. == Rene -Original Message- From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 13:55 To: Rene Kluwen Cc: users@kannel.org Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: Forcing kannel to use one SMSC
Check userguide, there are some directives you can use. allowed-smsc-id, prefered-smsc-id, denied-smsc-id in the smsc group. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 11:26 PM, Waqas Farooq wrote: Hi All, I am using two SMSCs one for sending and one for receiving. Can somebody please guide how can I force kannel not to send message using the receiver SMSC even if the link to sender SMSC goes down? I tried using forced-sms-id but if the link goes down, it starts sending the messages to receiver SMSC! Any ideas or pointers would be highly appreciated. Also if I need to patch Kannel for this behavior if no solution exists, where should I start looking at? Thanks a lot in advance! Best, Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
Re: For the ones using (open) smppbox...
This will be very exciting achievements for Kannel community. It will be an enterprise achievements. +1 for this project Rene. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 12:22 AM, Rene Kluwen wrote: Yes, that is the idea. From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 19:12 To: Alejandro Guerrieri Cc: Rene Kluwen; users@kannel.org Subject: Re: For the ones using (open) smppbox... So the configuration would be like this: ESME_A-SMPPBOX_A-BEARERBOX-SMPPBOX_B-ESME_B is it? sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote: What about implementing reroute-smsbox-id on bearerbox? That would provide a consistent interface, similar to what reroute-smsc-id does already. Regards, Alex On Sat, Jun 19, 2010 at 5:26 PM, sangprabv sangpr...@gmail.com wrote: My goal is pass all traffics from ESME A to ESME B and vice versa (it's a about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX in between, CMIIW :) sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote: Pass-thru seems to work the other way around. For this to work, your clients need to run smppbox. The setup will be as follows: /SMPPBOX_CLIENT_1 YOUR_BEARERBOX \SMPPBOX_CLIENT_2 With the bearerbox reroute-smsc-id messages can be passed in between the client. Probably this setup is not what you wanted. But it is a possibility. == Rene -Original Message- From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 13:55 To: Rene Kluwen Cc: users@kannel.org Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: For the ones using (open) smppbox...
This scheme is known as relaying between Kannel and it is handled by kannel_*_sms() in the smsc_http.c where by default or we can redefine it by ourself. Using this scheme there will be too many inside hops. And I'm not sure this is the correct solution. I prefer ESME_A - SMPPBOX -ESME_B (The best thing) or ESME_A-SMPPBOX_A-BEARERBOX-SMPPBOX_B-ESME_B where reroute will be directly handled by smppbox or bearerbox configuration. Well this is a subjective opinion from me. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 1:24 AM, Nikos Balkanas wrote: There is another way to do this using the sendsms interface. smsbox1-bearerbox1-HTTP smsc-smsbox2-bearerbox2 BR, Nikos - Original Message - From: sangprabv To: Rene Kluwen Cc: users@kannel.org Sent: Saturday, June 19, 2010 8:36 PM Subject: Re: For the ones using (open) smppbox... This will be very exciting achievements for Kannel community. It will be an enterprise achievements. +1 for this project Rene. sangprabv sangpr...@gmail.com On Jun 20, 2010, at 12:22 AM, Rene Kluwen wrote: Yes, that is the idea. From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 19:12 To: Alejandro Guerrieri Cc: Rene Kluwen; users@kannel.org Subject: Re: For the ones using (open) smppbox... So the configuration would be like this: ESME_A-SMPPBOX_A-BEARERBOX-SMPPBOX_B-ESME_B is it? sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:46 PM, Alejandro Guerrieri wrote: What about implementing reroute-smsbox-id on bearerbox? That would provide a consistent interface, similar to what reroute-smsc-id does already. Regards, Alex On Sat, Jun 19, 2010 at 5:26 PM, sangprabv sangpr...@gmail.com wrote: My goal is pass all traffics from ESME A to ESME B and vice versa (it's a about reroute I guess). So there should be and SMPPBOX rather than BEARERBOX in between, CMIIW :) sangprabv sangpr...@gmail.com On Jun 19, 2010, at 10:16 PM, Rene Kluwen wrote: Pass-thru seems to work the other way around. For this to work, your clients need to run smppbox. The setup will be as follows: /SMPPBOX_CLIENT_1 YOUR_BEARERBOX \SMPPBOX_CLIENT_2 With the bearerbox reroute-smsc-id messages can be passed in between the client. Probably this setup is not what you wanted. But it is a possibility. == Rene -Original Message- From: sangprabv [mailto:sangpr...@gmail.com] Sent: zaterdag 19 juni 2010 13:55 To: Rene Kluwen Cc: users@kannel.org Subject: Re: For the ones using (open) smppbox... What about a pass-thru(forward) configuration between connections? Is it possible, let's say we want to pass traffics SMPP_CLIENT_A -SMPPBOX-SMPP_CLIENT_B. sangprabv sangpr...@gmail.com On Jun 19, 2010, at 3:31 AM, Rene Kluwen wrote: Today, I committted a patch to smppbox svn trunk that allows for long (catenated) messages to be delivered via the same smsc, in case of load balancing. This version obsoletes that patch that is available for download on the chimit server. For the latest (stand-alone) version, use svn co https://svn.kannel.org/smppbox/trunk == Rene Kluwen
Re: Kannel as an SMSC
Please do man patch, you will find the answer. sangprabv sangpr...@gmail.com On Jun 18, 2010, at 10:46 PM, Mohamed Ould Mohamed Salem wrote: I downloaded the SMPPBox, tried to compile it but it gives some errors after make: -- SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:1851:1: warning: OCTSTR redefined smppbox.c:1827:1: warning: this is the location of the previous definition smppbox.c:1852:1: warning: SINGLE_GROUP redefined smppbox.c:1830:1: warning: this is the location of the previous definition smppbox.c:1855:1: warning: MULTI_GROUP redefined smppbox.c:1837:1: warning: this is the location of the previous definition smppbox.c: In function ‘send_pdu’: smppbox.c:379: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible pointer type /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ smppbox.c:379: error: too many arguments to function ‘smpp_pdu_pack’ smppbox.c: In function ‘read_pdu’: smppbox.c:436: error: too many arguments to function ‘smpp_pdu_unpack’ make[2]: *** [smppbox.o] Error 1 make[2]: Leaving directory `/root/trunks/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/trunks' make: *** [all] Error 2 --- I saw in one thread on the list that it should be patched, probably not the right place to ask this question, but patch with what and how? Yours, Mohamed --- On Fri, 6/18/10, Konstantin Vayner pon...@appcell.net wrote: From: Konstantin Vayner pon...@appcell.net Subject: Re: Kannel as an SMSC To: Mohamed Ould Mohamed Salem medms...@yahoo.fr Date: Friday, June 18, 2010, 3:35 PM It's an svn tree Use an svn (subversion) client and point it to that repository On Fri, Jun 18, 2010 at 4:30 PM, Mohamed Ould Mohamed Salem medms...@yahoo.fr wrote: Sorry for being a nood, but how do i download it, file by file? or is there a compressed file that i missed? Yours, Mohamed From: Konstantin Vayner pon...@appcell.net To: Mohamed Ould Mohamed Salem medms...@yahoo.fr Cc: Kannel users users@kannel.org Sent: Fri, June 18, 2010 1:09:13 PM Subject: Re: Kannel as an SMSC Hi Mohamed, You can use SMPPbox with Kannel - it is an smpp server There is opensource one release by Rene Kluwen - you can find it here: https://svn.kannel.org/smppbox/trunk and it is supported by regular community means (via this mailing list). OR Theres commercial smppbox created, maintained and supported by Stipe Tolj - in this case you need to contact him directly regarding pricing and availability. Regards, Konstantin On Fri, Jun 18, 2010 at 3:57 PM, Mohamed Ould Mohamed Salem medms...@yahoo.fr wrote: Hello everyone, I want to connect my kannel box with another sms gateway via SMPP, with neither of them being an smsc, is there a way to do this with kannel. If not, can kannel act as an smsc? Yours, Mohamed
Re: how can i configure dlr-url
It must be dlr-url not drl-url check your $url variable. sangprabv sangpr...@gmail.com On Jun 16, 2010, at 8:22 PM, steven edward wrote: hi I want to configure my kannel so that after send sms using cgi-bin/sendsms i want to return to another page known as smsAlert.php i found on google that if i can use dlr-url and define my path in that variable it might work, but the problem is when i place dlr-url in kannel.conf it give the below error as the smsAlert.php file is not there while i have placed the file in that path r...@steven-laptop:/home/steven# bearerbox -v 1 /etc/kannel/kannel.conf 2010-06-16 15:59:53 [4908] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-06-16 15:59:53 [4908] [0] ERROR: fopen failed: couldn't open `http://127.0.0.1/ams/includes/smsAlert.php?type=%d' 2010-06-16 15:59:53 [4908] [0] ERROR: System error 2: No such file or directory 2010-06-16 15:59:53 [4908] [0] PANIC: Failed to load whole configuration. Aborting! 2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(gw_panic+0xd4) [0x80d4674] 2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(cfg_read+0x6cf) [0x80bfd4f] 2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(main+0xeb) [0x8054b3b] 2010-06-16 15:59:53 [4908] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x5b7b56] 2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox [0x8053f31] and when i try to pass dlr-url on a url it did not redirect me to my path after sending the message it only display okay sms 0: Accepted for delivery $url = http://;. localhost . : . 13013 . /cgi-bin/sendsms?username= . steven . password= . 123456 . to= . $in_phoneNumber . text= . $msg . dlr-mask=31drl-url='http://localhost/ams/includes/smsAlert.php?type=%d;'; PLEASE CAN ANY ONE HELP ME OR IF YOU KNOW ANY OTHER WAY OF CALLING ANOTHER PAGE AFTER SEND A MESSAGE USING CGI OR I CAN I SEND MULTIPLE SMS WHIT DIFFERENT CONTENT
Re: Send multiple sms using php script
Quick and dirty solution is using php-curl. Call sendsms URL and loop in it. sangprabv sangpr...@gmail.com On Jun 11, 2010, at 6:06 PM, steven edward wrote: hi! Am a new user of kannel and i want to send more than one sms am using header to send sms it is okay but i don known how can i return to my page in order to send another one to another phone number. my header http://localhost:13013/cgi-bin/sendsms?username=sedupassword=testto=0715323232text=Hello+world also my kannel failed to redirect received sms to get-url address am using huawei modem E1550 this is my kannel.conf file # # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port = 13000 admin-password = 12345 status-password = 12345 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 wapbox-port = 13002 smsbox-port = 13001 wdp-interface-name = * log-file = /tmp/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group = wapbox bearerbox-host = localhost log-file = /tmp/wapbox.log group = smsc smsc = at smsc-id = vodamodem modemtype = auto device=/dev/ttyUSB0 sms-center= +25578004 my-number = +255763362219 connect-allow-ip = 127.0.0.1 log-level = 0 sim-buffering = true keepalive = 5 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #global-sender = +255763362219 global-sender = +255763362219 log-level = 0 log-file = /tmp/smsbox.log access-log = /tmp/access.log group = sendsms-user username = manyasi password = manyasi concatenation= true max-messages = 10 group = sms-service keyword = #keyword-regex = .* catch-all = yes max-messages = 10 get-url = http://localhost/ams/sms/recieve.php?mobile=%pcontent=%a; group = modems id = huawei_e1550_00 name = Huawei E1550 name = Generic Modem detect-string = huawei init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #sim-buffering = true message-storage = SM need-sleep = true speed = 9600
Re: kannel delivery report
use dlr-mask and do some scripting manipulation to fit your need sangprabv sangpr...@gmail.com On May 28, 2010, at 8:59 PM, Budi wibowo wrote: How to make kannel passthrough the dlr receive from smsc? -Original Message- From: Rene Kluwen rene.klu...@chimit.nl Date: Fri, 28 May 2010 14:42:11 To: 'Nikos Balkanas'nbalka...@gmail.com; bwib...@gmail.com Cc: users@kannel.org Subject: RE: kannel delivery report The open source version is stable enough to use it in production. I use it for a couple of years myself now and others too. Never had a problem with it. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: vrijdag 28 mei 2010 8:00 To: bwib...@gmail.com Cc: users@kannel.org Subject: Re: kannel delivery report Hi, The suggestions I made will replace your SMPP server (more likely proxy). For the commercial SMPPbox you need to contact Stipe (s...@tolj.org) or download the opensource SMPPbox from http://www.chimit.nl/kannel/smppbox.tar. Bear in mind that the opensource has not been tested in production, yet. BR, Nikos - Original Message - From: Budi wibowo bwib...@gmail.com To: Nikos Balkanas nbalka...@gmail.com; users@kannel.org Sent: Friday, May 28, 2010 8:49 AM Subject: Re: kannel delivery report Hi nikos Assume I don't to change anything on smpp server so addon option is more suitable for me. Where I can the add ons? Thx --Original Message-- From: Nikos Balkanas To: budi wibowo To: users@kannel.org Subject: Re: kannel delivery report Sent: May 28, 2010 11:36 Hi, You cannot pass through the exact PDU. But you can use kannel's dlr-url feature to pass important parameters you want from it (for a list read User's guide). For this to work SMPPServer should have an HTTP interface. Another option is to look into SMPPBox. It will handle DLRs and exists both as a commercial add-on provided by Stipe, or as an open-source addition to bearerbox, however, its production stability is unknown. BR, Nikos - Original Message - From: budi wibowo To: users@kannel.org Sent: Friday, May 28, 2010 3:45 AM Subject: kannel delivery report hi list i have kannel installed and used as sender-ID modifier, topology as follows client---SMPPServer---kannelSMSC 1. client send sms to SMPPServer, 2. SMPPServer send sms to kannel, kannel modify sender-ID and send back to SMPP Server 3. SMPPSever send sms to SMSC in this scenario SMPPServer will always get DLR 100% from kannel, is there any mechanism on kannel to passthrough DLR from SMSC , so i can get real DLR from SMSC TIA budi
Re: kannel delivery report
Sorry incomplete message. Also enable dlr-url :) sangprabv sangpr...@gmail.com On May 28, 2010, at 10:43 PM, sangprabv wrote: use dlr-mask and do some scripting manipulation to fit your need sangprabv sangpr...@gmail.com On May 28, 2010, at 8:59 PM, Budi wibowo wrote: How to make kannel passthrough the dlr receive from smsc? -Original Message- From: Rene Kluwen rene.klu...@chimit.nl Date: Fri, 28 May 2010 14:42:11 To: 'Nikos Balkanas'nbalka...@gmail.com; bwib...@gmail.com Cc: users@kannel.org Subject: RE: kannel delivery report The open source version is stable enough to use it in production. I use it for a couple of years myself now and others too. Never had a problem with it. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: vrijdag 28 mei 2010 8:00 To: bwib...@gmail.com Cc: users@kannel.org Subject: Re: kannel delivery report Hi, The suggestions I made will replace your SMPP server (more likely proxy). For the commercial SMPPbox you need to contact Stipe (s...@tolj.org) or download the opensource SMPPbox from http://www.chimit.nl/kannel/smppbox.tar. Bear in mind that the opensource has not been tested in production, yet. BR, Nikos - Original Message - From: Budi wibowo bwib...@gmail.com To: Nikos Balkanas nbalka...@gmail.com; users@kannel.org Sent: Friday, May 28, 2010 8:49 AM Subject: Re: kannel delivery report Hi nikos Assume I don't to change anything on smpp server so addon option is more suitable for me. Where I can the add ons? Thx --Original Message-- From: Nikos Balkanas To: budi wibowo To: users@kannel.org Subject: Re: kannel delivery report Sent: May 28, 2010 11:36 Hi, You cannot pass through the exact PDU. But you can use kannel's dlr-url feature to pass important parameters you want from it (for a list read User's guide). For this to work SMPPServer should have an HTTP interface. Another option is to look into SMPPBox. It will handle DLRs and exists both as a commercial add-on provided by Stipe, or as an open-source addition to bearerbox, however, its production stability is unknown. BR, Nikos - Original Message - From: budi wibowo To: users@kannel.org Sent: Friday, May 28, 2010 3:45 AM Subject: kannel delivery report hi list i have kannel installed and used as sender-ID modifier, topology as follows client---SMPPServer---kannelSMSC 1. client send sms to SMPPServer, 2. SMPPServer send sms to kannel, kannel modify sender-ID and send back to SMPP Server 3. SMPPSever send sms to SMSC in this scenario SMPPServer will always get DLR 100% from kannel, is there any mechanism on kannel to passthrough DLR from SMSC , so i can get real DLR from SMSC TIA budi
[OOT]Assign Connection to Virtual IP
Hi, Sorry for this OOT question. I have 1 ethernet with this setting: eth0 192.168.1.1 eth0:0 192.168.1.2 I assign Kannel HTTP SMSC to listen on 192.168.1.2 I can telnet locally to that interface. But when I try from other host, it can't. There is no firewall between Kannel and other hosts. Many thanks for any reply. sangprabv sangpr...@gmail.com
Re: Problem getting Kannel to receive SMS
capture your log, with log-level 0 and share to us. sangprabv sangpr...@gmail.com On May 18, 2010, at 3:58 PM, Ahmad Pakhri Yahya wrote: Hi, I’m new to Kannel and am having problem to get Kannel to receive SMS from the phone. Currently it’s running on Ubuntu and using Nokia 5610 as the modem. I have no problem sending sms through kannel, but receiving SMS is still unsuccessful. No messages in the log (bearer or sms) regarding received sms, which I suspect that kannel is not being notified by the phone about the sms. How do I get the phone to inform Kannel about the SMS received. Below is my config. # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 admin-allow-ip = 192.168.1.16 log-file = /var/log/kannel/bearerbox.log log-level = 0 smsbox-port = 13001 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 box-allow-ip = 192.168.1.16 #store-file=/etc/kannel/kannel.store # SMSC group = smsc smsc = at modemtype = nokiaphone device = /dev/ttyACM6 #device = /dev/ttyS0 speed = 0 smsc-id = nokiaphone port = 13013 log-level = 0 log-file = /var/log/kannel/smsbox.log #sim-buffering = true # Nokia mobile phone setup group = modems id = nokiaphone name = Nokia 6500 config detect-string=Nokia detect-string2=Nokia 6500 init-string = ATZ #init-string = AT+CMGF=1 #init-string = AT+CNMI=1,2,0,0,0 #init-string = AT+CNMI=? #init-string = AT Q0 V1 E1 S0=0 C1 D2 +FCLASS=0 #speed = 19200 enable-hwhs = AT+IFC=2,2 message-storage = SM need-sleep=true keepalive-cmd=AT+CBC;+CSQ group = smsbox smsbox-id = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-level=0 log-file = /var/log/kannel/smsbox.log sendsms-chars=0123456789 +- access-log = /var/log/kannel/access.log group = smsbox-route smsbox-id = smsbox smsc-id = nokiaphone # SEND-SMS USERS group = sendsms-user username = kanneluser password = kannelpass max-messages = 10 concatenation = true # SMS Service group = sms-service keyword = default #keyword-regex = .* catch-all = yes #max-messages = 10 #concatenation = true get-url = http://localhost/test; #exec /home/brite/watcer/stopwatch omit-empty = true accept-x-kannel-headers = true Please help me to read the SMS from the phone. Thank you. Regards, Ahmad Pakhri Yahya
Re: [Error]smppbox
Yes you are correct, I need to patch smpp_pdu_pack and smpp_pdu_unpcak function to make it work with my CVS version. Now it works and play with it :) sangprabv sangpr...@gmail.com On May 9, 2010, at 5:48 PM, Nikos Balkanas wrote: Hi, I patched against latest CVS on Solaris 10.5 using gcc. I had to patch by hand since patch was created to December 2009 cvs. I get a few warnings but compilation gets through: gw/smppbox.c: In function `read_from_box': gw/smppbox.c:200: warning: unused variable `ret' gw/smppbox.c: In function `msg_to_pdu': gw/smppbox.c:366: warning: unused variable `msgid' gw/smppbox.c: In function `accept_smpp': gw/smppbox.c:1156: warning: too few arguments for format gw/smppbox.c: In function `run_smppbox': gw/smppbox.c:1341: warning: cast from pointer to integer of different size gw/smppbox.c:1339: warning: unused variable `msg' gw/smppbox.c: In function `wait_for_connections': gw/smppbox.c:1399: warning: cast to pointer from integer of different size gw/smppbox.c: In function `smppboxc_run': gw/smppbox.c:1414: warning: cast from pointer to integer of different size gw/smppbox.c: In function `init_smppbox': gw/smppbox.c:1505: warning: unused variable `p' gw/smppbox.c:1507: warning: unused variable `ssl' gw/smppbox.c: At top level: gw/smppbox.c:165: warning: 'write_to_bearerboxes' defined but not used gw/smppbox.c:177: warning: 'outstanding_requests' defined but not used ... Try to get either the cvs version mentioned in the patch, or the latest cvs. BR, Nikos - Original Message - From: sangprabv sangpr...@gmail.com To: users users@kannel.org Sent: Sunday, May 09, 2010 4:42 AM Subject: [Error]smppbox Hi List, Just download smppbox and tried to compile it. It returns these error during make: gw/smppbox.c: In function ‘check_login’: gw/smppbox.c:105: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result gw/smppbox.c: In function ‘send_pdu’: gw/smppbox.c:288: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible pointer type gw/smsc/smpp_pdu.h:230: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ gw/smppbox.c:288: error: too many arguments to function ‘smpp_pdu_pack’ gw/smppbox.c: In function ‘read_pdu’: gw/smppbox.c:345: error: too many arguments to function ‘smpp_pdu_unpack’ gw/smppbox.c: In function ‘accept_smpp’: gw/smppbox.c:1156: warning: too few arguments for format make: *** [gw/smppbox.o] Error 1 Anybody can help me to resolve this error? Many thanks for the reply sangprabv sangpr...@gmail.com
[Error]smppbox
Hi List, Just download smppbox and tried to compile it. It returns these error during make: gw/smppbox.c: In function ‘check_login’: gw/smppbox.c:105: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result gw/smppbox.c: In function ‘send_pdu’: gw/smppbox.c:288: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible pointer type gw/smsc/smpp_pdu.h:230: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ gw/smppbox.c:288: error: too many arguments to function ‘smpp_pdu_pack’ gw/smppbox.c: In function ‘read_pdu’: gw/smppbox.c:345: error: too many arguments to function ‘smpp_pdu_unpack’ gw/smppbox.c: In function ‘accept_smpp’: gw/smppbox.c:1156: warning: too few arguments for format make: *** [gw/smppbox.o] Error 1 Anybody can help me to resolve this error? Many thanks for the reply sangprabv sangpr...@gmail.com
Re: smppbox
Wow it's a very breaking news for Kannel's community. You are so kind Rene, I believe this contribution will be very helpful for open source community. Many thanks for it Bro. sangprabv sangpr...@gmail.com On May 8, 2010, at 3:56 AM, Rene Kluwen wrote: Lectori Salutem, This email is about Chimit's smppbox. The rights to the smppbox code have been obtained by a third party, but fortunately there is some good news for the open source community. An early version of smppbox (smpp v.3.0) will now be donated back to the community. This version is by no means perfect and developers and investors are invited to contribute. All in the spirit of being an open-source community. Chimit already developed the successful sqlbox, which is now part of the main stream Kannel distribution, so if we all cooperate, this smppbox can go the same way. To get you started, here is a preliminary download: http://www.chimit.nl/kannel/smppbox.tar. Unfortunately, due to the expected response, we cannot give you support on this software, other than via the usual Kannel users mailing groups. There is nobody with experience on this particular matter of software, so please bear with me. I have little time to spend on free software. But releasing smppbox is a priority now, even when I cannot give sufficient support to all of you. If you want a carrier-grade, commerialy widely deployed smppbox or EMI server functionality, we direct you to the alternatives. For instance the smppbox that Stipe Tolj provides (s...@tolj.org). Cheers to all, Rene Kluwen Chimit
Re: Quote and backslash issue
This is more about SQLBox is trying to play safe. One tricky solution is replace ' with ` when you inject MT. sangprabv sangpr...@gmail.com On May 3, 2010, at 10:04 AM, Emmanuel CHANSON wrote: Below the logs generated during a test done with fakesmsc: 2010-05-03 13:56:47 [7886] [0] DEBUG: Got message 2: +687xx +687yy text l\'e bearerbox, smsbox, sqlbox .log == bearerbox.log == 2010-05-03 13:55:32 [7638] [6] DEBUG: column=source buffer_type=253 max_length=0 length=40 2010-05-03 13:55:32 [7638] [6] DEBUG: column=destination buffer_type=253 max_length=0 length=40 2010-05-03 13:55:32 [7638] [6] DEBUG: column=boxc buffer_type=253 max_length=0 length=40 2010-05-03 13:55:32 [7638] [6] DEBUG: DLR[mysql]: created DLR message for URL http://192.168.0.41/playsms/plugin/gateway/kannel/dlr.php?type=%dslid=0uid=12 2010-05-03 13:55:32 [7638] [6] DEBUG: removing DLR from database 2010-05-03 13:55:32 [7638] [6] DEBUG: sql: DELETE FROM `dlr` WHERE `smsc`=? AND `ts`=? LIMIT 1 2010-05-03 13:55:32 [7638] [16] DEBUG: send_msg: sending msg to box: 127.0.0.1 2010-05-03 13:55:32 [7638] [16] DEBUG: boxc_sender: sent message to 127.0.0.1 2010-05-03 13:55:32 [7638] [15] DEBUG: boxc_receiver: got ack 2010-05-03 13:55:49 [7638] [15] DEBUG: boxc_receiver: heartbeat with load value 0 received == smsbox.log == 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 63 68 65 2f 32 2e 32 2e 31 34 20 28 46 65 64 6f che/2.2.14 (Fedo 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 72 61 29 0d 0a 58 2d 50 6f 77 65 72 65 64 2d 42 ra)..X-Powered-B 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 79 3a 20 50 48 50 2f 35 2e 33 2e 32 0d 0a 50 72 y: PHP/5.3.2..Pr 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 61 67 6d 61 3a 20 6e 6f 2d 63 61 63 68 65 0d 0a agma: no-cache.. 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length: 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 30 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 0..Connection: c 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 6c 6f 73 65 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 lose..Content-Ty 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 70 65 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63 pe: text/html; c 2010-05-03 13:55:32 [7684] [8] DEBUG: data: 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 0d 0a harset=UTF-8 2010-05-03 13:55:32 [7684] [8] DEBUG: Octet string dump ends. == sqlbox.log == 2010-05-03 13:47:18 [7675] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) maps to pid 7675. 2010-05-03 13:47:19 [7675] [0] DEBUG: Started thread 3 (sqlbox.c:function) 2010-05-03 13:47:19 [7675] [3] DEBUG: Thread 3 (sqlbox.c:function) maps to pid 7675. 2010-05-03 13:47:19 [7675] [3] INFO: Client connected from 127.0.0.1 2010-05-03 13:47:19 [7675] [3] DEBUG: Connecting to 127.0.0.1 2010-05-03 13:47:19 [7675] [3] INFO: Connected to bearerbox at localhost port 13001. 2010-05-03 13:47:19 [7675] [3] DEBUG: Started thread 4 (sqlbox.c:bearerbox_to_smsbox) 2010-05-03 13:47:19 [7675] [4] DEBUG: Thread 4 (sqlbox.c:bearerbox_to_smsbox) maps to pid 7675. 2010-05-03 13:47:46 [7675] [3] DEBUG: smsbox_to_bearerbox: sms received 2010-05-03 13:55:07 [7675] [3] DEBUG: smsbox_to_bearerbox: sms received == smsbox.log == 2010-05-03 13:56:46 [7684] [2] DEBUG: HTTP: Creating HTTPClient for `192.168.0.41'. 2010-05-03 13:56:46 [7684] [2] DEBUG: HTTP: Created HTTPClient area 0xb2f00568. 2010-05-03 13:56:46 [7684] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.0.41 2010-05-03 13:56:46 [7684] [3] INFO: sendsms used by playsms 2010-05-03 13:56:46 [7684] [3] INFO: sendsms sender:playsms:+687xx (192.168.0.41) to:+687yy msg:l'e 2010-05-03 13:56:46 [7684] [3] DEBUG: Stored UUID f28389a0-8bd3-431c-83ae-0a3c7e2afcca 2010-05-03 13:56:46 [7684] [3] DEBUG: message length 3, sending 1 messages 2010-05-03 13:56:46 [7684] [3] DEBUG: Status: 202 Answer: Sent. 2010-05-03 13:56:46 [7684] [3] DEBUG: Delayed reply - wait for bearerbox == sqlbox.log == 2010-05-03 13:56:46 [7675] [3] DEBUG: smsbox_to_bearerbox: sms received == bearerbox.log == 2010-05-03 13:56:46 [7638] [15] DEBUG: boxc_receiver: sms received 2010-05-03 13:56:46 [7638] [15] DEBUG: DLR[mysql]: Adding DLR smsc=Fake, ts=f28389a0-8bd3-431c-83ae-0a3c7e2afcca, src=+687xx, dst=+687yy, mask=31, boxc= 2010-05-03 13:56:46 [7638] [15] DEBUG: adding DLR entry into database 2010-05-03 13:56:46 [7638] [15] DEBUG: sql: INSERT INTO `dlr` (`smsc`, `ts`, `source`, `destination`, `service`, `url`, `mask`, `boxc`, `status`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, 0) 2010-05-03 13:56:46 [7638] [15] DEBUG: send_msg: sending msg to box: 127.0.0.1 2010-05-03 13:56:46 [7638] [6] DEBUG: smsc_fake: sending message to client 2010-05-03 13:56:46 [7638] [6] DEBUG: SMSC[Fake]: creating DLR message 2010-05-03 13:56:46 [7638] [6] DEBUG: SMSC[Fake]: DLR = http://192.168.0.41/playsms/plugin
Unknown TLV
Hi, What does this warning means? 2010-03-18 08:40:39 [6123] [6] WARNING: SMPP: Unknown TLV(0x1401,0x0004,08a775f9) for PDU type (deliver_sm) received! Many thanks for the response. sangprabv sangpr...@gmail.com
Re: Re : How to send SMS with UDH using HTTP SMSC
Each telco has it's own API, so nothing is standard for HTTP SMSC. Please contact your telco. sangprabv sangpr...@gmail.com On Mar 11, 2010, at 3:23 PM, Kidi Kidi wrote: thank you sangprabv for your answer, I) Firstly If i send a normal text message (sms without UDH), the remote server get it and send back a normal text message (everything goes well). (send-url = http://remote_server:13025/cgi-bin/sendsms?username=12password=34from=%Pto=%ptext=%a) but if i send a message with UDH the remote server take it like a normal text message (what is not good). (send-url = http://remote_server:13025/cgi-bin/sendsms?username=12password=34from=%Pto=%ptext=%audh=%u;). you said that it depends on the remote server API, so what kind of API the remote server must have? II) secondly If i send a wap push (PAP, SI or SL) through my modem, i don't use UDH, so i want to know if it is possible to send wap push (PAP, SI or SL) through my HTTP SMSC. For that way i don't have to use UDH. Hello all, I'm able to send sms with parameters : udh, dlr-url, dlr-mask using a modem (smsc = at). Now i try to use a HTTP SMSC (smsc = http) and i want to know if it's possible and how can i do that.
Re: How to send SMS with UDH using HTTP SMSC
Yes you can do that. But it will be depends on your telco API. sangprabv sangpr...@gmail.com On Mar 11, 2010, at 12:14 AM, Kidi Kidi wrote: Hello all, I'm able to send sms with parameters : udh, dlr-url, dlr-mask using a modem (smsc = at). Now i try to use a HTTP SMSC (smsc = http) and i want to know if it's possible and how can i do that.
Re: Duplicated FID (foreign_id)
Does the duplicated FID happened on the same MSISDN? If not then it's not an issue, since Kannel always search DLR by MSISDN and FID. sangprabv sangpr...@gmail.com On Mar 11, 2010, at 1:26 AM, Nikos Balkanas wrote: Hi, Each smsc is generating its own unique ID called foreign ID (FID). This should be unique per SMSc according to the protocol. This is notified to kannel in the submit_sm_resp PDU (assuming SMPP) sent by the SMSc and kannel correlates that to its message id. For the different FID formats refer to message-type in User's Guide. BR, Nikos - Original Message - From: Gabor Maros gabor.ma...@erstebank.hu To: users@kannel.org Sent: Wednesday, March 10, 2010 8:03 PM Subject: Duplicated FID (foreign_id) Hi, can anybody tell me how is FID generated or on which side. I ask it because I have a problem: in access.log there are different messages that have the same PIDs, and I need to know where I should search the problem (on kannel side, or on my sms provider's side). Thanks! -- View this message in context: http://old.nabble.com/Duplicated-FID-%28foreign_id%29-tp27853586p27853586.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Duplicated FID (foreign_id)
Thanks for the correction ;) sangprabv sangpr...@gmail.com On Mar 11, 2010, at 12:26 PM, Nikos Balkanas wrote: Correction: Kannel always searches DLR by SMSc, FID and MSISDN ;-) BR, Nikos - Original Message - From: sangprabv sangpr...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Gabor Maros gabor.ma...@erstebank.hu; users@kannel.org Sent: Thursday, March 11, 2010 3:10 AM Subject: Re: Duplicated FID (foreign_id) Does the duplicated FID happened on the same MSISDN? If not then it's not an issue, since Kannel always search DLR by MSISDN and FID. sangprabv sangpr...@gmail.com On Mar 11, 2010, at 1:26 AM, Nikos Balkanas wrote: Hi, Each smsc is generating its own unique ID called foreign ID (FID). This should be unique per SMSc according to the protocol. This is notified to kannel in the submit_sm_resp PDU (assuming SMPP) sent by the SMSc and kannel correlates that to its message id. For the different FID formats refer to message-type in User's Guide. BR, Nikos - Original Message - From: Gabor Maros gabor.ma...@erstebank.hu To: users@kannel.org Sent: Wednesday, March 10, 2010 8:03 PM Subject: Duplicated FID (foreign_id) Hi, can anybody tell me how is FID generated or on which side. I ask it because I have a problem: in access.log there are different messages that have the same PIDs, and I need to know where I should search the problem (on kannel side, or on my sms provider's side). Thanks! -- View this message in context: http://old.nabble.com/Duplicated-FID-%28foreign_id%29-tp27853586p27853586.html Sent from the Kannel - User mailing list archive at Nabble.com.
SMSC HTTP SOAP
Hi, I see in the smsc folder there's smsc_soap.c. But unfortunatelly the documentation never describe how to use it. Is there anyone already implement this type of SMSC? Many thanks. sangprabv sangpr...@gmail.com
Re: SMSC HTTP SOAP
Thanks for the reply Alex, so it means it is not recommended to use it in production environment? sangprabv sangpr...@gmail.com On Feb 22, 2010, at 10:59 PM, Alejandro Guerrieri wrote: That's old and experimental code I think. I've managed to make it work time ago, bug was buggy and abandoned soon after. Honestly I don't remember too well how was it, but found some help by reading the code. Regards, Alex On Mon, Feb 22, 2010 at 4:51 PM, sangprabv sangpr...@gmail.com wrote: Hi, I see in the smsc folder there's smsc_soap.c. But unfortunatelly the documentation never describe how to use it. Is there anyone already implement this type of SMSC? Many thanks. sangprabv sangpr...@gmail.com
WARNING: Could not convert GSM (0xcc) to Unicode.
I got so many WARNING: Could not convert GSM (0xcc) to Unicode. message in my SMPP connection. What does it mean and how to solve it? TIA sangprabv sangpr...@gmail.com
Re: Multiple sms
Do you mean bulk or mass SMS? Or is it a concatenated SMS? I believe there are some threads about it in the archieves. sangprabv sangpr...@gmail.com On Jan 31, 2010, at 11:27 AM, kani yarasu wrote: I am doing pre-final year engineering in Kongu engineering college,Erode I am doing project in which we need to send multiple sms. Can anypne help us to send multiple sms via kannel? -- -- With regards. D.Kaniyarasu contact: 96004 64485
Re: Kannel doesn't start as user 'kannel'
Mostly about privilege, check your files and folders permission :) Willy On Jan 28, 2010, at 9:43 AM, CHRONIS, N. wrote: Hello everybody, I fixed some error. Now kannel is launching as user 'root' but when I want to launch it as user 'kannel' nothing happend. Any idea? Best Regards, Nikos
[ASK]Queue Spool
Hi, I am curious with what actually Kannel does with queue list, I am using spool method. I see some files still there, are they actually have been sent and Kannel failed to remove it? If they have not sent yet so how to push Kannel to send them? If Kannel can not force to send them, so can we say that we loose traffic here? TIA. Willy
Re: [URGENT]Connection Timeout to My Kannel
Will it be helpful if I run multiple smsboxes? Do you have any suggestion to solve this? Thanks alot for the replies. Willy On Nov 15, 2009, at 5:11 AM, seikath wrote: Its not Kannel the bottleneck. If you use mysql backend, check the parallel insert , if they are complicated or not .. Kannel is able to kill any not good configured web server. 100/s is nothing for Kannel, keep in mind the retry mechanism, if the backend server is dead , even you restart the backend, the retry request will be waiting and they will kill it again :) sangprabv wrote: Hi, I need to solve this problem. Currently my Kannel is servicing a huge traffic (more than 100 requests per second). My telco complains that they receive many connection timeout. Let's suppose there is no network issue here. Is there any options to increase Kannel's thread? So it can serves more requests? TIA. Willy
Inconsistence Throughput
Hi, I have SqlBox with Kannel-cvs20080827 and set throughput = 100 in my kannel configuration file. It suppose to be able to send 100 MT/second which is equal to 6000 MT/minute. I tried to inject 315 thousands MT. At the first minute it reached almost 15 thousands MT/minute but after that it started to decrease drastically to 3000 MT/minute. Is it Kannel or SqlBox limitation? TIA. Willy
Re: Inconsistence Throughput
CMIIW, current CVS is not compatible with SQLBox. We are still waiting for the new version of SQLBox from Allejandro The Great :) Willy On Nov 14, 2009, at 10:14 AM, Benaiad wrote: Hi, AFAIK, the latest cvs contains a better throughput handling. Regards. -- Benaiad On Sat, Nov 14, 2009 at 4:52 AM, sangprabv sangpr...@gmail.com wrote: Hi, I have SqlBox with Kannel-cvs20080827 and set throughput = 100 in my kannel configuration file. It suppose to be able to send 100 MT/ second which is equal to 6000 MT/minute. I tried to inject 315 thousands MT. At the first minute it reached almost 15 thousands MT/ minute but after that it started to decrease drastically to 3000 MT/ minute. Is it Kannel or SqlBox limitation? TIA. Willy
Re: Inconsistence Throughput
Maybe Alex can confirmed this. My previous communication (last week) with Alex, current SQLBox is not compatible with Kannel latest CVS. CMIIW Alex. TIA. Willy On Nov 14, 2009, at 10:56 AM, Benaiad wrote: Hi, From Alex's blog http://www.blogalex.com/archives/143: He says You need a current Kannel snapshot. so, the new release is compatible with the current cvs. Regards. -- Benaiad On Sat, Nov 14, 2009 at 5:35 AM, sangprabv sangpr...@gmail.com wrote: CMIIW, current CVS is not compatible with SQLBox. We are still waiting for the new version of SQLBox from Allejandro The Great :) Willy On Nov 14, 2009, at 10:14 AM, Benaiad wrote: Hi, AFAIK, the latest cvs contains a better throughput handling. Regards. -- Benaiad On Sat, Nov 14, 2009 at 4:52 AM, sangprabv sangpr...@gmail.com wrote: Hi, I have SqlBox with Kannel-cvs20080827 and set throughput = 100 in my kannel configuration file. It suppose to be able to send 100 MT/ second which is equal to 6000 MT/minute. I tried to inject 315 thousands MT. At the first minute it reached almost 15 thousands MT/ minute but after that it started to decrease drastically to 3000 MT/ minute. Is it Kannel or SqlBox limitation? TIA. Willy
Add New sms-service without Restarting Kannel
I usually restart Kannel every time I add new sms-service (keyword), is there any way to avoid restarting Kannel and no traffic lost. TIA. Willy
Re: GENERIC: ERROR when openning device
If it is about permission then try to be root, it should fix it. If it does then try to look for any appropriate permission setting ;) Willy On Mon, 2009-10-26 at 00:38 -0700, st2forget wrote: Hi all, I have same problem here, I also change permission for /dev/ttyACM0 but Kannel still get Generic Error and could'nt initialize device. Is there any solution for this? st2forget wrote: Hi all, i'm having trouble with Kannel and Nokia N70 Music Edition. I wonder if Kannel can read that phone or not? :(. Here is my situation: 2009-10-17 01:13:21 [7238] [6] INFO: AT2[N70]: opening device 2009-10-17 01:13:21 [7238] [0] INFO: Adding interface * 2009-10-17 01:13:21 [7238] [0] INFO: 2009-10-17 01:13:21 [7238] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-10-17 01:13:21 [7238] [0] INFO: MAIN: Start-up done, entering mainloop 2009-10-17 01:13:22 [7238] [6] INFO: AT2[N70]: speed set to 115200 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: Closing device 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: detect speed is 115200 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: opening device 2009-10-17 01:13:25 [7238] [6] INFO: AT2[N70]: speed set to 115200 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: Closing device 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: opening device 2009-10-17 01:13:28 [7238] [6] INFO: AT2[N70]: Logging in 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: init device 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: speed set to 115200 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Generic error: ERROR 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Initialization of device failed. 2009-10-17 01:13:30 [7238] [6] INFO: AT2[N70]: Closing device 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Couldn't connect (retrying in 10 seconds). It seems that Kannel entered mainloop and could listen to mobile phone, but when it set speed for mobile, there is and error occured. Is there any way to configure or install package for my phone to detect kannel? Or any way to update kannel to detect my phone co'z it's Nokia N70 Music Edition, not N70. Here is my Kannel.conf file: group = core admin-port = 13000 admin-password = hoanggia admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 smsbox-port = 13001 wapbox-port = 13002 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log #group = smsc #smsc = at #modemtype = auto #device=/dev/ttyACM0 #my-number = 123123123123 #The my-number field contains the number of #your GSM modem’s SIM chip ##log-level = 0 group = smsc smsc = at smsc-id = N70 device = /dev/ttyACM0 my-number = 0983040785 modemtype = nokiaphone # phone type speed = 0 connect-allow-ip = 127.0.0.1 #sms-center = +84980200030 group = modems id = nokiaphone name = Nokia N70 detect-string = Nokia init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #use sudo wvdialconf /etc/wvdial.conf keepalive-cmd = AT+CBC;+CSQ #detect-string2 = N70 speed = 0 need-sleep = true #pin = group = modems id = wavecome name = Wavecom detect-string = WAVECOM group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 sendsms-chars = 0123456789+ log-file = /etc/kannel/smsbox.log #global-sender = 123123123123 log-level = 0 group = sendsms-user username = baochau password = hoanggia concatenation= true max-messages = 10 group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = http://localhost/php.php?phone=%ptext=%a;
OOT Force Download
Sorry for this miss addressed question, I am developing a PHP script to let users to download content (wallpaper, tones, etc) from mobile phones. In same cases the browser download the script.php file rather than the content itself. Here is my script: header(Pragma: public); header(Expires: 0); header(Cache-Control: must-revalidate, post-check=0, pre-check=0); header('Cache-Control: private',false); header('Content-Type: '.$mime); header(Content-Type: application/force-download); header(Content-Type: application/octet-stream); header(Content-Type: application/download); header(Accept-Ranges: bytes); header(Content-Disposition: attachment; filename=.basename($file).;); header(Content-Transfer-Encoding: binary); header(Content-Length: .filesize($file)); readfile($file); Thanks alot for any reply. Willy
Re: kannel configuration
Search it in the users archives list :) Willy On Mon, 2009-10-12 at 15:12 +0530, Saurav Jaiswal wrote: what is the correct cofiguration for sony erriction 580 for using it with kannel..?
RE: HTTP SMSC with the latest CVS
Bearerbox didn't receive all. I tried to send 1000 MO but not all received. It doesn't happen with 20080727 cvs version. And also this morning I tried 1.4.3, it seems received all 1000 MO. Does fieldmap patch cause this problem? Willy On Wed, 2009-09-16 at 10:41 +0200, Franck LAMASUTA wrote: Willy, Are the MO received by bearerbox and not processed or are they not received at all? Did you get anything interesting in the log files? Franck -Original Message- From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of sangprabv Sent: Wednesday, September 16, 2009 2:29 AM To: users@kannel.org;Kannel Devel Subject: HTTP SMSC with the latest CVS I found that using the latest CVS cause not all MO received and processed. Is it a bug? Because if I use CVS-20080727 all MO received and processed 100%. I simulated generic and Kannel HTTP SMSC all returns the same problem. TIA Willy
HTTP SMSC with the latest CVS
I found that using the latest CVS cause not all MO received and processed. Is it a bug? Because if I use CVS-20080727 all MO received and processed 100%. I simulated generic and Kannel HTTP SMSC all returns the same problem. TIA Willy
Re: connecting multiple gsm modems to kannel
The easiest way is to use USB GSM Modems. Just tail your system log to find out on which address or port your modem is connected. Willy On Tue, 2009-09-01 at 09:12 +, Alex Dehaini wrote: Hi Willy, I was asking about the physical setup and what equipments to use. How does kannel recognize all the GSM modems and how are they connected? Regards, Alex On Tue, Sep 1, 2009 at 12:55 AM, sangprabv sangpr...@gmail.com wrote: Just copy and paste your current GSM MODEM configuration and define unique smsc_id to each. Willy On Mon, 2009-08-31 at 11:17 +, Alex Dehaini wrote: Hi Guys, Anyone using multiple GSM modems with kannel? If yes - how did you setup the modems? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com
Re: connecting multiple gsm modems to kannel
Just copy and paste your current GSM MODEM configuration and define unique smsc_id to each. Willy On Mon, 2009-08-31 at 11:17 +, Alex Dehaini wrote: Hi Guys, Anyone using multiple GSM modems with kannel? If yes - how did you setup the modems? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com
HTTP SMSC Problem
I just updated to the latest Kannel CVS, everything fine during compilation. After I launch Kannel into daemon and make some stress test I found that from 100 MO requests through Kannel HTTP SMSC it doesn't response all those MO. Somebody can help solve this problem? Willy
Real MO and MT throughput
Hi, I want to know the real MO and MT throughput that Kannel can handle. I see on the documentation it can handles around 1000 messages per second but it doesn't mention the message type, is it MO or MT (push). TIA. Willy
Re: Warning During make with latest CVS version (snapshot)
Yeah but this warning never happened on the previous version. TIA. Willy On Wed, 2009-05-27 at 17:14 +0200, Julien Buratto wrote: warnings are warnings, be warned but don't be scared ;) j 2009/5/22 sangprabv sangpr...@gmail.com: Hi, I received these warnings during make: gwlib/gwthread-pthread.c: In function ‘gwthread_wakeup’: gwlib/gwthread-pthread.c:679: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result gwlib/utils.c: In function ‘become_daemon’: gwlib/utils.c:219: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result gwlib/utils.c:220: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result gwlib/utils.c:222: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result utils/start-stop-daemon.c: In function ‘main’: utils/start-stop-daemon.c:918: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result utils/start-stop-daemon.c:926: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result utils/start-stop-daemon.c:927: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result Is it normal? Willy
SMPP Error 1034
Hi, I got SMPP error 1034 during binding to my telco. What does it means? TIA. Willy
Re: SMPP Error 1034
Hi Jovan, Thx for the reply. What usually cause this problem? Willy On Fri, 2009-05-22 at 12:44 +0200, Jovan Kostovski wrote: On Fri, May 22, 2009 at 8:36 AM, sangprabv sangpr...@gmail.com wrote: Hi, I got SMPP error 1034 during binding to my telco. What does it means? TIA. I've checked the SMPP error codes: 1034 or 0x040A is ESME_RINVQTTL 0x040A Invalid qos_time_to_live Valid integer which is a part of SIMPLEWIRE SPECIFIC SMPP CODES As Alejandro suggested send the logs ;) BR, Jovan
Warning During make with latest CVS version (snapshot)
Hi, I received these warnings during make: gwlib/gwthread-pthread.c: In function ‘gwthread_wakeup’: gwlib/gwthread-pthread.c:679: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result gwlib/utils.c: In function ‘become_daemon’: gwlib/utils.c:219: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result gwlib/utils.c:220: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result gwlib/utils.c:222: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result utils/start-stop-daemon.c: In function ‘main’: utils/start-stop-daemon.c:918: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result utils/start-stop-daemon.c:926: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result utils/start-stop-daemon.c:927: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result Is it normal? Willy
Re: http connection to service provider tyntec
It would be a commercial support I guess. Willy On Sat, 2009-05-16 at 01:38 -0700, SergeNjabs wrote: Hi, I want to configure Kannel to send messages using http through Tyntec. Does anybody have a config file that can help?
Re: Error reading from fd 71
Please check your webserver configuration. The solution should be there. Willy On Thu, 2009-05-14 at 10:03 +0300, hafez ahmad wrote: Hi All, Thanks for you help :) but I moved my web server to lighthttp , and Increase the max-fds to 4096 , but I am still get the following error in smsbox.log when I get the DLRs 2009-05-14 09:39:13 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=16act=NACK%2F69%2FSubmit +failedmsisdn=+message_id=2342424242 2009-05-14 09:39:13 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=1act=id%3A1741478574+sub%3A001 +dlvrd%3A001+submit+date%3A090514093506+done+date%3A090514093511+stat% 3ADELIVRD+err%3A000+text%3A%06%23%061%063%06Dmsisdn= +message_id=32342421113 2009-05-14 09:39:13 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=1act=id%3A0316458725+sub%3A001 +dlvrd%3A001+submit+date%3A090514093505+done+date%3A090514093508+stat% 3ADELIVRD+err%3A000+text%3A%06%23%061%063%06Dmsisdn= +message_id=47575757575 2009-05-14 09:39:13 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=16act=NACK%2F69%2FSubmit +failedmsisdn=+message_id=245453665 2009-05-14 09:39:45 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=1act=id%3A0309336539+sub%3A001 +dlvrd%3A001+submit+date%3A090514093509+done+date%3A090514093513+stat% 3ADELIVRD+err%3A000+text%3A%06%23%061%063%06Dmsisdn= +message_id=958392 2009-05-14 09:39:45 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=1act=id%3A1677010733+sub%3A001 +dlvrd%3A001+submit+date%3A090514093105+done+date%3A090514093522+stat% 3ADELIVRD+err%3A000+text%3A%06%23%061%063%06Dmsisdn= +message_id=958388 2009-05-14 09:39:45 [3216] [8] ERROR: Couldn't fetch http://localhost:89/dlr.php?delivery=1act=id%3A0390709218+sub%3A001 +dlvrd%3A001+submit+date%3A090514093503+done+date%3A090514093513+stat% 3ADELIVRD+err%3A000+text%3A%06%23%061%063%06Dmsisdn= +message_id=958413 Any Idea where is the problem, thanks in advance. Regards. Hafez On Sun, May 10, 2009 at 3:15 PM, Falko Ziemann fal...@gmail.com wrote: Okay, but anyway, as Nikos said, I think you'll find the solution in the error log of your webserver. Regards Falko Am 10.05.2009 um 14:06 schrieb hafez ahmad: On Sun, May 10, 2009 at 12:39 PM, hafez ahmad hafezad...@gmail.com wrote: Dear Falko, Thanks for reply it is example only I removed the real Url . Regards, Hafez On Sun, May 10, 2009 at 12:22 PM, Falko Ziemann fal...@gmail.com wrote: http://HOST/dlr.php?ID=3213123124131 Does the log really say HOST? Then you *maybe* should enter a valid address... Falko Am 10.05.2009 um 09:21 schrieb hafez ahmad: Dears, I get the following error in my logs, 2009-05-08 11:12:26 [10838] [8] ERROR: Error reading from fd 71: 2009-05-08 11:12:26 [10838] [8] ERROR: System error 104: Connection reset by peer 2009-05-08 11:12:26 [10838] [8] ERROR: Couldn't fetch http://HOST/dlr.php?ID=3213123124131 can you please advice what is the problem, and how can I let kannel retry to fetch the DLR url again, if there are any problems. Thanks. Regards. Hafez -- Hafez A.Ahmad Amman-Jordan mobile: 962-795708728 http://blog.hafezadnan.com
Re: Fastest Modem for Kannel
IMHO a GSM Modem may send only 1 SMS/second. And a serial connection (COMM) will be more stable than a USB one, CMIIW. Willy On Fri, 2009-05-08 at 01:22 +0100, Kenny wrote: Hi, For a Kannel deployment, what type of modem would be faster? USB or Comm interface modem. I will appreciate your input. -- Kenny OCA | ECSA | RHCE p: +2348034939090 e: ke...@nuobjects.com w: www.nuObjects.com Bulk SMS Solutions | Managed Hosting | Enterprise Application Development
Re: Fastest Modem for Kannel
I forget the model but I use some such as Wavecom and Siemens for COMM type and Itegno for USB. Mostly I can send 1 SMS/second but I disable all DLR and ACK and working with SQLBox installed and configure the throughput to 1. Willy On Thu, 2009-05-07 at 20:27 -0500, Alvaro Cornejo wrote: 1 msg/sec ? Wich modem did you use with what carrier? the most i could get is 56 msg/5min... Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, May 7, 2009 at 7:55 PM, sangprabv sangpr...@gmail.com wrote: IMHO a GSM Modem may send only 1 SMS/second. And a serial connection (COMM) will be more stable than a USB one, CMIIW. Willy On Fri, 2009-05-08 at 01:22 +0100, Kenny wrote: Hi, For a Kannel deployment, what type of modem would be faster? USB or Comm interface modem. I will appreciate your input. -- Kenny OCA | ECSA | RHCE p: +2348034939090 e: ke...@nuobjects.com w: www.nuObjects.com Bulk SMS Solutions | Managed Hosting | Enterprise Application Development
Re: P1i initilization string
There are some threads about Sony Ericsson handsets in the list's archieve. TIA. Willy On Mon, 2009-05-04 at 08:46 +0300, Philip Ankunda wrote: hi all, anyone tried using p1i as modem,if yes how did u set it up as initialization string. am using a usb cable Thanks in advance. Philip __ Windows Live™: Keep your life in sync. Check it out!
Re: Invoke kannel from perl script
Depend on how do you want Kannel send the SMS, you can hit the sendsms URL or you if you use SQLBox you can insert the SMS into the table. TIA. Willy On Mon, 2009-05-04 at 08:51 +0300, Philip Ankunda wrote: Hi all, I have my perl script that tests PC's on a LAN for connectivity, if any one pc is not reachable,then i want i to send an SMS alert. Script is working ok, but am stuck, need pointers and clues as to how to call kannel to send the sms out. Thanks in advance Philip __ Windows Live™: Keep your life in sync. Check it out!
Re: DB Pool
Yes it's okay, as long as your server configured to handle such loads. Willy
Re: Problem sending SMS
I think it should be http://localhost:13013/sendsms? You defined 13013 as your sendsms port, while 13001 is your smsbox port. Willy ---BeginMessage--- Hi all, I have problem sending SMS. I suppose it is misconfiguration, but I cannot detect it. I am running Ubuntu 8.04, Kannel 1.41, phone is Nokia 6085 connected to USB. Here is my kannel.conf: group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 0 smsbox-port = 13001 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 # SMSC group = smsc smsc = at modemtype = AT2 device = /dev/ttyACM0 speed = 0 smsc-id = Nokia_smsc port = 13131 log-level = 0 # Nokia mobile phone setup group = modems id = AT2 name = Nokia 6085 config detect-string=Nokia detect-string2=Nokia 6085 init-string = ATZ speed = 19200 enable-hwhs = AT+IFC=2,2 message-storage = SM group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-level=0 sendsms-chars=0123456789 +- # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SMS Service group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = http://localhost/sms?phone=%ptext=%a; It seems, according to log file that it starts without problems. Here is status: r...@kannel:/etc/kannel# lynx -dump http://localhost:13000/status?password=bar; Kannel bearerbox version `1.4.1'. Build `Mar 29 2008 11:04:25', compiler `4.2.3 (Ubuntu 4.2.3-2ubuntu6)'. System Linux, release 2.6.24-23-server, version #1 SMP Mon Jan 26 00:55:21 UTC 2009, machine i686. Hostname kannel.sc.charter.com, IP 127.0.1.1. Libxml version 2.6.31. Using OpenSSL 0.9.8g 19 Oct 2007. Compiled with MySQL 5.0.51a, using MySQL 5.0.51a. Using native malloc. Status: running, uptime 0d 0h 5m 22s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (0 queued), store size -1 SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec DLR: 0 queued, using internal storage Box connections: smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 5m 21s) SMSC connections: Nokia_smscAT2[Nokia_smsc] (online 319s, rcvd 0, sent 0, failed 0, queued 0 msgs) But when I try to send SMS: lynx http://localhost:13001/sms?phone=+text=blah+blah; (my number, of course, instead of ...) i just have hanging: HTTP request sent; waiting for response. Thank you in advance for answers. Best regards, Dusan -- Dusan Djordjevic http://dj-dule.blogspot.com | http://www.mravojed.com ---End Message---
Re: setting REPLY-TO number
It depends on how you send the MT (SMS to your subscribers). If you use Kannel's sendsms script then you just need to add from=999 directive to sendsms URL (http://host:port/sendsms?from=999to=123456789;). Please refer to the user guide explanation. Willy ---BeginMessage--- Hi everyone, I am sending SMS via Kannel using SMPP. My 2-way SMPP account has short codes available and I wish that the recepient replys to a given no. For example: My 2 way account no: +0044123456789 shortcodes assigned: 999, 888 When user receives a SMS and he hits reply, the reply should be sent to 999. Kindly advise. ---End Message---
Re: setting REPLY-TO number
the setting of *-addr-ton and *-addr-npi should help you (http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN1624) Willy ---BeginMessage--- thanks Willy. I tried with http://host:port/sendsms?from=999to=123456789;.. and got the SMS but the source address (originator) is set to my 2Way account no. I feel its operator specific setting and is overwriting the FROM param. Is this correct? - Latitude On Wed, Mar 25, 2009 at 12:43 PM, sangprabv sangpr...@gmail.com wrote: It depends on how you send the MT (SMS to your subscribers). If you use Kannel's sendsms script then you just need to add from=999 directive to sendsms URL (http://host:port/sendsms?from=999to=123456789;). Please refer to the user guide explanation. Willy -- Forwarded message -- From: Latitude Berlin latitude...@googlemail.com To: users users@kannel.org Date: Wed, 25 Mar 2009 12:03:58 +0100 Subject: setting REPLY-TO number Hi everyone, I am sending SMS via Kannel using SMPP. My 2-way SMPP account has short codes available and I wish that the recepient replys to a given no. For example: My 2 way account no: +0044123456789 shortcodes assigned: 999, 888 When user receives a SMS and he hits reply, the reply should be sent to 999. Kindly advise. ---End Message---
Re: Someone using LG Incite with Kannel on Ubuntu 8.04 ?
What about ttyACM*? Willy ---BeginMessage--- Hi all, I am trying to setup LG Incite on Ubuntu 8.04. Phone is connected to Ubuntu box via USB cable. lsusb shows: Bus 002 Device 002: ID 1004:6108 LG Electronics, Inc. Bus 002 Device 001: ID : Bus 001 Device 001: ID : but there is no /dev/ttyUSB* I suppose that means phone is not supported by Linux kernel ? Any suggestions ? Thank you in advance. -- Dusan Djordjevic http://dj-dule.blogspot.com | http://www.mravojed.com ---End Message---
Re: problem with get-url or encoding
+ is %2B in URL Encode world. Willy
Re: mysql storage frequent complains
./configure --with-malloc=native --with-mysql-dir=/usr/include/mysql --with-mysql --prefix=/usr/local/kannel Willy On Tue, 2009-03-10 at 11:29 +0100, Elton Hoxha wrote: I ran it like this: ./configure --with-malloc=native --with-mysql-dir=/usr/include/mysql --prefix=/usr/local/kannel Output: Configuring DB support ... checking whether to compile with MySQL support... disabled Thanks On Tue, Mar 10, 2009 at 11:11 AM, hafez ahmad hafezad...@gmail.com wrote: Hi, or can use --with-mysql-dir=DIR Where to look for MySQL libs and header files. DIR points to the installation of MySQL. Regards, Hafez On Tue, Mar 10, 2009 at 11:47 AM, Falko Ziemann fal...@gmail.com wrote: Hi, you have to install the mysql-dev package first and then compile (!) kannel with ./configure --with-mysql Regards Falko Am 10.03.2009 um 10:42 schrieb Elton Hoxha: Hi guys, I have been searching in the list a lot regarding mysql storage issue. I noticed that users complains are very similar (including mine that i`m not able to configure mysql, in different machines as well), all of them using the magic keyword DLR: storage type 'mysql' is not supported! Which part of kannel is generating this error? I went through the dlr_init just wondering why is that? if (octstr_compare(dlr_type, octstr_imm(mysql)) == 0) { handles = dlr_init_mysql(cfg); if (handles == NULL) { panic(0, DLR: storage type '%s' is not supported!, octstr_get_cstr(dlr_type)); } Why kannel is failing to retrieve the initial configuration? I suspect, the DLR-storage would fail for every type of database connection here, oracle postgre. Is it something wrong with my conf file? dlr-storage=mysql group=mysql-connection id=mydlr host=10.1.21.184 username=kannel password=kannel database=dlr group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-source=source field-destination = destination field-service = service field-url = url field-mask = mask field-status = status Thanks Elton -- Hafez A.Ahmad Amman-Jordan mobile:962-785259011 962-795708728 http://blog.hafezadnan.com
Re: Install Kannel without root privileges
Yes as long as you have enough privilege to do make install. Usually you need to change your prefix to your homedir to save your final installation binary files. Willy
Re: dlr-storage=mysql help
Or you can apply SQLBox to do this. Willy
Re: dlr-storage=mysql help
SQLBox is an independent subsystem for Kannel. You may get it from here http://www.kannel.org/~aguerrieri/SqlBox/ Willy
Re: Can't Execute get-url from sms-service (sending OK) with ITegno 3800
There are some examples in doc/examples folder. Please check and fit your configuration. And it will be helpful to read the user guide first. TIA Willy
Re: http response to smsc with xml
This thread belongs to devel not users. You need octstr_format() function rather than octstr_create(). BTW it's Indosat's thing right? ;) Willy On Sun, 2009-03-01 at 07:37 -0500, Benjamin Heryanto wrote: Dear list How can return http response with following format ?xml version=1.0 ? MO STATUS0/STATUS TRANSIDTransaction ID/TRANSID MSGMessage processed successfully/MSG /MO I already create coding like this below , but still dont get a clue how to make Transaction ID(fetch from id variable) dynamic change. id = http_cgi_variable(cgivars, transid); ... ret = bb_smscconn_receive(conn, msg); retmsg = octstr_create(?xml version=\1.0 \ ?MOSTATUS0/STATUSTRANSIDid/TRANSID/MO); status = (ret == 0 ? HTTP_OK : HTTP_FORBIDDEN); } reply_headers = gwlist_create(); http_header_add(reply_headers, Content-Type, text/xml); http_send_reply(client, status, reply_headers, retmsg); Best Regards
Re: http response to smsc with xml
Great, but be careful with Telkomsel, you must clean the HTTP response body result from Telkomsel. TIA Willy
Re: sqlbox upgrade
Hi AG, Does current SQLBox has already capture foreign_id value? TIA Willy
Re: How to send midi ring tone in UDH headers using kannel?
There are some answers in the list archieves. Go search and you will find the solution. Willy