Re: [PATCH] Sender as shortnumber with CIMD2

2003-02-04 Thread Andreas Fink

On Dienstag, Februar 4, 2003, at 08:33  Uhr, Dziugas Baltrunas wrote:

Hi,

I think this patch is very useful (for me too), but I would like to ask,
should there be operator permission to set ANY short number as the number
of the sender? and if so, what is the difference between 'shortnumber' and
'from' number? because, for example, SMPP (if operator permits) allows to
set any number, iregarding of it's lenght, using, for example, the same
'from' variable in send-sms.


I don't understand what's the issue here. If you send the number as 123 it arrives on the phone as 123, if you send it as +123 it will arrive as +123. So is this not good enough??


in GSM transmission, a from number is the originator of the number. it can be of different type. In reality any phone number is specified by 3 parameters which are:

TON: type of number
NPI: network plan indicator
Address:

A short ID is nothing else than TON = shortid while an international  number (+...) would be TON=international.
the receiving phone would display the + if the originator has TON=international set but not if TON is unknown or national or shortid.

In Kannel, if your number starts with +, it will set TON=international automatically. At least thats the case in SMPP. In EMI it puts 00 instead because EMI doesnt support TON field and only knows international numbers as numbers which start with 00... (international prefix in europe).

So the correct approach for CIMD would be to set TON=international only if the number starts with +. If this is not the case, then this is a bug to be fixed but forcing it to another type is for sure not the right approach.


Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Member of the GSM Association



Re: [PATCH] Sender as shortnumber with CIMD2

2003-02-04 Thread Arne K. Haaje
Andreas Fink wrote:



On Dienstag, Februar 4, 2003, at 08:33 Uhr, Dziugas Baltrunas wrote:

Hi,

I think this patch is very useful (for me too), but I would like to
ask,
should there be operator permission to set ANY short number as the
number
of the sender? and if so, what is the difference between
'shortnumber' and
'from' number? because, for example, SMPP (if operator permits)
allows to
set any number, iregarding of it's lenght, using, for example, the same
'from' variable in send-sms.


I don't understand what's the issue here. If you send the number as 123 
it arrives on the phone as 123, if you send it as +123 it will arrive as 
+123. So is this not good enough??

Not it looks like the operators MC adds the + sign even when sending 
just 123.


in GSM transmission, a from number is the originator of the number. it 
can be of different type. In reality any phone number is specified by 3 
parameters which are:

TON: type of number
NPI: network plan indicator
Address:

A short ID is nothing else than TON = shortid while an international 
number (+...) would be TON=international.
the receiving phone would display the + if the originator has 
TON=international set but not if TON is unknown or national or shortid.

In Kannel, if your number starts with +, it will set TON=international 
automatically. At least thats the case in SMPP. In EMI it puts 00 
instead because EMI doesnt support TON field and only knows 
international numbers as numbers which start with 00... (international 
prefix in europe).

So the correct approach for CIMD would be to set TON=international only 
if the number starts with +. If this is not the case, then this is a bug 
to be fixed but forcing it to another type is for sure not the right 
approach.

I can not find any way in the CIMD2 specifications to set this. To quote 
the specifications If an origination address is given in the submit 
message, it is regarded as a subaddress and it is appended to the end of 
the address that is set in the interface profile.

The specs state that there are two optional (none mandatory) sender 
parameters -  originator address and alphanumeric originator address. 
Without using the patch all numerical values in the 'from=' field  will 
be sent as originator address. The operator will/may prepend the pluss 
sign, thus ruining the ability to answer directly.

What the patch does is just that it treats all numerical 'from=' fields 
up to shortnumber= digits as an alphanumeric sender. This avoids the MC 
prepending the pluss sign. So if shortnumber=4 - from=2030 will be 
received without the pluss sign.

As long as the operator allows you to use the alphanumeric originator 
address (it has been in the specs. since Feb. 2001) this should be 
perfectly legal.

--
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer

Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/




[Fwd: Re: [PATCH] Sender as shortnumber with CIMD2]

2003-02-04 Thread Arne K. Haaje
In case anybody is interested, here is a short discussion Andreas Fink 
and I had about my patch and its usability (or lack of).

--
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer

Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/
---BeginMessage---

On Dienstag, Februar 4, 2003, at 10:48  Uhr, Arne K. Haaje wrote:

