Re: Sending push using sendsms?

2003-01-23 Thread Dziugas Baltrunas
I'm sorry, what do you meen SI meesage?

regards,
Dziugas Baltrunas

On Thu, 23 Jan 2003, [iso-8859-1] Peter Löfman wrote:

 Is it possible to send a SI message using sendsms cgi script?
 If so, has anyone done it?
 Any example?
 
 /Peter Lofman
 
 
 _
 Planera semestern på MSN http://www.msn.se/resor/default.asp
 
 





Interesting .........??????????

2003-01-23 Thread amit sehgal



a. USA supported Bin Laden and the Taliban for years, and viewed 
them as freedom fighters against the Russians?b. As late as 1998, 
the US was paying the salary of every single Taliban official in 
Afghanistan?c. There is more oil and gas in the Caspian Sea, but you 
need a pipeline through Afghanistan to get that out?d. UNOCAL, a 
giant oil conglomerate, wanted to build a 1000 mile pipeline from the Caspian 
Sea through Afghanistan to the Arabian Sea?e. UNOCAL spend $ 
10,000,000,000 on geological studies for the pipeline construction, and courted 
the Taliban for their support in allowing the construction to 
begin?f. All leading Taliban officials were in Texas negotiating 
with UNOCAL in 1998?g. In 1999, Taliban changed its mind and threw 
UNOCAL out of the country and awarded the pipeline project to a company in 
Argentina?h. John Maresca, VP of UNOCAL testified before Congress 
and said no pipeline should be set until the Taliban was gone and a more 
friendly government was established?i. After 1999, the Taliban 
became the most evil people in the world.j. In 2001, Bush declares 
war against Afghanistan, though not a single Afghani was involved in the plane 
hijacking?k. Bush blamed Bin Laden, but did not offer any proof, 
saying it was confidential?l. Talibans offered to hand over Bin 
Laden if there was proof, but Bush bombed Afghanistan instead?m. We 
now have a new government in Afghanistan, which is friendlier?n. 
That the leader of the new government is one gentleman called Hamid Karzai, who 
formerly worked for UNOCAL?o. Bush appoints a special envoy (Lakhdar 
Ibrahimi) to represent the US to deal with the new government. This special 
envoy was formerly chief consultant to UNOCAL?p. The US government 
quietly announces in January 2002 that it willsupport the Trans-Afghan pipeline 
construction?q. President Musharraf and Hamid Karzai announce 
agreement in February 2002 to build proposed gas pipeline from Central Asia to 
Pakistan through Afghanistan?...And we thought they were fighting 
terrorism here, didn't we...It is all about OIL...

  
  
Yahoo! Groups 
  Sponsor
  

  


  ADVERTISEMENT
  
To 
unsubscribe from this group, send an email 
to:[EMAIL PROTECTED]Your use of 
Yahoo! Groups is subject to the Yahoo! Terms of Service. 



Re: Interesting .........???..Plz Ignore

2003-01-23 Thread amit sehgal



