[asterisk-users] How to use an Application from inside an Application?

Pirlouwi pirlouwi at gmail.com
Sat Oct 13 17:07:45 CDT 2007


Thx a lot for response. pbx_exec is very useful.
Pirlouwi.

2007/10/12, Tilghman Lesher <tilghman at mail.jeffandtilghman.com>:
>
> 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
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071014/b72be69b/attachment.htm 


More information about the asterisk-users mailing list