Andreas Fink wrote:
On Dienstag, Februar 4, 2003, at 10:14 Uhr, Arne K. Haaje wrote:
Andreas Fink wrote:
On Dienstag, Februar 4, 2003, at 08:33 Uhr, Dziugas Baltrunas
wrote:
Hi,
I think this patch is very useful (for me too), but I would like to
ask,
should there be operator permission to set ANY short number as the
number
of the sender? and if so, what is the difference between
'shortnumber' and
'from' number? because, for example, SMPP (if operator permits)
allows to
set any number, iregarding of it's lenght, using, for example,
the same
'from' variable in send-sms.
I don't understand what's the issue here. If you send the number
as 123 it arrives on the phone as 123, if you send it as +123 it
will arrive as +123. So is this not good enough??
Not it looks like the operators MC adds the + sign even when sending
just 123.
The specs state that there are two optional (none mandatory) sender
parameters - originator address and alphanumeric originator address.
Without using the patch all numerical values in the 'from=' field
will be sent as originator address. The operator will/may prepend
the pluss sign, thus ruining the ability to answer directly.
What the patch does is just that it treats all numerical 'from='
fields up to shortnumber= digits as an alphanumeric sender. This
avoids the MC prepending the pluss sign. So if shortnumber=4 -
from=2030 will be received without the pluss sign.
Well then its an alphanumeric sender. This is not good because the end user will not be able to use the "reply" function.

No, it works! We have tested on both Nokia and Ericsson phones, and it works just fine.

well then nokia again makes something really weird and the number is not sent really alphanumeric.

My recommendation would be to throw away a CIMD SMSC and replace it with something serious ;-). CIMD is very limited in many ways. (Nokia is now going to love me for this...). In our case we where not able to set any originator as our originator was automatically prepended with the user ID (which was a short id).

We have the same situation with one operator where we are using MT billing. This patch would not make a difference with that operator. However, we have a large account with another operator (no billing) sending bulk sms, sms from web, and other content. Here we are using this patch setting the sender to our shortnumber with the first operator. This allows the user to reply directly to our services on that operator.

BTW, you replied directly to me (outside the list) so I reply privately. If you think the discussion relevant (I do) to the list perhaps you could forward or continue there?.

just a mistake... feel free to forward.

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Member of the GSM Association

---End Message---


MMS files.

2003-02-04 Thread Maria Turk

Does anyone know if there is a difference between MMS formats between nokia
7650 sony ericsson T68i and the GX10.



Thanks,

Maria Turk
Applications Specialist

Wizcom(Singlepoint4u)
Tel:+44(0)1782600450
Mob:  +44(0)7775837460





Re: Kannel cvs problem

2003-02-04 Thread Bruno Rodrigues
Citando Alan McNatty [EMAIL PROTECTED]:

 Thanks Bruno,
 
 I did a cvs diff across 1.2.1 vs 1.3.0 to find ...
 
  ./.cvsignore 
 5,6d4
  config.guess
  config.sub
 9,11d6
  diff
  diff2
  build-stamp
 
 looks like someone has removed the config.sub and config.guess files
 from cvs repository - these are required as part of the build process. [
 ie: if I copy them from 1.2.1 source bundle things compile nicely ].

I did it. 
Both files are generated when you run autoconf in you kannel directory.
I've deleted them after seeing that debian package building system have replaced
them by new ones and, after built the package, lintian complain about these two
automatic generated files inside it.

They are in cvs again.




 
 Cheers,
 Alan
 
 On Mon, 2003-02-03 at 16:26, Bruno Rodrigues wrote:
  Quoting Alan McNatty [EMAIL PROTECTED]:
  
   I suspect there is a problem with current cvs. ie:
   
   [ clean checkout ] ...
   
   gateway$ ./configure 
   loading cache ./config.cache
   
   Configuring for Kannel gateway version 1.3.1 ...
   
   Running system checks ...
   configure: error: can not run ./config.sub
  
  I'll fix that in some minutes. 
 
 
 


-- 
br/

-
This mail sent through IMP: http://horde.org/imp/




Re: Where's my FOO ? [Was: Daily patch: gateway]

2003-02-04 Thread Bruno Rodrigues
Citando Konstantin Vayner [EMAIL PROTECTED]:

 Hi,
 
 Actually... What is really the reason for not having really descriptive 
 status text?
 There is already a list of definitions for status-codes...
 So i believe it would not be a problem to make same for status-text... 
 or is it?
 
 Having OK as status-text is really confusing... but so also having 
 Foo/Bar in some cases...
 
 So... [ if i may really vote on  anything ;)  ]
 i would vote +2 on making status-text be real rfc compliant (and thus 
 descriptive)
 or +1 for having at least Foo/Bar instead of OK

Are you offering to build that table in .c for kannel ? ;



-- 
br/

-
This mail sent through IMP: http://horde.org/imp/




RE: EMI Driver Bug

2003-02-04 Thread Bruno Rodrigues
Citando Michael Mulcahy [EMAIL PROTECTED]:

 Hi All,
 
 Comments Below:
 
  You're mixing up the SMSC response with the delivery report.
  When you send a message, you send a type 51 message. you will
  get a 50ACK back saying the SMSC has accepted the SMS.
 
 Is this a typo on your part?  According to the EMI spec 4.0  the response to
 the submit short message operation 51 should contain an operation type of
 51 not 50.