SORRY ABOUT THIS..NO OFFENCE MEANT..IT WENT TO THIS 
ID BY MISTAKE..PLZ IGNORE IT.

  - Original Message - 
  From: 
  amit 
  sehgal 
  To: [EMAIL PROTECTED] ; Vivek Choudhary ; Shantanu Jog ; Prasanth Varma 
  Sent: Thursday, January 23, 2003 2:28 
  PM
  Subject: Interesting 
  .??
  
  a. USA supported Bin Laden and the Taliban for years, and viewed 
  them as freedom fighters against the Russians?b. As late as 1998, 
  the US was paying the salary of every single Taliban official in 
  Afghanistan?c. There is more oil and gas in the Caspian Sea, but 
  you need a pipeline through Afghanistan to get that out?d. UNOCAL, 
  a giant oil conglomerate, wanted to build a 1000 mile pipeline from the 
  Caspian Sea through Afghanistan to the Arabian Sea?e. UNOCAL spend 
  $ 10,000,000,000 on geological studies for the pipeline construction, and 
  courted the Taliban for their support in allowing the construction to 
  begin?f. All leading Taliban officials were in Texas negotiating 
  with UNOCAL in 1998?g. In 1999, Taliban changed its mind and threw 
  UNOCAL out of the country and awarded the pipeline project to a company in 
  Argentina?h. John Maresca, VP of UNOCAL testified before Congress 
  and said no pipeline should be set until the Taliban was gone and a more 
  friendly government was established?i. After 1999, the Taliban 
  became the most evil people in the world.j. In 2001, Bush declares 
  war against Afghanistan, though not a single Afghani was involved in the plane 
  hijacking?k. Bush blamed Bin Laden, but did not offer any proof, 
  saying it was confidential?l. Talibans offered to hand over Bin 
  Laden if there was proof, but Bush bombed Afghanistan instead?m. 
  We now have a new government in Afghanistan, which is 
  friendlier?n. That the leader of the new government is one 
  gentleman called Hamid Karzai, who formerly worked for UNOCAL?o. 
  Bush appoints a special envoy (Lakhdar Ibrahimi) to represent the US to deal 
  with the new government. This special envoy was formerly chief consultant to 
  UNOCAL?p. The US government quietly announces in January 2002 that 
  it willsupport the Trans-Afghan pipeline construction?q. President 
  Musharraf and Hamid Karzai announce agreement in February 2002 to build 
  proposed gas pipeline from Central Asia to Pakistan through 
  Afghanistan?...And we thought they were fighting terrorism here, 
  didn't we...It is all about OIL...
  


  Yahoo! Groups 
Sponsor

  

  
  
ADVERTISEMENT

  To 
  unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]Your use 
  of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  


Re: Sending push using sendsms?

2003-01-23 Thread Bernd Kronmueller
That is what we do to deliver SI to handsets:

http://curry:13013/cgi-bin/sendsms?username=testerpassword=foobarto=%2B447771537333text=%01%06%04%03%AE%81%EA%02%05%6A%00%45%C6%0C%03134.231.12.23/Title.mid?210125%00%11%038@asdksas%00%08%0A%C3%07%20%02%10%17%09%02%23%10%C3%07%20%02%10%17%09%15%33%01%03TestTune
 This can also contain the Artist%00%01%01udh=%06%05%04%0B%84%23%F0

One of the main pitfalls of sending SI is that the expiry date is not
set correctly so the handset will just ignore the message.

WAP SI MESSAGE

Breakdown of the message:

http://curry:13013/cgi-bin/sendsms?
username=tester
password=foobar
to=%2B447771537333
text=
%01 Transaction ID/Push ID  (Start of WSP header (Wireless
Session Protocol))
%06 PDU type  (06=push)
%04 header lenght
%03  content type
%AE  headers
%81   :
%EA  _:_(End of WSP header)

%02 Version number WBXML version 1.2
%05 SI 1.0 Public Identifier
%6A Charset UTF-8
%00 String table length
%45 si with content
%C6 indication
%0C href=http://
%03 inline string follows
134.231.12.23/Title.mid?210125%00
%11 si id
%03inline string follows
8@asdksas%00(random number followed by @asdksas)
%08 action signal high
%0A created=
%C3 OPAQUE date follows
%07 length=
%20%02  year
%10%17  month day
%09%02%23   hour minute seconds
%10 si-expire=
%C3 OPAQUE date follows
%07 length=
%20%02  year
%10%17  month day
%09%15%33   hour minute seconds
%01 END (of indication attribute list)
%03 Inline string follows

TestTune This can also contain the Artist%00

%01 END (of indication element)
%01 END (of si element)

udh=%06%05%04%0B%84%23%F0



