Hi,
The SMPP version of the client is taken from the bind_sm pdu. If there is a
client structure somewhere, that can take care of that info, it should store
version as well. Then it would be a matter of checking before using TLVs or
not.
BR,
Nikos
----- Original Message -----
From: "Rene Kluwen" <[email protected]>
To: "'Victor Luchitz'" <[email protected]>; <[email protected]>
Sent: Friday, July 09, 2010 12:33 AM
Subject: RE: [PATCH] smppbox :: TLV support
1. Understood.
2. Yes, it was different. Changed now. Sorry for cheating ;)
3. I agree... we can leave things as they are now.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Victor Luchitz
Sent: donderdag 8 juli 2010 22:37
To: [email protected]
Subject: Re: [PATCH] smppbox :: TLV support
2010/7/9 Rene Kluwen <[email protected]>:
You mean bearerbox?
Yes. Or, to be more specific, gw/smsc/smsc_smpp.c
Smppbox doesn't have a default version. The version is always indicated by
the client.
Wasn't it a different until r18?
Box->version is set to 0x33 in box_create, but in practice, this version
is never used.
Right now, we support both 0x33 and 0x34 clients. What do you want to
change?
What I'm trying to say is that support for anything < v 0.34 is pretty
much irrelevant nowadays. On the other hand, having 0.33 can be
potentially useful both for testing and academic purposes, so I guess
we can leave things as they are now.
== Rene
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Victor Luchitz
Sent: donderdag 8 juli 2010 22:18
To: [email protected]
Subject: Re: [PATCH] smppbox :: TLV support
Well, by smsbox I meant that part of Kannel that implements SMPP
support for SMSC's, sorry.
As for the protocol version, what I assumed is that we can now default
it to 0x34 instead of 0x33 or do you really want to keep 0x33
compatibility? Are there any pure 0x33 clients out there?
2010/7/9 Rene Kluwen <[email protected]>:
SMSBox doesn't do SMPP, does it?
And we could set the protocol version to 0x34 now. Just: Where in the
code do we set a version?
== Rene
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Victor Luchitz
Sent: donderdag 8 juli 2010 21:55
To: [email protected]
Subject: Re: [PATCH] smppbox :: TLV support
SMSBox doesn't have such a check, so I assumed it would be fine not to
have them here either. We could also set the protocol version to 0x34
now, don't you think?
2010/7/8 Rene Kluwen <[email protected]>:
Wow, this is easier than I expected. I was expecting a long diff.
IMO, we should ONLY send if the interface version (that is sent with the
bind request) is at least 0x34.
V3.3-clients could possibly choke on it.
== Rene
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Victor Luchitz
Sent: donderdag 8 juli 2010 19:58
To: [email protected]
Subject: [PATCH] smppbox :: TLV support
Hello.
I'm attaching a patch against r17 that adds custom TLV support to
DELIVER_SM, DATA_SM and SUBMIT_SM PDU's processed by smppbox.
--
Best regards,
Victor Luchitz
--
Best regards,
Victor Luchitz
--
Best regards,
Victor Luchitz
--
Best regards,
Victor Luchitz