Indeed 51/R


  This is NOT the delivery report. The SMSC response is acknowledging that
  the SMSC has accepted the message but it doesnt say that the message
  has been delivered to the handset.
 
 I think there is a misunderstanding of terminology here. I use the term
 submission notification to mean that the message was submitted to the SMSC
 not
 delivered to the handset.

I guess you are right, although old versions didn't have this problem - I use
dlr=255 to activate every kind of dlr in my some-month-old kannel in production.

This code handles only receiving and 'R' packets. It's an if( OR=R  OT=51)
then, so there's no 50_AMSG field available.

Then there's a different code to handle OR=O, OT=53 at line 721, and there is an
  if((emimsg-fields[E50_AMSG]) == NULL)
 msg-sms.msgdata = octstr_create(Delivery Report without text);
  else
 msg-sms.msgdata = octstr_duplicate(emimsg-fields[E50_AMSG]);

This looks like a copy-paste to me. Your patch is cleaner that doing something
like this lines because, indeed, there's no 50_AMSG in OR=R

I'm +1 for it

 
 Look forward to hearing from you,
 
 Warm Regards,
 Michael.
 
 
 ANAM Wireless Internet Solutions
 http://www.anam.com mailto:[EMAIL PROTECTED]
 +353 1 284 7555
 Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland
 
 
 -Original Message-
 From: Andreas Fink [mailto:[EMAIL PROTECTED]]
 Sent: 03 February 2003 13:19
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: EMI Driver Bug
 
 
 
 On Montag, Februar 3, 2003, at 01:23 Uhr, Michael Mulcahy wrote:
 
 
 Hi All,
 
 Summary:
 The assigning of a nonexistent field in the EMI driver when creating a
 submission
 report results in an out of bounds read.
 
 Scenario:
 The EMI driver checks for a DLR when a response is received for a submitted
 message.
 If there is a DLR requested for that message then the driver does the
 following:
 
 /*
 * Recode the msg structure with the given msgdata.
 * Note: the DLR URL is delivered in msg-sms.dlr_url already.
 */
 dlrmsg-sms.msgdata = octstr_duplicate(emimsg-fields[E50_AMSG]);
 octstr_hex_to_binary(dlrmsg-sms.msgdata);
 dlrmsg-sms.sms_type = report;
 
 Why does the driver assign the value of the E50_AMSG field to the msgdata of
 the
 dlr message?
 
 
 The AMSG field does contain the delivery report text of the SMSC.
 This is a text of style The message to 12345 with referenfce number 1847127
 has been delivered on 12.1.2003 14:25
 
 
 This field is not available in the EMI response. The response EMI message
 only has three fields so the above code accesses data beyond the array
 bounds as
 E50_AMSG has a value of 20.
 
 
 You're mixing up the SMSC response with the delivery report.
 When you send a message, you send a type 51 message. you will get a 50ACK
 back saying the SMSC has accepted the SMS. This is NOT the delivery report.
 The SMSC response is acknowledging that the SMSC has accepted the message
 but it doesnt say that the message has been delivered to the handset. When
 the message has been delivered to the handset, the SMSC generates an
 incoming message of type Delivery Report which has all fields, much
 similar to an incoming SMS.
 
 
 Andreas Fink
 Global Networks Switzerland AG
 
 --
 Tel: +41-61-333 Fax: +41-61-334 Mobile: +41-79-2457333
 Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
 Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
 --
 Member of the GSM Association
 
 
 


-- 
br/

-
This mail sent through IMP: http://horde.org/imp/




Re: MMS files.

2003-02-04 Thread Bruno Rodrigues
Citando Maria Turk [EMAIL PROTECTED]:

 
 Does anyone know if there is a difference between MMS formats between nokia
 7650 sony ericsson T68i and the GX10.

Yes, they are.
But there's a common mms format that works in them all (including Panasoinc GAD87).

My experience says that it's too much dependent of your mmsc, specially through
email interface. 

You need to try to send and try with combinations of start tag and content-id


 
 
 
 Thanks,
 
 Maria Turk
 Applications Specialist
 
 Wizcom(Singlepoint4u)
 Tel:+44(0)1782600450
 Mob:  +44(0)7775837460
 
 
 


-- 
br/

-
This mail sent through IMP: http://horde.org/imp/




MMS binary

2003-02-04 Thread Maria Turk

Does anyone have an mms binary file that they know works with GX10 or T68i.
Or if anyone know where I can find something like that.. 



Thanks,
Maria Turk
Applications Specialist

Wizcom(Singlepoint4u)
Tel:+44(0)1782600450
Mob:  +44(0)7775837460





RE: MMS binary

2003-02-04 Thread Paul Keogh


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Maria Turk
 Sent: Tuesday, February 04, 2003 11:41 AM
 To: '[EMAIL PROTECTED]'
 Subject: MMS binary
 
 
 
 Does anyone have an mms binary file that they know works with 
 GX10 or T68i.
 Or if anyone know where I can find something like that.. 
 
 