On Thu, 2003-01-23 at 07:17, Peter Löfman wrote:
 Is it possible to send a SI message using sendsms cgi script?
 If so, has anyone done it?
 Any example?
 
 /Peter Lofman
 
 
 _
 Planera semestern på MSN http://www.msn.se/resor/default.asp
 
 






RE: Sending push using sendsms?

2003-01-23 Thread Damir Salantic
In Kannel user guide I found:

The push content is sended to the phones over SMS, but the content is
fetched by the phone over IP
bearer, for instance CSD or GPRS. Because Push Proxy Gateway tokenises SI
and SL documents, it may fit one SMS message (if not, it is segmented for
transfer).
Using two bearers seems to be an unnecessary complication. But quite simply,
phones currently operate this way. Push over GPRS can only simplify
matters.

I'm not sure if that answers your question, and if that works, but I have an
additional question:
Is it possible to send SI directly over WSP (IP bearer - GPRS) and not over
SMS? It seems to me that WAP PUSH specification enables that possibility. Is
that (going to be) supported in Kannel?

Thanks
Damir Salantic


 On Thu, 23 Jan 2003, [iso-8859-1] Peter Löfman wrote:
 
   Is it possible to send a SI message using sendsms cgi script?
   If so, has anyone done it?
   Any example?
  
   /Peter Lofman






Re: Sending push using sendsms?

2003-01-23 Thread Aarno Syvänen
The phones must first support this kind of push, of course.

Aarno

On Thursday, January 23, 2003, at 10:21 AM, Damir Salantic wrote:


In Kannel user guide I found:

The push content is sended to the phones over SMS, but the content is
fetched by the phone over IP
bearer, for instance CSD or GPRS. Because Push Proxy Gateway tokenises 
SI
and SL documents, it may fit one SMS message (if not, it is segmented 
for
transfer).
Using two bearers seems to be an unnecessary complication. But quite 
simply,
phones currently operate this way. Push over GPRS can only simplify
matters.

I'm not sure if that answers your question, and if that works, but I 
have an
additional question:
Is it possible to send SI directly over WSP (IP bearer - GPRS) and not 
over
SMS? It seems to me that WAP PUSH specification enables that 
possibility. Is
that (going to be) supported in Kannel?

Thanks
Damir Salantic


On Thu, 23 Jan 2003, [iso-8859-1] Peter Löfman wrote:


Is it possible to send a SI message using sendsms cgi script?
If so, has anyone done it?
Any example?

/Peter Lofman










Re: Sending push using sendsms?

2003-01-23 Thread Peter Löfman
Thanks alot Bernd!

I will try this out!

/Peter Lofman


