Hi Rex,<div><br></div><div>  Please find the attached file for the PHP script. This script has been executed in FS 1.0.2. put these two scripts in htdocs directory. access the <a href="http://localhost/sample2.php">http://localhost/sample2.php</a> so that two text box will appear. you can able to give the extension number and mobile number to dial. Try this :)<br>
<br><div class="gmail_quote">On Mon, Mar 2, 2009 at 6:04 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There are examples on the wiki for this.<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c"><br>
On Mar 1, 2009, at 3:10 PM, Rex_Alex &lt;<a href="mailto:rex.alex345@yahoo.com">rex.alex345@yahoo.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; Hi Shelby Ramsey,<br>
&gt;<br>
&gt; I would like to do the same in php script.<br>
&gt;<br>
&gt; Please post me a sample.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Rex.<br>
&gt;<br>
&gt;<br>
&gt; Shelby Ramsey wrote:<br>
&gt;&gt;<br>
&gt;&gt; Rex:<br>
&gt;&gt;<br>
&gt;&gt; The basis for xml_rpc or mod_event is something along the lines of:<br>
&gt;&gt;<br>
&gt;&gt; api $command<br>
&gt;&gt;<br>
&gt;&gt; As an example to originate a call (using xml_rpc or mod_event) you<br>
&gt;&gt; would<br>
&gt;&gt; do:<br>
&gt;&gt;<br>
&gt;&gt; api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml<br>
&gt;&gt; $context<br>
&gt;&gt;<br>
&gt;&gt; What language are you trying to do this in?<br>
&gt;&gt;<br>
&gt;&gt; SDR<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing list<br>
&gt;&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p2405845.html" target="_blank">http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p2405845.html</a><br>

&gt; Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thank you  with regards,<br>Gopal,<br>PeopleTech Systems Private Limited<br><a href="http://www.peopletech.co.in">www.peopletech.co.in</a><br>
</div>