The Nokia EAIF emulator comes with several sample binary MMS files.
You can download it from Forum Nokia - http://forum.nokia.com





RE: MMS binary

2003-02-04 Thread Maria Turk

I tried those but they don't work with T68i and GX10.  any suggestions.


Thanks,


-Original Message-
From: Paul Keogh [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2003 12:04
To: [EMAIL PROTECTED]
Subject: RE: MMS binary




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Maria Turk
 Sent: Tuesday, February 04, 2003 11:41 AM
 To: '[EMAIL PROTECTED]'
 Subject: MMS binary
 
 
 
 Does anyone have an mms binary file that they know works with 
 GX10 or T68i.
 Or if anyone know where I can find something like that.. 
 
 

The Nokia EAIF emulator comes with several sample binary MMS files.
You can download it from Forum Nokia - http://forum.nokia.com





Text messages with UDH, bad DCS

2003-02-04 Thread Enzo dell'Aquila
I tried to send text messages with UDH with emi2 driver. This feature
appears as y? (driver probably has this feature, has not been tested). I
would like generate TP-DCS = 00h (it's good also 11h or 12h), I need 7 bit
coding in DCS

I use these parameters:

UDHI = 1;
MClass = 2; // this should be for 12h; or MClass = '1' for 11h; or
MClass = '' for 00h
Coding = 1;
MWI = '';
DLRmask = 0;
PID = 0;
AltDCS = 0;

Note: UDH is 8bit encoded, Body is 7 bit encoded!

But i get DCS = 14h, that's 8 bit coding, not 7 bit!

kannel userguide says: If unset, defaults to 7 bits unless a udh is
defined, which sets coding to 8bits.

Is this a bug in emi2 kannel driver or doesn't emi2 support text messages
with UDH ?

Please reply, this bug should interest a lot of developers!





kwtls and verisign WTLS certificates

2003-02-04 Thread Joseph Wayne Norton

Hello.

I wanted to see if anyone has any updates or detailed steps on the
usage of kwtls with a verisign generated WTLS certificate. I found the
following previous posting but it is unclear if the author had
actually tried and had success using a verisign generated WTLS
certificate.

http://www.mail-archive.com/devel@kannel.3glab.org/msg00158.html

Regards,

- Joe N.






Re: Where's my FOO ? [Was: Daily patch: gateway]

2003-02-04 Thread Konstantin Vayner
Bruno Rodrigues wrote:


Citando Konstantin Vayner [EMAIL PROTECTED]:

 

Hi,

Actually... What is really the reason for not having really descriptive 
status text?
There is already a list of definitions for status-codes...
So i believe it would not be a problem to make same for status-text... 
or is it?

Having OK as status-text is really confusing... but so also having 
Foo/Bar in some cases...

So... [ if i may really vote on  anything ;)  ]
i would vote +2 on making status-text be real rfc compliant (and thus 
descriptive)
or +1 for having at least Foo/Bar instead of OK
   


Are you offering to build that table in .c for kannel ? ;
 

Yes... that is just an array of strings, nothing more ;)
[ and i would put it in .h - where the definitions for http-status are ;) ]

Note: i am not offerring to make kannel parse these values from RFC 
although it is also a possability ;-))

Regards,
  Konstantin Vayner
  Appcell MT




Does Kannel log support logrotation

2003-02-04 Thread joseph mercado
Does Kannel log support logrotation???Please advice
regarding this matter cause im running kannel-1.2.1 on
linux box 7.2 that forwards sms to a EMI2
server.Currently all logs does'nt have rotate
mechanismhas anyone implemented this already

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




Need assistance....

2003-02-04 Thread Akinniran okeniran



Dear Sir,

Sir, I am working on kannel as a gateway for my smsc. I ran at a problem 
with test my nokia card (nokia GSM Phone), please, how can I configure my 
smskannel.conf to solve my problem. This is the smsc configuration written 
below. Note that I am not using Linux, rather, I am using a cygwin version 
for windows 2000 advanced server family.



group = smsc
smsc = at2
smsc-id = check
modemtype = nokiaphone
device = COM1
validityperiod = 167
speed = 9600

Is this correct for device.. variable under windows because it's not working 
with /dev/ttyS0?

Also, what can be responsible for the error output in smsbox shell when a 
http resquest is made to the smsbox.


