<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Leonardo,<br>
The session.originate is very powerful, yet can be a little confusing
to use initially.&nbsp; If you understand all the parameters then knock
yourself out.&nbsp; In order to make things easier you may consider using <br>
&nbsp;&nbsp;&nbsp; session.execute("execute_extension", "100 XML default")<br>
See:&nbsp; <a
 href="http://wiki.freeswitch.org/wiki/Session_execute#Execute_Extension">http://wiki.freeswitch.org/wiki/Session_execute#Execute_Extension</a><br>
Regards,<br>
Chris<br>
<br>
Jonas Gauffin wrote:
<blockquote
 cite="mid:d021d3be0803241307i73e66e24m282f5e3d8a00f27a@mail.gmail.com"
 type="cite">
  <pre wrap="">look at session.originate

On Sat, Mar 22, 2008 at 7:08 PM, Leonardo Alves <a class="moz-txt-link-rfc2396E" href="mailto:leoalves@teltec.com.br">&lt;leoalves@teltec.com.br&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">
Is there anyway that I can execute a dialplan extension from a javascript
file ?

Thanks
Leonardo Alves
_______________________________________________
 Freeswitch-users mailing list
 <a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
 <a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
 UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
 <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

  </pre>
</blockquote>
</body>
</html>