[asterisk-dev] Asterisk Library (.so) Files
Lee Jenkins
lee at datatrakpos.com
Wed Oct 17 10:53:47 CDT 2007
Simon Perreault wrote:
> On Friday 12 October 2007 15:23:40 Lee Jenkins wrote:
>> 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 think the answer to your (a bit strange) question is "yes", and could even
> be "that's the whole point!". Take a look at app_skel.c for a skeleton
> application.
>
>> 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???
>
> You don't have to bother about calling conventions in Linux, unless you're
> doing something really evil.
>
Thanks for responding, Simon.
I appreciate it.
--
Warm Regards,
Lee
More information about the asterisk-dev
mailing list