2003-01-13 17:19:22 [5] INFO: smsbox: Got HTTP request /cgi-bin/sendsms 
from 192.168.77.84
2003-01-13 17:19:22 [5] INFO: sendsms used by tester
2003-01-13 17:19:22 [5] INFO: sendsms sender:tester:13013 (192.168.77.84) 
to:08024569875 msg:I will always love u.
2003-01-13 17:20:27 [3] ERROR: Error reading from fd 24:
2003-01-13 17:20:27 [3] ERROR: System error 104: Connection reset by peer
2003-01-13 17:20:27 [3] ERROR: Error reading from fd 24:
2003-01-13 17:20:27 [3] ERROR: System error 104: Connection reset by peer
2003-01-13 17:30:48 [5] INFO: smsbox: Got HTTP request /cgi-bin/sendsms 
from 192.168.77.84
2003-01-13 17:30:48 [5] INFO: sendsms used by tester
2003-01-13 17:30:48 [5] INFO: sendsms sender:tester:13013 (192.168.77.84) 
to:08024569875 msg:I will always love u.
2003-01-13 17:31:19 [0] ERROR: Error reading from fd 21:
2003-01-13 17:31:19 [0] ERROR: System error 104: Connection reset by peer
2003-01-13 17:31:19 [0] ERROR: Error reading from fd 21:
2003-01-13 17:31:19 [0] ERROR: System error 104: Connection reset by peer

from the above 
ERROR: Error reading from fd 24:
2003-01-13 17:20:27 [3] ERROR: System error 104: Connection reset by peer
2003-01-13 17:20:27 [3] ERROR: Error reading from fd 24:
2003-01-13 17:20:27 [3] ERROR: System error 104: Connection reset by

so, what can I do to eradicate the error and what can be responsible for 
this?

Thanks
Niran Oke

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail




Re: EMI does not ACk message send at once

2003-02-04 Thread joseph mercado
Soory, for the delaybut i already done thatbut
no improvements at allspecially in our office
location where i mostly do the testing but in other
location it works fine.



--- Cipher Strength [EMAIL PROTECTED]
wrote:
 send messages with some milliseconds delay to
 kannel.
 
 
 
 CIPHER
 
 
 
 
 
 Citando joseph mercado [EMAIL PROTECTED]:
 
   Hi list;
 Im trying to push a very long message to EMI2
   server.
   after the request has been answered by external
 API my
   smsbox.log got the message and split it into
 3.Same
   things happened to the bearebox.log...it
 recieved 3
   sms message and tries to push it on SMSC
 ...problem is
   i only get 2 smswhats wrong ???did i miss
   something
 
 is bearerbox sending three messages to smsc and
 only receiving two ack ?
 
 This looks like your smsc having a small windowing
 or even a window value 
 of 1.
 
 You should set flow-control = true.
 
 
 Basically, smsc windowing is how many messages you
 can send before 
 receiving an
 ack. If smsc have window=3 you can send MSG1 to 3
 and then you'll have to 
 wait
 for ACK1 before sending MSG4. If you send any more
 messages, they'll be 
 discarder.
 
 flow-control = true is like window=1 - kannel only
 sends another message 
 after
 receiving ack from last one.
 
 
 --
 BR/
 
 

_
 The new MSN 8: advanced junk mail protection and 2
 months FREE* 
 http://join.msn.com/?page=features/junkmail
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




Re: EMI does not ACk message send at once

2003-02-04 Thread joseph mercado
Thank for the advicewe tried to test it on
different location and its work i got 3 msg almost at
the same time and milisec intervalbut from office
location i only get two and sometimes the 2 msg
arrives 5 min later...was it something to do with the
traffic load around our location?? Ill try to set
flow-control to true, so far i embedded a 1 sec
interval in my API to send 480 charcters in three
separate 160 msg. Any advice or should i return my
sending to normal and let kannel to the splitting??

Thanks,
jmer
--- Bruno David Simões Rodrigues
[EMAIL PROTECTED] wrote:
 Citando joseph mercado [EMAIL PROTECTED]:
 
  Hi list;
Im trying to push a very long message to EMI2
  server.
  after the request has been answered by external
 API my
  smsbox.log got the message and split it into
 3.Same
  things happened to the bearebox.log...it recieved
 3
  sms message and tries to push it on SMSC
 ...problem is
  i only get 2 smswhats wrong ???did i miss
  something
 
 is bearerbox sending three messages to smsc and only
 receiving two ack ?
 
 This looks like your smsc having a small windowing
 or even a window value of 1.
 
 You should set flow-control = true.
 
 
 Basically, smsc windowing is how many messages you
 can send before receiving an
 ack. If smsc have window=3 you can send MSG1 to 3
 and then you'll have to wait
 for ACK1 before sending MSG4. If you send any more
 messages, they'll be discarder.
 
 flow-control = true is like window=1 - kannel only
 sends another message after
 receiving ack from last one.
 
 
 -- 
 BR/
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




Re: EMI does not ACk message send at once

2003-02-04 Thread joseph mercado
Id probably contact then our smsc provider...thanks
for the help


