Re: Duplicated FID (foreign_id)

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <7547837946A545039A453ED66DDBD638@drwho>
Please address the list so that others may benefit as well. Do not send me 
personals.

There are instructions on how to do it in the web site. Actually today, 
while talking to Alvaro, i just posted a script that will do just that. It 
will create an external file with the patch. You just address an email to 
[email protected] with Subject: Patch: <file patched>, attach the file and 
describe in a few sentences what your patch will do and the need to use it.

PS. You need to subscribe to [email protected] before submitting.

BR,
Nikos
----- Original Message ----- 
From: "Maros Gabor EB_HU" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Sent: Friday, March 12, 2010 5:43 PM
Subject: RE: Duplicated FID (foreign_id)


Hi Nikos,

can you help me how to do it, because I'm not a programmer, I just changed 
the code with a vim editor (it was too easy), but i don't know how can i 
submit it.
Is it enough to send them this mail (of course solution will be enclosed)?

Thanks,
Gabor

-----Original Message-----
From: Nikos Balkanas [mailto:[email protected]]
Sent: Friday, March 12, 2010 4:32 PM
To: Maros Gabor EB_HU; [email protected]
Subject: Re: Duplicated FID (foreign_id)

Actually I spoke too soon. Externally the call is with all 3 parameters, but
internally only 2 are utilized. So your idea is good. Could you please
submit your patch to [email protected]?

BR,
Nikos
----- Original Message ----- 
From: "Nikos Balkanas" <[email protected]>
To: "Gabor Maros" <[email protected]>; <[email protected]>
Sent: Friday, March 12, 2010 5:22 PM
Subject: Re: Duplicated FID (foreign_id)


> Hi,
>
> The internal kannel key is:
>
> smsc, FID, destination.
>
> So you don't need any patch, it works fine the way it is.
>
> BR,
> Nikos
> ----- Original Message ----- 
> From: "Gabor Maros" <[email protected]>
> To: <[email protected]>
> Sent: Friday, March 12, 2010 4:46 PM
> Subject: Re: Duplicated FID (foreign_id)
>
>
>>
>> Hi,
>>
>> I just want to write down our solution:
>> I sent the question about the problem to our sms provider, which told me
>> that if i want to pair the sent sm with delivery report than the key is
>> not
>> just the FID (which is just a timestamp), but the FID+destination.
>> So we had to change the code of kannel. We using mysql dlr database, so
>> we
>> just changed gw/dlr_mysql.c at 3 places (it can be seen in the enclosed
>> file
>> http://old.nabble.com/file/p27875373/dlr_mysql.c dlr_mysql.c )
>>
>>
>>
>> If we send more SMs to one destination in one sec, than the provider
>> shifts
>> FID (timestamp at theire side), so even this case the FID+destination
>> will
>> be unique.
>>
>> Bye!
>>
>>
>>
>> Gabor Maros wrote:
>>>
>>> Hi,
>>>
>>> can anybody tell me how is FID generated or on which side.
>>> I ask it because I have a problem: in access.log there are different
>>> messages that have the same PIDs, and I need to know where I should
>>> search
>>> the problem (on kannel side, or on my sms provider's side).
>>>
>>> Thanks!
>>>
>>
>> -- 
>> View this message in context:
>> http://old.nabble.com/Duplicated-FID-%28foreign_id%29-tp27853586p27875373.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>>
>

____________________________________________________________________________________________________
Ez az e-mail Γ©s az Γ¶sszes hozzΓ΅ tartozΓ³ csatolt mellΓ©klet titkos 
Γ©s/vagy jogilag, szakmailag vagy mΓ΅s mΓ³don vΓ©dett informΓ΅ciΓ³t 
tartalmazhat. Amennyiben nem Γ–n a levΓ©l cΓ­mzettje akkor a levΓ©l 
tartalmΓ΅nak kΓ¶zlΓ©se, reprodukΓ΅lΓ΅sa, mΓ΅solΓ΅sa, vagy egyΓ©b mΓ΅s ΓΊton 
tΓ¶rtΓ©nΕ‘ terjesztΓ©se, felhasznΓ΅lΓ΅sa szigorΓΊan tilos. Amennyiben 
tΓ©vedΓ©sbΕ‘l kapta meg ezt az ΓΌzenetet kΓ©rjΓΌk azonnal Γ©rtesΓ­tse az 
ΓΌzenet kΓΌldΕ‘jΓ©t. Az Erste Bank Hungary Nyrt. (EBH) nem vΓ΅llal felelΕ‘ssΓ©get 
az informΓ΅ciΓ³ teljes Γ©s pontos - cΓ­mzett(ek)hez tΓ¶rtΓ©nΕ‘ - 
eljuttatásáért, valamint semmilyen késésért, kapcsolat 
megszakadásból eredő hibáért, vagy az információ felhasználásából 
vagy annak megbΓ­zhatatlansΓ΅gΓ΅bΓ³l eredΕ‘ kΓ΅rΓ©rt.

Az ΓΌzenetek EBH-n kΓ­vΓΌli kΓΌldΕ‘je vagy cΓ­mzettje tudomΓ΅sul veszi Γ©s 
hozzΓ΅jΓ΅rul, hogy az ΓΌzenetekhez mΓ΅s banki alkalmazott is hozzΓ΅fΓ©rhet 
az EBH folytonos munkamenetΓ©nek biztosΓ­tΓ΅sa Γ©rdekΓ©ben.


This e-mail and any attached files are confidential and/or covered by legal, 
professional or other privilege. If you are not the addressee, any 
disclosure, reproduction, copying, distribution, or other dissemination or 
use of this communication is strictly prohibited. If you have received this 
transmission in error please notify Erste Bank Hungary Nyrt. (EBH) 
immediately. EBH does not accept liability for the correct and complete 
transmission of the information, nor for any delay or interruption of the 
transmission, nor for damages arising from the use of or reliance on the 
information.

The sender or recipient of these messages agrees that they may be read by 
other EBH employees than the official recipient or sender in order to ensure 
the continuity of work-related activities and allow supervision thereof.

____________________________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.