From: Bernd Kronmueller [EMAIL PROTECTED]
To: Peter Löfman [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Sending push using sendsms?
Date: 23 Jan 2003 09:13:05 +

That is what we do to deliver SI to handsets:

http://curry:13013/cgi-bin/sendsms?username=testerpassword=foobarto=%2B447771537333text=%01%06%04%03%AE%81%EA%02%05%6A%00%45%C6%0C%03134.231.12.23/Title.mid?210125%00%11%038@asdksas%00%08%0A%C3%07%20%02%10%17%09%02%23%10%C3%07%20%02%10%17%09%15%33%01%03TestTune 
This can also contain the Artist%00%01%01udh=%06%05%04%0B%84%23%F0

One of the main pitfalls of sending SI is that the expiry date is not
set correctly so the handset will just ignore the message.

WAP SI MESSAGE

Breakdown of the message:

http://curry:13013/cgi-bin/sendsms?
username=tester
password=foobar
to=%2B447771537333
text=
%01 Transaction ID/Push ID  (Start of WSP header (Wireless
Session Protocol))
%06 PDU type  (06=push)
%04 header lenght
%03  content type
%AE  headers
%81   :
%EA  _:_(End of WSP header)

%02 Version number WBXML version 1.2
%05 SI 1.0 Public Identifier
%6A Charset UTF-8
%00 String table length
%45 si with content
%C6 indication
%0C href=http://
%03 inline string follows
134.231.12.23/Title.mid?210125%00
%11 si id
%03inline string follows
8@asdksas%00(random number followed by @asdksas)
%08 action signal high
%0A created=
%C3 OPAQUE date follows
%07 length=
%20%02  year
%10%17  month day
%09%02%23   hour minute seconds
%10 si-expire=
%C3 OPAQUE date follows
%07 length=
%20%02  year
%10%17  month day
%09%15%33   hour minute seconds
%01 END (of indication attribute list)
%03 Inline string follows

TestTune This can also contain the Artist%00

%01 END (of indication element)
%01 END (of si element)

udh=%06%05%04%0B%84%23%F0



On Thu, 2003-01-23 at 07:17, Peter Löfman wrote:
 Is it possible to send a SI message using sendsms cgi script?
 If so, has anyone done it?
 Any example?

 /Peter Lofman


 _
 Planera semestern på MSN http://www.msn.se/resor/default.asp




_
Chatta med vänner på nätet, pröva MSN Messenger http://messenger.msn.se





RE: SAR panic

2003-01-23 Thread Igor Ivoilov
Title: RE: SAR panic





Dear Slava,


While ESAR is not implemented I think a graceful way to hanlde it is
to reduce client sdu size sent to wsp to SAR_SEGM_SIZE*255.
Also I can change SAR_SEGM_SIZE to be let's say 1300.
it will change the maximum file size to 331K from 146K.
But it may cause a problem for the phones that are connected using CSD.
Actually SAR_SEGM_SIZE has to be equal to MTU.
Do you know a way to detect MTU to the phone that works fast enough?


Let me know what you think


Igor


 -Original Message-
 From: Vjacheslav Chekushin [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 23, 2003 9:31 AM
 To: devel
 Subject: SAR panic
 
 
 Hi, list.
 Seems that SAR incorrectly handles cases when segments count255
 
 wapbox.log:
 
 2003-01-22 19:14:01 [6] DEBUG: WTP: resp_machine 718, state 
 RESULT_RESP_WAIT, 
 event RcvAck.
 2003-01-22 19:14:01 [6] DEBUG: WTP: continue_sar_result(): 
 lsegm=254, nsegm=440, 
 csegm=251
 2003-01-22 19:14:01 [6] DEBUG: WTP: dispath_to_wdp(): psn = 255
 2003-01-22 19:14:01 [6] PANIC: gwlib/octstr.c:1677: 
 octstr_set_bits: Assertion 
 `value = mask' failed.
 
 
 -- 
 Vjacheslav Chekushin mailto:[EMAIL PROTECTED]
 Latvian Mobile Phone Company http://www.lmt.lv
 
 





Re: [PATCH] unneeded counter increase?!

2003-01-23 Thread Stipe Tolj
Stipe Tolj wrote:
 
 Hi list,
 
 is this patch making sense:
 
 RCS file: /home/cvs/gateway/gw/smsc/smsc_emi2.c,v
 retrieving revision 1.7
 diff -r1.7 smsc_emi2.c
 713d712
counter_increase(conn-received);
 
 Can someone who runs emi2 in production state a comment and/or vote
 please?!

thanks for the votes. As most of you have noticed via the report
mailing list, it has been commited.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: [PATCH] Race between boxc_sender and smsbox identification

2003-01-23 Thread Stipe Tolj
Hi Robert, 

Robert Galach wrote:
 
 I found a problem in Kannel gateway (CVS version).
 Let's check scenario. Consider bearerbox and 1 smsbox named some_box_id.
 
 1) Start bearerbox, it is waiting for smsboxes.
 2) Start smsbox with smsbox_id = some_box_id, connect to bearerbox.
 3) In bearerbox struct Boxc is created and made connection to smsbox.
 Default shared list for incoming_sms is set for this smsbox connection.
 4) Bearebox starts boxc_sender thread for connected smsbox and sender waits
 for incoming_sms in shared list until some msg will arrive.
 5) Smsbox identify itself as some_box_id and new private list for
 incoming_sms is created, but previous cannot be destroyed because it is
 shared.
 
 But sender is still waiting on shared list!!! And it will wait forever. No
 sms can be sent by smsbox some_box_id.
 
 I have patched this bug in local version by adding mutex to struct boxc and
 forcing boxc_sender to wait on this mutex until smsbox will identify itself.
 Then sender starts his real job.
 Changed also smsbox.c to send cmd_identify even if boxc_id is NULL.
 
 The patch is attached. I hope it removes problem.

+1 from me, patch commited to cvs. 

Thanks a lot! You're mentioned in the ChangeLog hall-of-fame ;)

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: Serious bug in wml_compiler.c

2003-01-23 Thread Stipe Tolj
Vjacheslav,

the attached .wml file contains non-textual characters?! Is this hence
supposed to be a valid WML document?

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: Sending push using sendsms?

2003-01-23 Thread Stipe Tolj
Peter Löfman wrote:
 
 Thanks alot Bernd!
 
 I will try this out!

why do you want to live in hard land?! while Aarno has written the
PPG in wapbox that does all the WAP push magic. 

We use it for MMS notification pushing via SMS.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: SAR panic

2003-01-23 Thread Stipe Tolj
Vjacheslav Chekushin wrote:
 
 Hi, Igor.
 I think, first of all, panic must be eliminated.

yep, agreed. Panics do stop wapbox service. Hence a download of a too
large file kills wapbox, which is not the way we want it in an
operational environment. 

If something can't be done, then other clients should not suffer from
this.

 So reduce client sdu size to SAR_SEGM_SIZE*255 is Ok.
 I'm not sure about changing SAR_SEGM_SIZE. If nokia gw uses value 576,
 may be some nokia models doesn't work stable with large SAR_SEGM_SIZE?
 Any way, current values are tested already, so new values must be also
 tested first.

I recommend you guys do the testings and record results in an
according spread sheet. We can apply patched locally at Wapme here and
test some more phone models if we have to.

Can you guys provide a patch?!

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: Bug in gw/wap_push_pap_compiler.c - infinite loop

2003-01-23 Thread Stipe Tolj
Paul Keogh wrote:
 
 In the function parse_content (), the lines
 
 while (octstr_get_char(*address, pos) !=
octstr_get_char(nameos, 0)  pos = 0) {
 pos = drop_character(address, pos);
 }
 
 should be replaced with
 
 while ((octstr_len (*address)  0)  octstr_get_char(*address, pos) !=
octstr_get_char(nameos, 0)  pos = 0) {
 pos = drop_character(address, pos);
 }
 
 otherwise an infinite loop results. This is easy to reproduce. Drop
 the /TYPE=xxx from an address in the PAP document. This should give
 back an error; instead the WAP box hangs in an infinite loop.

commited to cvs.

Thanks Paul!

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: Serious bug in wml_compiler.c

2003-01-23 Thread Vjacheslav Chekushin
Hi, Stipe.

What do you meen non-textual characters'?
If it is characters with code128, then it is legal
at least untill we don't use it in tag names.

And since you have problem description, you can create
own wml documnet witch force to create large string table in wml_compiler.
I attach such wml file.

As you see I use unknown atribute border. I know that such attribute
doesn't exists ;-). But panic occure exactly in case when long strings
(duplicated) are either in attribute name or attribute value.


Stipe Tolj wrote:


Vjacheslav,

the attached .wml file contains non-textual characters?! Is this hence
supposed to be a valid WML document?

Stipe

[EMAIL PROTECTED]
---




--
Vjacheslav Chekushinmailto:[EMAIL PROTECTED]
Latvian Mobile Phone Companyhttp://www.lmt.lv



test.wml.gz
Description: GNU Zip compressed data