--- Bruno Rodrigues [EMAIL PROTECTED] wrote:
 On Sáb, 2003-02-01 at 05:50, Cipher Strength wrote:
  send messages with some milliseconds delay to
 kannel.
 
 That's not a solution. Just ask your smsc provider
 which flow-control
 they are using - stop-and-wait or windowing - and if
 it's windowing, how
 which size it have 
 
  
  
  CIPHER
  
  
  
  
  
  Citando joseph mercado [EMAIL PROTECTED]:
  
Hi list;
  Im trying to push a very long message to
 EMI2
server.
after the request has been answered by
 external API my
smsbox.log got the message and split it into
 3.Same
things happened to the bearebox.log...it
 recieved 3
sms message and tries to push it on SMSC
 ...problem is
i only get 2 smswhats wrong ???did i miss
something
  
  is bearerbox sending three messages to smsc and
 only receiving two ack ?
  
  This looks like your smsc having a small
 windowing or even a window value 
  of 1.
  
  You should set flow-control = true.
  
  
  Basically, smsc windowing is how many messages
 you can send before 
  receiving an
  ack. If smsc have window=3 you can send MSG1 to 3
 and then you'll have to 
  wait
  for ACK1 before sending MSG4. If you send any
 more messages, they'll be 
  discarder.
  
  flow-control = true is like window=1 - kannel
 only sends another message 
  after
  receiving ack from last one.
  
  
  --
  BR/
  
  
 

_
  The new MSN 8: advanced junk mail protection and 2
 months FREE* 
  http://join.msn.com/?page=features/junkmail
 -- 
 Bruno Rodrigues [EMAIL PROTECTED]
 

 ATTACHMENT part 2 application/pgp-signature
name=signature.asc



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




kwtls and verisign WTLS certificates

2003-02-04 Thread Joseph Wayne Norton

Hello.

I wanted to see if anyone has any updates or detailed steps on the usage of
kwtls with a verisign generated WTLS certificate. I found the following
previous posting but it is unclear if the author had actually tried and had
success using a verisign generated WTLS certificate.

http://www.mail-archive.com/devel@kannel.3glab.org/msg00158.html

Regards,

- Joe N.

---
 [EMAIL PROTECTED]





Re: Where's my FOO ? [Was: Daily patch: gateway]

2003-02-04 Thread Bruno Rodrigues
Citando Konstantin Vayner [EMAIL PROTECTED]:

 Bruno Rodrigues wrote:
 
 Citando Konstantin Vayner [EMAIL PROTECTED]:
 
 Hi,
 
 i would vote +2 on making status-text be real rfc compliant (and thus 
 descriptive)
 or +1 for having at least Foo/Bar instead of OK
 
 Are you offering to build that table in .c for kannel ? ;
 
 Yes... that is just an array of strings, nothing more ;)
 [ and i would put it in .h - where the definitions for http-status are ;) ]

Nice : 

Can I still have my octstr_send_random_foo_sometimes() ? :)))
or a if(user-agent =~ /ms.xmlhttp/) do array[202] = I therefor accept your 
message but I don't fscking know if I'd want to sent it ?
(kidding)


 Note: i am not offerring to make kannel parse these values from RFC 
 although it is also a possability ;-))

No need for that. Status is the one that matters, status text doesn't matter 
at all.


 Regards,
Konstantin Vayner
Appcell MT
 
 
 


-- 
br/




MMS binary code..

2003-02-04 Thread Maria Turk
Does anyone have any code that produces the .mms file.  I tried to Nokia
version but it's not that conformant.. doesn't work on many phones.



Thanks

Maria Turk
Applications Specialist

Wizcom(Singlepoint4u)
Tel:+44(0)1782600450
Mob:  +44(0)7775837460





Re: Text messages with UDH, bad DCS

2003-02-04 Thread Bruno Rodrigues
Citando Enzo dell'Aquila [EMAIL PROTECTED]:

 I tried to send text messages with UDH with emi2 driver. This feature
 appears as y? (driver probably has this feature, has not been tested). 

