[Freeswitch-users] To do telephony functions from web page

Gopalakrishnan A.N saigop at gmail.com
Mon Mar 2 01:25:23 PST 2009


Hi Rex,
  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
http://localhost/sample2.php so that two text box will appear. you can able
to give the extension number and mobile number to dial. Try this :)

On Mon, Mar 2, 2009 at 6:04 AM, Michael Jerris <mike at jerris.com> wrote:

> There are examples on the wiki for this.
>
> Mike
>
> On Mar 1, 2009, at 3:10 PM, Rex_Alex <rex.alex345 at yahoo.com> wrote:
>
> >
> > Hi Shelby Ramsey,
> >
> > I would like to do the same in php script.
> >
> > Please post me a sample.
> >
> > Thanks,
> > Rex.
> >
> >
> > Shelby Ramsey wrote:
> >>
> >> Rex:
> >>
> >> The basis for xml_rpc or mod_event is something along the lines of:
> >>
> >> api $command
> >>
> >> As an example to originate a call (using xml_rpc or mod_event) you
> >> would
> >> do:
> >>
> >> api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml
> >> $context
> >>
> >> What language are you trying to do this in?
> >>
> >> SDR
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >
> > --
> > View this message in context:
> http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p2405845.html
> > Sent from the freeswitch-users mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > 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
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Thank you  with regards,
Gopal,
PeopleTech Systems Private Limited
www.peopletech.co.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090302/ae5592d0/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample2.php
Type: application/octet-stream
Size: 405 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090302/ae5592d0/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsample.php
Type: application/octet-stream
Size: 1434 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090302/ae5592d0/attachment-0005.obj 


More information about the FreeSWITCH-users mailing list