[Asterisk-Dev] Re: click-to-call cleint

Paul Davidson planac at gmail.com
Tue Jan 17 05:45:03 MST 2006


Matt-

I have implemented such a thing- but you need to first define your scope a
little better (or perhaps you have, and simply haven't articulated it fully
here).  From your posting, I could read your requirements one of two ways-
either you're looking for a VoIP capable Web based softphone that you want
to use, or you're simply looking to have a call initiate from a web page.
Incidentally, both are off-topic for the asterisk-dev list, as neither have
to do with the development of the Asterisk project itself- you may have more
luck on the asterisk-users list.

If what you're looking for is a web based VoIP client, you may be out of
luck.  There's been rumors of such things, but most have been tied up with
licensing issues, or simply don't work.  Java is one way to go on this-
you'd be looking at cracking the books on it, and I'd hope you'd contribute
it back to the community- but I'd expect to hear back from you in a few
years.

If you're looking for the ability to click on a link and have a call
initiate- then this is well within the realm of possibility- I've
implemented this before.  The secret is defining your two devices- the
clickee's device (softphone that's already running, or hardphone you can
identify in advance), and the clicked party's device (most likely a number
on the PSTN or at least external to you).  The latter is handled through
dialplan- no magic there.  The former is really up to you- the softphone
client has no restrictions, find one you like.  You can potentially feed a
dialstring to the softphone from the Web client- DIAX allows for that,
amoung others- and that's by far the simplest manner.  My app uses dialback-
you click, a .call file is sent to asterisk, which then calls you, detects
pickup, and then calls the remote party.  Clients love it- no more calling
cards, their home Asterisk server can call them at cheap LD rates (or
better), and the call is set up to their cell phone- in the US, there's a
lot of 'incoming minutes are free' plans, so the costs are very attractive.
But.. no javascript is required- I wrote my app in PHP, but you could write
one in any client-side scripting language.

-Paul Davidson
 PlanCommunications, LLC


Date: Tue, 17 Jan 2006 02:22:15 -0800
> From: "Matt" <mattl at xgforce.com>
> Subject: [Asterisk-Dev] click-to-call cleint
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Message-ID: <002f01c61b4f$e5479d80$0301a8c0 at bbzlsgmfs2be6y>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi guys:
>
> i need to write a click-to-call client so that user visit website and
> click on a link, will initial a call to a * exten or a zap phone, but the
> user needn't to install any client software to be able to start the click to
> call.
>
> This seams that it has to be written as a java applet? any pointers,
> suggestions?
>
> Thanks in Advance!
>
> Best Regards
>
> Matt
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.digium.com/pipermail/asterisk-dev/attachments/20060117/a663fdb8/attachment-0001.htm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060117/39474496/attachment.htm


More information about the asterisk-dev mailing list