Weird. I've fixed it now in cvs. EMI2 supports everything. Unless..

 I
 would like generate TP-DCS = 00h (it's good also 11h or 12h), I need 7 bit
 coding in DCS

 Is this a bug in emi2 kannel driver or doesn't emi2 support text messages
 with UDH ?


In my kannel instance from Aug 2002, requesting ...text=testudh=%01%
00coding=1mclass=2 gives me DCS=11
text=testudh=%01%00coding=1mclass=0 results in DCS=00

If this don't work with you, please say so because there might be some new bug 
and someone will have to fix it :|


-- 
br/




Re: Kannel cvs problem

2003-02-04 Thread Alan McNatty
Thanks Bruno

On Tue, 2003-02-04 at 23:18, Bruno Rodrigues wrote:
 Citando Alan McNatty [EMAIL PROTECTED]:
 
  Thanks Bruno,
  
  I did a cvs diff across 1.2.1 vs 1.3.0 to find ...
  
   ./.cvsignore 
  5,6d4
   config.guess
   config.sub
  9,11d6
   diff
   diff2
   build-stamp
  
  looks like someone has removed the config.sub and config.guess files
  from cvs repository - these are required as part of the build process. [
  ie: if I copy them from 1.2.1 source bundle things compile nicely ].
 
 I did it. 
 Both files are generated when you run autoconf in you kannel directory.
 I've deleted them after seeing that debian package building system have replaced
 them by new ones and, after built the package, lintian complain about these two
 automatic generated files inside it.
 
 They are in cvs again.
 
 
 
 
  
  Cheers,
  Alan
  
  On Mon, 2003-02-03 at 16:26, Bruno Rodrigues wrote:
   Quoting Alan McNatty [EMAIL PROTECTED]:
   
I suspect there is a problem with current cvs. ie:

[ clean checkout ] ...

gateway$ ./configure 
loading cache ./config.cache

Configuring for Kannel gateway version 1.3.1 ...

Running system checks ...
configure: error: can not run ./config.sub
   
   I'll fix that in some minutes. 
  
  
  
-- 
Alan McNatty [EMAIL PROTECTED]




Re: Does Kannel log support logrotation

2003-02-04 Thread Bruno Rodrigues
Citando Alan McNatty [EMAIL PROTECTED]:

 This might be useful for you ... (add to /etc/logrotate.d or similar).
 Note: you need to restart Kannel as it doesn't have full signal support.

you just need to killall -HUP bearerbox smsbox wapbox.
-HUP doesn't re-read configuration, but it reopens log files.

And yes, logrotate is the way to go


 
 On Fri, 2003-01-31 at 18:18, joseph mercado wrote:
  Does Kannel log support logrotation???Please advice
  regarding this matter cause im running kannel-1.2.1 on
  linux box 7.2 that forwards sms to a EMI2
  server.Currently all logs does'nt have rotate
  mechanismhas anyone implemented this already
  
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
  http://mailplus.yahoo.com
 -- 
 Alan McNatty [EMAIL PROTECTED]
 


-- 
br/




Re: MMS binary code..

2003-02-04 Thread Bruno Rodrigues
Citando Maria Turk [EMAIL PROTECTED]:

 Does anyone have any code that produces the .mms file.  I tried to Nokia
 version but it's not that conformant.. doesn't work on many phones.

This one should work with Nokia, Sharp and Ericsson.
I've lost all my email and I've already asked for the mail with panasonic 
changes, but I think it's something like having

1. boundary without spaces and a start tag
boundary=---X; start=s.smil
2. in smil, having an header
Content-ID: s.smil
3. have in every content part an aditional Content-ID with the name inside 
Content-Type: ; name=foo.jpg
Content-ID: foo.jpg
4. Content-Disposition shouldn't be required


Date: Tue, 4 Feb 2003 22:00:17 + (WET)
From: ...
To: ...
Subject: test
Mime-Version: 1.0
Content-Type: multipart/related; 
boundary==_Part_191_16701175.1044396017841

--=_Part_191_16701175.1044396017841
Content-Type: application/smil; name=mail.smil
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=mail.smil

smil
  head
layout
  root-layout /
  region id=Image height=100% width=100% left=0% top=0% /
/layout
  /head
  body
par dur=5000ms
  audio src=Telephone.amr /
  img src=BI_BG_2_MMS_7650.jpg region=Image /
/par
  /body
/smil

--=_Part_191_16701175.1044396017841
Content-Type: audio/amr; name=Telephone.amr
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=Telephone.amr

snip base64

--=_Part_191_16701175.1044396017841
Content-Type: image/jpeg; name=BI_BG_2_MMS_7650.jpg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=BI_BG_2_MMS_7650.jpg

snip base64

--=_Part_191_16701175.1044396017841--


-- 
br/




Re: PPG: wap-push-user specific smsc-id config

2003-02-04 Thread Bruno Rodrigues
Citando Andreas Fink [EMAIL PROTECTED]:

 
 On Montag, Februar 3, 2003, at 12:52  Uhr, Stipe Tolj wrote:
 
  Hi list, Hi Aarno,
 a) if smsc=... is set on the push, use it otherwhise use the one 
 defined in group=ppg
 b) if group wap-push user has a default-smsc-id, use it if smsc=.. is 
 not set by step a)
 c) if group wap-push user has a smsc-id, discard any already set 
 smsc-id and force it to the value of the config file.

Don't we have a forced-smsc-id in sendsms ? please use it instead of smsc-id 
to maintain consistency ;)




-- 
br/




kannel,devicehome,urgent

2003-02-04 Thread Mary McCarter
Hi guys!

I have the kannel 1.3 running in linux redhat, but I have a problem with my 
cellphone (motorola iden). When I try to connect kannel with my cellphone, 
it doesn't start the device-home that I have set, and the cell ask me for 
enter a device home(the url for this card  is /internal/home?home):
Enter a homepage to proceed
http://www.phone.com
ok alpha

