[Asterisk-cvs] astcc astcc.agi,1.13,1.14
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Thu May 19 00:48:10 CDT 2005
Update of /usr/cvsroot/astcc
In directory mongoose.digium.com:/tmp/cvs-serv10375
Modified Files:
astcc.agi
Log Message:
make Local dialing work properly (bug #4300)
Index: astcc.agi
===================================================================
RCS file: /usr/cvsroot/astcc/astcc.agi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- astcc.agi 15 May 2005 05:51:28 -0000 1.13
+++ astcc.agi 19 May 2005 04:53:13 -0000 1.14
@@ -289,7 +289,7 @@
$sth->finish;
return "CHANUNAVAIL" unless $res;
if ($res->{tech} eq "Local") {
- $dialstr = "Local/$phone/$res->{path}|30|HL/n(" . ($maxtime * 60 * 1000) . ":60000:30000)";
+ $dialstr = "Local/$phone\@$res->{path}|30|HL/n(" . ($maxtime * 60 * 1000) . ":60000:30000)";
$res = $AGI->exec("DIAL $dialstr");
$answeredtime = $AGI->get_variable("ANSWEREDTIME");
$dialstatus = $AGI->get_variable("DIALSTATUS");
More information about the svn-commits
mailing list