[asterisk-dev] Asterisk Library (.so) Files

Lee Jenkins lee at datatrakpos.com
Wed Oct 17 09:44:32 CDT 2007


Lee Jenkins wrote:
> Lee Jenkins wrote:
>> I'm a bit new to linux and Asterisk, been using both for about a year 
>> now.  I have written a few AGI applications using Lazarus/Freepascal 
>> which is nice for me because they are natively compiled executables and 
>> I am already proficient in ObjectPascal.
>>
>> I'm wondering if I could create an .so module and then be able to call 
>> its function/s directly from Asterisk and register it as an application 
>> instead of using AGI calls?
>>
>> I've written many DLL's for Windows (in Delphi), but no .so libraries 
>> for linux as of yet, but I would assume that this would work as long as 
>> the .so library was using correct calling convention such as cdecl???
>>
>>
> 
> Let me expound on this as I may not have been clear on what I'm asking.
> 
> I am a Delphi (ObjectPascal) programmer mostly (done some C#, but is the 
> closest to C I've come) and I would like to write some add-on to 
> Asterisk in Lazarus/Freepascal but I am unsure of the calling 
> convention, actually anything at all about the code of Asterisk.
> 
> Thanks again for any input.

Shall I lay rice offerings and frankincense at the feet of the Asterisk 
developer divinity to secure an answer? ;)

Seriously, can anyone lend an answer to this?

--
Warm Regards,

Lee





More information about the asterisk-dev mailing list