[Freeswitch-users] Dial from inside application

Mindaugas Kezys mkezys at gmail.com
Tue Apr 17 09:59:19 PDT 2007



How to dial from inside application in FreeSwitch?


I have such Asterisk code:


static int pbx_dial(struct ast_channel *chan, void *data)


    struct ast_app *app;

    int ret;


    app = pbx_findapp("Dial");

    if (app) {

        ret = pbx_exec(chan, app, data);    

    } else {

        ast_log(LOG_WARNING, "Could not find application (Dial)\n");

        ret = -2;



    return ret;



What is the equivalent in FreeSwitch world?


Thank you for your help.



Mindaugas Kezys



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070417/7aedd444/attachment-0002.html 

More information about the FreeSWITCH-users mailing list