i am using kannel sms gateway for sending sms,also i store the message in the log file that file store the message but i has come encoded data like this how to decode this
Måæ"ÿÿÿÿÿÿÿÿÿÿÿÿ this line should in end of the message. On Wed, Jun 1, 2011 at 10:16 AM, <[email protected]> wrote: > Send users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.kannel.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. Pointers for best DLR performance (Richard Crawshaw) > 2. Re: Pointers for best DLR performance (Mohammed Saleem) > 3. Re: Pointers for best DLR performance (Nikos Balkanas) > 4. Dlr-url (mathiyalakan mathi) > 5. Re: Dlr-url (Garth Patil) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 31 May 2011 15:51:55 +0100 > From: Richard Crawshaw <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Pointers for best DLR performance > Message-ID: > < > 6441f32adef2a84283cfb756673790230272338ab...@mailsvr.truancycall.com> > Content-Type: text/plain; charset="windows-1252" > > Hi > > I'm after some pointers for achieving best performance when handling DLRs. > > We're running Kannel 1.5.0 on Ubuntu 10.04 (32 bit) on a VMWare virtual > machine on a Windows 2003 host (64 bit). > > Of the two options that appear to be open to us which is likely to perform > best? > * A new installation of MySql on the Ubuntu virtual machine; or > * An existing installation of MS SQL Server 2005 on a separate > machine on the same network. > > The Ubuntu machine has 512M Bytes memory and 8G Bytes local storage > allocated to it; it has a single processor. These can be increased if > necessary; the host is a quad-core Intel Xeon 3.16G Hz with 8G Bytes memory, > of which it is using about half. > > We need to achieve a peak SMS through-put of 150K messages an hour (~42 > messages a second). We're managing this with DLRs handled using internal > storage, but obviously internal storage isn't robust enough. > > Many thanks. > > Richard > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.kannel.org/pipermail/users/attachments/20110531/b48aaa21/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 31 May 2011 18:18:05 +0300 > From: Mohammed Saleem <[email protected]> > To: Richard Crawshaw <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: Pointers for best DLR performance > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > with local MySQL, kannel is able to handle millions of messages per hour, I > believe the bottleneck is the carrier's throughput > > > Best Regards, > Mohammed M I Sleem > > http://www.abusleem.net - Personal blog > > > > On Tue, May 31, 2011 at 5:51 PM, Richard Crawshaw < > [email protected]> wrote: > > > Hi > > > > > > > > I?m after some pointers for achieving best performance when handling > DLRs. > > > > > > > > We?re running Kannel 1.5.0 on Ubuntu 10.04 (32 bit) on a VMWare virtual > > machine on a Windows 2003 host (64 bit). > > > > > > > > Of the two options that appear to be open to us which is likely to > perform > > best? > > > > * A new installation of MySql on the Ubuntu virtual machine; > or > > > > > > * An existing installation of MS SQL Server 2005 on a > separate > > machine on the same network. > > > > > > > > The Ubuntu machine has 512M Bytes memory and 8G Bytes local storage > > allocated to it; it has a single processor. These can be increased if > > necessary; the host is a quad-core Intel Xeon 3.16G Hz with 8G Bytes > memory, > > of which it is using about half. > > > > > > > > We need to achieve a peak SMS through-put of 150K messages an hour (~42 > > messages a second). We?re managing this with DLRs handled using internal > > storage, but obviously internal storage isn?t robust enough. > > > > > > > > Many thanks. > > > > > > > > Richard > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.kannel.org/pipermail/users/attachments/20110531/5a9a7a9a/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Wed, 1 Jun 2011 02:46:26 +0300 > From: "Nikos Balkanas" <[email protected]> > To: "Mohammed Saleem" <[email protected]>, "Richard Crawshaw" > <[email protected]> > Cc: [email protected] > Subject: Re: Pointers for best DLR performance > Message-ID: <8E72BDF3EF224389BE9FEBA5F13DC2B8@drwho> > Content-Type: text/plain; format=flowed; charset="windows-1253"; > reply-type=original > > Not quite. Benchmarks with fakesmpp using a native middle-end Solaris 10 > (64bit) have shown ~750 MT/s when using internal DLRs and ~450 MT/s when > using mysql. You can serach the email archives for the detailed benchmarks. > > Using a visrtual machine is always a bad choice if you seek performance. If > you must have kannel on such a machine, better use a different one for the > DB, especially if you are using DB for DLR processing. > > BR, > Nikos > ----- Original Message ----- > From: Mohammed Saleem > To: Richard Crawshaw > Cc: [email protected] > Sent: Tuesday, May 31, 2011 6:18 PM > Subject: Re: Pointers for best DLR performance > > > with local MySQL, kannel is able to handle millions of messages per hour, I > believe the bottleneck is the carrier's throughput > > > > Best Regards, > Mohammed M I Sleem > > http://www.abusleem.net? - Personal blog > > > > > > On Tue, May 31, 2011 at 5:51 PM, Richard Crawshaw > <[email protected]> wrote: > > Hi > ? > I???m after some pointers for achieving best performance when handling > DLRs. > ? > We???re running Kannel 1.5.0 on Ubuntu 10.04 (32 bit) on a VMWare virtual > machine on a Windows 2003 host (64 bit). > ? > Of the two options that appear to be open to us which is likely to perform > best? > * ? ? ? ? ? ? ? ? ? ? ? A new installation of MySql on the Ubuntu virtual > machine; or > *? ? ? ? ? ? ? ? ? ? ? ? An existing installation of MS SQL Server 2005 on > a separate machine on the same network. > ? > The Ubuntu machine has 512M Bytes memory and 8G Bytes local storage > allocated to it; it has a single processor.? These can be increased if > necessary; the host is a quad-core Intel Xeon 3.16G Hz with 8G Bytes > memory, > of which it is using about half. > ? > We need to achieve a peak SMS through-put of 150K messages an hour (~42 > messages a second).? We???re managing this with DLRs handled using > internal > storage, but obviously internal storage isn???t robust enough. > ? > Many thanks. > ? > Richard > > > > > ------------------------------ > > Message: 4 > Date: Wed, 1 Jun 2011 10:04:24 +0530 > From: mathiyalakan mathi <[email protected]> > To: [email protected] > Subject: Dlr-url > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > hi this is my dlr-url how to call the sendsms function in java? how to > pass > the parameter to this. > > # SEND-SMS USERS > group = sendsms-user > username = ****** > password = ****** > dlr-url = " > > http://192.168.172.212:8080/AmritaSMSHiber/SendMobileQuiz?source=%p&destination=%P&status=%d&service=%A&smsc=%i&ts=%t > concatenation = true > max-messages = 10 > > -- > Regards > P.Mathiyalakan > Amrita School of Engineering, > Amrita Vishwa Vidyapeetham, > Ettimadai,Coimbatore - 641 105. > [email protected] > mathiyalakan.webs.com > 09626969304(TN) > 08129231992(kerala) > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.kannel.org/pipermail/users/attachments/20110601/a6b1a0d7/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Tue, 31 May 2011 21:46:26 -0700 > From: Garth Patil <[email protected]> > To: mathiyalakan mathi <[email protected]> > Cc: [email protected] > Subject: Re: Dlr-url > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > I have a java library you can use: > https://github.com/garthpatil/kannel-java > > The sendsms functionality is here: > https://github.com/garthpatil/kannel-java/tree/master/sms > > You can use it like this: > > // Make an SMS > Sms sms = new Sms(); > sms.setUsername("username"); > sms.setPassword("password"); > sms.setTo("4155551212"); > sms.setFrom("54321"); > sms.setText("Hello world!"); > > // Using the HTTP GET interface > SmsSender s = new HttpSmsSender(new > URL("http://localhost:13013/cgi-bin/sendsms")); > SendStatus status = s.send(sms); > System.out.println(status.toString()); > > > On Tue, May 31, 2011 at 9:34 PM, mathiyalakan mathi > <[email protected]> wrote: > > hi this is my dlr-url how to call ?the sendsms function in java? how to > pass > > the parameter to this. > > # SEND-SMS USERS > > group = sendsms-user > > username = ****** > > password = ****** > > dlr-url = > > " > http://192.168.172.212:8080/AmritaSMSHiber/SendMobileQuiz?source=%p&destination=%P&status=%d&service=%A&smsc=%i&ts=%t > > concatenation = true > > max-messages = 10 > > -- > > Regards > > P.Mathiyalakan > > Amrita School of Engineering, > > Amrita Vishwa Vidyapeetham, > > Ettimadai,Coimbatore - 641 105. > > [email protected] > > mathiyalakan.webs.com > > 09626969304(TN) > > 08129231992(kerala) > > > > > > > > ------------------------------ > > _______________________________________________ > users mailing list > [email protected] > http://www.kannel.org/mailman/listinfo/users > > > End of users Digest, Vol 58, Issue 1 > ************************************ > -- Regards P.Mathiyalakan Amrita School of Engineering, Amrita Vishwa Vidyapeetham, Ettimadai,Coimbatore - 641 105. [email protected] mathiyalakan.webs.com 09626969304(TN) 08129231992(kerala)
