Log entry is as follows: year % 100 = 2009 %100 = 09 month = 01 day = 13 hour = 18 minutes = 46 seconds = 11 Trailer = 000+
BR, Nikos ----- Original Message ----- From: narendra reddy To: [email protected] Sent: Tuesday, January 13, 2009 8:37 PM Subject: Re: users Digest, Vol 32, Issue 41 Hi sir, How we can use validityperiod parameter in SMPP protocol .in the smsc config file I entered validityperiod=30 . Then in the log file it show it as validity_period = "090113184611000+". please can u give me any idea about that parameter. and I have one more doubt i.e is i am not exactly understood difference between system-type and service-type . and how we can configure that two parameters in SMSC SMPP config file. Regards, Narendra, On Tue, Jan 13, 2009 at 11:55 PM, <[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. Re: Invalid content type error (Nikos Balkanas) 2. Re: Invalid content type error (Nikos Balkanas) ---------------------------------------------------------------------- Message: 1 Date: Tue, 13 Jan 2009 20:21:27 +0200 From: "Nikos Balkanas" <[email protected]> Subject: Re: Invalid content type error To: "Mike Nwaogu" <[email protected]>, "Alejandro Guerrieri" <[email protected]> Cc: [email protected] Message-ID: <003801c975ab$c681e9f0$02b2a...@tardis> Content-Type: text/plain; charset="windows-1253" How about this? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> It would be helpful if you print all of your headers, not just excerpts. BR, Nikos ----- Original Message ----- From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: [email protected] Sent: Tuesday, January 13, 2009 6:42 PM Subject: Re: Invalid content type error Ok thanks, what's the best header to send in. "Content-Type: text/html; charset=utf-8" or "Content-Type: text/html; charset=iso-8859-1" Do I need to config kannel to expect a particular type, I noticed that every time I send a request with the either header above I have a PANIC in the logs and the process dies. Regards, Mike Nwaogu Tel: 234_802_325_6437 ------------------------------------------------------------------------------ From: Nikos Balkanas <[email protected]> To: Mike Nwaogu <[email protected]>; Alejandro Guerrieri <[email protected]> Cc: [email protected] Sent: Friday, January 2, 2009 6:18:52 PM Subject: Re: Invalid content type error Hi Mike, Kannel is very explicit about its problem. The HTML header "Content-type" you are submitting with your javascript (or more likely don't send at all) is invalid. The header of course is not part of the URL which seems to be OK. You can see the headers you are sending to kannel either by a packet analyzer like tcpdump, or by starting bearerbox and smsbox at the shell at maximum verbosity: bearerbox <conffile>& smsbox <conffile> & BR, Nikos ----- Original Message ----- From: Mike Nwaogu To: Alejandro Guerrieri Cc: [email protected] Sent: Friday, January 02, 2009 7:01 PM Subject: Re: Invalid content type error Hello All, I'm not sure you recall this request from last year, but i'm having the same issue, and I have checked to be sure, I'm encoding properly using PHP curl, have searched thru the list. Please help with a pointer, really lost now. TIA Mike Nwaogu. Alejandro Guerrieri alejandro.guerrieri at gmail.com Mon Mar 5 22:14:56 CET 2007 a.. Previous message: Invalid content type error b.. Next message: Problematic Kannel behaviour with large message stores c.. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ---------------------------------------------------------------------------- This looks more as a question for the "users" mailing list. FromKannel's standpoint this is a "kannel user" question, not a "kanneldeveloper" one.Hint: Check if you are urlencoding your text fields.Regards,Alejandro.On 3/5/07, sudhir <ssharma at signdomains.com> wrote:>>> Hi,> i am using Kannel 1.4.1 for my sms application.The configuration> settings have been made.When i use that url directly into the browser it> runs fine, but i have to use it into my sms appplication which has been made> in ASP.>> To send the sms i have made a html form, and using javascript i am> submitting all the values to the kannel.after submitting it gives 'invalid> content type' error.> but when i print this URl on to the sreen and copy an paste it into the> browser ,then it runs fine.>> can anyone of you please tel me that where i am making the mistake or> anyother solution.I am using 'get' method in my form.> Thanks in advanvce.>>> Thanks & Regards,> Sudhir Sharma-- Alejandro GuerrieriMagicomhttp://www.magicom-bcn.net/LinkedIn: http://www.linkedin.com/in/aguerrieri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20090113/506c4331/attachment-0001.html ------------------------------ Message: 2 Date: Tue, 13 Jan 2009 20:25:20 +0200 From: "Nikos Balkanas" <[email protected]> Subject: Re: Invalid content type error To: "Mike Nwaogu" <[email protected]>, "Alejandro Guerrieri" <[email protected]> Cc: [email protected] Message-ID: <004201c975ac$4b9f0ff0$02b2a...@tardis> Content-Type: text/plain; charset="windows-1253" I am confused. Could you please post the packet from tcpdump -or- smsbox (verbosity 0)? (just the packet) and the exact error message that you are getting? BR, Nikos ----- Original Message ----- From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: [email protected] Sent: Tuesday, January 13, 2009 7:32 PM Subject: Re: Invalid content type error No I meant that the error changes to "Authorization failed for sendsms" when I know I've inputed the right details. Regards, Mike Nwaogu Tel: 234_802_325_6437 ------------------------------------------------------------------------------ From: Mike Nwaogu <[email protected]> To: Nikos Balkanas <[email protected]>; Alejandro Guerrieri <[email protected]> Cc: [email protected] Sent: Tuesday, January 13, 2009 5:42:41 PM Subject: Re: Invalid content type error Ok thanks, what's the best header to send in. "Content-Type: text/html; charset=utf-8" or "Content-Type: text/html; charset=iso-8859-1" Do I need to config kannel to expect a particular type, I noticed that every time I send a request with the either header above I have a PANIC in the logs and the process dies. Regards, Mike Nwaogu Tel: 234_802_325_6437 ------------------------------------------------------------------------------ From: Nikos Balkanas <[email protected]> To: Mike Nwaogu <[email protected]>; Alejandro Guerrieri <[email protected]> Cc: [email protected] Sent: Friday, January 2, 2009 6:18:52 PM Subject: Re: Invalid content type error Hi Mike, Kannel is very explicit about its problem. The HTML header "Content-type" you are submitting with your javascript (or more likely don't send at all) is invalid. The header of course is not part of the URL which seems to be OK. You can see the headers you are sending to kannel either by a packet analyzer like tcpdump, or by starting bearerbox and smsbox at the shell at maximum verbosity: bearerbox <conffile>& smsbox <conffile> & BR, Nikos ----- Original Message ----- From: Mike Nwaogu To: Alejandro Guerrieri Cc: [email protected] Sent: Friday, January 02, 2009 7:01 PM Subject: Re: Invalid content type error Hello All, I'm not sure you recall this request from last year, but i'm having the same issue, and I have checked to be sure, I'm encoding properly using PHP curl, have searched thru the list. Please help with a pointer, really lost now. TIA Mike Nwaogu. Alejandro Guerrieri alejandro.guerrieri at gmail.com Mon Mar 5 22:14:56 CET 2007 a.. Previous message: Invalid content type error b.. Next message: Problematic Kannel behaviour with large message stores c.. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ---------------------------------------------------------------------------- This looks more as a question for the "users" mailing list. FromKannel's standpoint this is a "kannel user" question, not a "kanneldeveloper" one.Hint: Check if you are urlencoding your text fields.Regards,Alejandro.On 3/5/07, sudhir <ssharma at signdomains.com> wrote:>>> Hi,> i am using Kannel 1.4.1 for my sms application.The configuration> settings have been made.When i use that url directly into the browser it> runs fine, but i have to use it into my sms appplication which has been made> in ASP.>> To send the sms i have made a html form, and using javascript i am> submitting all the values to the kannel.after submitting it gives 'invalid> content type' error.> but when i print this URl on to the sreen and copy an paste it into the> browser ,then it runs fine.>> can anyone of you please tel me that where i am making the mistake or> anyother solution.I am using 'get' method in my form.> Thanks in advanvce.>>> Thanks & Regards,> Sudhir Sharma-- Alejandro GuerrieriMagicomhttp://www.magicom-bcn.net/LinkedIn: http://www.linkedin.com/in/aguerrieri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20090113/098d33ad/attachment.html ------------------------------ _______________________________________________ users mailing list [email protected] http://www.kannel.org/mailman/listinfo/users End of users Digest, Vol 32, Issue 41 *************************************
