Re: Billing Kannel SMS side

2003-02-14 Thread Arne K. Haaje
Stipe Tolj wrote:

Arne K. Haaje wrote:


I am thinking about adding support to the CIMD2 module for the Tarrif
field. This is in Nokias official specifications. It is a field like any
others where you can set the tarrif class.

As it is in the official specs. I think it would be useful. Are there
any objections to me adding support for it?



no, definetly not. If billing issues are part of the SMSC specs, they
should be implemented.

The point is we don't want things in there, because billing is usually
a very individual thing and it wouldn't fit for everyone if we decided
to do it on a specific way. So we leave the choice to the users how to
do it.


OK, I will add it as soon as I can dig myself out of the curren mount of 
work I am in.

If there is no objections, I will use the tarrif=XX approach in the URL.

--
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/




Re: [RFC] yesterday commits

2003-02-14 Thread Aarno Syvänen
I will fix this.

Aarno

On Friday, February 14, 2003, at 08:41 AM, Stipe Tolj wrote:


Hi Aarno,

can you comment on this part of your patch, please:

Index: gateway/gwlib/socket.c
diff -u gateway/gwlib/socket.c:1.53 gateway/gwlib/socket.c:1.54
--- gateway/gwlib/socket.c:1.53 Wed Nov 13 10:22:56 2002
+++ gateway/gwlib/socket.c  Thu Feb 13 10:35:48 2003
@@ -510,7 +510,7 @@
 }


-static void setup_official_name(void)
+static int  setup_official_name(void)
 {
 struct utsname u;
 struct hostent h;
@@ -519,14 +519,15 @@
 if (uname(u) == -1)
 panic(0, uname failed - can't happen, unless  GW_NAME  is
buggy.);
 if (gw_gethostbyname(h, u.nodename) == -1) {
-error(0, Can't find out official hostname for this host, 
-  using `%s' instead., u.nodename);
+/*error(0, Can't find out official hostname for this host, 
+  using `%s' instead., u.nodename);*/
 official_name = octstr_create(u.nodename);
official_ip = octstr_create(127.0.0.1);
-} else {
-official_name = octstr_create(h.h_name);
-   official_ip = gw_netaddr_to_octstr(AF_INET, h.h_addr);
-}
+return 0;
+}
+
+official_name = octstr_create(h.h_name);
+official_ip = gw_netaddr_to_octstr(AF_INET, h.h_addr);
 }


why is that change necessary?

BTW, it throughs warnings on the automatic compilation test, as you
may have noticed. See devel-report@ list.

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: [RFC] yesterday commits

2003-02-14 Thread Stipe Tolj
Aarno Syvänen wrote:
 
 I will fix this.

I'd prefer a roll-back to the previous revision for the gwlib/socket.c
file, cause there haven't been any bug or problem reports on this
issue.

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: [RFC] yesterday commits

2003-02-14 Thread Aarno Syvänen
As a matter of fact, there is one: make check will fail, when socket.c 
reports this error. It is not always
fatal one: config file may supply official name and official ip. But 
yes, it would be better to fix make
check.

Aarno

On Friday, February 14, 2003, at 10:54 AM, Stipe Tolj wrote:

Aarno Syvänen wrote:


I will fix this.


I'd prefer a roll-back to the previous revision for the gwlib/socket.c
file, cause there haven't been any bug or problem reports on this
issue.

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: SMPP driver default autodetect should be 1

2003-02-14 Thread Andreas Fink

On Freitag, Februar 14, 2003, at 11:18  Uhr, Alex Judd wrote:

Basically detects whether we are sending National, International or Alpha
headers for our messages and adjusts the source TOP and NPI parameters to
the correct settings according to Logica's SMPP 3.4 specifications.

Used to be automaticly there until recently when it got change to be
disabled by default. Not real problem for me as I know it's there however
most users who expect an 'out of the box' working SMPP driver will need to
go into the source and change it.

Got you there. We definitiviely want to have it autodetecting again then.

+1 for the patch...

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: nokia 7110

2003-02-14 Thread Nicholas Rahn

On Fri, 2003-02-14 at 07:11, Andreas Fink wrote:
 
 On Donnerstag, Februar 13, 2003, at 11:52  Uhr, Nicholas Rahn wrote:
 
  Hi list,
 
  we are having a problem with our nokia 7110 phones using kannel's at2
  smsc module.  it's not clear to me if our problem is with the phone, 
  the
  sim card or with kannel, so i thought i might see if anyone on the list
  has any ideas.
 
 
 The problem is your 7110. The reason is that those phones where never 
 made for heavy duty use and its easy to confuse the phone. Its enough 
 to send and receive in the same second or send too fast or such. This 
 is a general problem of using AT driver on Nokia phones. If you use 
 heavy duty GSM modems you wont have this effect.

