RE: Binding SMSC in TRX mode

2010-11-26 Thread Harmeet Singh
 = 0x8000

2010-11-26 14:02:49 [30514] [6] DEBUG:   command_status: 0 = 0x

2010-11-26 14:02:49 [30514] [6] DEBUG:   sequence_number: 0 = 0x

2010-11-26 14:02:49 [30514] [6] DEBUG: SMPP PDU dump ends.

2010-11-26 14:02:49 [30514] [6] ERROR: SMPP[sgizmo]: SMSC rejected last
command, code 0x (OK).

2010-11-26 14:02:49 [30514] [6] ERROR: SMPP[sgizmo]: I/O error or other
error. Re-connecting.

2010-11-26 14:02:49 [30514] [6] ERROR: SMPP[sgizmo]: Couldn't connect to SMS
center (retrying in 10 seconds).

2010-11-26 14:02:49 [30514] [7] DEBUG: SMPP[sgizmo]: Got PDU:

2010-11-26 14:02:49 [30514] [7] DEBUG: SMPP PDU 0x83708f8 dump:

2010-11-26 14:02:49 [30514] [7] DEBUG:   type_name: generic_nack

2010-11-26 14:02:49 [30514] [7] DEBUG:   command_id: 2147483648 = 0x8000

2010-11-26 14:02:49 [30514] [7] DEBUG:   command_status: 0 = 0x

2010-11-26 14:02:49 [30514] [7] DEBUG:   sequence_number: 0 = 0x

2010-11-26 14:02:49 [30514] [7] DEBUG: SMPP PDU dump ends.

2010-11-26 14:02:49 [30514] [7] ERROR: SMPP[sgizmo]: SMSC rejected last
command, code 0x (OK).

2010-11-26 14:02:49 [30514] [7] ERROR: SMPP[sgizmo]: I/O error or other
error. Re-connecting.

2010-11-26 14:02:49 [30514] [7] ERROR: SMPP[sgizmo]: Couldn't connect to SMS
center (retrying in 10 seconds).

 

 

Regards

Harmeet Singh

 

From: Harmeet Singh [mailto:harmeet.dhing...@gmail.com] 
Sent: 24 November 2010 22:56
To: 'kannel users'
Subject: Binding SMSC in TRX mode

 

Greetings ,

 

Our SMSC carrier wants me to connect them in TRx mode.

Currently it is connecting in Tx and Rx mode , I have used both
transreciver-mode = true or false .

But still unable to connect SMSC.

 

I had already read the manual but unable to understand how to connect SMSC
using different mode.

 

Please help me in connecting the SMSC in TRx mode.

 

Following is my SMPP configuration

 

group = smsc

smsc = smpp

smsc-id = test

host = xx.xxx.xxx.xxx

port = 5000

receive-port = 5000 

transceiver-mode=true

smsc-username = Userid

smsc-password = Password

system-type=default

interface-version = 34

 

 

Regards

Harmeet Singh 



Binding SMSC in TRX mode

2010-11-24 Thread Harmeet Singh
Greetings ,

 

Our SMSC carrier wants me to connect them in TRx mode.

Currently it is connecting in Tx and Rx mode , I have used both
transreciver-mode = true or false .

But still unable to connect SMSC.

 

I had already read the manual but unable to understand how to connect SMSC
using different mode.

 

Please help me in connecting the SMSC in TRx mode.

 

Following is my SMPP configuration

 

group = smsc

smsc = smpp

smsc-id = test

host = xx.xxx.xxx.xxx

port = 5000

receive-port = 5000 

transceiver-mode=true

smsc-username = Userid

smsc-password = Password

system-type=default

interface-version = 34

 

 

Regards

Harmeet Singh 



RE: using netwpin in kannel cvs

2010-11-16 Thread Harmeet Singh
Greetings,

 

Thanks so much for your support.

 

I am really grateful to you.

 

I am able to send oma-settings using following syntax for using netwpin .

 

Thank you very much.

 

Regards

Harmeet Singh

 

From: Ady Wicaksono [mailto:ady.wicaks...@gmail.com] 
Sent: 16 November 2010 10:51
To: Harmeet Singh
Cc: kannel users
Subject: Re: using netwpin in kannel cvs

 

Rather than
pin=4940205060072800

Try this

pin=%49%40%20%50%60%07%28%00

thanks

On Sun, Nov 14, 2010 at 6:33 PM, Harmeet Singh harmeet.dhing...@gmail.com
wrote:

Greetings,

I am able to send the oma-settings Message by using Kannel and UserPin has
been used , But i want to use Netwpin (Imsi No) .

I had already verified my IMSI no and it is ok . It has 15 digit .

According to the document i  had calculate the NETWPIN but again same
message is there i.e Authentication failed .

 

My IMSI no is 404020506708200 as per the document i had calculated as 49 40
20 50 60 07 28 00 .

 

9 is used to pair.

Please help me to know how can i use Netwpin to send the oma settings.

I am using kannel cvs.

May i know anyone who can provide paid consultant services regarding
implementation of netwpin .

I am using following function to send oma-settings :

sendOMASettings(8146256126,4940205060072800);

 