, the same happens when I try to connect kannel with the uplink. I know 
that the kannel 1.3 doesn't support wtls, so I'm using the kwtls-patch.
I don't know how to solve it!, please help me with any idea.

Is the problem with my installation or only with the config file?
I'm setting it in the  file.cnf like that:
device:home=http//www.mypag.asp
map_url = DEVICE:home* http://www.mypag.asp/*;

Thanks a lot!





_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail




Re: kannel,devicehome,urgent

2003-02-04 Thread Mary McCarter
Hi Andreas!
Thanks for your help,
Yes, it is a motorola, How I can set the device-home whith the kannel? does 
the kannel is cleaning the device:home of my device?

I read that other solve is maping the openwave but, I don't want to map that 
page because this involve to push Ok and set the openwave in the device, but 
I could't change it after, I want to do it automatically with the gateway, 
so how I can do it?

thanks in advance,
Mary

From: Andreas Fink [EMAIL PROTECTED]
To: Mary McCarter [EMAIL PROTECTED]
Subject: Re: kannel,devicehome,urgent
Date: Wed, 5 Feb 2003 01:30:52 +0100


On Mittwoch, Februar 5, 2003, at 12:41  Uhr, Mary McCarter wrote:


Hi guys!

I have the kannel 1.3 running in linux redhat, but I have a problem with 
my cellphone (motorola iden). When I try to connect kannel with my 
cellphone, it doesn't start the device-home that I have set, and the cell 
ask me for enter a device home(the url for this card  is 
/internal/home?home):
Enter a homepage to proceed
http://www.phone.com
ok alpha

, the same happens when I try to connect kannel with the uplink. I know 
that the kannel 1.3 doesn't support wtls, so I'm using the kwtls-patch.
I don't know how to solve it!, please help me with any idea.

Is the problem with my installation or only with the config file?
I'm setting it in the  file.cnf like that:
device:home=http//www.mypag.asp
map_url = DEVICE:home* http://www.mypag.asp/*;

Thanks a lot!

its a problem of your phone I would say. Is it a Motorola?

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Member of the GSM Association




_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus




Re: kannel,devicehome,urgent

2003-02-04 Thread Mary McCarter
Hi Andreas!
Thanks for your help,
Yes, it is a motorola, How I can set the device-home whith the kannel? does 
the kannel is cleaning the device:home of my device?

I read that other solve is maping the openwave but, I don't want to map that 
page because this involve to push Ok and set the openwave in the device, but 
I could't change it after, I want to do it automatically with the gateway, 
so how I can do it?

thanks in advance,
Mary

From: Andreas Fink [EMAIL PROTECTED]
To: Mary McCarter [EMAIL PROTECTED]
Subject: Re: kannel,devicehome,urgent
Date: Wed, 5 Feb 2003 01:30:52 +0100


On Mittwoch, Februar 5, 2003, at 12:41  Uhr, Mary McCarter wrote:


Hi guys!

I have the kannel 1.3 running in linux redhat, but I have a problem with 
my cellphone (motorola iden). When I try to connect kannel with my 
cellphone, it doesn't start the device-home that I have set, and the cell 
ask me for enter a device home(the url for this card  is 
/internal/home?home):
Enter a homepage to proceed
http://www.phone.com
ok alpha

, the same happens when I try to connect kannel with the uplink. I know 
that the kannel 1.3 doesn't support wtls, so I'm using the kwtls-patch.
I don't know how to solve it!, please help me with any idea.

Is the problem with my installation or only with the config file?
I'm setting it in the  file.cnf like that:
device:home=http//www.mypag.asp
map_url = DEVICE:home* http://www.mypag.asp/*;

Thanks a lot!

its a problem of your phone I would say. Is it a Motorola?

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Member of the GSM Association




_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus




Re: kannel,devicehome,urgent

2003-02-04 Thread Andreas Fink

On Mittwoch, Februar 5, 2003, at 02:19  Uhr, Mary McCarter wrote:

Hi Andreas!
Thanks for your help,
Yes, it is a motorola, How I can set the device-home whith the kannel? does the kannel is cleaning the device:home of my device?

I read that other solve is maping the openwave but, I don't want to map that page because this involve to push Ok and set the openwave in the device, but I could't change it after, I want to do it automatically with the gateway, so how I can do it?

thanks in advance,
Mary

The issue here is that the end user phone doesnt request device:home which you can then map to your default page but your device requests the URL www.phone.com. So the only way to fix this is to change the settings of the phone to request something else. This is not an issue of Kannel but of the crappy Motorola phones. If you got it from some US carrier, you might not even be able to set the startup page. Welcome to stone age in mobile communications (also known as USA)

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--
Member of the GSM Association