Thanks for the response Andreas.  I have 2 follow up questions:

1) even though the 7110 is not a heavy duty phone, what could account
for the fact that it is always the phone of operator A that has the
problem first?  We have swapped the sim cards into different 7110s and
the effect is the same:  it is always operator A that blocks first.
(does it help if i tell you A = swisscom :-) ?

2) in your opinion, what is a heavy duty GSM modem?  does anyone else
on the list have an opinion/recommendation for a heavy duty GSM
modem?  i've seen people mention wavecom before ?

Thanks for your help,
Nick






Re: SMPP driver default autodetect should be 1

2003-02-14 Thread Stipe Tolj
ok, commited to cvs.

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: nokia 7110

2003-02-14 Thread Stipe Tolj
 2) in your opinion, what is a heavy duty GSM modem?  does anyone else
 on the list have an opinion/recommendation for a heavy duty GSM
 modem?  i've seen people mention wavecom before ?

we run some Siemens M20 (with updated firmware). They work pretty well
and for that ammount you need they should be ok. (but don't blame me
if they don't do there job ;)

AFAIK, most people suggest the Falcom GSM modems.

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: Does Kannel log support logrotation (userguide patch)

2003-02-14 Thread Stipe Tolj
applied to cvs. Thanks.

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: nokia 7110

2003-02-14 Thread Andreas Fink
Thanks for the response Andreas.  I have 2 follow up questions:

1) even though the 7110 is not a heavy duty phone, what could account
for the fact that it is always the phone of operator "A" that has the
problem first?  We have swapped the sim cards into different 7110s and
the effect is the same:  it is always operator "A" that blocks first.
(does it help if i tell you "A" = "swisscom" :-) ?

The issue here is that when you receive an SMS from the MSC the phone has to reply with an ACK. If you're sending an SMS at the same time, you're getting into trouble. The difference between the operators might be related to the fact that on one operator it takes longer than on others. Also different MSC's act different. We have seen situations like: You send a MT to a MSC which is then in progress of sending it to the phone. While doing that, another MT arrives to the MSC. Some MSCs reject the second, some do simply buffer it. 

2) in your opinion, what is a "heavy duty GSM modem"?  does anyone else
on the list have an opinion/recommendation for a "heavy duty GSM
modem"?  i've seen people mention wavecom before ?

We have used a few Siemens TC35 pretty sucessfully for this. We only receive on them. Now we changed to our own MSC emulation infrastructure which makes receiving a lot faster and reliable.

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



SMSC emulators

2003-02-14 Thread José Cervera Uceda



Hi,

I saw in the web page that one of the unassigned 
projects was the development of SMS-C emulators for stress testing.

I just wanted to know which was the state of this 
development (if someone has even started it!).

Thanks!


receiving a Vcard and save toa DB

2003-02-14 Thread joseph mercado
Has anyone already implemented kannel to recieve a
Vcard and point to a url where it get parse and be
save to DB

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




SMSC emulators

2003-02-14 Thread Benoit Doreau
Hi,

I just wanted to know the state in the development of this project, as
listed in the web:


[80 days] SMSC emulators for stress testing

In order to properly test the SMSC protocol implementations, we should
implement SMSC emulators. This may or may not be helpful for making sure the
protocol implmentation themselves are correct, but will make sure there are
no timing etc. problems in Kannel related to them.


Has anything been done?

Thanks!





Urgent Query ??

2003-02-14 Thread Dheeraj Anand

I need some information very urgently. a urgent reply will be appreciated.
my ques is:

Is Kannel 100% wap 1.2.1 specification compliant. If not then I want to know
what features does the kannel gateway support which are possible as per wap
1.2.1 specifications. i actually need a detailed list. i've gone thru whole
kannel site but all the info there is very  brief. so any1 who can help me
please do the needful.

Rgds
Umesh





(no subject)

2003-02-14 Thread Kang Minfeng-a18629
Hi, List:
I have a question about WTP-SAR, it is not about kannel, but maybe some 
experts here can help me.

I develop wap-client on mobile. When I send a Invoke message by WTP-SAR to 
gateway, I get the abort PDU. Following is the flow:

Invoke, 
SegInvoke, PSN=1
SegInvoke, G, PSN=2 

Ack, PSN=2

-SegInvoke, PSN=3
-SegInvoke, PSN=4
-SegInvoke, T, PSN=5

-Abort, Abort Reson = 0xE1(disconnect)

I donot know why the gateway send the abort PDU intead of the result PDU, and 
the abort reason can not tell me more information about it.

Can anybody here help me?

