I have a question about click to dial. Each of my users is going to have a VOIP phone with an assigned extension. Is there a simple way to build a web-based speed-dial list that will allow them to put in their extension, click on the number they want to dial, and have asterisk ring their phone, then as soon as they pick up, start dialing the number from the speed-dial? Thanks, Brent
Hello, On Jul/24/2008, Brent Davidson wrote:> I have a question about click to dial. Each of my users is going to > have a VOIP phone with an assigned extension. Is there a simple way to > build a web-based speed-dial list that will allow them to put in their > extension, click on the number they want to dial, and have asterisk ring > their phone, then as soon as they pick up, start dialing the number from > the speed-dial?I think that a good start could be: http://lexatel.com/en/22/Whitepapers (currently, there is only one Whitepaper about click to dial, but of course you would need to do some frontend... easy to do, if you need any help feel free to ask). We are preparing some other Whitepaper too... Sorry for the semi-Spam :-) -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info Manresa - Barcelona
Yep you just build a 'log in' query (eg to identify which extension to send Leg A to or you can just build it into the url with a unique extension id) and then list all the extensions you want (obviously if it's company wide then it will be the same for all - only the Leg A will be different). Then build the url's to generate "call files" Cheers, Dean -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Brent Davidson Sent: Thursday, 24 July 2008 5:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Click to Dial I have a question about click to dial. Each of my users is going to have a VOIP phone with an assigned extension. Is there a simple way to build a web-based speed-dial list that will allow them to put in their extension, click on the number they want to dial, and have asterisk ring their phone, then as soon as they pick up, start dialing the number from the speed-dial? Thanks, Brent _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
this simple php script do whatr you need should be called by your user pc with url ike http://ip_your_Asterisk_host/chiama_ora.php?INT=xx&NOME=yy&NUMERO=xxx&CONTESTO=xxx if you are interested I have developped a complete phonebook integrated wwith asterisk the main functions are - multiple listings user/company incoming calls lookup in listings and pop up to user plsu tracking,recording, reporting outgoing call reservation time & date with tracking etc... hope this help <?php --------------- parameters to send via request INT = extension NOME = called name NUMERO = called number CONTESTO = sterisk contexts to be used ******************************************************************************/ //MUST BE CUSTOMIZED define("CALL_PREFIX","0"); //controllo parametri if ( !isset($_REQUEST['INT']) ) { die("chiama errore : interno non prevenuto"); } else $interno=$_REQUEST['INT']; if ( isset($_REQUEST['NOME']) ) $nome=$_REQUEST['NOME']; else $nome=""; if ( !isset($_REQUEST['NUMERO']) ) { die("chiama errore : NUMERO non prevenuto"); } else $numero=$_REQUEST['NUMERO']; if ( !isset($_REQUEST['CONTESTO']) ) { die("chiama errore : contesto non prevenuto"); } else $contesto=$_REQUEST['CONTESTO']; //impostazione valori $strChannel = "SIP/$interno"; $strExten = CALL_PREFIX .$numero; $delay=0; $strContext = $contesto; $strHost = "localhost"; $strUser = "admin"; $strSecret = "amp111"; $strWaitTime = "05"; $strPriority = "1"; $strMaxRetry = "3"; $strCallerId = "ATTIVA:$nome"; $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: originate\r\n"); fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "WaitTime: $strWaitTime\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n"); fputs($oSocket, "Exten: $strExten\r\n"); fputs($oSocket, "Context: $strContext\r\n"); fputs($oSocket, "Priority: $strPriority\r\n\r\n"); fputs($oSocket, "Action: Logoff\r\n\r\n"); stream_set_blocking($oSocket,0); $out=''; while (!feof($oSocket)) { $out .= fgets($oSocket, 128); } fclose($oSocket); print $out; ?>