Re: Can i use Kannal on Windows Operating System?

2008-09-27 Thread Ken Bellars
Hi,

From my experience, the listed windows based SMS gateways are also
very stable and reliable. I have seen Message Master being used in
production to handle millions of messages. The only downside is the
cost. The price is usually very high.

Kannel works well on windows with Cygwin. However, I will not
recommend anybody to use Kannel on Cygwin for a production
application. Kannel is very stable and reliable mostly on Linux boxes.
You really do not have to be a unix pro to use Kannel on a linux box.

If you dont have any special reason to use Windows for your
application, please go for Kannel on linux box.

On 9/27/08, Abbas Qaizar [EMAIL PROTECTED] wrote:
 Hi Everyone,

 Mike, as per your email to Suresh, have you tried any of these windows based
 applications successfully ?? or have you ever deployed in your applications
 ? And if you have been successful in deploying then what do you prefer most
 ...windows based or linux based SMS Gateway
 ..as far as reliability and stability is concerned ???


 Thanks  Kind Regards

 Abbas Qaizar

 ---
 Mustafa Computers  Peripherals
 Suite 28, Level 12 R.K.Square Extension
 Main Shahra-e-Liaquat New Challi
 Karachi - 74000
 Sindh - Pakistan
 Tel + 92 21 2400326 - 2465685 - 2437783
 Cell + 92 333 2372582
 Email : [EMAIL PROTECTED]
 Web : http://mustafacomputers.com
 ---
   - Original Message -
   From: Mike Nwaogu
   To: Suresh Babu Linga ; users@kannel.org
   Sent: Saturday, September 27, 2008 3:36 AM
   Subject: Re: Can i use Kannal on Windows Operating System?


   No suresh,
   for windows you'll need one like nowsms, message master, ozeki ng etc
   KANNEL will not run on windows machines.


   Regards,
   Mike Nwaogu
   Tel: 234_802_325_6437
   Eml: [EMAIL PROTECTED]




   - Original Message 
   From: Suresh Babu Linga [EMAIL PROTECTED]
   To: users@kannel.org
   Sent: Friday, September 26, 2008 6:25:01 PM
   Subject: Can i use Kannal on Windows Operating System?


   Hi..

   I am Suresh. I have a doubt regarding the usage of the Kannal SMS Gateway.
 I have red that Kannel is mainly being developed on Linux systems So can i
 use the kannal in the windows operating system.

   I have requirement where i have send send SMS from the website and i am
 using windows Operation system.

   Please help me in this regards.


   Regards,
   Suresh .





-- 
Regards,
Kenny


Whosoever desires constant success must change his conduct with the
times.-Niccolo Machiavelli



Re: Can i use Kannal on Windows Operating System?

2008-09-27 Thread Mike Nwaogu
Hi Abbas,
I prefer linux based SMS gateways as far as reliablilty and stability is 
concerned


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



- Original Message 
From: Abbas Qaizar [EMAIL PROTECTED]
To: Mike Nwaogu [EMAIL PROTECTED]; Suresh Babu Linga [EMAIL PROTECTED]; 
users@kannel.org
Sent: Saturday, September 27, 2008 6:02:29 AM
Subject: Re: Can i use Kannal on Windows Operating System?

 
Hi Everyone, 
 
Mike, as per your email to 
Suresh, have you tried any of these windows based applications successfully ?? 
or have you ever deployed in your applications ? And if you have been 
successful 
in deploying then what do you prefer most ...windows based 
or linux based SMS Gateway ..as far as reliability and stability is 
concerned ???
 
 
Thanks  Kind Regards
 
Abbas Qaizar 
 
---
Mustafa Computers  
Peripherals 
Suite 28, Level 12 R.K.Square Extension 
Main 
Shahra-e-Liaquat New Challi 
Karachi - 74000 
Sindh - Pakistan 
Tel + 
92 21 2400326 - 2465685 - 2437783
Cell + 92 333 2372582 
Email : [EMAIL PROTECTED]
Web : http://mustafacomputers.com
---
- Original Message - 
From: Mike  Nwaogu 
To: Suresh Babu Linga ; users@kannel.org 
Sent: Saturday, September 27, 2008 3:36  AM
Subject: Re: Can i use Kannal on Windows  Operating System?

No  suresh,
for windows you'll need one like nowsms, message master, ozeki ng  etc
KANNEL will not run on windows machines.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED] 