BRs
mfkang








FW: subscribe

2003-02-14 Thread Deepesh Dhapola
Title: Message



Hi,

I'm 
windows programmer andhave worked on SMPP protocol under VC++ environment. 
I want to contribute to the windows version of the Kannel. How can i be a part 
of it?

Thanks 
and regards
Deepesh

-Original Message-From: Deepesh Dhapola 
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:56 
PMTo: '[EMAIL PROTECTED]'Subject: 
subscribe
subscribe


[Fwd: Support]

2003-02-14 Thread Stipe Tolj
forwarded from wrong mailing list.

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
---BeginMessage---
Title: PervasiveOne





  
  

  

  Hi,
   I am 
  testing kannel gateway with the smsc server of our 
own.
   I want 
  to know how to configurethe following parameters for UCP 
  protocol,
   Oadc , OTON, ONPI , STYP, and OPID 
..
  
  thanking you 
  ,
  vijay.
   
  
  

  

  Germany: Am 
  Manfredhof 43, 83646 Bad Toelz; Ph: +49 89 693 723 70 FAX +49 89 693 723 
  80 India: C-071 
  B, DLF Supermart I, DLF City Phase IV, Gurgaon, Haryana, 122 002 India; 
  Ph: +91 124 8942538 Fax: +91 124 8942539 UK: 1, Sabin Gates, 
  Old Bracknell Lane East, Bracknell Berkshire RG12 7AG UK; Ph: +44 1344 
  409320 Fax: +44-1344-862263www.PervasiveOne.com E-mail: 
  [EMAIL PROTECTED] 
  

  This email and any 
  attachments are sent in confidence, subject to applicable legal privilege 
  and upon the basis that the recipient will conduct appropriate virus 
  checks. If you receive this email in error, please contact us upon 
  receipt: you are strictly prohibited from using, copying or disseminating 
  it or any information contained in it save to the intended recipient. 
  Internet communications are not secure and PervasiveOne Solutions 
  Limited, formerly known as Telcon Limited, is not responsible for their 
  abuse by third parties, nor for any alteration or corruption in 
  transmission, nor for any damage or loss caused by any virus or other 
  defect. 

---End Message---


Re: receiving a Vcard and save toa DB

2003-02-14 Thread Stipe Tolj
joseph mercado wrote:
 
 Has anyone already implemented kannel to recieve a
 Vcard and point to a url where it get parse and be
 save to DB

I have played a bit with the Nokia smart messaging stuff. I didn't
recall exactly if the vcard is delivered with alternative DCS fields?!

AFAIK, binary DCS field are not supported for most SMSC modules.
*ehmmm* *ducking head*

Hope others that run such services don't flame me now ;)

But the idea is cool.

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: Urgent Query ??

2003-02-14 Thread Stipe Tolj
Dheeraj Anand wrote:
 
 I need some information very urgently. a urgent reply will be appreciated.
 my ques is:

Hmm, your mail is dated from Saturday morning CET, but I received it
now. So it appears you didn't tell your SMTP server that this issue is
urgent ;)) *g*

 Is Kannel 100% wap 1.2.1 specification compliant. If not then I want to know
 what features does the kannel gateway support which are possible as per wap
 1.2.1 specifications. i actually need a detailed list. i've gone thru whole
 kannel site but all the info there is very  brief. so any1 who can help me
 please do the needful.

No, Kannel is not fully WAP 1.2.1 compliant. 

We cover the most important parts: WTP-SAR, WAP Push, no UAProf.

You should pick a glance on the user's guide. If you don't find
anything mentioned about 1.2.1 specific features in there, then it's
obviously yet not implemented :)

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: (no subject)

2003-02-14 Thread Stipe Tolj
Hi Kang,

BTW, cool, we have people from Siemens, Nokia and Motorola on the
list. :)) I guess the swidish Ericssons are a little bit shier then
the others :))

I like the idea that members of those device manufacturer companies
deal with Kannel. It's definetly a positive signal to Kannel and I'd
like to take the opportunity to congratulate all developers and
participants in the Kannel project effort! 

You all are doing a great job!

Kang Minfeng-a18629 wrote:
 
 Hi, List:
 I have a question about WTP-SAR, it is not about kannel, but maybe some 
experts here can help me.

the WTP-SAR experts are definetly Aarno and Igor, I CCed them on this
issue. Please keep the discussions on the list, so others can follow.

 I develop wap-client on mobile. When I send a Invoke message by WTP-SAR to 
