[asterisk-users] How to use an Application from inside an Application?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Oct 12 08:46:59 CDT 2007
On Friday 12 October 2007 04:28:42 Pirlouwi wrote:
> I wonder if there is a way to build my own asterisk application (let us say
> apps/app_myappl.c),
> and to launch other existing applications from it (for example, doing an
> apps/app_dial.c, or others).
Both the Page app and VoicemailMain do this, respectively for MeetMe and
Directory, so you can look at their source for examples.
In the case of Page, the guts of it is:
app = pbx_findapp("MeetMe");
pbx_exec(chan, app, meetmeopts);
Please check out app_page.c for the rest of the syntax.
--
Tilghman
More information about the asterisk-users
mailing list