-  Original Message 
From: Suresh Babu Linga [EMAIL PROTECTED]
To: users@kannel.org
Sent: Friday,  September 26, 2008 6:25:01 PM
Subject: Can i use Kannal on Windows  Operating System?


Hi..

I am Suresh. I have a doubt regarding the usage of  the Kannal SMS Gateway. I 
have red that Kannel is mainly being developed on  Linux systems So can i use 
the kannal in the windows operating  system.

I have requirement where i have send send SMS from the website  and i am using 
windows Operation system.

Please help me in this  regards.


Regards,
Suresh 
.


  

Re: wap push received as garbage

2008-09-27 Thread Alex Arias
Hi Alejandro,

Having found the meaning of the DCS (data coding scheme) here 
http://ozekisms.com/index.php?ow_page_number=251 I believe the needed 
configuration should be:

DCS = 0xf5

-Compressed text
-message class = 1 (to mobile)
-8 bit data enconding

If I add to your funcion the kannel parameter mclass = 1 it sends the DCS = 
0xf5 !! as you see in the log below. However that did not solved the problem, 
so now I'm running out out ideas. 

I tried to do the same with PPG setting the header X-Kannel-MClass = 1 but the 
message is never delivered. Not even logged in the sms log. The message is 
accepted by the PPG, the wap log says the message has been deliveried to 
bearerbox but then and after there is no trace.

I also found that the flags of the log of that message woth DCS = 0xf5 are set 
like this:

[flags:1:1:-1:-1:-1]
where
[flags:%m:%c:%M:%C:%d]
and charset %C is not set to 1 (binary) This might be the problem

I'll keep you posted if I get something!

2008-09-25 14:06:56 [2802] [19] DEBUG: boxc_receiver: sms received
2008-09-25 14:06:56 [2802] [19] DEBUG: send_msg: sending msg to boxc: ecomm
2008-09-25 14:06:56 [2802] [6] DEBUG: SMPP[smsc_1]: Sending PDU:
2008-09-25 14:06:56 [2802] [6] DEBUG: SMPP PDU 0x2c002770 dump:
2008-09-25 14:06:56 [2802] [6] DEBUG:   type_name: submit_sm
2008-09-25 14:06:56 [2802] [6] DEBUG:   command_id: 4 = 0x0004
2008-09-25 14:06:56 [2802] [6] DEBUG:   command_status: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   sequence_number: 7047 = 0x1b87
2008-09-25 14:06:56 [2802] [6] DEBUG:   service_type: NULL
2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr_ton: 2 = 0x0002
2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr: [protected]
2008-09-25 14:06:56 [2802] [6] DEBUG:   dest_addr_ton: 2 = 0x0002
2008-09-25 14:06:56 [2802] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2008-09-25 14:06:56 [2802] [6] DEBUG:   destination_addr: [protected]
2008-09-25 14:06:56 [2802] [6] DEBUG:   esm_class: 64 = 0x0040
2008-09-25 14:06:56 [2802] [6] DEBUG:   protocol_id: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   priority_flag: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   schedule_delivery_time: NULL
2008-09-25 14:06:56 [2802] [6] DEBUG:   validity_period: NULL
2008-09-25 14:06:56 [2802] [6] DEBUG:   registered_delivery: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   data_coding: 245 = 0x00f5
2008-09-25 14:06:56 [2802] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2008-09-25 14:06:56 [2802] [6] DEBUG:   sm_length: 50 = 0x0032
2008-09-25 14:06:56 [2802] [6] DEBUG:   short_message:
2008-09-25 14:06:56 [2802] [6] DEBUG:Octet string at 0x2c002130:
2008-09-25 14:06:56 [2802] [6] DEBUG:  len:  50
2008-09-25 14:06:56 [2802] [6] DEBUG:  size: 1024
2008-09-25 14:06:56 [2802] [6] DEBUG:  immutable: 0
2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 06 05 04 0b 84 23 f0 1b 06 01 
ae 02 05 6a 00 45   .#...j.E
2008-09-25 14:06:56 [2802] [6] DEBUG:  data: c6 0c 03 68 74 74 70 3a 2f 2f 
77 77 77 2e 67 6f   ...http://www.go
2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 6f 67 6c 65 2e 63 6f 6d 00 01 
03 74 65 73 74 00   ogle.com...test.
2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 01 01  
   ..
