Leonardo,
The session.originate is very powerful, yet can be a little confusing to use initially. If you understand all the parameters then knock yourself out. In order to make things easier you may consider using
   session.execute("execute_extension", "100 XML default")
See:  http://wiki.freeswitch.org/wiki/Session_execute#Execute_Extension
Regards,
Chris

Jonas Gauffin wrote:
look at session.originate

On Sat, Mar 22, 2008 at 7:08 PM, Leonardo Alves <[EMAIL PROTECTED]> wrote:
Is there anyway that I can execute a dialplan extension from a javascript
file ?

Thanks
Leonardo Alves
_______________________________________________
 Freeswitch-users mailing list
 [email protected]
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to