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 devel@kannel.org 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 devel@kannel.org before submitting.

BR,
Nikos
----- Original Message ----- From: "Maros Gabor EB_HU" <gabor.ma...@erstebank.hu>
To: "Nikos Balkanas" <nbalka...@gmail.com>
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:nbalka...@gmail.com]
Sent: Friday, March 12, 2010 4:32 PM
To: Maros Gabor EB_HU; us...@kannel.org
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 de...@kannel.org?

BR,
Nikos
----- Original Message ----- From: "Nikos Balkanas" <nbalka...@gmail.com>
To: "Gabor Maros" <gabor.ma...@erstebank.hu>; <us...@kannel.org>
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" <gabor.ma...@erstebank.hu>
To: <us...@kannel.org>
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.

____________________________________________________________________________________________________


Reply via email to