2008-09-25 14:06:56 [2802] [6] DEBUG:Octet string dump ends.
2008-09-25 14:06:56 [2802] [6] DEBUG: SMPP PDU dump ends.



From: Alejandro Guerrieri 
Sent: Friday, September 26, 2008 1:19 AM
To: Alex Arias 
Cc: users@kannel.org ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] 
Subject: Re: wap push received as garbage


Hmm, you could try using the alt-dcs, coding and other available parameter to 
set the data-coding (check the userguide for the details).

I'm checking the SMPP Specs, and thos data coding values are:

0x05 - JIS (X 0208-1990)

0xF5 - Extended Kanji JIS (X 0212-1990)

Checking on Kannel's source code, Kannel doesn't even know how to handle 0x05, 
are you sure about that?

Regards,

Alejandro


On Thu, Sep 25, 2008 at 4:26 PM, Alex Arias [EMAIL PROTECTED] wrote:

  Hi Alejandro,

  I see that I have exactly the same problem as Christian Vandrei in this post 
http://www.mail-archive.com/users@kannel.org/msg08136.html and the same problem 
as Joaquin Vera in this post 
http://www.mail-archive.com/users@kannel.org/msg10058.html 

  So both believe that the problem is the data_coding parameter that should be 
set to something different than 0x04. It should be 0xf5 or 0x05

  Christian, Joaquin were you able to solve this already?

  Thanks

  Alex



  From: Alex Arias 
  Sent: Thursday, September 25, 2008 9:48 PM
  To: Alejandro Guerrieri 
  Cc: Aarno Syvänen ; users@kannel.org 
  Subject: Re: wap push received as garbage


  Hi Alejandro,

  Thank you for your reply. I already used your funcion (thanks BTW), 

Re: wap push received as garbage

2008-09-27 Thread Alejandro Guerrieri
Section 5.2.19 of the SMPP v3.4 shows the data_coding parameter as:

5.2.19 data_coding

Bits 7 6 5 4 3 2 1 0 Meaning Notes

0 0 0 0 0 0 0 0 SMSC Default Alphabet
0 0 0 0 0 0 0 1 IA5 (CCITT T.50)/ASCII (ANSI X3.4) b
0 0 0 0 0 0 1 0 Octet unspecified (8-bit binary)  b
0 0 0 0 0 0 1 1 Latin 1 (ISO-8859-1) b
0 0 0 0 0 1 0 0 Octet unspecified (8-bit binary) a
0 0 0 0 0 1 0 1 JIS (X 0208-1990) b
0 0 0 0 0 1 1 0  Cyrllic (ISO-8859-5) b
0 0 0 0 0 1 1 1 Latin/Hebrew (ISO-8859-8) b
0 0 0 0 1 0 0 0 UCS2 (ISO/IEC-10646) a
0 0 0 0 1 0 0 1 Pictogram Encoding b
0 0 0 0 1 0 1 0 ISO-2022-JP (Music Codes) b
0 0 0 0 1 0 1 1  reserved
0 0 0 0 1 1 0 0   reserved
0 0 0 0 1 1 0 1 Extended Kanji JIS(X 0212-1990) b
0 0 0 0 1 1 1 0 KS C 5601 b
0 0 0 0 1 1 1 1 reserved
 :
1 0 1 1 1 1 1 1 reserved
1 1 0 0 x x x x GSM MWI control - see [GSM 03.38] d
1 1 0 1 x x x x GSM MWI control - see [GSM 03.38] d
1 1 1 0 x x x xreserved
1 1 1 1 x x x xGSM message class control - see [GSM 03.38] e

So 0x05 is 0 0 0 0 0 1 0 1 - JIS (X 0208-1990) b

and 0xF5 is on of: 1 1 1 1 x x x xGSM message class control - see [GSM
03.38] e

BTW, you're trying this on a GSM network, or is it CDMA or TDMA?

Are you sure that the carrier supports wap-push at all? Not all carriers do,
you should check with them just to be sure.

Regards,

Alejandro

