[Asterisk-Users] Click to Call

VoIP voip at er21.com
Mon Aug 9 22:21:05 MST 2004


Hi, Ed Guy, 

Do you find interesting issue when getting CDR? 
It has two billing leg on "click to call". One is origination leg and the
other is termination leg. After call drop, only termination leg CDR is
logged. 

Regards,
yang 


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Ed Guy
Sent: 2004年8月10日 4:35
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Click to Call

Andrei,

It is an activeX control and it no longer needs
to have the security level changed.  

(The earlier version was an unsigned applet that required the security 
level change until I bought the code signing certificate early this year.)

If you want to have a soft phone running in a web browser,
your approaches are somewhat limited and an ActiveX control
is probably the most expedient approach for the general user 
population. (read: very few people from this list ;-) )

So, if you're Intranet can reach the Internet, connect your 
Asterisk server to FWD and simply have the users' click on 
your icon and call your FWD account.  This HTML code snippet 
does it:

	<A HREF="http://fwd.pulver.com/callme.php?userid=55555">
	<IMG SRC="http://fwd.pulver.com/myicon.php?userid=55555">
		FWD# 55555
	</A>

Change it to use your userid, and you may replace the image as desired. 

If you simply want click dial to dial, your choices are many...
On asterisk,  I use the create a file in /var/spool/asterisk/outgoing
approach with great success.

Here's a simple shell script I use; it could easily be 
moved to php or a CGI after cleansing the parameters.  (There must be 
complete examples on voip-info.org)

#!/bin/bash
#
# usage: callme fromnumber tonumber
#

PHONE=SIP/$1
DEST=$2

TMPFILE=/tmp/$$.call

cat > $TMPFILE  << XXX
#
Channel: $PHONE
MaxRetries: 2
RetryTime: 60
WaitTime: 30
#
Context: internal-origination
Extension:  $DEST
Priority: 1
XXX

mv  $TMPFILE  /var/spool/asterisk/outgoing/
#
# end

Best Regards,
Ed Guy @ pulver.com




> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Steven
> Critchfield
> Sent: Monday, August 09, 2004 2:44 PM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] Click to Call
> 
> 
> On Mon, 2004-08-09 at 13:26, Andrew Thompson wrote:
> > Glen Hinkle wrote:
> > > Just write a CGI script that places a file in in the outgoing calls
> > > directory.  /var/spool/asterisk/outgoing, I believe.  This will
> > > accomplish what you're wanting.  
> > 
> > Did you even click the link?
> > 
> > >>> I saw in FWD site a phone on the web.. (click 612 link)
> > >>> http://www.freeworlddialup.com/advanced/beta_programs
> > 
> > There it is again... Try it.
> 
> As has been mentioned here, that app is an activeX control that appears
> to be locked to XP and ME, and worse yet is probably not capable of
> being used outside of IE. It even warns you that you have to lower your
> security settings to get it to work. 
> 
> Think four or five times about the inherent danger of having a app that
> requires you to reduce security settings on such a piss poor security
> wise app. As another carrot, I would laugh at any company that wanted my
> to do such a thing especially if they where a computer/technology
> company. It would get rediculed all over any public message board I saw.
> 
> As a seperate option, the CGI solution above kind of gets a similar
> functionality. No it doesn't use the web browser, but it would allow you
> to collect a phone number and issue a call out to the person requesting
> the call. You then could select when and how to connect.
> 
>   
> -- 
> Steven Critchfield <critch at basesys.com>
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list