[Asterisk-Dev] Adding code to the manager interface

Robert Spielmann spielmann at plus.cablesurf.de
Sun Jan 30 10:27:00 MST 2005


On Sun, 30 Jan 2005 10:20:34 -0600
Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:

> On Sunday 30 January 2005 10:07, Bruno Hertz wrote:
> > On Sun, 2005-01-30 at 15:51 +0100, Robert Spielmann wrote:
> > > Good idea. The include files are there, otherwise I'd have read
> > > "implicit declaration..." etc. Maybe I need to change my idea a
> > > bit :-)
> >
> > Maybe, maybe not. I hope an experienced * developer will give some
> > hints here, since it may also be that, if you're calling module
> > functions, you might just need to load and call them dynamically
> > via dlopen and dlsym. I hence suggest to better wait until someone
> > else clarifies this before rewriting your code.
> 
> It's probably easier just to move much of that new code into its own
> module and load it after res_features.so and res_musiconhold.so.  What
> changes are you making, specifically?  It might help if you were to
> open an "Experimental Features" on the bugtracker and post your code
> there.

I have situations where I need to manually link 2 channels, hence I
wrote a function to do "Action: Bridge" from the manager interface with
Channel1 and Channel2 as the parameters ;-) I'll check the Asterisk bts
tonight.

Cheers
Robert

-- 
"Whether Halliburton, ENRON or anyone
greed is a weapon of mass destruction"
Faithless, "Mass Destruction"

Visit my website: http://www.byteforge.org



More information about the asterisk-dev mailing list