On Sat, Sep 27, 2008 at 8:42 AM, Alex Arias [EMAIL PROTECTED] wrote:

  Hi Alejandro,

 Having found the meaning of the DCS (data coding scheme) here
 http://ozekisms.com/index.php?ow_page_number=251 I believe the needed
 configuration should be:

 DCS = 0xf5

 -Compressed text
 -message class = 1 (to mobile)
 -8 bit data enconding

 If I add to your funcion the kannel parameter mclass = 1 it sends the DCS
 = 0xf5 !! as you see in the log below. *H**owever that did not solved the
 problem*, so now I'm running out out ideas.

 I tried to do the same with PPG setting the header X-Kannel-MClass = 1 but
 the message is never delivered. Not even logged in the sms log. The message
 is accepted by the PPG, the wap log says the message has been deliveried to
 bearerbox but then and after there is no trace.

 I also found that the flags of the log of that message woth DCS = 0xf5 are
 set like this:

 [flags:1:1:-1:*-1*:-1]
 where
 [flags:%m:%c:%M:%C:%d]
 and charset %C is not set to 1 (binary) This might be the problem

 I'll keep you posted if I get something!

 2008-09-25 14:06:56 [2802] [19] DEBUG: boxc_receiver: sms received
 2008-09-25 14:06:56 [2802] [19] DEBUG: send_msg: sending msg to boxc:
 ecomm
 2008-09-25 14:06:56 [2802] [6] DEBUG: SMPP[smsc_1]: Sending PDU:
 2008-09-25 14:06:56 [2802] [6] DEBUG: SMPP PDU 0x2c002770 dump:
 2008-09-25 14:06:56 [2802] [6] DEBUG:   type_name: submit_sm
 2008-09-25 14:06:56 [2802] [6] DEBUG:   command_id: 4 = 0x0004
 2008-09-25 14:06:56 [2802] [6] DEBUG:   command_status: 0 = 0x
 2008-09-25 14:06:56 [2802] [6] DEBUG:   sequence_number: 7047 = 0x1b87
 2008-09-25 14:06:56 [2802] [6] DEBUG:   service_type: NULL
 2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr_ton: 2 = 0x0002
 2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr_npi: 1 = 0x0001
 2008-09-25 14:06:56 [2802] [6] DEBUG:   source_addr: [protected]
 2008-09-25 14:06:56 [2802] [6] DEBUG:   dest_addr_ton: 2 = 0x0002
 2008-09-25 14:06:56 [2802] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
 2008-09-25 14:06:56 [2802] [6] DEBUG:   destination_addr: [protected]
 2008-09-25 14:06:56 [2802] [6] DEBUG:   esm_class: 64 = 0x0040
 2008-09-25 14:06:56 [2802] [6] DEBUG:   protocol_id: 0 = 0x
 2008-09-25 14:06:56 [2802] [6] DEBUG:   priority_flag: 0 = 0x
 2008-09-25 14:06:56 [2802] [6] DEBUG:   schedule_delivery_time: NULL
 2008-09-25 14:06:56 [2802] [6] DEBUG:   validity_period: NULL
 2008-09-25 14:06:56 [2802] [6] DEBUG:   registered_delivery: 0 = 0x
 2008-09-25 14:06:56 [2802] [6] DEBUG:   replace_if_present_flag: 0 =
 0x
 *2008-09-25 14:06:56 [2802] [6] DEBUG:   data_coding: 245 = 0x00f5*
 2008-09-25 14:06:56 [2802] [6] DEBUG:   sm_default_msg_id: 0 = 0x
 2008-09-25 14:06:56 [2802] [6] DEBUG:   sm_length: 50 = 0x0032
 2008-09-25 14:06:56 [2802] [6] DEBUG:   short_message:
 2008-09-25 14:06:56 [2802] [6] DEBUG:Octet string at 0x2c002130:
 2008-09-25 14:06:56 [2802] [6] DEBUG:  len:  50
 2008-09-25 14:06:56 [2802] [6] DEBUG:  size: 1024
 2008-09-25 14:06:56 [2802] [6] DEBUG:  immutable: 0
 2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 06 05 04 0b 84 23 f0 1b 06
 01 ae 02 05 6a 00 45   .#...j.E
 2008-09-25 14:06:56 [2802] [6] DEBUG:  data: c6 0c 03 68 74 74 70 3a 2f
 2f 77 77 77 2e 67 6f   ...http://www.go
 2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 6f 67 6c 65 2e 63 6f 6d 00
 01 03 74 65 73 74 00   ogle.com...test.
 2008-09-25 14:06:56 [2802] [6] DEBUG:  data: 01
 01 ..
 2008-09-25 14:06:56 [2802] [6] DEBUG:Octet string dump ends.
 2008-09-25 14:06:56