On Sunday 20 July 2003 15:06, Alexander Malysh wrote:
> On Sunday 20 July 2003 13:23, Oded Arbel wrote:
> > On Sunday 20 July 2003 14:39, Alexander Malysh wrote:
> > > I can not undestand , why this change should be done? We use msg id
> > > only for our internally purposes and msg id has nothing todo with
> > > provider msg id... Can you please explain why it should be needed ?
> >
> > Several providers required that we respond with a message identified that
> > can be tracked, when a message is being sent to Kannel. using the kannel
> > internal message id for that purpose is much easier then most other
> > message tracking methods. this Id is usually required to be 64bit in
> > length.
>
> do you speek now about smsbox's sendsms interface?
No - I'm talking about bearerbox drivers.
> then we should change Counter, in order to be able to handle long long...
What counter ?
> and why not just use
> timestamp+msgid ?
That's the workaround I've used for the SOAP driver. I've committed today the
code to gwlib/utils that generates 64 bit long identifiers by using random
and time stamp, assuming that its very very improbable to get the same 32 bit
random number more then once in a single second.
--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]
+972-9-9581711 (116)
+972-67-340014
::..
"Those are awfully big 'if's," said Valentine.
"You forget, " said Olhado. "We start from the premise that wishing makes it
so."
-- Xenocide / Orson Scott Card