[Astpp-commit] SF.net SVN: astpp:[2294] trunk/web_interface/astpp-users.cgi
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2009-10-28 01:21:52
|
Revision: 2294
http://astpp.svn.sourceforge.net/astpp/?rev=2294&view=rev
Author: darrenkw
Date: 2009-10-28 01:21:43 +0000 (Wed, 28 Oct 2009)
Log Message:
-----------
Got the astpp-users script working again.
Modified Paths:
--------------
trunk/web_interface/astpp-users.cgi
Modified: trunk/web_interface/astpp-users.cgi
===================================================================
--- trunk/web_interface/astpp-users.cgi 2009-10-17 21:46:20 UTC (rev 2293)
+++ trunk/web_interface/astpp-users.cgi 2009-10-28 01:21:43 UTC (rev 2294)
@@ -176,11 +176,11 @@
my ( $body, $pstn, $voip );
if ( $params->{action} eq gettext("Place Call") ) {
my $out = new Asterisk::Outgoing;
- $out->setvariable( "Channel", "$channel" );
- $out->setvariable( "MaxRetries", "0" );
- $out->setvariable( "context", "$context" );
- $out->setvariable( "extension", "$extension" );
- $out->setvariable( "CallerID", "$outgoingclid $clidnumber" );
+# $out->setvariable( "Channel", "$channel" );
+# $out->setvariable( "MaxRetries", "0" );
+# $out->setvariable( "context", "$context" );
+# $out->setvariable( "extension", "$extension" );
+# $out->setvariable( "CallerID", "$outgoingclid $clidnumber" );
$out->setvariable( "Account", "$params->{username}" );
$out->outtime( time() + 15 );
$out->create_outgoing;
@@ -199,7 +199,7 @@
$body .= "<tr><td>"
. gettext("Destination:")
. "</td><td>"
- . textfield( -name => 'origin', -size => '15' )
+ . textfield( -name => 'destination', -size => '15' )
. "</td></tr>";
$body .= "<tr><td>"
. submit( -name => 'action', -value => gettext("Place Call") )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|