gateway, I get the abort PDU. Following is the flow:
 
 Invoke,
 SegInvoke, PSN=1
 SegInvoke, G, PSN=2
 
 Ack, PSN=2
 
 -SegInvoke, PSN=3
 -SegInvoke, PSN=4
 -SegInvoke, T, PSN=5
 
 -Abort, Abort Reson = 0xE1(disconnect)
 
 I donot know why the gateway send the abort PDU intead of the result PDU, 
and the abort reason can not tell me more information about it.
 
 Can anybody here help me?


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: receiving a Vcard and save toa DB

2003-02-14 Thread Bruno Rodrigues
Citando Stipe Tolj [EMAIL PROTECTED]:

 joseph mercado wrote:
  
  Has anyone already implemented kannel to recieve a
  Vcard and point to a url where it get parse and be
  save to DB
 
 I have played a bit with the Nokia smart messaging stuff. I didn't
 recall exactly if the vcard is delivered with alternative DCS fields?!
 
 AFAIK, binary DCS field are not supported for most SMSC modules.
 *ehmmm* *ducking head*

Stop complaining and implement it ;)


 Hope others that run such services don't flame me now ;)

VCard's are in simple text. Nokia phones requires a special UDH. Ericsson's don't.

If you want to send, set udh=%06%05%04%23%F4%00%00 for nokia and empty udh for
ericsson, and set text=see example downthere

If you want to receive, you'll need a catchall service that forwards %a to
your server, and you can ignore udh field - that way you'll receive from nokia
and ericsson.

Your server needs to parse vcard and reply back acordly.

Please have a look at contrib/web/*.php


Example vcard: 
(Note: with old nokias, like 6210, you can only set maximum two fields from
email, label and note. If you set the three, it will ignore your message. I
haven't tried with new mobiles)
Note2: newlines are %0D%0A, and you need a newline after last line
(END:VCARD%0D%0A)

BEGIN: VCARD
VERSION:2.1
N: name
TEL;PREF: telephone
TEL;CELL: mobile
TEL;HOME: home phone
TEL;WORK: work phone
TEL;FAX: fax
EMAIL: email
LABEL: address
NOTE: note
END:VCARD


 
 But the idea is cool.
 
 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
 
 


-- 
br/




Re: Urgent Query ??

2003-02-14 Thread Bruno Rodrigues
Citando Stipe Tolj [EMAIL PROTECTED]:

 No, Kannel is not fully WAP 1.2.1 compliant. 
 
 We cover the most important parts: WTP-SAR, WAP Push, no UAProf.

I might have some news about UAProf one of these days ;)

Hint: Deli, Cocoon, Vodafone live

-- 
br/




Re: Urgent Query ??

2003-02-14 Thread Stipe Tolj
Bruno Rodrigues wrote:
 
 Citando Stipe Tolj [EMAIL PROTECTED]:
 
  No, Kannel is not fully WAP 1.2.1 compliant.
 
  We cover the most important parts: WTP-SAR, WAP Push, no UAProf.
 
 I might have some news about UAProf one of these days ;)
 
 Hint: Deli, Cocoon, Vodafone live

that would be great.

BTW, can I shoot this evening for development release 1.3.1?!

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: T68i incorrect support of CNMI

2003-02-14 Thread Bruno Rodrigues
Citando Alex Judd [EMAIL PROTECTED]:

 RE: [Fwd: Removing WTP-SAR limit 32768 B]Anyone else noticed that the T68i
 appears to break the rules of the CNMI command in smsc_at2.c?
 
 AT+CNMI=?
 +CNMI: (3),(0,1,3),(0,2),(0),(0)

Haven't I commented modems.conf with something like # Ericsson T68 - forget it ?

I've tried every combination and the I've given up. Ericsson reply was won't
fix it :(((



-- 
br/




[RFC] config directive 'country-prefix' in wap-push-user group

2003-02-14 Thread Stipe Tolj
Hi Aarno,
Hi others,

AFAIS, the 'country-prefix' is simply prefixed to the given number in
case it's set for a wap-push-user group, see
gw/wap_push_ppg_pushuser.c:770:

if (u-denied_prefix != NULL) {
denied = octstr_split(u-denied_prefix, octstr_imm(;));
for (i = 0; i  list_len(denied); ++i) {
 listed_prefix = list_get(denied, i);
 if (u-country_prefix != NULL)
 octstr_insert(listed_prefix, u-country_prefix, 0);
 if (compare_octstr_sequence(number, listed_prefix, 
 0) == 0) {
 goto denied;
 }
}
}

hmm, shouldn't this be done via out 'unified-prefix' prefix
normalization routine?! Basically the functionality is similiar, but
there are two approaches.

I'd like to eliminate country-prefix and use either the global
unified-prefix from group core or allow a dedicated unified-prefix for
a wap-push-user group. (the same way we do it for smsc groups).

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