public String sendOMASettings(String to, String pin) {

String result = ;

try {

StringBuffer buffer = new StringBuffer();

if (pin == null) {

pin = ;

}

buffer.append(?xml version=\1.0\?\r\n).

append(!DOCTYPE wap-provisioningdoc PUBLIC
\-//WAPFORUM//DTD PROV 1.0//EN\ \http://www.wapforum.org/DTD/prov.dtd\
http://www.wapforum.org/DTD/prov.dtd/ \r\n).

append(wap-provisioningdoc \r\n).

append(characteristic type=\NAPDEF\\r\n).

append(parm name=\NAPID\ value=\inet\/\r\n).

append(parm name=\NAME\ value=\Idea
Internet\/\r\n).

append(parm name=\BEARER\
value=\GSM-GPRS\/\r\n).

append(parm name=\NAP-ADDRESS\
value=\internet\/\r\n).

append(parm name=\NAP-ADDRTYPE\
value=\internet\/\r\n).

append(parm name=\INTERNET\/\r\n).

append(/characteristic\r\n).

append(characteristic type=\APPLICATION\\r\n).

append(parm name=\APPID\ value=\w2\/\r\n).

append(parm name=\TO-NAPID\ value=\inet\/\r\n).

append(characteristic type=\RESOURCE\\r\n).

append(parm name=\URI\
value=\http://google.com\/\r\n).

append(parm name=\STARTPAGE\/\r\n).

append(/characteristic\r\n).

append(/characteristic\r\n).

append(/wap-provisioningdoc\r\n);

 

String data = java.net.URLEncoder.encode(buffer.toString(),
UTF8);

String toInURL = java.net.URLEncoder.encode(to, UTF8);

String sendURL = http://; + kannelServerIP + : +
serverSendPort + /cgi-bin/sendota?username= + user 

+ password= + password + coding=2to= + toInURL +
text= + data + from= 

+ yourShortNumber + type=oma-settings + sec=netwpin +
pin= + pin ;

java.net.URL url = new java.net.URL(sendURL);

java.io.InputStream in = url.openStream();

java.io.BufferedInputStream bufIn = new
java.io.BufferedInputStream(in);

for (;;) {

int car = bufIn.read(); 

if (car == -1) {

break;

} else {

result = result + (char) car;

}

}

bufIn.close();

in.close();

} catch (Exception e) {

e.printStackTrace();

result = failed;

}

return result;

} //END

 

Regards

Harmeet Singh 

 




-- 

Regards,

Ady Wicaksono

 



using netwpin in kannel cvs

2010-11-14 Thread Harmeet Singh
Greetings,

I am able to send the oma-settings Message by using Kannel and UserPin has
been used , But i want to use Netwpin (Imsi No) .

I had already verified my IMSI no and it is ok . It has 15 digit .

According to the document i  had calculate the NETWPIN but again same
message is there i.e Authentication failed .

 

My IMSI no is 404020506708200 as per the document i had calculated as 49 40
20 50 60 07 28 00 .

 

9 is used to pair.

Please help me to know how can i use Netwpin to send the oma settings.

I am using kannel cvs.

May i know anyone who can provide paid consultant services regarding
implementation of netwpin .

I am using following function to send oma-settings :

sendOMASettings(8146256126,4940205060072800);

 

public String sendOMASettings(String to, String pin) {

String result = ;

try {

StringBuffer buffer = new StringBuffer();

if (pin == null) {

pin = ;

}

buffer.append(?xml version=\1.0\?\r\n).

append(!DOCTYPE wap-provisioningdoc PUBLIC
\-//WAPFORUM//DTD PROV 1.0//EN\ \http://www.wapforum.org/DTD/prov.dtd\
http://www.wapforum.org/DTD/prov.dtd/ \r\n).

append(wap-provisioningdoc \r\n).

append(characteristic type=\NAPDEF\\r\n).

append(parm name=\NAPID\ value=\inet\/\r\n).

append(parm name=\NAME\ value=\Idea
Internet\/\r\n).

append(parm name=\BEARER\
value=\GSM-GPRS\/\r\n).

append(parm name=\NAP-ADDRESS\
value=\internet\/\r\n).

append(parm name=\NAP-ADDRTYPE\
value=\internet\/\r\n).

append(parm name=\INTERNET\/\r\n).

append(/characteristic\r\n).

append(characteristic type=\APPLICATION\\r\n).

append(parm name=\APPID\ value=\w2\/\r\n).

append(parm name=\TO-NAPID\ value=\inet\/\r\n).

append(characteristic type=\RESOURCE\\r\n).

append(parm name=\URI\
value=\http://google.com\/\r\n).

append(parm name=\STARTPAGE\/\r\n).

append(/characteristic\r\n).

append(/characteristic\r\n).

append(/wap-provisioningdoc\r\n);

 

String data = java.net.URLEncoder.encode(buffer.toString(),
UTF8);

String toInURL = java.net.URLEncoder.encode(to, UTF8);

String sendURL = http://; + kannelServerIP + : +
serverSendPort + /cgi-bin/sendota?username= + user 

+ password= + password + coding=2to= + toInURL +
text= + data + from= 

+ yourShortNumber + type=oma-settings + sec=netwpin +
pin= + pin ;

java.net.URL url = new java.net.URL(sendURL);

java.io.InputStream in = url.openStream();

java.io.BufferedInputStream bufIn = new
java.io.BufferedInputStream(in);

for (;;) {

int car = bufIn.read(); 

if (car == -1) {

break;

} else {

result = result + (char) car;

}

}

bufIn.close();

in.close();

} catch (Exception e) {

e.printStackTrace();

result = failed;

}

return result;

} //END

 

Regards

Harmeet Singh 

 



RE: Regarding IMSI No

2010-10-21 Thread Harmeet Singh
Greetings ,

 

Thank you so much for the reply.

 

By using following java class My NETWPIN is 4940205060072800  .

 

The message got deliver to handset but again authentication fails .

 

Following is the java class i am using to send OTA message using NETWPIN.

 In main function i m calling 

 

sendOMASettings(“8146256126”,” 4940205060072800  ”);

 

public String sendOMASettings(String to, String pin) {

String result = ;

try {

StringBuffer buffer = new StringBuffer();

if (pin == null) {

pin = ;

}

buffer.append(?xml version=\1.0\?\r\n).

append(!DOCTYPE wap-provisioningdoc PUBLIC 
\-//WAPFORUM//DTD PROV 1.0//EN\ \http://www.wapforum.org/DTD/prov.dtd\ 
http://www.wapforum.org/DTD/prov.dtd/ \r\n).

append(wap-provisioningdoc \r\n).

append(characteristic type=\NAPDEF\\r\n).

append(parm name=\NAPID\ value=\inet\/\r\n).

append(parm name=\NAME\ value=\Idea Internet\/\r\n).

append(parm name=\BEARER\ value=\GSM-GPRS\/\r\n).

append(parm name=\NAP-ADDRESS\ 
value=\internet\/\r\n).

append(parm name=\NAP-ADDRTYPE\ 
value=\internet\/\r\n).

append(parm name=\INTERNET\/\r\n).

append(/characteristic\r\n).

append(characteristic type=\APPLICATION\\r\n).

append(parm name=\APPID\ value=\w2\/\r\n).

append(parm name=\TO-NAPID\ value=\inet\/\r\n).

append(characteristic type=\RESOURCE\\r\n).

append(parm name=\URI\ 
value=\http://google.com\/\r\n).

append(parm name=\STARTPAGE\/\r\n).

append(/characteristic\r\n).

append(/characteristic\r\n).

append(/wap-provisioningdoc\r\n);

 

String data = java.net.URLEncoder.encode(buffer.toString(), UTF8);

String toInURL = java.net.URLEncoder.encode(to, UTF8);

String sendURL = http://; + kannelServerIP + : + 
serverSendPort + /cgi-bin/sendota?username= + user 

+ password= + password + coding=2to= + toInURL + text= 
+ data + from= 

+ yourShortNumber + type=oma-settings + sec=netwpin + 
pin= + pin ;

java.net.URL url = new java.net.URL(sendURL);

java.io.InputStream in = url.openStream();

java.io.BufferedInputStream bufIn = new 
java.io.BufferedInputStream(in);

for (;;) {

int car = bufIn.read(); 

if (car == -1) {

break;

} else {

result = result + (char) car;

}

}

bufIn.close();

in.close();

} catch (Exception e) {

e.printStackTrace();

result = failed;

}

return result;

} //END

 

The mobile number and imsi no are verified and tested using nowsms trial 
version.

 

Please help in using sendota method with netwpin.

 

Regards

Harmeet Singh

 

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: 21 October 2010 11:14
To: Harmeet Singh
Cc: kannel users
Subject: Re: Regarding IMSI No

 

Try this java class:



 

public class NETWPIN {

public static void main(String[] args) {

String IMSI = 404020506708200;

byte[] key = getKeyFromIMSI(IMSI);

String NETWPIN = bytesToHex(key);

System.out.println(NETWPIN from imsi:  + NETWPIN);

}

private static byte[] getKeyFromIMSI(String imsi) {

imsi = imsi.trim();

if ((imsi.length() % 2) == 1) {

imsi = 9 + imsi;

} else {

imsi = 1 + imsi;

imsi = imsi + F;

}

int numDigit = imsi.length();

String temp = null;

char c1 = 0;

char c2 = 0;

byte b = 0;

byte[] key = new byte[numDigit / 2]; // always even

int t = 0;

for (int i = 0; i  numDigit; i++) {

c1 = imsi.charAt(i);

c2 = imsi.charAt(++i);

temp =  + c2 + c1;

try {

key[t] = (byte) (Integer.parseInt(temp, 16));

} catch (Exception ex) {

ex.printStackTrace();

}

t++;

}

return key;

}

private static String bytesToHex(byte[] b) {

StringBuffer buf = new StringBuffer();

for (int i = 0; i  b.length; i++) {

buf.append(byteToHex(b[i]));

}

return buf.toString();

}

private static String byteToHex(byte b) {

// Returns hex String representation of byte b

char hexDigit[] = {

'0', '1', '2', '3', '4', '5', '6', '7',

'8', '9', 'A', 'B', 'C', 'D', 'E', 'F

RE: Regarding IMSI No

2010-10-13 Thread Harmeet Singh
Hi,

 

Please help me in understanding how to use NETWPIN with kannel to send OTA 
settings.

 

I think i am missing how to calculate HMAC code.

 

Will be grateful for any kind of hint .

 

 

Regards

Harmeet Singh 

 

From: Harmeet Singh [mailto:harmeet.dhing...@gmail.com] 
Sent: 12 October 2010 15:29
To: 'Benaiad'
Cc: 'kannel users'
Subject: RE: Regarding IMSI No

 

Greetings ,

 

Thanks for the reply.

 

According to the document i  had calculate the NETWPIN but again same message 
is there i.e Authentication failed .

 

My IMSI no is 404020506708200 as per the document i had calculated as 49 40 20 
50 60 07 28 00 .

 

9 is used to pair.

 

It is not working , Please help me in calculating above IMSI no to NETWPIN for 
Kannel.

 

Regards

Harmeet Singh

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: 12 October 2010 11:36
To: Harmeet Singh
Cc: kannel users
Subject: Re: Regarding IMSI No

 

Hi,

 

This document may help to explain the process of calculating the NETWPIN:

 

http://www.nowsms.com/discus/messages/1/OTA_Motorola-3137.pdf




Regards

--

Abdulmnem Benaiad

Almontaha CTO

 http://www.almontaha.ly/ www.almontaha.ly

Tripoli-Libyan

 

On Tue, Oct 12, 2010 at 7:17 AM, Harmeet Singh harmeet.dhing...@gmail.com 
wrote:

Greetings,

 

I am able to send the OTA Settings Message by using Kannel and UserPin has been 
used , But i want to use Netwpin (Imsi No) .

 

I had already verified my IMSI no and it is ok . It has 15 digit .

 

After reading and searching i came to know that we should provide Netwpin as 
semi-octets .

 

Please help me to know how can i use Netwpin to send the OTA settings.

 

Regards

Harmeet Singh 

 

 

 



RE: Regarding IMSI No

2010-10-12 Thread Harmeet Singh
Greetings ,

 

Thanks for the reply.

 

According to the document i  had calculate the NETWPIN but again same message 
is there i.e Authentication failed .

 

My IMSI no is 404020506708200 as per the document i had calculated as 49 40 20 
50 60 07 28 00 .

 

9 is used to pair.

 

It is not working , Please help me in calculating above IMSI no to NETWPIN for 
Kannel.

 

Regards

Harmeet Singh

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: 12 October 2010 11:36
To: Harmeet Singh
Cc: kannel users
Subject: Re: Regarding IMSI No

 

Hi,

 

This document may help to explain the process of calculating the NETWPIN:

 

http://www.nowsms.com/discus/messages/1/OTA_Motorola-3137.pdf




Regards

--

Abdulmnem Benaiad

Almontaha CTO

 http://www.almontaha.ly/ www.almontaha.ly

Tripoli-Libyan





On Tue, Oct 12, 2010 at 7:17 AM, Harmeet Singh harmeet.dhing...@gmail.com 
wrote:

Greetings,

 

I am able to send the OTA Settings Message by using Kannel and UserPin has been 
used , But i want to use Netwpin (Imsi No) .

 

I had already verified my IMSI no and it is ok . It has 15 digit .

 

After reading and searching i came to know that we should provide Netwpin as 
semi-octets .

 

Please help me to know how can i use Netwpin to send the OTA settings.

 

Regards

Harmeet Singh 

 

 

 



Regarding IMSI No

2010-10-11 Thread Harmeet Singh
Greetings,

 

I am able to send the OTA Settings Message by using Kannel and UserPin has
been used , But i want to use Netwpin (Imsi No) .

 

I had already verified my IMSI no and it is ok . It has 15 digit .

 

After reading and searching i came to know that we should provide Netwpin as
semi-octets .

 

Please help me to know how can i use Netwpin to send the OTA settings.

 

Regards

Harmeet Singh 

 

 



RE: Regarding OTA Message

2010-10-09 Thread Harmeet Singh
Sir,

 

I am able to send the OTA Settings Message by using following Method.

In the following method UserPin has been used , But i want to use Netwpin (Imsi 
No) .

 

I had already verified my IMSI no and it is ok . It has 15 digit .

 

After reading and searching i came to know that we should provide Netwpin as 
semi-octets .

 

Please help me to know how can i use Netwpin to send the following settings.

 

Regards

Harmeet Singh 

 

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: 24 May 2010 04:00
To: Harmeet Singh
Cc: kannel users
Subject: Re: Regarding OTA Message

 

Hi,

 

I wrote a java method for this and I hope it helps:

Note: I've tested this on the latest kannel svn and you have to do the same.

 

public String sendOMASettings(String to, String pin) {

String result = ;

try {

StringBuffer buffer = new StringBuffer();

if (pin == null) {

pin = ;

}

buffer.append(?xml version=\1.0\?\r\n).

append(!DOCTYPE wap-provisioningdoc PUBLIC 
\-//WAPFORUM//DTD PROV 1.0//EN\ \http://www.wapforum.org/DTD/prov.dtd\ 
http://www.wapforum.org/DTD/prov.dtd/ \r\n).

append(wap-provisioningdoc \r\n).

append(characteristic type=\NAPDEF\\r\n).

append(parm name=\NAPID\ value=\inet\/\r\n).

append(parm name=\NAME\ value=\Idea Internet\/\r\n).

append(parm name=\BEARER\ value=\GSM-GPRS\/\r\n).

append(parm name=\NAP-ADDRESS\ 
value=\internet\/\r\n).

append(parm name=\NAP-ADDRTYPE\ 
value=\internet\/\r\n).

append(parm name=\INTERNET\/\r\n).

append(/characteristic\r\n).

append(characteristic type=\APPLICATION\\r\n).

append(parm name=\APPID\ value=\w2\/\r\n).

append(parm name=\TO-NAPID\ value=\inet\/\r\n).

append(characteristic type=\RESOURCE\\r\n).

append(parm name=\URI\ 
value=\http://google.com\/\r\n).

append(parm name=\STARTPAGE\/\r\n).

append(/characteristic\r\n).

append(/characteristic\r\n).

append(/wap-provisioningdoc\r\n);

 

String data = java.net.URLEncoder.encode(buffer.toString(), UTF8);

String toInURL = java.net.URLEncoder.encode(to, UTF8);

String sendURL = http://; + kannelServerIP + : + 
serverSendPort + /cgi-bin/sendota?username= + user 

+ password= + password + coding=2to= + toInURL + text= 
+ data + smsc= + yoursmsc  + from= 

+ yourShortNumber + type=oma-settings + sec=userpin + 
pin= + pin ;

java.net.URL url = new java.net.URL(sendURL);

java.io.InputStream in = url.openStream();

java.io.BufferedInputStream bufIn = new 
java.io.BufferedInputStream(in);

for (;;) {

int car = bufIn.read(); 

if (car == -1) {

break;

} else {

result = result + (char) car;

}

}

bufIn.close();

in.close();

} catch (Exception e) {

e.printStackTrace();

result = failed;

}

return result;

} //END

 

 

Regards,

--

Benaiad



Regarding OMA-Settings

2010-10-07 Thread Harmeet

Hi,

I am able to send OTA settings using userpin .
But as i send OTA settings using Netwpin the handset got the message but it 
display Authentication fail .
and other nokia handet receive the message and then discarded it without 
intimation .


Following is the URL i am using

http://172.17.3.79:13013/cgi-bin/sendota?username=XXXpassword=coding=2to=XXtext=datatype=oma-settingssec=netwpinpin=

IMSI no is confirmed.

Please suggest.

Regards
Harmeet Singh 








How to get the count of message sent

2010-06-30 Thread Harmeet

Hi,

I am using kannel to send OTA XML messages , it include URLENCODED text .

The length of URLENCODED text is about 2087
but message send by kannel is 2 msg as it calculate it into 185 length .

How can i get the count of message sent by kannel in case of URLENCODED 
through HTTP Link.


Regards
Harmeet Singh 








Checking whether the WAP gateway is alive

2010-06-30 Thread Harmeet

Hi,

I am using the following URL :

http://localhost:1300/kannel:alive   it is not working . It shows me that

Unknown command `/kannel:alive'.
Possible commands are:
status
store-status
log-level
shutdown
suspend
isolate
resume
restart
flush-dlr
stop-smsc
start-smsc
add-smsc
remove-smsc
reload-lists
But i can check the status with the help of followng 
command.http://localhost:1300/status.html?password=kannelstatus


Please help.

Regards
Harmeet Singh 








Re: Checking whether the WAP gateway is alive

2010-06-30 Thread Harmeet
Hi,

Please refer to the kannel CVS userguide , There is mention that :

Checking whether the WAP gateway is alive

You can check whether the WAP gateway (both the bearerbox and the wapbox) is 
alive by fetching the
URL kannel:alive.

at page no 33 . Please help me to know how to implement this command.


Regards
Harmeet Singh

- Original Message - 
From: Kiran Reddy ki...@uniceltech.com
To: Harmeet harmeet.dhin...@kochar.com
Cc: users@kannel.org
Sent: Wednesday, June 30, 2010 5:08 PM
Subject: Re: Checking whether the WAP gateway is alive


 Hi Harmeet,
 
 using http://localhost:1300/stauts?password=password you can check the 
 status of kannel and wap and other things and you can use below Possible 
 commands  other then these command you can not specify any other 
 commands. for more info read kannel user guide.
 status
 store-status
 log-level
 shutdown
 suspend
 isolate
 resume
 restart
 flush-dlr
 stop-smsc
 start-smsc
 add-smsc
 remove-smsc
 reload-lists
 
 Regards,
 Kiran Reddy
 
 On 6/30/2010 4:29 PM, Harmeet wrote:
 Hi,

 I am using the following URL :

 http://localhost:1300/kannel:alive   it is not working . It shows me that

 Unknown command `/kannel:alive'.
 Possible commands are:
 status
 store-status
 log-level
 shutdown
 suspend
 isolate
 resume
 restart
 flush-dlr
 stop-smsc
 start-smsc
 add-smsc
 remove-smsc
 reload-lists
 But i can check the status with the help of followng 
 command.http://localhost:1300/status.html?password=kannelstatus

 Please help.

 Regards
 Harmeet Singh





 
 


How to get the count of message sent

2010-06-29 Thread Harmeet

Hi,

I am using kannel to send OTA XML messages , it include URLENCODED text .

The length of URLENCODED text is about 2087
but message send by kannel is 2 msg as it calculate it into 185 length .

How can i get the count of message sent by kannel in case of URLENCODED 
through HTTP Link.


Regards
Harmeet Singh 








http adminstration commands

2010-06-28 Thread Harmeet Singh Dhingra
Hi,

I am using kannel CVS Version as a SMS gateway to send XML settings message.

As in kannel I have following command to check the status of Kannel :

http://localhost:13000/status.html?password=password

Now i want to restart kannel service by using http adminstation commands
Please help me to know the exact command for it .As the command i am
using below which is not working.

http://localhost:13000/restart?password=pasword

Kannel returns me Denied.

Regards

Harmeet Singh



Kannel SMS speed control

2010-06-28 Thread Harmeet Singh Dhingra
Hi,

I am using Kannel CVS Version.

Please help me to know that How many SMS can kannel sent PER/MIN using
SMPP server.

Can i control the speed of sending message of Kannel on the basis of
send-sms user group.

Regards
Harmeet Singh



RE: Regarding OTA Message

2010-06-11 Thread Harmeet Singh
Sir,

 

Thanks so much for your support .

I am now able to send OTA message.

 

God Bless you. J

 

Thanks  Regards

Harmeet Singh

 

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: 18 May 2010 18:02
To: Harmeet Singh
Cc: kannel users
Subject: Re: Regarding OTA Message

 

Hi,

 

I've checked your html page and it looks ok to me but I'm not sure if it's ok 
to send the request to kannel from html page instead of using a programming 
language like php or java because you need to add \r\n at the end of each 
line.

 

Regards.

--

Benaiad

 

On Tue, May 18, 2010 at 11:38 AM, Harmeet Singh harmeet.dhing...@gmail.com 
wrote:

Hi, 

The same problem still there i.e OTA message is received by handset but 

“unable to open message format not supported”

Please find the attach details of all Logs at kannel server.

Please help me regarding this . 

Regards

Harmeet Singh

 

From: Benaiad [mailto:bena...@gmail.com] 

Sent: 07 May 2010 22:33
To: Harmeet Singh
Cc: kannel users

Subject: Re: Regarding OTA Message

 

Harmeet,

 

Try the following:

1- download kannel from cvs.

2- download latest openssl and config it using ./config threads shared 
enable-rc5 --prefix=/usr/local/64 then make depend  make   make test  make 
install

3- configure kannel with these parameters: --enable-ssl --with-ssl=/path to 
openssl source then make   make install

4- add the following conf params to kannel core group:
ssl-server-cert-file = /path-to-kannel-src/gw/cert.pem
ssl-server-key-file = /path-to-kannel-src/gw/key.pem

5- send using: 

http://127.0.0.1:13013/cgi-bin/sendota?username=$user 
http://127.0.0.1:13013/cgi-bin/sendota?username=$userpassword=$passwdto=$msisdntext=$URLEncoderDoctype=settingspin=$pinsec=userpin
 
password=$passwdto=$msisdntext=$URLEncoderDoctype=settingspin=$pinsec=userpin

 

If it doesn't work; post the related logs.

 

Regards,

--

Benaiad

 

 

 



Regarding sending concatenated long messages

2010-06-10 Thread Harmeet Singh
Hi,

 

I had configure kannel and able to send a single message but when i try to
send a text message 

whose length is about 260 character , The kannel send only 160 character.

 

When i go through the smsbox log the Log says that message length 260 and 1
message sent.

 

I had studied the concatenation and max-message property.

 

http://172.17.3.14:13013/cgi-bin/sendsms?username=otauser
http://172.17.3.14:13013/cgi-bin/sendsms?username=otauserpassword=otapassw
ordto=9988020585$from=MEtext=hellohhegekjg
kjegkjegkjegkjgekjgekjekjkjgekjgekjgkjkjhckvlhxkchvkxhcklvhxzkjvhkjzxhkjvhdf
hsdfhsdfhsdfgsdfggkzjxghvkjdghvsjlkdgvlkjsagdvljksgadlkjvgaskjldgfvasjkgdf
password=otapasswordto=9988020585$from=MEtext=hellooo
oohhegekjgkjegkjegkjegkjgekjgekjekjkjgekjgekjgkjkjhckvlhxkchvkxhcklv
hxzkjvhkjzxhkjvhdfhsdfhsdfhsdfgsdfggkzjxghvkjdghvsjlkdgvlkjsagdvljksgadlkjvg
askjldgfvasjkgdf

Please help.

 

Regards

Harmeet Singh

group = core
admin-port = 13000
admin-password = kanneladmin
status-password = kannelstatus
admin-deny-ip = 
admin-allow-ip = *.*.*.*
smsbox-port = 13001
box-deny-ip = 
box-allow-ip = *.*.*.*
store-type = spool
store-location = /tmp/sms
log-file = /tmp/kannel.log
log-level = 0
access-log = /tmp/access.log
#http-proxy-host = 127.0.0.1
#http-proxy-port = 8080
#http-proxy-exceptions = 127.0.0.1
#http-proxy-username = user
#http-proxy-password = password
#ssl-certkey-file = mycertandprivkeyfile.pem
ssl-server-cert-file = /gateway/gw/cert.pem
ssl-server-key-file = /gateway/gw/key.pem

# This is connection to smpp simulater
group = smsc
smsc = smpp
smsc-id = uniceltech
host = xx.xxx.xxx.xxx
port = 52612
receive-port = 52612 
smsc-username = Userid
smsc-password = Password
system-type=default
alt-charset = ISO-8859-1
#service-type = 'test'
interface-version = 34
address-range = ''
msg-id-type = 0
source-addr-ton = 5
source-addr-npi = 9
dest-addr-ton = 1
dest-addr-npi = 1

# Smsbox related
#smsbox-port = 13001
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
#unified-prefix = 00358,0
#white-list = http://127.0.0.1/white-list.txt;
#black-list = http://127.0.0.1/black-list.txt;
#store-file = kannel.store

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = GizmoSupport
log-file = /tmp/smsbox.log
log-level = 0

# Wapbox related
#wapbox-port = 13002
#udp-deny-ip = *.*.*.*
#udp-allow-ip = 127.0.0.1
#wdp-interface-name = *


# SMSC CONNECTIONS - GLOBAL FIELDS
#group = smsc
#smsc = 
#smsc-id = ID
#denied-smsc-id = X;Y
#allowed-smsc-id = Z
#preferred-smsc-id = W
#allowed-prefix = 040;050
#denied-prefix = 060;070
#alt-charset = 


# SMSC Nokia CIMD2
#group = smsc
#smsc = cimd2
#host = 
#port = 
#smsc-username =
#smsc-password =
#keepalive = 
#sender-prefix =


# SMSC EMI
#group = smsc
#smsc = emi2 
#smsc = emi_ip to use the old implementation
#host =
#port =
#smsc-username =
#smsc-password =
#device = /dev/
#phone = 
#our-port =
#receive-port =
#connect-allow-ip =
#keepalive = 
#flow-control =


# SMSC SMPP
#group = smsc
#smsc = smpp
#host =
#port =
#receive-port =
#smsc-username =
#smsc-password =
#system-type =
#address-range =


# SMSC SEMA
#group = smsc
#smsc = sema
#device = /dev/tty0
#smsc_nua = (X121 smsc address)
#home_nua = (x121 radio pad address)
#wait_report = 0/1 (0 means false, 1 means true)


# SMSC OIS
#group = smsc
#smsc = ois
#host = 103.102.101.100
#port = 1
#receive-port = 1
#ois-debug-level = 0


# SMSC GSM
#group = smsc
#smsc = at
#modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom | nokiaphone 
| ericsson
#device = /dev/ttyS0
#pin = 2345
#validityperiod = 167

# SMSC Fake
#group = smsc
#smsc = fake
#host = 
#port = 
#connect-allow-ip = 


# SMSC HTTP
#group = smsc
#smsc = http
#system-type = kannel
#send-url = 
#port = 
#connect-allow-ip = 
#username = 
#password = 


# SMSBOX SETUP

#group = smsbox
#bearerbox-host = localhost
#sendsms-port = 13013
#sendsms-chars = 0123456789 +-
#global-sender = 12345
#log-file = /tmp/smsbox.log
#log-level = 0
#access-log = access.log
#white-list =
#black-list =
#reply-couldnotfetch = 
#reply-couldnotrepresent = 
#reply-requestfailed =
#reply-emptymessage = 


# SEND-SMS USERS

group = sendsms-user
#dlr-url = http://localhost/sms/dlr.php?dlr=%ddest=%preport=%A; 
username = smsuser
password = smspassword
default-smsc = uniceltech
#user-deny-ip = 
#user-allow-ip = 

group = sendsms-user
username = otauser
password = otapassword
concatenation = 1
max-message = 10
default-smsc = uniceltech
#user-deny-ip = 
#user-allow-ip = 

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = *.*.*.*
user-allow-ip = 127.0.0.1
#name = service_kannel
#forced-smsc = ID
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars = 
#split-suffix = 
#omit-empty = 
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =



# SMS SERVICES

#group

RE: Regarding OTA Message

2010-05-07 Thread Harmeet Singh
Hi,

I am using following URLas mention in the Kannel User Guide.

http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart
o=xxtext=urlEncodedXML

Thanks for your effort for me.

Regards
Harmeet Singh


-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: 07 May 2010 20:49
To: Harmeet Singh
Cc: users@kannel.org
Subject: Re: Regarding OTA Message

Gee, Let me see. Kannel could have a different URL for each different HTTP 
method or even file type. However, the HTTP protocol distinguishes between 
those very efficiently. So have you tried... cgi-bin/sendota?

BR,
Nikos
- Original Message - 
From: Harmeet Singh harmeet.dhing...@gmail.com
To: 'Nikos Balkanas' nbalka...@gmail.com
Cc: users@kannel.org
Sent: Friday, May 07, 2010 7:30 AM
Subject: RE: Regarding OTA Message


 Hi,

 I know how to POST XML file , But do not know the Link of Kannel to which 
 i
 should POST XML file.

 I am currently using NOWSMS to POST XML file . Link for NOWSMS is

 http://localhost:8800?OTA=POST . Please provide me the similar Link used 
 in
 Kannel to which i can POST file.

 Regards
 Harmeet Singh

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 07 May 2010 00:11
 To: Harmeet Singh
 Cc: users@kannel.org
 Subject: Re: Regarding OTA Message

 Read http://www.w3.org/ on how to POST xml files.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh harmeet.dhing...@gmail.com
 To: 'Nikos Balkanas' nbalka...@gmail.com
 Cc: users@kannel.org
 Sent: Thursday, May 06, 2010 7:40 PM
 Subject: RE: Regarding OTA Message


 Hi,

 Please provide the method to POST xml message through kannel.

 Regards
 Harmeet Singh

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 06 May 2010 22:08
 To: Harmeet Singh
 Cc: users@kannel.org
 Subject: Re: Regarding OTA Message

 Hi,

 I don't use OTA. You mentioned that:

 I had used XML . The XML is in urlencode form.

 not me.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh harmeet.dhing...@gmail.com
 To: 'Nikos Balkanas' nbalka...@gmail.com
 Cc: users@kannel.org
 Sent: Thursday, May 06, 2010 7:33 PM
 Subject: RE: Regarding OTA Message


 Hi,

 I am using the URL as mention in Kannel User guide.
 There is no POST method documentation is available in User Guide.

 Please mention the Procedure used by you to send OTA message .

 Regards
 Harmeet Singh


 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 06 May 2010 16:15
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 You shouldn't URL-encode XML in the POST...

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: 'Nikos Balkanas' ; users@kannel.org
 Sent: Thursday, May 06, 2010 5:25 AM
 Subject: RE: Regarding OTA Message


 Hi,

 I had used XML . The XML is in urlencode form.

 The HTTP url i am using is according to document there may be to do with
 kannel configuration of OTA-Settings with SMPP.

 I want to know the how kannel can be configured for OTA-settings with
 SMPP.

 Regards
 Harmeet Singh

 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 05 May 2010 05:58
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 Hi,

 Try using XML and POST-XML. This is unreadable.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: users@kannel.org
 Sent: Tuesday, May 04, 2010 9:17 PM
 Subject: FW: Regarding OTA Message

 Greetings,

 I want to use Kannel Gateway to send Configuration message(OTA) to 
 mobile
 phones.

 According to user Guide i had URLEncode and using following URL to send
 OTA
 message.




http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart



o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO



OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2



Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n



ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val



ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G



PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3



E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa



rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO



%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%



09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na



me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
 09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E
 The OTA messages are being deleiver to mobile but it unable to save
 settings

 on mobile. Error message Unable to open message format not supported
 Please help me for using the kannel gateway for sending OTA message.
 Regards
 Harmeet Singh









 





RE: Regarding OTA Message

2010-05-06 Thread Harmeet Singh
Hi,

I am using the URL as mention in Kannel User guide.
There is no POST method documentation is available in User Guide.

Please mention the Procedure used by you to send OTA message .

Regards
Harmeet Singh


-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: 06 May 2010 16:15
To: Harmeet Singh; users@kannel.org
Subject: Re: Regarding OTA Message

You shouldn't URL-encode XML in the POST...

BR,
Nikos
- Original Message - 
From: Harmeet Singh
To: 'Nikos Balkanas' ; users@kannel.org
Sent: Thursday, May 06, 2010 5:25 AM
Subject: RE: Regarding OTA Message


Hi,

I had used XML . The XML is in urlencode form.

The HTTP url i am using is according to document there may be to do with 
kannel configuration of OTA-Settings with SMPP.

I want to know the how kannel can be configured for OTA-settings with SMPP.

Regards
Harmeet Singh

From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: 05 May 2010 05:58
To: Harmeet Singh; users@kannel.org
Subject: Re: Regarding OTA Message

Hi,

Try using XML and POST-XML. This is unreadable.

BR,
Nikos
- Original Message - 
From: Harmeet Singh
To: users@kannel.org
Sent: Tuesday, May 04, 2010 9:17 PM
Subject: FW: Regarding OTA Message

Greetings,

I want to use Kannel Gateway to send Configuration message(OTA) to mobile 
phones.

According to user Guide i had URLEncode and using following URL to send OTA 
message.

http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart
o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO
OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2
Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n
ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val
ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G
PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3
E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa
rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO
%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%
09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na
me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E
The OTA messages are being deleiver to mobile but it unable to save settings

on mobile. Error message Unable to open message format not supported
Please help me for using the kannel gateway for sending OTA message.
Regards
Harmeet Singh



 





RE: Regarding OTA Message

2010-05-06 Thread Harmeet Singh
Hi,

Please provide the method to POST xml message through kannel.

Regards
Harmeet Singh

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: 06 May 2010 22:08
To: Harmeet Singh
Cc: users@kannel.org
Subject: Re: Regarding OTA Message

Hi,

I don't use OTA. You mentioned that:

I had used XML . The XML is in urlencode form.

not me.

BR,
Nikos
- Original Message - 
From: Harmeet Singh harmeet.dhing...@gmail.com
To: 'Nikos Balkanas' nbalka...@gmail.com
Cc: users@kannel.org
Sent: Thursday, May 06, 2010 7:33 PM
Subject: RE: Regarding OTA Message


 Hi,

 I am using the URL as mention in Kannel User guide.
 There is no POST method documentation is available in User Guide.

 Please mention the Procedure used by you to send OTA message .

 Regards
 Harmeet Singh


 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 06 May 2010 16:15
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 You shouldn't URL-encode XML in the POST...

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: 'Nikos Balkanas' ; users@kannel.org
 Sent: Thursday, May 06, 2010 5:25 AM
 Subject: RE: Regarding OTA Message


 Hi,

 I had used XML . The XML is in urlencode form.

 The HTTP url i am using is according to document there may be to do with
 kannel configuration of OTA-Settings with SMPP.

 I want to know the how kannel can be configured for OTA-settings with 
 SMPP.

 Regards
 Harmeet Singh

 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 05 May 2010 05:58
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 Hi,

 Try using XML and POST-XML. This is unreadable.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: users@kannel.org
 Sent: Tuesday, May 04, 2010 9:17 PM
 Subject: FW: Regarding OTA Message

 Greetings,

 I want to use Kannel Gateway to send Configuration message(OTA) to mobile
 phones.

 According to user Guide i had URLEncode and using following URL to send 
 OTA
 message.


http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart

o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO

OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2

Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n

ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val

ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G

PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3

E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa

rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO

%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%

09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na

me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
 09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E
 The OTA messages are being deleiver to mobile but it unable to save 
 settings

 on mobile. Error message Unable to open message format not supported
 Please help me for using the kannel gateway for sending OTA message.
 Regards
 Harmeet Singh





 





RE: Regarding OTA Message

2010-05-06 Thread Harmeet Singh
Hi,

I know how to POST XML file , But do not know the Link of Kannel to which i
should POST XML file.

I am currently using NOWSMS to POST XML file . Link for NOWSMS is

http://localhost:8800?OTA=POST . Please provide me the similar Link used in
Kannel to which i can POST file.

Regards
Harmeet Singh

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: 07 May 2010 00:11
To: Harmeet Singh
Cc: users@kannel.org
Subject: Re: Regarding OTA Message

Read http://www.w3.org/ on how to POST xml files.

BR,
Nikos
- Original Message - 
From: Harmeet Singh harmeet.dhing...@gmail.com
To: 'Nikos Balkanas' nbalka...@gmail.com
Cc: users@kannel.org
Sent: Thursday, May 06, 2010 7:40 PM
Subject: RE: Regarding OTA Message


 Hi,

 Please provide the method to POST xml message through kannel.

 Regards
 Harmeet Singh

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 06 May 2010 22:08
 To: Harmeet Singh
 Cc: users@kannel.org
 Subject: Re: Regarding OTA Message

 Hi,

 I don't use OTA. You mentioned that:

 I had used XML . The XML is in urlencode form.

 not me.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh harmeet.dhing...@gmail.com
 To: 'Nikos Balkanas' nbalka...@gmail.com
 Cc: users@kannel.org
 Sent: Thursday, May 06, 2010 7:33 PM
 Subject: RE: Regarding OTA Message


 Hi,

 I am using the URL as mention in Kannel User guide.
 There is no POST method documentation is available in User Guide.

 Please mention the Procedure used by you to send OTA message .

 Regards
 Harmeet Singh


 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 06 May 2010 16:15
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 You shouldn't URL-encode XML in the POST...

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: 'Nikos Balkanas' ; users@kannel.org
 Sent: Thursday, May 06, 2010 5:25 AM
 Subject: RE: Regarding OTA Message


 Hi,

 I had used XML . The XML is in urlencode form.

 The HTTP url i am using is according to document there may be to do with
 kannel configuration of OTA-Settings with SMPP.

 I want to know the how kannel can be configured for OTA-settings with
 SMPP.

 Regards
 Harmeet Singh

 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: 05 May 2010 05:58
 To: Harmeet Singh; users@kannel.org
 Subject: Re: Regarding OTA Message

 Hi,

 Try using XML and POST-XML. This is unreadable.

 BR,
 Nikos
 - Original Message - 
 From: Harmeet Singh
 To: users@kannel.org
 Sent: Tuesday, May 04, 2010 9:17 PM
 Subject: FW: Regarding OTA Message

 Greetings,

 I want to use Kannel Gateway to send Configuration message(OTA) to mobile
 phones.

 According to user Guide i had URLEncode and using following URL to send
 OTA
 message.



http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart


o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO


OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2


Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n


ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val


ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G


PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3


E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa


rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO


%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%


09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na


me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
 09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E
 The OTA messages are being deleiver to mobile but it unable to save
 settings

 on mobile. Error message Unable to open message format not supported
 Please help me for using the kannel gateway for sending OTA message.
 Regards
 Harmeet Singh







 





RE: Regarding OTA Message

2010-05-05 Thread Harmeet Singh
Hi,

 

I had used XML . The XML is in urlencode form.

 

The HTTP url i am using is according to document there may be to do with
kannel configuration of OTA-Settings with SMPP.

 

I want to know the how kannel can be configured for OTA-settings with SMPP.

 

Regards

Harmeet Singh

 

From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: 05 May 2010 05:58
To: Harmeet Singh; users@kannel.org
Subject: Re: Regarding OTA Message

 

Hi,

 

Try using XML and POST-XML. This is unreadable.

 

BR,

Nikos

- Original Message - 

From: Harmeet Singh mailto:harmeet.dhing...@gmail.com  

To: users@kannel.org 

Sent: Tuesday, May 04, 2010 9:17 PM

Subject: FW: Regarding OTA Message

 

Greetings,

 

I want to use Kannel Gateway to send Configuration message(OTA) to mobile
phones.

 

According to user Guide i had URLEncode and using following URL to send OTA
message.

 

http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart
o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO
OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2
Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n
ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val
ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G
PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3
E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa
rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO
%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%
09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na
me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E

The OTA messages are being deleiver to mobile but it unable to save settings
on mobile. Error message Unable to open message format not supported

Please help me for using the kannel gateway for sending OTA message.

Regards

Harmeet Singh

 

 

 

 



FW: Regarding OTA Message

2010-05-04 Thread Harmeet Singh
Greetings,

 

I want to use Kannel Gateway to send Configuration message(OTA) to mobile
phones.

 

According to user Guide i had URLEncode and using following URL to send OTA
message.

 

http://155.35.26.136:13013/cgi-bin/sendota?username=testerpassword=foobart
o=xxtext=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BO
OTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2
Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+n
ame%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+val
ue%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-G
PRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3
E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cpa
rm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO
%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%
09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+na
me%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%
09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E

The OTA messages are being deleiver to mobile but it unable to save settings
on mobile. Error message Unable to open message format not supported

Please help me for using the kannel gateway for sending OTA message.

Regards

Harmeet Singh